manbeast3b commited on
Commit
a09c33a
·
verified ·
1 Parent(s): 52be201

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -81,7 +81,7 @@ def load_pipeline() -> Pipeline:
81
  transformer=transformer,
82
  torch_dtype=torch.bfloat16
83
  )
84
- pipeline.cuda()
85
 
86
  warmup_prompt = "insensible, timbale, pothery, electrovital, actinogram, taxis, intracerebellar, centrodesmus"
87
  with torch.inference_mode():
 
81
  transformer=transformer,
82
  torch_dtype=torch.bfloat16
83
  )
84
+ pipeline.to("cuda")
85
 
86
  warmup_prompt = "insensible, timbale, pothery, electrovital, actinogram, taxis, intracerebellar, centrodesmus"
87
  with torch.inference_mode():