Manjushri commited on
Commit
674c64a
1 Parent(s): 9459f38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ device = 'cuda' #if torch.cuda.is_available() else 'cpu'
10
  torch.cuda.max_memory_allocated(device=device)
11
  torch.cuda.empty_cache()
12
  SD3 = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3-medium-diffusers", torch_dtype=torch.float16).to(device)
13
- SD3.enable_xformers_memory_efficient_attention()
14
 
15
  def genie (Prompt, negative_prompt, height, width, scale, steps, seed):
16
  generator = np.random.seed(0) if seed == 0 else torch.manual_seed(seed)
 
10
  torch.cuda.max_memory_allocated(device=device)
11
  torch.cuda.empty_cache()
12
  SD3 = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3-medium-diffusers", torch_dtype=torch.float16).to(device)
13
+ #SD3.enable_xformers_memory_efficient_attention()
14
 
15
  def genie (Prompt, negative_prompt, height, width, scale, steps, seed):
16
  generator = np.random.seed(0) if seed == 0 else torch.manual_seed(seed)