Ryan Witzman
Ryan Witzman
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
ah that made it so much quicker thanks
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
i will set to three though
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
its 14gb
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
No description
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
ah i see
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
yes
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
yes
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
Ok so I will have the docker download the model instead of instantiated it
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
the serverless should have cuda
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
yeah because the huggingface doesnt have cuda
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
No description
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
oh
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
FROM runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel

RUN pip install runpod transformers

RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

RUN python -c 'from transformers import pipeline; import torch; pipe = pipeline("text-generation", model="rwitz/go-bruins-v2",device=0,torch_dtype=torch.bfloat16)'

ADD handler.py .

CMD [ "python", "-u", "/handler.py" ]
FROM runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel

RUN pip install runpod transformers

RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

RUN python -c 'from transformers import pipeline; import torch; pipe = pipeline("text-generation", model="rwitz/go-bruins-v2",device=0,torch_dtype=torch.bfloat16)'

ADD handler.py .

CMD [ "python", "-u", "/handler.py" ]
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
yes
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
yeah its on huggingface
67 replies
RRunPod
Created by Ryan Witzman on 1/3/2024 in #⚡|serverless
Custom Template Taking Hours To Initialize
min workers is 0 and max is 1
67 replies