Skip to content

Include KohakuFA-CuTe dependencies in CUDA extras - #3302

Merged
bghira merged 2 commits into
mainfrom
build/cuda-kohaku-dependencies
Oct 28, 2026
Merged

bghira merged 2 commits into
mainfrom
build/cuda-kohaku-dependencies

Conversation

@bghira

@bghira bghira commented Oct 28, 2026

Copy link
Copy Markdown
Owner

CUDA installations currently need a separate attention-cute extra before automatic KohakuFA-CuTe selection can use the vendored kernels. Include CUTLASS DSL, TVM FFI, and Ninja in the cuda and cuda13 extras, including their nightly variants, using a shared dependency list. Remove the separate extra.

Update the installation guide, attention option documentation, and Krea2/MOSS-Image installation instructions in English and all five translations. Document the C++17 compiler requirement for the extension built on first use.

Validation:

  • .venv/bin/python -m unittest -v -f tests.test_setup_platform_dependencies tests.test_kohaku_fa — 25 tests completed successfully, with three CUDA kernel tests skipped on this machine.
  • Generated package metadata confirms all four CUDA extras include CuTe dependencies, while base, CPU, Apple, and ROCm installations exclude them.
  • All pre-commit hooks passed.

@bghira
bghira merged commit d427abb into main Oct 28, 2026
2 checks passed
@bghira
bghira deleted the build/cuda-kohaku-dependencies branch October 28, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant