Update src/pipeline.py
Browse files- 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.
|
| 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():
|