Last active
August 29, 2023 09:58
-
-
Save Tknott95/a09780e12c3cae703baa4bfb4295108f to your computer and use it in GitHub Desktop.
Quick install Model Quantized huggingface via pip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pkgs=( | |
"huggingface_hub" | |
"python-dotenv" "openai" | |
"torch torchvision torchaudio" | |
"bitsandbytes" | |
"accelerate>=0.20.3" | |
"git+https://github.com/huggingface/transformers" | |
) | |
for pkg in "${pkgs[@]}"; do | |
echo -e "\n\x1B[96m INSTALLING: $pkg \x1B[0m" | |
pip install $pkg | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
** for cpu only **