Prebuilt wheels provided via 3rd party repository #5200
MiroPsota
started this conversation in
Show and tell
Replies: 3 comments 3 replies
-
Thank you so much ! Saved us many hours of recompiling detectron2 !! <3 |
Beta Was this translation helpful? Give feedback.
3 replies
-
Thank you so much ! 🌹 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Absolute life saver. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Prebuilt wheels for PyTorch packages with custom ops
I've created a repository that can build PyTorch wheels with custom ops through the GitHub Actions pipeline and publish them using GitHub Releases. Check it out at https://github.com/MiroPsota/torch_packages_builder.
Since there are various ways how to use it, please refer to the repository README for more information.
If you prefer own build or can't trust a 3rd party repository, feel free to fork it and build any package/version/commit ID you desire yourself.
Detectron2 specific quick info:
Install using pip:
Where
<compute_platform>
is, as in PyTorch, one ofcpu
,cu<CUDA_short_version>
(e.g.cu121
,cu118
,cu102
), orrocm<ROCM_version>
(not supported right now).For example, the newest detectron2 commit (as of writing - Jul 17, 2024)
2a420ed
, PyTorch 2.5.0 with CUDA 12.1:And the newest official release detectron2 tag (as of writing)
v0.6
, PyTorch 2.5.1 with CUDA 12.1:I haven't built other combinations as of writing, I will probably build occasionally with new pytorch releases and versions/commits.
These wheels are built with PyTorch versions
1.11.0
to2.5.1
and their respective compute platforms and supported operating systems. Please note an exception for cu102 on Windows (due to no VS 2017 on the GitHubwindows-2019
runner) and the ROCm platform. The build is done using theubuntu-20.04
runner, so older Linux distributions might not work due to old libc.Although the wheels have been successfully built, I do not guarantee they work correctly for all combinations (let me know if not).
If you've installed PyTorch with pip, there's no need to have CUDA installed on your system, as the PyTorch wheels for pip bundle CUDA.
Beta Was this translation helpful? Give feedback.
All reactions