Skip to content

LTX-2.5 hosted TE tests: pin the one-decimal refusal text from #17948 (rest red on main) - #17963

Merged
danielhanchen merged 1 commit into
mainfrom
fix-ltx25-te-hosted-refusal-decimal
Nov 16, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
fix-ltx25-te-hosted-refusal-decimal

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

(Python 3.13, rest) is red on main (seen on the staging runs of #17953 and #17957, base bf7f6e050d):

studio/backend/tests/test_video_ltx25_te_hosted.py::test_a_rejected_hosted_file_refuses_the_dense_fallback_without_room
E   Expected regex: 'needs about 24 GB'
E   Actual message: '... quantizing the dense encoder at load needs about 23.9 GB of free memory (8.0 GB free).'
studio/backend/tests/test_video_ltx25_te_hosted.py::test_the_dense_fallback_room_check_prices_the_load_dtype[float32-30-True]
E   Expected regex: 'needs about 48 GB'
E   Actual message: '... needs about 47.8 GB of free memory (30.0 GB free).'

#17948 changed the LTX-2.5 dense text encoder refusal to print the need to one decimal, so it can no longer read "needs about 24 GB ... (24 GB free)" for a 24.3 GB need with 23.8 GB free. That is intended. It updated the same assertion in test_video_hub_unreachable_cached_load.py but not these two in test_video_ltx25_te_hosted.py, which still pin the old whole-GB text.

Change

Test only, studio/backend/tests/test_video_ltx25_te_hosted.py:

  • The hosted-file refusal pins the full one-decimal text: needs about 23.9 GB of free memory (8.0 GB free).
  • The dtype pricing case derives the need from LTX25_TE_BF16_GB (a float32 load needs twice the bf16 encoder) and pins both figures to one decimal, so a change to the encoder size constant does not break it again while a return to whole-GB rounding still does.

No product code changes; when a load is refused is unchanged.

Testing

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T10:48:26.881452Z f02e3fd Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: f02e3fd3cb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit 9c42ed8 into main Nov 16, 2026
@danielhanchen
danielhanchen deleted the fix-ltx25-te-hosted-refusal-decimal branch November 16, 2026 10:50
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