adamelliotfields commited on
Commit
c60d9a3
1 Parent(s): b7bdcdb
Files changed (1) hide show
  1. lib/loader.py +1 -1
lib/loader.py CHANGED
@@ -129,7 +129,7 @@ class Loader:
129
  if self.vae is None:
130
  self.vae = AutoencoderKL.from_pretrained(
131
  Config.VAE_MODEL,
132
- torch_dtype=torch.float32, # vae is full-precision
133
  ).to(self.device)
134
 
135
  kwargs["vae"] = self.vae
 
129
  if self.vae is None:
130
  self.vae = AutoencoderKL.from_pretrained(
131
  Config.VAE_MODEL,
132
+ torch_dtype=torch.float16,
133
  ).to(self.device)
134
 
135
  kwargs["vae"] = self.vae