manbeast3b commited on
Commit
59d63c5
·
verified ·
1 Parent(s): 4318f6f

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -53,7 +53,7 @@ def load_pipeline() -> Pipeline:
53
 
54
  model_id = "manbeast3b/flux-schnell-int8"
55
  transformer = FluxTransformer2DModel.from_pretrained(
56
- model_id, subfolder="transformer", torch_dtype=torch.bfloat16, cache_dir=cache_dir, # quantization_config=config,
57
  )
58
  text_encoder_2 = T5EncoderModel.from_pretrained(
59
  model_id, subfolder="text_encoder_2", torch_dtype=torch.bfloat16
 
53
 
54
  model_id = "manbeast3b/flux-schnell-int8"
55
  transformer = FluxTransformer2DModel.from_pretrained(
56
+ cache_dir, subfolder="transformer", torch_dtype=torch.bfloat16, # quantization_config=config,
57
  )
58
  text_encoder_2 = T5EncoderModel.from_pretrained(
59
  model_id, subfolder="text_encoder_2", torch_dtype=torch.bfloat16