-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
rocmPackages: drop symlinks & split outputs #276846
Comments
Symlinks are the main reasons the runtime closure is so huge (CC #260299): nixpkgs/pkgs/development/rocm-modules/5/rocblas/default.nix Lines 152 to 154 in 4848569
We should work out some I wonder if we could start by just moving the symlinks into a separate, say, |
Pretty sure we need everything that's in the (split) rocblas closure. |
Ah I see now. |
That doesn't really sound like much of a solution... but are these actually ever accessed at runtime? |
After thinking about it in the shower, it would still be problematic, since even if we got it to only do say, "gfx90", the user would still have to recompile rocblas itself (which shouldn't be too bad, since it's only using one gpu target!), or use a non-nixos cache. |
This sounds more plausible (that we don't need these (e.g. in pytorch) after the build). Notably,
I tried looking at rocm-merged from torchWithRocm in search of references for these files and didn't find (so far) any that'd look relevant either:
The So the question stands: who's using them? |
Fedora has added tensile to their rocblas builds for the 6.0.2 release. They write that MIOpen needs it. https://src.fedoraproject.org/rpms/rocblas/c/918d514378861b900624c73b91fb75059c96dbf0?branch=rawhide |
TLDR: I would like to try to add a I don't know which other consumers besides MIOpen need/benefit from tensile. Looking at https://github.com/ROCm/rocBLAS/blob/adb8567f1bdad56b3b688a0b6dec1f79bf438ab4/CMakeLists.txt
Consumers who don´t need tensile could get that as |
...if splittable. CC #197885
Issue description
@NixOS/rocm-maintainers (and @NixOS/cuda-maintainers as potentially interested)
Technical details
The text was updated successfully, but these errors were encountered: