Instructions to use gatilin/hy-nomas-dit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gatilin/hy-nomas-dit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("gatilin/hy-nomas-dit", 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
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("gatilin/hy-nomas-dit", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Hy-Nomas Diffusion Transformer
This repository contains the BF16 transformer/ component from tencent/Hy-Nomas-Diffusers, revision a1ae04d11ae4ea176d1f76de634c115944f9882d. It includes the native transformer configuration, sharded checkpoint and index. It is the distilled 54-block segment-autoregressive video diffusion transformer; the text encoder, scheduler and PixelUMM decoder are not included. Full generation also requires the corresponding tokenizer, conditioning, camera interface, KV-cache handling and compatible runtime.
The four original shard files are unchanged. source_shards.json records their SHA-256 values and sizes. The unmodified shards were copied server-side from the pinned source revision; their remote LFS SHA-256 values and sizes were compared with the source metadata. Complete shards were not downloaded and independently hashed locally. The checkpoint is approximately 17.1 GB.
Validation and limitations
validation_block0.json reports strict loading of the 32 original first-block tensors into the upstream dual-stream block with CPU float32 synthetic text and video tokens. It also checks deterministic repeat and sensitivity to a text perturbation. The code tested an upstream fork implementation over Diffusers 0.35.2 with a compatibility adapter that removes an unused parallel_config=None argument. This is a single-block component test: the full 54-block model, decoder, cache behavior and video generation were not tested. See the original repository's runtime and pipeline instructions for full inference.
Source and license
Hy-Nomas is released under Apache-2.0; the upstream license file is included. Third-party components are subject to their own licenses. The reference fork source used for block testing is pinned at 1a0aaa32baa8ab02beaa376fec26f93817393562; see native_source/transformer_hy_nomas.py and its source notice. Refer to the official model card for all source dependencies and attribution.
- Downloads last month
- -