An experiment with Vicuna.
Project description
Auto-Vicuna
Fast Chat and transformers must be installed via requirements file for now.
Installing PyTorch and NVIDIA dependencies
First, upgrade wheel and friends.
pip install --upgrade setuptools pip wheel
For CUDA 11.X:
pip install nvidia-cuda-runtime-cu11 --index-url https://pypi.ngc.nvidia.com
For CUDA 12.x
pip install nvidia-cuda-runtime-cu12 --index-url https://pypi.ngc.nvidia.com
For PyTorch cu117
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
For PyTorch cu118
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
You might need to add:
--upgrade --force-reinstall
To the PyTorch installation commands if you have a previous version of PyTorch installed.
LLaMA Weights
If your weights used LLaMATokenizer you may need a different version of transformers.
I have fork that should work located here: https://github.com/BillSchumacher/transformers
You should clone this repo and:
pip uninstall transformers
cd path/to/my/transformers/cloned/repo
python setup.py install
For some reason pip install -e . causes issues.
If you do that, delete pycache, dist and build folders and try the setup.py method instead.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file auto_vicuna-0.0.3.tar.gz
.
File metadata
- Download URL: auto_vicuna-0.0.3.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfb7ed1a6d8f5c38d7b4f7bdb4f45f51693c777f4b33986f47a03c76191f8ee7 |
|
MD5 | 0ce212f64bc818da4ee6464c8ab604dc |
|
BLAKE2b-256 | 61037afe27f930f44293a4502f56220fc8f634dc5d3d403877f575f47bc0cbbf |
File details
Details for the file auto_vicuna-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: auto_vicuna-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e30b6dcac428df2ca3ed855a9ebdc25863c4d38597c524562a56e0c32a75fb68 |
|
MD5 | 786f409672825b02e42bc2cef0dbe96e |
|
BLAKE2b-256 | 2199cd8e23804d2af146c39b8b2820b3448964ff3381509edfec39da35319114 |