Spaces:
vilarin
/
Running on Zero

vilarin commited on
Commit
5e066df
·
verified ·
1 Parent(s): 82b5071

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
33
  # Load VAE component
34
  vae = AutoencoderKL.from_pretrained(
35
  vae_model,
36
- torch_dtype=torch.float16
37
  )
38
 
39
  # Ensure model and scheduler are initialized in GPU-enabled function
 
33
  # Load VAE component
34
  vae = AutoencoderKL.from_pretrained(
35
  vae_model,
36
+ torch_dtype="auto"
37
  )
38
 
39
  # Ensure model and scheduler are initialized in GPU-enabled function