Skip to content

Conversation

@casteryh
Copy link
Contributor

Summary: Add a check for mlx5dv extension availability. Turns out these calls are quite expensive, so we also cache the result. This saves 0.2ms for buffer creation on average.

Differential Revision: D85504060

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 25, 2025
@meta-codesync
Copy link

meta-codesync bot commented Oct 25, 2025

@casteryh has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85504060.

casteryh added a commit to casteryh/monarch that referenced this pull request Oct 27, 2025
…availability. (meta-pytorch#1664)

Summary:

Add a check for mlx5dv extension availability. Turns out these calls are quite expensive, so we also cache the result. This saves 0.2ms for buffer creation on average.

Differential Revision: D85504060
casteryh added a commit to casteryh/monarch that referenced this pull request Oct 27, 2025
…availability. (meta-pytorch#1664)

Summary:

Add a check for mlx5dv extension availability. Turns out these calls are quite expensive, so we also cache the result. This saves 0.2ms for buffer creation on average.

Differential Revision: D85504060
casteryh added a commit to casteryh/monarch that referenced this pull request Oct 28, 2025
…availability. (meta-pytorch#1664)

Summary:

Add a check for mlx5dv extension availability. Turns out these calls are quite expensive, so we also cache the result. This saves 0.2ms for buffer creation on average.

Reviewed By: dstaay-fb

Differential Revision: D85504060
…availability. (meta-pytorch#1664)

Summary:

Add a check for mlx5dv extension availability. Turns out these calls are quite expensive, so we also cache the result. This saves 0.2ms for buffer creation on average.

Reviewed By: dstaay-fb

Differential Revision: D85504060
@meta-codesync
Copy link

meta-codesync bot commented Oct 28, 2025

This pull request has been merged in d9b1030.

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.

2 participants