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

Add a method "to_cpu" to convert GPU module to CPU module #28

Merged
merged 4 commits into from
Oct 9, 2023

Conversation

sunqm
Copy link
Collaborator

@sunqm sunqm commented Sep 30, 2023

  • Add to_cpu and to_gpu conversion methods for most classes
  • Remove "device" attribute
  • Disable "patch_cpu_kernel" in all methods
  • Add linter

@sunqm sunqm changed the title WIP: Add a method "to_cpu" to convert GPU module to CPU module Add a method "to_cpu" to convert GPU module to CPU module Oct 9, 2023
@wxj6000 wxj6000 merged commit 2f51c01 into pyscf:master Oct 9, 2023
1 check passed
@sunqm sunqm deleted the to_cpu branch October 9, 2023 03:10
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