Skip to content

CUDA support #258

@kalihale

Description

@kalihale

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()]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions