リンク集
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces
- https://github.com/state-spaces/mamba
- https://github.com/Dao-AILab/causal-conv1d
備忘録
- mamba-ssmや- causal-conv1dがPEP517に準拠していないので- poetry add <package-name>だとインスコできない- poetry add <path>でも- setup.py読んでくれないからムリ
 
- → 無理やりローカルでwheelを作ってpoetry addすればOK- python setup.py bdist_wheel
 
一例
|  |  | 
For English speakers
When managing Mamba with Poetry, there are some complications to be aware of. Mamba, which refers to “Linear-Time Sequence Modeling with Selective State Spaces” (you can find the paper at https://arxiv.org/abs/2312.00752 ), and its associated repositories (https://github.com/state-spaces/mamba and https://github.com/Dao-AILab/causal-conv1d ) present challenges when using Poetry for package management.
The issue arises because mamba-ssm and causal-conv1d are not compliant with PEP 517. This means you can’t install them using the standard poetry add <package-name> command. Furthermore, attempting to add them via poetry add <path> doesn’t work either, as this method does not execute setup.py.
I found a workaround: you can manually build a wheel for the package locally and then add it to your project using Poetry. This can be done by running python setup.py bdist_wheel. This process creates a wheel file, which can then be successfully added to your project with Poetry.
