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

CUDA support #258

Open
kalihale opened this issue Dec 27, 2024 · 0 comments
Open

CUDA support #258

kalihale opened this issue Dec 27, 2024 · 0 comments

Comments

@kalihale
Copy link

kalihale commented Dec 27, 2024

When using a graphics card with CUDA support, there is an unhandled tensor error where the tensor must be moved to the CPU before converting to a numpy array.

final_gradients = [torch.zeros_like(p).numpy() for p in self._model.parameters()]

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

No branches or pull requests

1 participant