Automated PR - 2026-07-07
This commit is contained in:
+22
-1
@@ -1,9 +1,16 @@
|
||||
[tool.uv.sources]
|
||||
ltx-core = { workspace = true }
|
||||
ltx-pipelines = { workspace = true }
|
||||
ltx-kernels = { path = "packages/ltx-kernels", editable = true }
|
||||
|
||||
[tool.uv]
|
||||
no-build-isolation-package = ["ltx-kernels"]
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = ["packages/*"]
|
||||
# ltx-kernels compiles CUDA extensions; keep it out of the workspace so a plain
|
||||
# `uv sync` never forces a CUDA toolchain. Opt in via the `kernels` group below.
|
||||
exclude = ["packages/ltx-kernels"]
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "pypi"
|
||||
@@ -17,11 +24,20 @@ dev = [
|
||||
"ruff>=0.14.3",
|
||||
"pytest~=9.0",
|
||||
]
|
||||
# Opt-in compiled CUDA kernels (blockwise FP8/FP6 GEMM + multi-GPU all2all), built
|
||||
# editable from packages/ltx-kernels without build isolation (torch must already be
|
||||
# installed), CUDA host required. Install with `uv sync --group kernels`.
|
||||
kernels = ["ltx-kernels"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py311"
|
||||
line-length = 120
|
||||
exclude = []
|
||||
exclude = [
|
||||
# Vendored kernel sources, excluded from our lint/format rules.
|
||||
"packages/ltx-kernels/src/ltx_kernels/blockwise/functional.py",
|
||||
"packages/ltx-kernels/src/ltx_kernels/blockwise/linear.py",
|
||||
"packages/ltx-kernels/src/ltx_kernels/blockwise/triton_ops.py",
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
@@ -57,6 +73,11 @@ ignore = [
|
||||
"N812", # Lowercase imported as non-lowercase
|
||||
]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
# CI gates: stand-alone CLIs whose whole job is printing a report / GitHub annotations.
|
||||
".github/actions/test-collection-completeness/check_test_collection.py" = ["T201"]
|
||||
".github/actions/golden-pairing-gate/check_golden_pairing.py" = ["T201"]
|
||||
|
||||
[tool.ruff.lint.pylint]
|
||||
max-args = 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user