Skip to content

Refine CUDA BackendStaticInitializer for allocator select#165298

Closed
guangyey wants to merge 6 commits intogh/guangyey/220/basefrom
gh/guangyey/220/head
Closed

Refine CUDA BackendStaticInitializer for allocator select#165298
guangyey wants to merge 6 commits intogh/guangyey/220/basefrom
gh/guangyey/220/head

Conversation

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 13, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/165298

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit b473d46 with merge base 556fc09 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

[ghstack-poisoned]
[ghstack-poisoned]
@albanD
Copy link
Collaborator

albanD commented Oct 13, 2025

@albanD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

[ghstack-poisoned]
[ghstack-poisoned]
break;
} else {
// Skip the key and its value
i = tokenizer.skipKey(i);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't something like this missing here?
// handle comma separators between config entries
if (i + 1 < tokenizer.size()) {
tokenizer.checkToken(++i, ",");
}

If so, we should have a specific test to make sure we parse these properly

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're right, I missed that. Added a test case to cover this scenario.

[ghstack-poisoned]
[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #165304

pytorchmergebot pushed a commit that referenced this pull request Oct 19, 2025
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
jeffdaily added a commit to ROCm/pytorch that referenced this pull request Oct 21, 2025
Fixes pytorch#165872.

Forward fix PR pytorch#165298. hipify was causing some symbols to be replaced.
zhudada0120 pushed a commit to zhudada0120/pytorch that referenced this pull request Oct 22, 2025
zhudada0120 pushed a commit to zhudada0120/pytorch that referenced this pull request Oct 22, 2025
pytorchmergebot pushed a commit that referenced this pull request Oct 22, 2025
Fixes #165872.

Forward fix PR #165298. hipify was causing some symbols to be replaced.

Pull Request resolved: #166035
Approved by: https://github.com/jeffdaily

Co-authored-by: Jeff Daily <jeff.daily@amd.com>
Khanaksahu pushed a commit to Khanaksahu/pytorch that referenced this pull request Nov 17, 2025
@github-actions github-actions bot deleted the gh/guangyey/220/head branch November 19, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants