Spaces:
Paused
Paused
Update app_quant.py
Browse files- app_quant.py +2 -2
app_quant.py
CHANGED
|
@@ -6,7 +6,7 @@ import platform
|
|
| 6 |
import os
|
| 7 |
import diffusers
|
| 8 |
import transformers
|
| 9 |
-
|
| 10 |
|
| 11 |
from diffusers import BitsAndBytesConfig as DiffusersBitsAndBytesConfig
|
| 12 |
from diffusers import ZImagePipeline, AutoModel
|
|
@@ -35,7 +35,7 @@ log(f"π PLATFORM : {platform.platform()}")
|
|
| 35 |
log(f"π TORCH VERSION : {torch.__version__}")
|
| 36 |
log(f"π TRANSFORMERS VERSION : {transformers.__version__}")
|
| 37 |
log(f"π DIFFUSERS VERSION : {diffusers.__version__}")
|
| 38 |
-
|
| 39 |
log(f"π CUDA AVAILABLE : {torch.cuda.is_available()}")
|
| 40 |
|
| 41 |
if torch.cuda.is_available():
|
|
|
|
| 6 |
import os
|
| 7 |
import diffusers
|
| 8 |
import transformers
|
| 9 |
+
|
| 10 |
|
| 11 |
from diffusers import BitsAndBytesConfig as DiffusersBitsAndBytesConfig
|
| 12 |
from diffusers import ZImagePipeline, AutoModel
|
|
|
|
| 35 |
log(f"π TORCH VERSION : {torch.__version__}")
|
| 36 |
log(f"π TRANSFORMERS VERSION : {transformers.__version__}")
|
| 37 |
log(f"π DIFFUSERS VERSION : {diffusers.__version__}")
|
| 38 |
+
|
| 39 |
log(f"π CUDA AVAILABLE : {torch.cuda.is_available()}")
|
| 40 |
|
| 41 |
if torch.cuda.is_available():
|