Fix render

This commit is contained in:
Andras Schmelczer 2026-07-14 19:28:09 +01:00
parent 68097386df
commit bf3f09aeb6
4 changed files with 96 additions and 80 deletions

View file

@ -9,7 +9,12 @@ requires-python = ">=3.12"
# model in-process, which dragged in torch + torchaudio + a CUDA-matched
# flash-attn wheel (~700MB of downloads, pinned to the host's driver version
# and to cp312). Generating over HTTP moved all of that onto the server.
#
# Nothing here pins a platform or an interpreter ceiling on purpose: the old
# `[tool.uv] environments` marker existed only to keep torch/torchaudio/
# flash-attn resolving to linux + cp312. Left in place it would outlive its
# reason and break the build, because it caps the LOCK at python < 3.14 while
# requires-python lets uv pick a newer interpreter: `uv sync` then fails with
# "the current Python platform is not compatible with the lockfile's supported
# environments" and render.sh aborts before synthesising a single cue.
dependencies = []
[tool.uv]
environments = ["sys_platform == 'linux' and python_version < '3.14'"]