state-spaces / mamba

Mamba SSM architecture
Apache License 2.0
13.11k stars 1.11k forks source link

Mamba.__init__() got an unexpected keyword argument 'layer_idx' #540

Open Shadow581 opened 2 months ago

Shadow581 commented 2 months ago

Hello, it always shows Mamba.__init__() got an unexpected keyword argument layer_idx

I used the solution, but it not works.(https://github.com/state-spaces/mamba/issues/315).

The problem has been bothering me for a week.

1123

My Env: GPU: 3090 Python 3.10(ubuntu22.04) remians: follow the command to install. (https://github.com/SkyworkAI/PointCloudMamba/blob/main/INSTALL.md)

pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118
pip install torch-scatter -f https://data.pyg.org/whl/torch-2.1.1%2Bcu118.html
pip install -r requirements.txt

# install mamba
cd openpoints/models/PCM/causal-conv1d/
pip install -e .
cd ../mamba
pip install -e .

Could you help to solve the problem?

UWong-cmyk commented 1 month ago

I’ve also encountered with this problem. Have you solved it now?

Shadow581 commented 1 month ago

See this: https://github.com/xiaoyao3302/PoinTramba/issues/3

UWong-cmyk commented 1 month ago

See this: xiaoyao3302/PoinTramba#3

May I have your contact?