manbeast3b commited on
Commit
90ceb3d
·
verified ·
1 Parent(s): 342e077

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +3 -0
src/pipeline.py CHANGED
@@ -27,6 +27,9 @@ def load_pipeline() -> Pipeline:
27
 
28
  pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
29
  basepath = os.path.join(HF_HUB_CACHE, "models--manbeast3b--Flux.1.schnell_eagle5_1_0.1_unst_7_2k/snapshots/b7a5ce1313327009093d3178220267d0cf669b76")
 
 
 
30
  pipeline.vae.encoder.load_state_dict(torch.load(os.path.join(basepath, "encoder.pth")), strict=False)
31
  pipeline.vae.decoder.load_state_dict(torch.load(os.path.join(basepath, "decoder.pth")), strict=False)
32
  quantize_(pipeline.vae, int8_weight_only())
 
27
 
28
  pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
29
  basepath = os.path.join(HF_HUB_CACHE, "models--manbeast3b--Flux.1.schnell_eagle5_1_0.1_unst_7_2k/snapshots/b7a5ce1313327009093d3178220267d0cf669b76")
30
+ basepath = os.path.join(HF_HUB_CACHE, "models--manbeast3b--Flux.1.schnell_eagle5_1_0.1_unst_8/snapshots/3666a458a53e7dc83adfecb0bf955a0b4d575843")
31
+ # basepath = os.path.join(HF_HUB_CACHE, "models--manbeast3b--Flux.1.schnell_eagle5_1_0.1_unst_13/snapshots/b3bdda899cd1961ec9b97bffde3ded31afa73ce3")
32
+ # basepath = os.path.join(HF_HUB_CACHE, "models--manbeast3b--Flux.1.schnell_eagle5_1_0.1_unst_10/snapshots/20e4cf6ce3cc658237dfd6aae1d5f14bc6b3d1a4")
33
  pipeline.vae.encoder.load_state_dict(torch.load(os.path.join(basepath, "encoder.pth")), strict=False)
34
  pipeline.vae.decoder.load_state_dict(torch.load(os.path.join(basepath, "decoder.pth")), strict=False)
35
  quantize_(pipeline.vae, int8_weight_only())