Skip to content

fix tests#1555

Merged
luke-lombardi merged 1 commit intomainfrom
ll/fix-tests
Mar 11, 2026
Merged

fix tests#1555
luke-lombardi merged 1 commit intomainfrom
ll/fix-tests

Conversation

@luke-lombardi
Copy link
Copy Markdown
Contributor

@luke-lombardi luke-lombardi commented Mar 11, 2026

Summary by cubic

Fixes GPU visibility tests by removing brittle mocks and adding an opt-in integration test that runs on a real GPU node. Also caches the resolved NVIDIA_VISIBLE_DEVICES on the manager and uses it in error messages for consistent behavior.

  • Bug Fixes

    • Removed flaky unit tests that mocked device resolution.
    • chooseDevices now reports the resolved visible devices value from the manager, improving error clarity.
  • New Features

    • Added gpu_integration_test.go (enable with GPU_INTEGRATION=1) to verify device resolution, per-worker isolation (exactly one GPU), and allocation behavior.

Written for commit 66d007b. Summary will update on new commits.

@luke-lombardi luke-lombardi merged commit 3549393 into main Mar 11, 2026
2 of 3 checks passed
@luke-lombardi luke-lombardi deleted the ll/fix-tests branch March 11, 2026 19:45
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

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