-
Notifications
You must be signed in to change notification settings - Fork 10
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
Replaced artifacts with JLL artifacts #19
base: main
Are you sure you want to change the base?
Conversation
e9ed95d
to
0111241
Compare
Using extended platform selection based on platform augmentation tags, i.e. https://pkgdocs.julialang.org/v1.7/artifacts/#Extending-Platform-Selection - adapted for use with JLL Artifacts.
0111241
to
0cf858d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
==========================================
+ Coverage 87.98% 88.67% +0.68%
==========================================
Files 3 3
Lines 383 371 -12
==========================================
- Hits 337 329 -8
+ Misses 46 42 -4 ☔ View full report in Codecov by Sentry. |
Thanks a lot @stemann . I have never looked at |
CUDA tests fail for me locally on this branch. I also discovered that my way of determining whether to run CUDA.jl tests does not work with recent CUDA versions and fixed that #20 |
Yes - it’s not even remotely ready. CUDA binaries will not be available until JuliaPackaging/Yggdrasil#4386 is merged. Current ONNXRuntime JLL provides “eager” artifacts. The CUDA EP PR will also make artifacts lazy. The platform selection stuff is also only documented for Pkg/Julia v1.7, so that might also break v1.6 - and seems to be only/mostly relevant for “eager” artifacts. |
I stumbled a bit on the platform selection thing. I think what needs to be done is to have the ONNXRuntime JLL re-built using platform augmentation... |
Very cool to hear from you again! If there is a clean way to make the jll artifacts work, that would be awesome. |
Yeah - sorry - life happened :-) I'll try to find the time to finish this... (too...) |
One general comment. The current approach we take to artifacts has many downsides, but one upside. It is quite simple, no need to compile anything we simply reuse binaries which onnxruntime and CUDA.jl provide. Also no usage of If we go with your approach, it would be important to me, that the thing stays easy to maintain. |
Of course - it will of course get a little harder, as there is one more package (the JLL) to update and release, but it shouldn't get much harder. I can ping you on PRs for updates of the JLL recipe, so you can easily see the path for upgrades. |
Yeah I need to do an update myself. |
I have just pushed JuliaPackaging/Yggdrasil#7561 which uses the same platform selection/augmentation block as CUDNN, i.e. the CUDA Runtime version is controlled via the CUDA_Runtime_jll It "also" builds the CUDA/CUDNN and TensorRT artifacts from source. |
... still awaiting JuliaPackaging/Yggdrasil#7623 (needed for JuliaPackaging/Yggdrasil#7561) |
Using extended platform selection based on platform augmentation tags, i.e. https://pkgdocs.julialang.org/v1.7/artifacts/#Extending-Platform-Selection - adapted for use with JLL Artifacts.