-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add bash script to install packages #245
base: main
Are you sure you want to change the base?
Conversation
6cf86f3
to
7b880f1
Compare
seems like colab updated torch version so putting this PR in draft mode for now. |
OOO I like this bash script!! Ye I'm working on fixing Colab for now :( |
@danielhanchen I checked and this script works for conda and pip for torch versions before 2.2.1. What changes would required to support 2.2.1? Maybe the instructions can be added to readme as well if the fix is stable. |
@tohrnii It's mainly torch 2.2.1 causing issues for multiple packages. I found: # RTX 3090, 4090 Ampere GPUs:
pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
pip install --no-deps packaging ninja einops flash-attn xformers trl peft accelerate bitsandbytes
# Pre Ampere RTX 2080, T4, GTX 1080 GPUs:
pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
pip install --no-deps xformers trl peft accelerate bitsandbytes to work |
Also changed the naming slightly. |
@bet0x Thanks, I'm not sure what you mean? Doesn't |
Never mind, I got confused with another PR. I was also conducting verification and working towards the replacement of NVCC (including detection and related processes). |
This PR adds a simple bash script to install unsloth and it's dependencies.