!kFJOpVCFYFzxqjpJxm:nixos.org

Empty Room

60 Members
19 Servers

Load older messages


SenderMessageTime
30 Oct 2022
@madouura:matrix.orgMadoura * [ forwarded ] Hello, I'm trying to package rocBLAS as part of an ongoing massive ROCm stack port, but am running into what I think may be nix-specific issues concerning either LLVM_rocm or hip. https://github.com/Madouura/nixpkgs/blob/661719becd0ac8134ce018c0a7ed58c947ceb096/pkgs/development/libraries/rocblas/default.nix For context, see https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1277 07:46:05
@madouura:matrix.orgMadoura * That was a forward, guess you can't edit it. (or you CAN lol)07:46:14
@madouura:matrix.orgMadouraYup, that's the hope.07:46:33
@jcie74:matrix.orgpie_Im still not sure whether you can just -p python and a bunch of python packages or whether you basically have to withPackages it07:48:04
@madouura:matrix.orgMadouraYou mean in a build script or in a nix shell?07:48:35
@jcie74:matrix.orgpie_doesn't matter07:48:45
@madouura:matrix.orgMadouraIf it's a build script like nixpkgs, you're gonna have to add each package with hashes if they don't exist already manually.07:49:15
@madouura:matrix.orgMadoura If it's just something like nix-shell -p python pip then yeah you can just pip them in 07:49:33
@jcie74:matrix.orgpie_I mean in your repro you used a nix-shell command where you listed some python packages07:49:55
@madouura:matrix.orgMadoura rocblas/default.nix? 07:50:45
@madouura:matrix.orgMadouraI don't see nix-shell there.07:50:50
@jcie74:matrix.orgpie_no, the first issue post07:51:02
@madouura:matrix.orgMadouraAh my bad.07:51:17
@jcie74:matrix.orgpie_well anyway, I don't have any good ideas; once I'm this deep I usually just end up trying to figure out what is supposed to be building the missing files and try to figure out why that isnt executing07:51:18
@jcie74:matrix.orgpie_and also possibly compare against a known working build on a system with a working build07:52:04
@madouura:matrix.orgMadoura The final package list is in rocblas/default.nix, so you don't need all of the ones in that issue. 07:52:10
@jcie74:matrix.orgpie_Im kind of elbow deep in my own thing right now but maybe you can try that?07:52:37
@jcie74:matrix.orgpie_unless it's easy for me to run this build?07:52:50
@jcie74:matrix.orgpie_Just to be clear I have no idea what any of this is07:53:26
@madouura:matrix.orgMadouraIf you have at least 8GB of memory and ensure -DAMDGPU_TARGETS is something like 1030, should be easy to just clone my repo and build it.07:53:37
@madouura:matrix.orgMadouraThat's to make it quicker and not take up like 40-50gb of your memoey.07:53:58
@madouura:matrix.orgMadoura * That's to make it quicker and not take up like 40-50gb of your memory.07:54:05
@jcie74:matrix.orgpie_Im glad if I can keep 8 gigs free haha07:54:10
@jcie74:matrix.orgpie_so what are these .co and .dat files anyway and what is supposed to generate them?07:54:23
@madouura:matrix.orgMadouraAhh we already figured that you. From what I understand they're just build artifacts by tensile of different gpu archs/what's needed for them.07:54:52
@madouura:matrix.orgMadoura * Ahh we already figured that out. From what I understand they're just build artifacts by tensile of different gpu archs/what's needed for them.07:55:04
@jcie74:matrix.orgpie_aha, so whats the current problme07:55:18
@jcie74:matrix.orgpie_ * aha, so whats the current problem07:55:20
@madouura:matrix.orgMadouraBottom of the post, see the log. Bad definitions or something.07:55:55
@madouura:matrix.orgMadoura With host, etc 07:56:00

Show newer messages


Back to Room ListRoom Version: 9