Raymond1122 commited on
Commit
736c084
·
verified ·
1 Parent(s): f5b206d

install.sh: transformers>=4.53 floor

Browse files
Files changed (1) hide show
  1. install.sh +2 -2
install.sh CHANGED
@@ -42,12 +42,12 @@ source .venv/bin/activate
42
  say "installing torch + transformers (this may take a few minutes)"
43
  if [ "$(uname)" = "Darwin" ]; then
44
  pip install -q --upgrade pip
45
- pip install -q "torch>=2.4" "transformers>=4.51" "accelerate" "huggingface_hub"
46
  else
47
  pip install -q --upgrade pip
48
  pip install -q "torch>=2.4" --index-url https://download.pytorch.org/whl/cu121 \
49
  || pip install -q "torch>=2.4"
50
- pip install -q "transformers>=4.51" "accelerate" "huggingface_hub"
51
  fi
52
 
53
  # ---- 4. inference code ----
 
42
  say "installing torch + transformers (this may take a few minutes)"
43
  if [ "$(uname)" = "Darwin" ]; then
44
  pip install -q --upgrade pip
45
+ pip install -q "torch>=2.4" "transformers>=4.53" "accelerate" "huggingface_hub"
46
  else
47
  pip install -q --upgrade pip
48
  pip install -q "torch>=2.4" --index-url https://download.pytorch.org/whl/cu121 \
49
  || pip install -q "torch>=2.4"
50
+ pip install -q "transformers>=4.53" "accelerate" "huggingface_hub"
51
  fi
52
 
53
  # ---- 4. inference code ----