Instructions to use IamCreateAI/Ruyi-Mini-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use IamCreateAI/Ruyi-Mini-7B 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("IamCreateAI/Ruyi-Mini-7B", 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
#3
by onlinesalesandmarketing - opened
- 8043678088 2.pdf +0 -0
- Safari.app 2.rtf +7 -0
- resume 2 2.pdf +0 -0
8043678088 2.pdf
ADDED
|
Binary file (683 kB). View file
|
|
|
Safari.app 2.rtf
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
|
| 2 |
+
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
|
| 3 |
+
{\colortbl;\red255\green255\blue255;}
|
| 4 |
+
\paperw9980\paperh14180\margl1440\margr1440\vieww10800\viewh8400\viewkind0
|
| 5 |
+
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
|
| 6 |
+
|
| 7 |
+
\f0\fs24 \cf0 enternet.net}
|
resume 2 2.pdf
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|