Skip to content

feature request: edge device CUDA backend #1440

Description

@mindbeast

Does it make sense for executorch to have a mobile cuda backend? There are many edge devices in the Jetson lineup from nvidia that have a cuda gpu, but can benefit from not wanting to link an enormous libtorch dependence.

Activity

  1. changed the title [-]edge cuda backend[/-] [+]feature request: edge device CUDA backend[/+] on Dec 19, 2023
  2. added
    module: backendIssues related to backend APIs or requests for new backends
    on Dec 19, 2023
  3. added
    triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
    on Dec 20, 2023
  4. bionictoucan commented on Feb 12, 2024

    @bionictoucan

    +1 to this, would be nice to get comparable performance to TensorRT without having to export models to ONNX etc. first!

  5. hietalajulius commented on Feb 29, 2024

    @hietalajulius
    Contributor

    +1

  6. mergennachin commented on Feb 29, 2024

    @mergennachin
    Contributor

    @mindbeast @bionictoucan @hietalajulius

    Hi, thanks for the comment.

    Yes, that makes sense in general.

    Right now, for ExecuTorch, we are integrating Vulkan into ExecuTorch. The reason is that it is a suitable solution for mobile GPUs. Enabling mobile use-cases is our primary goal at the moment.

    We will revisit Cuda, but perhaps, in the second half in the year. Curious, what are your current product needs?

  7. DzAvril commented on Sep 11, 2024

    @DzAvril

    Apologies for opening a similar feature request in #5263.

    Curious, what are your current product needs?

    @mergennachin We want to deploy LLMs in cars, but Python-based inference frameworks like vLLM and SGLang are not suitable for edge devices.

    We will revisit Cuda, but perhaps, in the second half in the year.

    Nearly five months have passed, is there any progress on this?

  8. digantdesai commented on Sep 11, 2024

    @digantdesai
    Contributor

    Thank you for following up @DzAvril.

    We want to deploy LLMs in cars, but Python-based inference frameworks like vLLM and SGLang are not suitable for edge devices.

    I guess this is using a platform similar to Jetson?

    Nearly five months have passed, is there any progress on this?

    No update yet on CUDA backend for ET at the moment. We can get back to you here once we plan something.

  9. DzAvril commented on Sep 12, 2024

    @DzAvril

    I guess this is using a platform similar to Jetson?

    @digantdesai Yes, Jetson Orin for now, and possibly Thor in the future.

    Looking forward to your update.

  10. DuinoDu commented on Jan 11, 2025

    @DuinoDu

    For mobile cuda backend, does torch_tensorrt satisfy the requirement?

  11. mindbeast commented on Jan 23, 2025

    @mindbeast
    Author

    @DuinoDu My expectation is that compatibility is poor with torch_tensorrt. I expect a more compliant backend in executorch would help a lot of developers.

  12. locked and limited conversation to collaborators on Feb 5, 2025
  13. converted this issue into a discussion #8214 on Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

module: backendIssues related to backend APIs or requests for new backendstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions