manbeast3b
commited on
Update src/pipeline.py
Browse files- src/pipeline.py +3 -3
src/pipeline.py
CHANGED
@@ -21,15 +21,15 @@ torch._inductor.config.epilogue_fusion = False
|
|
21 |
torch._inductor.config.coordinate_descent_check_all_directions = True
|
22 |
os.environ['PYTORCH_CUDA_ALLOC_CONF']="expandable_segments:True"
|
23 |
|
24 |
-
CHECKPOINT = "
|
25 |
-
REVISION = "
|
26 |
|
27 |
TinyVAE = "madebyollin/taef1"
|
28 |
TinyVAE_REV = "2d552378e58c9c94201075708d7de4e1163b2689"
|
29 |
|
30 |
|
31 |
def load_pipeline() -> Pipeline:
|
32 |
-
path = os.path.join(HF_HUB_CACHE, "models--
|
33 |
transformer = FluxTransformer2DModel.from_pretrained(
|
34 |
path,
|
35 |
use_safetensors=False,
|
|
|
21 |
torch._inductor.config.coordinate_descent_check_all_directions = True
|
22 |
os.environ['PYTORCH_CUDA_ALLOC_CONF']="expandable_segments:True"
|
23 |
|
24 |
+
CHECKPOINT = "manbeast3b/Flux.1.schnell-quant2"
|
25 |
+
REVISION = "44eb293715147878512da10bf3bc47cd14ec8c55"
|
26 |
|
27 |
TinyVAE = "madebyollin/taef1"
|
28 |
TinyVAE_REV = "2d552378e58c9c94201075708d7de4e1163b2689"
|
29 |
|
30 |
|
31 |
def load_pipeline() -> Pipeline:
|
32 |
+
path = os.path.join(HF_HUB_CACHE, "models--manbeast3b--Flux.1.schnell-quant2/snapshots/44eb293715147878512da10bf3bc47cd14ec8c55/transformer")
|
33 |
transformer = FluxTransformer2DModel.from_pretrained(
|
34 |
path,
|
35 |
use_safetensors=False,
|