Skip to content

Conversation

@zdevito
Copy link
Contributor

@zdevito zdevito commented Dec 4, 2025

Stack from ghstack (oldest at bottom):

This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: D88338646

This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Dec 5, 2025
Pull Request resolved: #2045

This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.
ghstack-source-id: 327440721
@exported-using-ghexport

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Dec 5, 2025
Pull Request resolved: #2045

This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.
ghstack-source-id: 327462736
@exported-using-ghexport

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
@zdevito zdevito mentioned this pull request Dec 5, 2025
This replaces the internal C++ APIs to torch with an interace for injecting the scanned segments. We then use a pyo3 function that indirectly calls the python torch.cuda.memory._snapshot function to get the same information.

So we no longer need rdma to directly link torch.

Differential Revision: [D88338646](https://our.internmc.facebook.com/intern/diff/D88338646/)

[ghstack-poisoned]
@meta-codesync meta-codesync bot closed this in 3a6fa0f Dec 6, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 6, 2025

This pull request has been merged in 3a6fa0f.

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

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants