Skip to content

(Single) GPU support for custom Python layers? #5286

@phugen

Description

@phugen

This question was asked on caffe-users several times already in the past months, but nobody there posted an answer, so please bear with me.

Is it possible to use even single-GPU with custom Python layers by supplying a CUDA implementation of the forward and backward methods, like in the C++ layers? I've seen issues regarding "multi-GPU support in Python", so I guess it must be possible. If yes, is there any sort of guideline or example on how to "link" the Python layer with the CUDA implementations?

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