|
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 for the exact stack the optimized kernels were validated on.
Install
With uv installed, from the repository root:
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 encodersinstallstransformersandhuggingface-hubfor the Qwen3-VL-4B text encoder and the Hub.--extra datainstallspyarrowand PyAV for reading LeRobot parquet and video files.- NATTEN is not part of
uv.lockbecause its wheels are built per torch and CUDA version. Pick the wheel from whl.natten.org that matches your torch/CUDA (e.g.torch2100cu130for CUDA 13.0). Reinstall it after everyuv sync.
Download the base weights
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.