dusty-nv / jetson-containers

Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
MIT License
2.38k stars 482 forks source link

Mamba #447 #615

Closed johnnynunez closed 2 months ago

johnnynunez commented 2 months ago

447

casualconv1d: https://github.com/Dao-AILab/causal-conv1d mamba original paper: https://github.com/state-spaces/mamba MambaVision: https://github.com/NVlabs/MambaVision Complete Suite of VideoMamba: https://github.com/OpenGVLab/video-mamba-suite cobra(llava rival): https://github.com/h-zhao1997/cobra VideoMambaSuite: image

johnnynunez commented 2 months ago

@dusty-nv feel free to organize the folders inside jetson-containers. mamba depends from causalconv1d. all repositories that use mamba depends of mamba(causalconv1d too) like videosuite or mambavision all is build with cuda(this folders need a benchmark) because the first when I use mamba, it used casualconv1d and mamba in cpu and it is very slow.

Now we can use LLM models that use mamba :) as you can see on my test.py also works with images or video. I hope that communit comes with demos :)

johnnynunez commented 2 months ago

Benchmark: image Captura de pantalla 2024-09-05 a las 11 50 14

2 scenario: image

Captura de pantalla 2024-09-05 a las 11 51 44

dusty-nv commented 2 months ago

Thanks @johnnynunez, looks like another fun one! 🤣 🐍

johnnynunez commented 2 months ago

Thanks @johnnynunez, looks like another fun one! 🤣 🐍

Please see the spam of my messages JAJAJ. I think I need your help because this is going too fast.

dusty-nv commented 2 months ago

Haha that does seem fast! Is it producing valid/coherent output? That would be great 👍

johnnynunez commented 2 months ago

Haha that does seem fast! Is it producing valid/coherent output? That would be great 👍

it is the original benchmark from mamba: https://github.com/state-spaces/mamba/blob/main/benchmarks/benchmark_generation_mamba_simple.py

johnnynunez commented 2 months ago

@dusty-nv if you can upload casual-conv1d wheel and mamba-ssm wheel, I will thank you

dusty-nv commented 2 months ago

@johnnynunez I will start trying to build these tonight/tomorrow and push the wheels & containers 👍