Instructions to use CornLogic/10EROS_1.4_Int8_ConvRot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CornLogic/10EROS_1.4_Int8_ConvRot with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CornLogic/10EROS_1.4_Int8_ConvRot", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Awesome work and thanks, but why are the Bobs significantly smaller?
#1
by eatmemark - opened
I think I speak for everyone when I say we greatly appreciate you doing the conversion.
Had a question though: Why are the Bob variants so much smaller than the FP8s? Int8 ConvRot shouldn't be over 5GB smaller... if anything, they should be slightly larger. It must be stripping something out, and I think that's probably why you're seeing it be the fastest. I'm just not sure what we're losing. Have any idea?