[PR #1632] [CLOSED] test: pin GPU order in the vision device fixture #3570

Closed
opened 2026-11-07 14:42:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1632
Author: @W1nge
Created: 10/8/2026
Status: ❌ Closed

Base: main ← Head: codex/vision-device-order-fixture


📝 Commits (1)

  • 9e1b2ec test: keep vision device isolation independent of local GPU order

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 serve/test_server.py (+1 -1)

📄 Description

test_vision_device expects the engine to keep GPU order 0,1, but 0.1.41's automatic ordering can return 1,0 on a heterogeneous dual-GPU host. This makes the vision-isolation test depend on the machine running it.

Set gpu_order: as_given in that fixture so it tests the vision encoder's separate device selection with a fixed engine order. test_card_order already covers automatic ordering. Production behavior is unchanged.

Validation: the GpuChoice test class passes on the affected Windows dual-GPU host. The integrated branch also passes all 283 server, prompt-encoder and idle-status tests.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1632 **Author:** [@W1nge](https://github.com/W1nge) **Created:** 10/8/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/vision-device-order-fixture` --- ### 📝 Commits (1) - [`9e1b2ec`](https://github.com/Niko1221/Strata/commit/9e1b2eca4410758ddf6a99396a265d3343f743b0) test: keep vision device isolation independent of local GPU order ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `serve/test_server.py` (+1 -1) </details> ### 📄 Description `test_vision_device` expects the engine to keep GPU order `0,1`, but 0.1.41's automatic ordering can return `1,0` on a heterogeneous dual-GPU host. This makes the vision-isolation test depend on the machine running it. Set `gpu_order: as_given` in that fixture so it tests the vision encoder's separate device selection with a fixed engine order. `test_card_order` already covers automatic ordering. Production behavior is unchanged. Validation: the `GpuChoice` test class passes on the affected Windows dual-GPU host. The integrated branch also passes all 283 server, prompt-encoder and idle-status tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:42:24 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3570
No description provided.