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", torch_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
Upload 3 files
Browse files
10Eros_v1.4_DMD_TFO_Int8-Int8mm_B.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78fd6be94eb850e4833429adb897f3cdc2a938125114f4a2d92b3768b8676451
|
| 3 |
+
size 16081958100
|
10Eros_v1.4_DMD_TFO_Int8-Int8mm_Q.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cb95a0c8de4036b72a0d505925c0687012151a3e4de6162f59816f88c3a0aae
|
| 3 |
+
size 18822935504
|
10Eros_v1.4_DMD_TFO_w4a4-Int8mm_F.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5313217905bc93f41807bd39a170945c7cdc95912d525e037941c046a3b366df
|
| 3 |
+
size 14246950112
|