Skip to content

Commit 1e6981b

Browse files
authored
Merge pull request #782 from allenai/chrisn/modal_script_jan25_update
Update model revision and dependencies for December releases
2 parents 69362b9 + db1edd5 commit 1e6981b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

scripts/olmo2_modal_openai.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import modal
1010

1111
MODEL_NAME = "allenai/OLMo-2-1124-13B-Instruct"
12-
MODEL_REVISION = "9b7f0b17b9c6d6f6a0c3d1bba2495294f704ac2d"
12+
MODEL_REVISION = "3a5c85baefbb1896a54d56fe2e76c0395627ddf4"
1313
MODEL_DIR = "/root/models/{MODEL_NAME}"
1414

1515
N_GPU = 1
@@ -68,12 +68,13 @@ def download_model_to_image(model_dir, model_name, model_revision):
6868

6969
vllm_image = (
7070
modal.Image.debian_slim(python_version="3.10")
71-
.apt_install("git", "build-essential")
7271
.pip_install(
73-
"hf-transfer==0.1.6",
72+
"vllm==0.6.6.post1",
73+
"torch==2.5.1",
74+
"transformers==4.47.1",
75+
"ray==2.10.0",
7476
"huggingface_hub==0.24.0",
75-
"https://vllm-wheels.s3.us-west-2.amazonaws.com/9db713a1dca7e1bc9b6ecf5303c63c7352c52a13/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl",
76-
"transformers==4.47.0",
77+
"hf-transfer==0.1.6",
7778
)
7879
.env({"HF_HUB_ENABLE_HF_TRANSFER": "1"})
7980
.run_function(

0 commit comments

Comments
 (0)