Skip to content

[REQ] Rapids Memory Manager (RMM) Support #781

Closed

Description

@shi-eric

Description

https://github.com/rapidsai/rmm

Note that Warp does not support any external memory allocators, which makes this task less trivial.

Context

Improve interop with PyTorch

Activity

  1. added
    interopIntegration with external frameworks and array protocols, including JAX, PyTorch, and DLPack
    on Jun 10, 2025
  2. coreyjadams commented on Jun 10, 2025

    @coreyjadams

    Thank you for opening this issue!

    For posterity: If/when this feature is implemented, the physicsnemo package has several model pipelines that combine pytorch + rapids + warp that could take advantage of this support. In particular, the DoMINO datapipeline + model has warp kernels in both preprocessing and model implementation in pytorch. Preprocessing also uses rapids' cuml package - and combining all of these bumps up against memory limits since pytorch will allocate most of the memory even when it's not in use.

    I'm happy to be a tester if/when you need one.

  3. bdice commented on Jun 10, 2025

    @bdice

    Happy to help on the RMM side, reach out if I can assist with a review or design discussion!

  4. modified the milestones: Backlog, 1.10.0, 1.11.0 on Jul 17, 2025
  5. coreyjadams commented on Oct 14, 2025

    @coreyjadams

    Hi @shi-eric - just wanted to check, is this something Warp can support?

  6. modified the milestones: 1.11.0, 1.12.0 on Nov 13, 2025
  7. shi-eric commented on Nov 13, 2025

    @shi-eric
    ContributorAuthor

    Hi @shi-eric - just wanted to check, is this something Warp can support?

    We would need @nvlukasz to weigh in on the design. For now I'm pushing this work to the v1.12 release.

  8. 10 remaining items

  9. coreyjadams commented on Mar 19, 2026

    @coreyjadams

    This is awesome! I will take a look! @loliverhennigh @ktangsali this would probably be really impactful for your functional work and derivatives work in physicsnemo too.

  10. shi-eric commented on Mar 19, 2026

    @shi-eric
    ContributorAuthor

    This is awesome! I will take a look! @loliverhennigh @ktangsali this would probably be really impactful for your functional work and derivatives work in physicsnemo too.

    Great, thanks. Keep the feature requests coming!

  11. shi-eric commented on Apr 18, 2026

    @shi-eric
    ContributorAuthor

    Interface added in b7ced88

    Future work should support memory tracking like #1269 did for native allocators

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature requestRequest for something to be addedinteropIntegration with external frameworks and array protocols, including JAX, PyTorch, and DLPack

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions