Download code/tt_rdt2/reference/__init__.py from changh95/rdt2-base-p150: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/changh95/rdt2-base-p150/resolve/main/code/tt_rdt2/reference/__init__.py
- Command line
-
hf download hf://changh95/rdt2-base-p150/code/tt_rdt2/reference/__init__.py
-
curl -L -o __init__.py https://huggingface.co/changh95/rdt2-base-p150/resolve/main/code/tt_rdt2/reference/__init__.py
472 Bytes
| # SPDX-License-Identifier: Apache-2.0 | |
| """CPU fp32 torch reference of RDT2-FM (no official code imported; torch + safetensors + tokenizers only). | |
| Modules: config (dims, pins), weights (safetensors / weights_only loaders), preprocess (cameras, prompt, mRoPE, ViT | |
| geometry), vision (Qwen2.5-VL ViT), vlm (Qwen2.5-VL LM prefill -> K/V of layers 0..13), expert (RDT expert + Euler | |
| sampler + host/device adaLN split), pipeline (end to end), golden (dump loader + metrics). | |
| """ | |