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
add AIBOM
#23 opened 7 months ago
by
RiccardoDav
Request: DOI
#21 opened about 1 year ago
by
qwiejwqej
Got it working but couldn't manage to generate video. Any tips?
7
#19 opened over 1 year ago
by
Cha-dash
A100 Test - 100% 25/25 [06:07<00:00, 14.70s/it]
2
#18 opened over 1 year ago
by
oieieio
Problem with running the model.
2
#17 opened over 1 year ago
by
Dm124r
Generate on V100 questions
5
#10 opened over 1 year ago
by
csabakecskemeti
safetensor percision question :)
1
#9 opened over 1 year ago
by
SynysterSocks