Open nick-verida opened 11 months ago
Duplicate of #910 ?
Duplicate of #910 ?
Probably the same underlying issue but the error message is subtly different:
(ModuleNotFoundError: No module named 'axolotl')
vs (ModuleNotFoundError: No module named 'axolotl.cli')
Unclear why this is the case.
May I ask if docker works? Alternatively, could you try create a new conda/pip venv again?
Just running pip3 install -e '.[flash-attn,deepspeed]' once again in my venv solved the issue.
Actually the docs are wrong. You need to git clone the repo, then cd into the repo. Then do pip install -e '.[flash-attn,deepspeed]'
and you will almost certainly need: pip install --upgrade flash_attn
I am having this same issue. I looked at other issue reports and haven't found a solution yet
Axolotl needs to be installed from source by GitHub cloning the repository currently. We have dependencies that aren't packages currently so we can't push axolotl as a pypi package currently
Is there any plan to support installing Axolotl without cloning the repository or is that a fundamental limitation?
Edit: This is incorrect. See comment below: https://github.com/OpenAccess-AI-Collective/axolotl/issues/945#issuecomment-1994156576
@fozziethebeat , you can run it like this.
pip3 install "axolotl[flash-attn,deepspeed] @ git+https://github.com/OpenAccess-AI-Collective/axolotl"
@NanoCode012 Interesting, that's what I'm doing (in a conda environment) but Axolotl isn't being found. When I check the environments site-packages I just see the axolotl-0.4.0.dist-info
directory but not the actual package.
Running python -m axolotl.cli.preprocess
gives me the disappointing
/home/fozziethebeat/anaconda3/envs/planar-ax/bin/python: Error while finding module specification for 'axolotl.cli.preprocess' (ModuleNotFoundError: No module named 'axolotl')
Oh sorry, I did not read the earlier context. Hmm, it would seem that it's necessary to clone as per above discussion.
Please check that this issue hasn't been reported before.
Expected Behavior
When installing just using pip via the command in the docs:
Current behaviour
Others are seeing the same behavior: https://discord.com/channels/1104757954588196865/1111279858136383509/1164806862508666900
Steps to reproduce
Install via pip:
However cloning the repo and installing that seems to get further:
Config yaml
No response
Possible solution
No response
Which Operating Systems are you using?
Python Version
3.10
axolotl branch-commit
main/7fabc4d
Acknowledgements