Skip to content

CUDA Support #2518

@wingter562

Description

@wingter562

Feature desired
Looks like sending models to GPU is not allowed if Pytorch is hooked with PySyft.
For example:

hook = sy.TorchHook(torch)  # no problem occurs if comment this line
model.to(torch.device('cuda')) 

incurs: RuntimeError: Expected object of backend CPU but got backend CUDA for argument #2 ‘source’
But that never happens if I don't hook PySyft with Pytorch.

Describe the solution you'd like
Does PySyft provide Cuda support, both on Windows and Linux?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: New Feature ➕Introduction of a completely new addition to the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions