Open a912289748 opened 3 months ago
@FilippoBotti that's likely because it's using the wrong causal-conv1d version. Instead of using the vendored version, pinning it to version 1.1.0 makes it work (I wrote a short tutorial about how to use Vision Mamba for image classification )
@FilippoBotti that's likely because it's using the wrong causal-conv1d version. Instead of using the vendored version, pinning it to version 1.1.0 makes it work (I wrote a short tutorial about how to use Vision Mamba for image classification )
It works, thanks!
It works, thanks!
@FilippoBotti that's likely because it's using the wrong causal-conv1d version. Instead of using the vendored version, pinning it to version 1.1.0 makes it work (I wrote a short tutorial about how to use Vision Mamba for image classification )
It works, thanks!
I have been successfully run. Environment follows: cuda 11.8 python 3.10.13 pytorch 2.1.1 causal_conv1d 1.1.1 mamba-ssm 1.2.0.post1
pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118
pip install causal_conv1d==1.1.1
pip install mamba-ssm==1.2.0.post1
# copy mamba-ssm dir in vim to conda env site-package dir
cp -rf mamba-1p1p1/mamba_ssm /opt/miniconda3/envs/mamba/lib/python3.10/site-packages
我已经成功运行了。环境如下: cuda 11.8 python 3.10.13 pytorch 2.1.1 causal_conv1d 1.1.1 mamba-ssm 1.2.0.post1
pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118 pip install causal_conv1d==1.1.1 pip install mamba-ssm==1.2.0.post1 # copy mamba-ssm dir in vim to conda env site-package dir cp -rf mamba-1p1p1/mamba_ssm /opt/miniconda3/envs/mamba/lib/python3.10/site-packages
我也是相同的配置,但是我仍然报错`TypeError: causal_conv1d_fwd(): incompatible function arguments. The following argument types are supported:
- (arg0: torch.Tensor, arg1: torch.Tensor, arg2: Optional[torch.Tensor], arg3: Optional[torch.Tensor], arg4: bool) -> torch.Tensor`
Hi, I stumbled in the same error today and pinning causal-conv1d
to 1.1.0
did not work while trying to run MambaLMHeadModel
found in mamba_ssm/models/mixer_seq_simple.py
.
I made it work instead by locally installing causal-conv1d
in version v1.2.0.post2
:
git clone https://github.com/Dao-AILab/causal-conv1d
cd causal-conv1d
git checkout v1.2.0.post2
pip install .
The problem stems from the addition of two new parameters here.
same issue here, solved by
pip install -U causal_conv1d
I got version of
Successfully installed causal_conv1d-1.2.0.post2
same issue here, solved by
pip install -U causal_conv1d
I got version of
Successfully installed causal_conv1d-1.2.0.post2
ubuntu 22.04 有效
same issue here, solved by
pip install -U causal_conv1d
I got version of
Successfully installed causal_conv1d-1.2.0.post2
It works for me, thanks a lot
vendored version
it works, thank you
Same issue, do you find out how to solve it?
`TypeError: causal_conv1d_fwd(): incompatible function arguments. The following argument types are supported: