-
Notifications
You must be signed in to change notification settings - Fork 97
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
Feature: Easy switch between GPU/CPU for forcefields #829
Comments
Are you asking about switching device mid-workflow? I've never tried or needed that, so can't comment. To initialize a workflow on different device, there's the I was going to add a new parameter |
I am asking about initialization. Would be great to have that parameter |
@janosh you can already pass that switch through |
sweet, i'd forgotten you added that in #722. looks like there are some doc string vestiges from a MACE-specific version of that which I'd planned to standardize across models at some point. i'll remove those atomate2/src/atomate2/forcefields/jobs.py Lines 406 to 409 in 3486792
|
@esoteric-ephemera @janosh thank you both! I will then close this as resolved! |
Oh yeah if you don't mind doing that, that would be great. I also forgot to copy the base doc str over from the parent Relax, Static, and MD forcefield makers. If you don't mind adding that too, would be super appreciated |
For workstations, switching between GPUs and CPUs should be possible for the force field workflows. Do we currently have an easy option within the workflow to do so?
We typically run these jobs on either GPUs or CPUs and rarely have an issue. Did anyone of you run into this? @esoteric-ephemera @janosh ? Especially in the context of CHGNet?
The text was updated successfully, but these errors were encountered: