Refine CUDA BackendStaticInitializer for allocator select#165298
Refine CUDA BackendStaticInitializer for allocator select#165298guangyey wants to merge 6 commits intogh/guangyey/220/basefrom
Conversation
🔗 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 SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit b473d46 with merge base 556fc09 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@albanD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
| break; | ||
| } else { | ||
| // Skip the key and its value | ||
| i = tokenizer.skipKey(i); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
You're right, I missed that. Added a test case to cover this scenario.
|
Starting merge as part of PR stack under #165304 |
…5298) * pytorch#165288 Pull Request resolved: pytorch#165298 Approved by: https://github.com/albanD ghstack dependencies: pytorch#165288, pytorch#165289, pytorch#165291
* pytorch#165288 Pull Request resolved: pytorch#165304 Approved by: https://github.com/albanD ghstack dependencies: pytorch#165288, pytorch#165289, pytorch#165291, pytorch#165298
Fixes pytorch#165872. Forward fix PR pytorch#165298. hipify was causing some symbols to be replaced.
…5298) * pytorch#165288 Pull Request resolved: pytorch#165298 Approved by: https://github.com/albanD ghstack dependencies: pytorch#165288, pytorch#165289, pytorch#165291
* pytorch#165288 Pull Request resolved: pytorch#165304 Approved by: https://github.com/albanD ghstack dependencies: pytorch#165288, pytorch#165289, pytorch#165291, pytorch#165298
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>
ghstack-source-id: ba2b8b9 Pull Request resolved: pytorch/pytorch#165298
Stack from ghstack (oldest at bottom):