rwitz commited on
Commit
4beb088
1 Parent(s): 2924cc9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -4,8 +4,6 @@ RUN pip install runpod transformers
4
 
5
  RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
6
 
7
- RUN python -c 'from transformers import pipeline; import torch; pipe = pipeline("text-generation", model="rwitz/go-bruins-v2",device=0,torch_dtype=torch.bfloat16)'
8
 
9
- ADD handler.py .
10
-
11
- CMD [ "python", "-u", "/handler.py" ]
 
4
 
5
  RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
6
 
7
+ RUN python -c 'from huggingface_hub import snapshot_download; snapshot_download(repo_id="rwitz/go-bruins-v2")'
8
 
9
+ ADD handler.py .