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

document that packaging needs to be installed before flash-attn #559

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

winglian
Copy link
Collaborator

No description provided.

@@ -140,7 +142,8 @@ accelerate launch scripts/finetune.py examples/openllama-3b/lora.yml \
git clone https://github.com/OpenAccess-AI-Collective/axolotl
cd axolotl

pip3 install -e .
pip3 install packaging
pip3 install -e .[flash-attn]
pip3 install protobuf==3.20.3
pip3 install -U --ignore-installed requests Pillow psutil scipy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can merge these other installs together.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the problem is that if packaging isn't installed first, trying to install at the same time fails for flash-attn.

@NanoCode012
Copy link
Collaborator

Do we also need to mention that ninja is required?

@winglian
Copy link
Collaborator Author

Do we also need to mention that ninja is required?

I haven't seen that ninja has been problematic, but we can address in another pr

@winglian winglian merged commit 9845c5e into main Sep 12, 2023
6 checks passed
@winglian winglian deleted the packaging-docs branch September 12, 2023 16:18
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

Successfully merging this pull request may close these issues.

2 participants