WYBar commited on
Commit
6ae4c78
·
1 Parent(s): dd3160b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -329,14 +329,14 @@ def construction_all():
329
  "WYBar/ART_test_weights",
330
  subfolder="fused_transformer",
331
  torch_dtype=torch.bfloat16,
332
- cache_dir="/openseg_blob/v-yanbin/GradioDemo/cache_dir"
333
  )
334
 
335
  pipeline = CustomFluxPipelineCfg.from_pretrained(
336
  "black-forest-labs/FLUX.1-dev",
337
  transformer=transformer,
338
  torch_dtype=torch.bfloat16,
339
- cache_dir="/openseg_blob/v-yanbin/GradioDemo/cache_dir",
340
  ).to("cuda")
341
  # pipeline.enable_model_cpu_offload(gpu_id=0) # save vram
342
 
 
329
  "WYBar/ART_test_weights",
330
  subfolder="fused_transformer",
331
  torch_dtype=torch.bfloat16,
332
+ # cache_dir="/openseg_blob/v-yanbin/GradioDemo/cache_dir"
333
  )
334
 
335
  pipeline = CustomFluxPipelineCfg.from_pretrained(
336
  "black-forest-labs/FLUX.1-dev",
337
  transformer=transformer,
338
  torch_dtype=torch.bfloat16,
339
+ # cache_dir="/openseg_blob/v-yanbin/GradioDemo/cache_dir",
340
  ).to("cuda")
341
  # pipeline.enable_model_cpu_offload(gpu_id=0) # save vram
342