Skip to content

Commit

Permalink
Temp comment out hugginface secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Feb 5, 2024
1 parent 255b2ec commit e16ed1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: pull_request
jobs:
test:
environment: CI
name: Deploy
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
17 changes: 8 additions & 9 deletions src/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,16 @@
.env(dict(HUGGINGFACE_HUB_CACHE="/pretrained", HF_HUB_ENABLE_HF_TRANSFER="1"))
)

vllm_image = (
Image.from_registry("nvidia/cuda:12.1.0-base-ubuntu22.04", add_python="3.10")
.pip_install(
"vllm==0.2.5",
"torch==2.1.2",
"torchvision==0.16.2",
"torchaudio==2.1.2"
)
vllm_image = Image.from_registry(
"nvidia/cuda:12.1.0-base-ubuntu22.04", add_python="3.10"
).pip_install(
"vllm==0.2.5",
"torch==2.1.2",
"torchvision==0.16.2",
"torchaudio==2.1.2",
)

stub = Stub(APP_NAME, secrets=[Secret.from_name("huggingface")])
stub = Stub(APP_NAME) # , secrets=[Secret.from_name("huggingface")])

# Volumes for pre-trained models and training runs.
pretrained_volume = Volume.persisted("example-pretrained-vol")
Expand Down

0 comments on commit e16ed1e

Please sign in to comment.