Skip to content

Expose at::cuda::getDeviceProperties(int64_t device) in LibTorchSharp #462

Open
@nietras

Description

@nietras

pytorch exposes this as https://pytorch.org/docs/stable/generated/torch.cuda.get_device_properties.html the idea is to do the same for TorchSharp with the goal of being able to query available memory on CUDA devices etc.

I don't know exactly what needs to be changed to allow this, but it should be fairly straightforward.

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