Skip to content

Pass PyTorch device through to AtomScaling#146

Merged
danielzuegner merged 1 commit intomicrosoft:mainfrom
PascalSalzbrenner:m3gnet-device
Apr 17, 2026
Merged

Pass PyTorch device through to AtomScaling#146
danielzuegner merged 1 commit intomicrosoft:mainfrom
PascalSalzbrenner:m3gnet-device

Conversation

@PascalSalzbrenner
Copy link
Copy Markdown

Small edge case fix where M3Gnet would always initialise AtomScaling on the GPU if a GPU is available, even when the specified device is CPU.

Copy link
Copy Markdown
Contributor

@danielzuegner danielzuegner left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@danielzuegner danielzuegner merged commit 34dbd67 into microsoft:main Apr 17, 2026
20 checks passed
@PascalSalzbrenner PascalSalzbrenner deleted the m3gnet-device branch April 17, 2026 15:37
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