Instructions to use Disty0/Index-anisora-5B_RL-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Disty0/Index-anisora-5B_RL-diffusers 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("Disty0/Index-anisora-5B_RL-diffusers", 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
Download scheduler/scheduler_config.json from Disty0/Index-anisora-5B_RL-diffusers: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/Disty0/Index-anisora-5B_RL-diffusers/resolve/main/scheduler/scheduler_config.json
- Command line
-
hf download hf://Disty0/Index-anisora-5B_RL-diffusers/scheduler/scheduler_config.json
-
curl -L -o scheduler_config.json https://huggingface.co/Disty0/Index-anisora-5B_RL-diffusers/resolve/main/scheduler/scheduler_config.json
477 Bytes
| { | |
| "_class_name": "CogVideoXDDIMScheduler", | |
| "_diffusers_version": "0.33.1", | |
| "beta_end": 0.012, | |
| "beta_schedule": "scaled_linear", | |
| "beta_start": 0.00085, | |
| "clip_sample": false, | |
| "clip_sample_range": 1.0, | |
| "num_train_timesteps": 1000, | |
| "prediction_type": "v_prediction", | |
| "rescale_betas_zero_snr": true, | |
| "sample_max_value": 1.0, | |
| "set_alpha_to_one": true, | |
| "snr_shift_scale": 1.0, | |
| "steps_offset": 0, | |
| "timestep_spacing": "trailing", | |
| "trained_betas": null | |
| } | |