Skip to content

[probe] Studio: default transformers 5.13.1 (do not merge) - #17580

Closed
danielhanchen wants to merge 1 commit into
mainfrom
studio-transformers-5-13-probe
Closed

danielhanchen wants to merge 1 commit into
mainfrom
studio-transformers-5-13-probe

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Draft, for regression evidence only. Do not merge.

Moves the Studio default transformers pin from 5.5.0 to 5.13.1, the first minor line whose hub_kernels mapping passes version= to every kernels.LayerRepository (so current kernels releases import next to it). Model-specific side installs (5.3.0, 5.5.0 for Gemma 4, 5.10.2) are unchanged.

  • extras-no-deps.txt, no-torch-runtime.txt, single-env/constraints.txt, single-env/overrides-darwin-arm64.txt: transformers==5.13.1 (tokenizers window unchanged: 5.13.1 declares >=0.22.0,<=0.23.0).
  • no-torch-runtime.txt: safetensors>=0.8.0 on Python 3.10+ (5.13 requires it).
  • utils/transformers_version.py: TRANSFORMERS_DEFAULT_VERSION = "5.13.1".
  • test_transformers_tokenizers_pair.py: declared window for 5.13.1.

@danielhanchen danielhanchen self-assigned this Nov 12, 2026
danielhanchen added a commit that referenced this pull request Nov 12, 2026
…17581)

## Summary

Follow-up to #17577. That change capped the completeness traversal's
upward step at 3/4 of the viewport. On #17580 three of the four windowed
cells now reach full coverage, but one still came back unmeasured. That
was enough to fail `Parity verdict, scored against the null` again:

```
COMPLETENESS NOT ESTABLISHED: the head of the thread mounted, but coverage of the middle was NOT ESTABLISHED: 1 of 18 ordinals never mounted, but consecutive stops of the gesture did not overlap
outputs/parity-result: TOO LITTLE COMPARED: 12 of 32 pair(s) carry a verdict, below the floor of 16.
```

The run's payload shows the cap was applied (`traverse_step_px: 720` on
a 960px viewport) and the walk still skipped ordinal 13. So even a step
shorter than the viewport can carry past a row. The likely cause is the
windowed list re-anchoring `scrollTop` when rows above it mount at their
real height rather than their estimate, which moves the viewport further
than the step asked for. The payload does not record per-stop spans, so
this is inferred rather than observed. Either way, no fixed step size
can rule the gap out, so the walk now checks for it and closes it.

## Change

`TRAVERSE_JS` in `tests/studio/studiobench/runtime/readiness.py`:

- After each upward step, if the rows mounted at the new stop do not
touch the previous stop's rows, the walk steps back down in half steps
until the rows in between have mounted (at most 16 tries), then returns
to where the step landed and carries on. A thread with no such jump
never takes this path.
- `sweep_continuous` is now judged on the union of every stop's mounted
span, so those extra stops count. The meaning is the same as before: no
gap in the sweep where a row could hide. An ordinal still missing from a
continuous sweep is still reported as lost, and a hole inside one stop's
own window is still reported as a missing middle.

No app code changes.

## Guard

- New fixture mode `windowed_anchor_jump` in `thread_fixture.js`: once,
halfway up, the viewport jumps 600px further than the step, as a
re-anchoring list does. With the 300px capped step, that skips one row.
- New `test_a_scroll_anchor_jump_does_not_leave_coverage_unmeasured`:
the sweep must stay continuous and coverage complete. With the step-back
disabled, it fails (`sweep_continuous` is False), the same shape as the
CI cell.

## Testing

- `tests/studio/studiobench/runtime/selftest/` (including all live
browser cases), `test_studiobench_thread_reopen_gate.py`,
`test_studiobench_windowed_parity.py`: 412 passed, 1 skipped.
- This PR's own `studiobench-ui-parity` and `studiobench CI` runs are
the end-to-end check.
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