diff options
author | Ben Sima <ben@bsima.me> | 2023-08-07 17:57:42 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-08-07 18:02:13 -0400 |
commit | 44b1f8d5bc2ffcb00f56b0096476501e7e0cd458 (patch) | |
tree | d005a849d15fe8ef59ed7523b7997d6529020125 /ava.py | |
parent | edb55ff54b9f81c0942f4120eedd72357d7b3d7c (diff) |
Get ava.py running with nixified builds
I had to redo some of my python overrides and crib the bitsandbytes.nix
from upstream.
Ava is failing because:
ValueError: Tokenizer class LlamaTokenizer does not exist or is not
currently imported.
I think this means I need to update my nixpkgs pin, so I'm gonna
snapshot my work in git, do the update, and that might obviate the local
bitsandbytes.nix anyway.
Diffstat (limited to 'ava.py')
-rwxr-xr-x | ava.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,6 +2,8 @@ # : out ava # : dep transformers # : dep torch +# : dep accelerate +# : dep bitsandbytes import transformers import torch import sys @@ -9,8 +11,7 @@ import sys # import sleekxmpp -# model_name = "EleutherAI/gpt-neox-20b" -model_name = "EleutherAI/gpt-j-6B" +model_name = "lmsys/vicuna-33b-v1.3" if torch.cuda.is_available(): device = "cuda:0" |