meepmoo commited on
Commit
8053986
1 Parent(s): 92b86ca

Update worker_runpod.py

Browse files
Files changed (1) hide show
  1. worker_runpod.py +1 -1
worker_runpod.py CHANGED
@@ -6,7 +6,7 @@ from diffusers.utils import export_to_video, load_image
6
  from transformers import T5EncoderModel, T5Tokenizer
7
 
8
  with torch.inference_mode():
9
- model_id = "/content/model"
10
 
11
  # Load models and ensure they are placed on CUDA device
12
  transformer = CogVideoXTransformer3DModel.from_pretrained(model_id, subfolder="transformer", torch_dtype=torch.float16).to("cuda")
 
6
  from transformers import T5EncoderModel, T5Tokenizer
7
 
8
  with torch.inference_mode():
9
+ model_id = "/runpod-volume/model"
10
 
11
  # Load models and ensure they are placed on CUDA device
12
  transformer = CogVideoXTransformer3DModel.from_pretrained(model_id, subfolder="transformer", torch_dtype=torch.float16).to("cuda")