Instructions to use thu-ml/Hunyuan-RIFLEx-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use thu-ml/Hunyuan-RIFLEx-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("thu-ml/Hunyuan-RIFLEx-diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Improve model card with pipeline tag and library
#1
by nielsr HF Staff - opened
This PR improves the model card by adding the necessary pipeline_tag and library_name metadata, enhancing discoverability on the Hugging Face Hub. The license is confirmed as apache-2.0. This makes the model card more informative and complete. The existing links to the project page and Github repository are retained.
GraceZhao changed pull request status to merged
Thanks for improving the model card.