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

use mixin class for pytorch #213

Merged
merged 4 commits into from
Jan 9, 2025
Merged

use mixin class for pytorch #213

merged 4 commits into from
Jan 9, 2025

Conversation

smoors
Copy link
Collaborator

@smoors smoors commented Nov 30, 2024

still needs testing the required memory per node
EDIT: 1GB per core seems to be enough, ready for review

@smoors smoors requested a review from casparvl December 1, 2024 12:57
@casparvl casparvl added this to the v0.4.1 milestone Dec 11, 2024
Copy link
Collaborator

@casparvl casparvl left a comment

Choose a reason for hiding this comment

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

I think this is ok. The only thing we could potentially still remove is the device_type = variable(str) in the base class. Setting that device type is enforced by the eessi_mixin class anyway, as it will complain if you don't. But, up to you. If you have strong feelings about keeping it, I'm ok as well.

Also: tested on GPU and CPU, both work fine.

@smoors smoors requested a review from casparvl December 12, 2024 10:11
Copy link
Collaborator

@casparvl casparvl left a comment

Choose a reason for hiding this comment

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

Lgtm!

@casparvl casparvl merged commit bd2afa1 into EESSI:main Jan 9, 2025
17 checks passed
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