Skip to content

Commit

Permalink
fix: addr #527 model versioning issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thundergolfer committed Jan 3, 2024
1 parent 809446d commit d5c27de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 06_gpu_and_ml/tgi_mixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@

GPU_CONFIG = gpu.A100(memory=40, count=4)
MODEL_ID = "mistralai/Mixtral-8x7B-Instruct-v0.1"
MODEL_REVISION = "f1ca00645f0b1565c7f9a1c863d2be6ebf896b04"
# Add `["--quantize", "gptq"]` for TheBloke GPTQ models.
LAUNCH_FLAGS = [
"--model-id",
MODEL_ID,
"--revision",
MODEL_REVISION,
"--port",
"8000",
]
Expand All @@ -52,6 +55,8 @@ def download_model():
"text-generation-server",
"download-weights",
MODEL_ID,
"--revision",
MODEL_REVISION,
]
)

Expand Down

0 comments on commit d5c27de

Please sign in to comment.