Skip to content

Fix pin_memory_fn for NamedTuple#1086

Closed
ejguan wants to merge 2 commits intometa-pytorch:mainfrom
ejguan:fix_pin_memory
Closed

Fix pin_memory_fn for NamedTuple#1086
ejguan wants to merge 2 commits intometa-pytorch:mainfrom
ejguan:fix_pin_memory

Conversation

@ejguan
Copy link
Contributor

@ejguan ejguan commented Mar 15, 2023

Fixes #1085

Per title. And, even though I can add a test, this test won't be executed as we don't have a GPU CI machine yet.

I have tested on my local machine though

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 15, 2023
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@ejguan ejguan requested a review from NivekT March 15, 2023 15:10
Copy link
Contributor

@NivekT NivekT left a comment

Choose a reason for hiding this comment

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

LGTM!

@facebook-github-bot
Copy link
Contributor

@ejguan merged this pull request in 1472157.

@ejguan ejguan added the topic: bug fixes topic category label Mar 20, 2023
@NivekT NivekT added this to the 0.6.1 milestone Mar 20, 2023
NivekT pushed a commit that referenced this pull request Apr 19, 2023
Summary:
Fixes #1085

Per title. And, even though I can add a test, this test won't be executed as we don't have a GPU CI machine yet.

I have tested on my local machine though

Pull Request resolved: #1086

Reviewed By: NivekT

Differential Revision: D44094225

Pulled By: ejguan

fbshipit-source-id: 9c8414c31b76c93cee7e31c4e2da14076e9792bf
ejguan added a commit that referenced this pull request Apr 20, 2023
Summary:
Fixes #1085

Per title. And, even though I can add a test, this test won't be executed as we don't have a GPU CI machine yet.

I have tested on my local machine though

Pull Request resolved: #1086

Reviewed By: NivekT

Differential Revision: D44094225

Pulled By: ejguan

fbshipit-source-id: 9c8414c31b76c93cee7e31c4e2da14076e9792bf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged topic: bug fixes topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pin_memory_fn returns None when NamedTuple is provied

3 participants