Skip to content

[Tests] Remove test_runtime_ndarray (covered by tvm-ffi)#19715

Merged
tqchen merged 2 commits into
apache:mainfrom
tlopex:fix-xdist-runtime-memory-usage-test
Jun 11, 2026
Merged

[Tests] Remove test_runtime_ndarray (covered by tvm-ffi)#19715
tqchen merged 2 commits into
apache:mainfrom
tlopex:fix-xdist-runtime-memory-usage-test

Conversation

@tlopex

@tlopex tlopex commented Jun 10, 2026

Copy link
Copy Markdown
Member

The all-platform-minimal NDArray runtime test is now superseded by tvm-ffi's own NDArray coverage. This removes the now-redundant test_runtime_ndarray.py test file.

dev.available_global_memory is a device-wide measurement, so the
assertion that available memory decreases by at least the allocation
size is not stable when other pytest-xdist workers allocate or free
memory on the same device between the two measurements.  Skip the
test when running inside an xdist worker, detected via the
PYTEST_XDIST_WORKER environment variable.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@tqchen

tqchen commented Jun 10, 2026

Copy link
Copy Markdown
Member

test_runtim_ndarray can be removed as most features are covered by tvm_ffi now

@tqchen tqchen changed the title [Tests] Skip test_memory_usage under pytest-xdist [Tests] Remove test_runtime_ndarray (covered by tvm-ffi) Jun 10, 2026
@tqchen

tqchen commented Jun 11, 2026

Copy link
Copy Markdown
Member

@tvm-bot rerun

@tqchen tqchen merged commit a2b10a3 into apache:main Jun 11, 2026
9 of 10 checks passed
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
The all-platform-minimal NDArray runtime test is now superseded by
tvm-ffi's own NDArray coverage. This removes the now-redundant
`test_runtime_ndarray.py` test file.

(cherry picked from commit a2b10a3)
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
The all-platform-minimal NDArray runtime test is now superseded by
tvm-ffi's own NDArray coverage. This removes the now-redundant
`test_runtime_ndarray.py` test file.

(cherry picked from commit a2b10a3)
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