-
Notifications
You must be signed in to change notification settings - Fork 695
Aoti CUDA runtime libraries #14731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Aoti CUDA runtime libraries #14731
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14731
Note: Links to docs will display an error until the docs builds have been completed. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
d1b21a0
to
c73b059
Compare
This pull request adds a CUDA backend to the ExecutorTorch project, enabling Ahead-Of-Time Inductor (AOTI) model execution on CUDA devices. The changes include new build rules, backend implementation, and a test runner for CUDA, as well as minor related improvements. The most important changes are summarized below.
CUDA Backend Implementation:
backends/cuda/runtime/cuda_backend.cpp
)backends/cuda/CMakeLists.txt
)backends/cuda/tests/voxtral_runner.cpp
)Build System Integration:
CMakeLists.txt
to conditionally build the CUDA backend and its dependencies whenEXECUTORCH_BUILD_CUDA
is enabled, and to register the backend for use. (CMakeLists.txt
)CMakeLists.txt
)Supporting Changes:
AOTITensorHandle
in the AOTI model container header to improve code clarity and type safety. (backends/aoti/aoti_model_container.h
)backends/cuda/cuda_backend.py
) [1] [2]