Instructions to use Cccccz/HY with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Cccccz/HY with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Cccccz/HY", 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
Download models/__init__.py from Cccccz/HY: direct link, hf CLI and curl.
- Browser
- Download file 709 Bytes
-
https://huggingface.co/Cccccz/HY/resolve/main/models/__init__.py
- Command line
-
hf download hf://Cccccz/HY/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Cccccz/HY/resolve/main/models/__init__.py
709 Bytes
| """Project-local Predictor models.""" | |
| from .predictor import HYWorldPlayPredictor, PredictorConfig | |
| from .predictor_v2 import HYWorldPlayPredictorV2, PredictorV2Config | |
| from .predictor_v3 import HYWorldPlayPredictorV3, TripleFeatureFusion | |
| from .predictor_v4 import HYWorldPlayPredictorV4 | |
| from .predictor_atc import ATCFeatureFusion, LocalCrossChunkTransport | |
| from .predictor_disca import HYWorldPlayPredictorDisCa | |
| __all__ = [ | |
| "HYWorldPlayPredictor", | |
| "PredictorConfig", | |
| "HYWorldPlayPredictorV2", | |
| "PredictorV2Config", | |
| "HYWorldPlayPredictorV3", | |
| "TripleFeatureFusion", | |
| "HYWorldPlayPredictorV4", | |
| "ATCFeatureFusion", | |
| "LocalCrossChunkTransport", | |
| "HYWorldPlayPredictorDisCa", | |
| ] | |