Skip to content

[Tests][WebGPU] Update grid-pack test TIRx syntax - #20538

Merged
tqchen merged 1 commit into
apache:mainfrom
Nanmur:codex/fix-webgpu-grid-pack-test
Oct 3, 2026
Merged

tqchen merged 1 commit into
apache:mainfrom
Nanmur:codex/fix-webgpu-grid-pack-test

Conversation

@Nanmur

@Nanmur Nanmur commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Description

The grid-pack guard regression test added in #20424 uses TIRx syntax that had already been replaced on main:

As a result, the current CPU CI fails during test collection with:

AttributeError: No script namespace 'Buffer'

This test-only change updates the new test to the current TIRx syntax. The WebGPU test body and generated-code assertion are unchanged.

The same upstream failure is currently blocking unrelated PRs #20529 and #20535.

Testing

  • python -m py_compile tests/python/codegen/test_target_codegen_webgpu.py
  • python -m pre_commit run --files tests/python/codegen/test_target_codegen_webgpu.py

A matching current-main native library was not available locally, so the targeted WebGPU runtime test is left to CI.

@tqchen
tqchen merged commit a8946b6 into apache:main Oct 3, 2026
8 checks passed
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.

2 participants