Skip to content

Move find_matching_gpu_arch() back to test_runner.py - #3972

Merged
dileepr1 merged 2 commits into
mainfrom
usrs/dravindr/tf_runner_fn
Mar 17, 2026
Merged

dileepr1 merged 2 commits into
mainfrom
usrs/dravindr/tf_runner_fn

Conversation

@dileepr1

Copy link
Copy Markdown
Contributor

Motivation

Moving the function out of github_actions_utils.py as per this comment in #3595.

Technical Details

NA

Test Plan

CI tests handled by test_runner.py should continue to run.

Test Result

NA

Submission Checklist

Comment on lines +107 to +109
for i in range(len(arch_str) - 1, 1, -1):
pattern = arch_str[:i] + "X"
possible_patterns.append(pattern)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: reversed iteration order makes this code tricky to read. Could be worth a comment or something like sorting/reversing then iterating

@dileepr1
dileepr1 merged commit f468ef6 into main Mar 17, 2026
87 of 92 checks passed
@dileepr1
dileepr1 deleted the usrs/dravindr/tf_runner_fn branch March 17, 2026 13:36
@github-project-automation github-project-automation Bot moved this from TODO to Done in TheRock Triage Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants