|
Download flux-umi/docs/setup.md from Crobotia/iUMI_Inference: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/Crobotia/iUMI_Inference/resolve/main/flux-umi/docs/setup.md
- Command line
-
hf download hf://Crobotia/iUMI_Inference/flux-umi/docs/setup.md
-
curl -L -o setup.md https://huggingface.co/Crobotia/iUMI_Inference/resolve/main/flux-umi/docs/setup.md
1.23 kB
| # Setup | |
| Training requires Linux and an NVIDIA GPU. Data preparation and tests also run on CPU. | |
| See [training-environment.md](training-environment.md) for the exact stack the optimized kernels were validated on. | |
| ## Install | |
| With `uv` installed, from the repository root: | |
| ```sh | |
| uv sync --locked --extra encoders --extra data | |
| uv pip install --python .venv/bin/python 'natten==0.21.6+torch2100cu128' -f https://whl.natten.org/ | |
| ``` | |
| - `--extra encoders` installs `transformers` and `huggingface-hub` for the Qwen3-VL-4B text encoder and the Hub. | |
| - `--extra data` installs `pyarrow` and PyAV for reading LeRobot parquet and video files. | |
| - NATTEN is not part of `uv.lock` because its wheels are built per torch and CUDA version. Pick the wheel from | |
| [whl.natten.org](https://whl.natten.org/) that matches your torch/CUDA (e.g. `torch2100cu130` for CUDA 13.0). | |
| Reinstall it after every `uv sync`. | |
| ## Download the base weights | |
| ```sh | |
| uv run hf download black-forest-labs/flux-3-action-base \ | |
| --include 'flux-3-action-base.safetensors' --include 'video_vae.safetensors' \ | |
| --include 'text_encoder/*' \ | |
| --local-dir outputs/weights | |
| ``` | |
| `configs/umi/umi_posttrain_16g.json` points at these paths. Keep the weights fixed for a run. | |