Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ from diffusers import AutoencoderKL
|
|
34 |
#from pipeline_stable_diffusion_3_ipa import StableDiffusion3Pipeline
|
35 |
|
36 |
from PIL import Image
|
37 |
-
|
38 |
torch.backends.cuda.matmul.allow_tf32 = False
|
39 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
40 |
torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction = False
|
@@ -44,7 +44,7 @@ torch.backends.cudnn.benchmark = False
|
|
44 |
torch.backends.cuda.preferred_blas_library="cublas"
|
45 |
torch.backends.cuda.preferred_linalg_library="cusolver"
|
46 |
torch.set_float32_matmul_precision("highest")
|
47 |
-
|
48 |
hftoken = os.getenv("HF_AUTH_TOKEN")
|
49 |
|
50 |
# code = r'''
|
|
|
34 |
#from pipeline_stable_diffusion_3_ipa import StableDiffusion3Pipeline
|
35 |
|
36 |
from PIL import Image
|
37 |
+
'''
|
38 |
torch.backends.cuda.matmul.allow_tf32 = False
|
39 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
40 |
torch.backends.cuda.matmul.allow_fp16_reduced_precision_reduction = False
|
|
|
44 |
torch.backends.cuda.preferred_blas_library="cublas"
|
45 |
torch.backends.cuda.preferred_linalg_library="cusolver"
|
46 |
torch.set_float32_matmul_precision("highest")
|
47 |
+
'''
|
48 |
hftoken = os.getenv("HF_AUTH_TOKEN")
|
49 |
|
50 |
# code = r'''
|