Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to same device as provided model #135

Closed
wants to merge 1 commit into from
Closed

Conversation

m3at
Copy link

@m3at m3at commented May 20, 2020

Hello, thanks for working on pytorch-summary.
Models are often created on CPU, or not on the first cuda device. Defaulting to the current model device might be helpful.

Hello, thanks for working on pytorch-summary.
Models are often created on CPU, or not on the first cuda device. Defaulting to the current model device might be helpful.
@nijfranck
Copy link

Defaulting to current model device and number is definitely more flexible. Thanks for the pull request and commit @m3at

@m3at m3at closed this Jul 19, 2024
@m3at m3at deleted the patch-1 branch July 19, 2024 15:43
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