Update app.py
Browse files159 unmodified lines160161162163164165166159 unmodified lines# Load TenStrip fine-tuned checkpoint into the transformerfrom huggingface_hub import hf_hub_downloadfrom safetensors.torch import load_modelfinetune_path = hf_hub_download(repo_id="TenStrip/10Eros-Max", filename="10Eros_Max_h3_fl2va_bf16_test1.safetensors")load_model(pipe.transformer, finetune_path, strict=False, device="cpu")pipe.transformer.to(torch.bfloat16)pipe.transformer.set_attention_backend(ATTENTION)159 unmodified lines160161162163164165166159 unmodified lines# Load TenStrip fine-tuned checkpoint into the transformerfrom huggingface_hub import hf_hub_downloadfrom safetensors.torch import load_modelfinetune_path = hf_hub_download(repo_id="TenStrip/10Eros-Max", filename="10Eros_Max_h3_fl2va_bf16_test2_pruned.safetensors")load_model(pipe.transformer, finetune_path, strict=False, device="cpu")pipe.transformer.to(torch.bfloat16)pipe.transformer.set_attention_backend(ATTENTION)
app.py+1-1