Instructions to use CornLogic/10EROS_Int4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CornLogic/10EROS_Int4 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_Int4", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
| 2 |
library_name: diffusers
|
| 3 |
---
|
| 4 |
|
| 5 |
-
Quality - 10Eros_v1.4_DMD_TFO_Int8-Int8mm_Q
|
| 6 |
|
| 7 |
-
Balanced -10Eros_v1.4_DMD_TFO_Int8-Int8mm_B
|
| 8 |
|
| 9 |
-
Full - 10Eros_v1.4_DMD_TFO_w4a4-Int8mm_F
|
| 10 |
|
| 11 |
All were calibrated on 1920x1024 481 frames 24fps
|
| 12 |
TFO = Transformer Only
|
|
|
|
| 2 |
library_name: diffusers
|
| 3 |
---
|
| 4 |
|
| 5 |
+
Quality - 10Eros_v1.4_DMD_TFO_Int8-Int8mm_Q is 50/50 int8/w4a4-int8mm. 20 second gens ok seems to hold up pretty well.
|
| 6 |
|
| 7 |
+
Balanced -10Eros_v1.4_DMD_TFO_Int8-Int8mm_B is 20/80 int8/w4a4-int8mm. 20 second gens ok, might be better off sticking to 10-15 seconds
|
| 8 |
|
| 9 |
+
Full - 10Eros_v1.4_DMD_TFO_w4a4-Int8mm_F is 0/100 int8/w4a4-int8mm. Does 5 second gens ok, starts to fall apart pretty quickly after that.
|
| 10 |
|
| 11 |
All were calibrated on 1920x1024 481 frames 24fps
|
| 12 |
TFO = Transformer Only
|