Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

einops 0.4.0 cause the error: ImportError: cannot import name 'einsum' from 'einops' #405

Closed
ipe-zhangyz opened this issue May 11, 2024 · 6 comments

Comments

@ipe-zhangyz
Copy link

after setting up the environment by "pip install -r requirements.txt" and executing "bash ./scripts/long_term_forecast/ETT_script/TimesNet_ETTh1.sh", there is an error:
ImportError: cannot import name 'einsum' from 'einops'
requirements.txt requires to install einops 0.4.0, while there is no module named einsum in that version of einops.
Update einops to 0.5.0 solves this problem.
Maybe the requirements.txt file need to be updated.

@tibeler
Copy link

tibeler commented May 13, 2024

BUT when i install einops=0.5.0, it cause mamba_ssm error ,there will be no mamba_ssm error

@stone-cloud
Copy link

I think so,

after setting up the environment by "pip install -r requirements.txt" and executing "bash ./scripts/long_term_forecast/ETT_script/TimesNet_ETTh1.sh", there is an error: ImportError: cannot import name 'einsum' from 'einops' requirements.txt requires to install einops 0.4.0, while there is no module named einsum in that version of einops. Update einops to 0.5.0 solves this problem. Maybe the requirements.txt file need to be updated.

@fleetingg
Copy link

0.5.0有 No module named 'mamba_ssm'

@ipe-zhangyz
Copy link
Author

according to the README, mamba_ssm need to be installed manually:
News (2024.04) Many thanks for the great work from #378. The famous sequenctial model Mamba has been included in our library. See this file, where you need to install mamba_ssm with pip at first.

@wuhaixu2016
Copy link
Collaborator

@ipe-zhangyz Many thanks for your answer~

@woshiliyue
Copy link

Can you change to tagging without running the mamba module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants