You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add --skip-resource-checks flag to bypass hardware capability gates #758
Add a flag (e.g. --skip-resource-checks) that disables the hardware-based resource checks in conftest that gate tests based on detected hardware (VRAM, etc.).
Motivation
The current require_gpu(min_vram_gb=N) predicate causes tests to be skipped when the detected hardware doesn't meet the threshold. While this is the right default behavior, there are cases where a developer wants to force-run a test regardless of what hardware is detected — for example, to verify test logic on a machine with less VRAM, or to reproduce a failure reported from a higher-spec machine.
It is currently possible to work around this by invoking pytest directly (bypassing conftest auto-skips), but an explicit flag would be clearer and more ergonomic.
Proposed solution
Add a --skip-resource-checks pytest flag that, when passed, disables the hardware-capability gates (VRAM checks). API credential checks and Ollama checks would not be affected by this flag, as skipping those doesn't make sense in the same way.
Checked current main (2026-04-20) — the specific flag was never added, though related cleanup happened in PR #742.
The old requires_gpu / requires_heavy_ram / requires_gpu_isolation markers and the --ignore-*-check override flags were removed from conftest (~2026-03-27, commits d445f0c and 6148d8d). However, require_gpu() and require_ram() still live in test/predicates.py as decorator-style skip predicates and are actively used. There is still no ergonomic way to force-run a test below the detected VRAM threshold.
Activity
ajbozarth commentedon Apr 20, 2026
Updated status from Claude:
Checked current
main(2026-04-20) — the specific flag was never added, though related cleanup happened in PR #742.The old
requires_gpu/requires_heavy_ram/requires_gpu_isolationmarkers and the--ignore-*-checkoverride flags were removed from conftest (~2026-03-27, commitsd445f0cand6148d8d). However,require_gpu()andrequire_ram()still live intest/predicates.pyas decorator-style skip predicates and are actively used. There is still no ergonomic way to force-run a test below the detected VRAM threshold.feat: add --skip-resource-checks flag to bypass hardware capability g… (
feat: add --skip-resource-checks flag to bypass hardware capability g… (