Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from diffusers import Transformer2DModel, PixArtSigmaPipeline, AutoencoderKL, DP
|
|
9 |
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, QuantoConfig, EetqConfig
|
10 |
|
11 |
device = "cuda"
|
12 |
-
weight_dtype = torch.
|
13 |
weight_dtype_te = torch.bfloat16
|
14 |
MAX_SEED = np.iinfo(np.int32).max
|
15 |
|
|
|
9 |
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, QuantoConfig, EetqConfig
|
10 |
|
11 |
device = "cuda"
|
12 |
+
weight_dtype = torch.bfloat16
|
13 |
weight_dtype_te = torch.bfloat16
|
14 |
MAX_SEED = np.iinfo(np.int32).max
|
15 |
|