Manjushri commited on
Commit
f7f345b
·
verified ·
1 Parent(s): fb0fc52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from huggingface_hub import hf_hub_download
9
  device = 'cuda' #if torch.cuda.is_available() else 'cpu'
10
  torch.cuda.max_memory_allocated(device=device)
11
  torch.cuda.empty_cache()
12
- pipe = StableCascadeCombinedPipeline.from_pretrained("stabilityai/stable-cascade", torch_dtype=torch.float16)
13
  pipe.enable_xformers_memory_efficient_attention()
14
  pipe = pipe.to(device)
15
  torch.cuda.empty_cache()
 
9
  device = 'cuda' #if torch.cuda.is_available() else 'cpu'
10
  torch.cuda.max_memory_allocated(device=device)
11
  torch.cuda.empty_cache()
12
+ pipe = StableCascadeCombinedPipeline.from_pretrained("stabilityai/stable-cascade", torch_dtype=torch.bfloat16)
13
  pipe.enable_xformers_memory_efficient_attention()
14
  pipe = pipe.to(device)
15
  torch.cuda.empty_cache()