Skip to content

Fix regular expression for Strix Halo#2854

Merged
fifield merged 1 commit intomainfrom
halo_lit_regex
Feb 9, 2026
Merged

Fix regular expression for Strix Halo#2854
fifield merged 1 commit intomainfrom
halo_lit_regex

Conversation

@fifield
Copy link
Copy Markdown
Collaborator

@fifield fifield commented Feb 9, 2026

Fix regular expression for detecting Strix Halo npu in lit helper library.

copied from #2288

Copilot AI review requested due to automatic review settings February 9, 2026 16:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the device-detection regex used by the lit helper library to correctly recognize Strix Halo (multi-word) NPU names in XRT output.

Changes:

  • Adjusted the detect_xrt regex to allow spaces in NPU <name> matches.
  • Tightened trailing-match handling by consuming whitespace before the column delimiter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fifield fifield enabled auto-merge February 9, 2026 20:00
@fifield fifield added this pull request to the merge queue Feb 9, 2026
Merged via the queue into main with commit b245548 Feb 9, 2026
88 of 97 checks passed
@fifield fifield deleted the halo_lit_regex branch February 9, 2026 21:04
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