Repository navigation
rocmPackages.rocm-comgr: fix failure to find code object when xnack any variant should match - #497809
Merged
Merged
Conversation
…ny variant should match Fixes No compatible code objects found for: gfx90a:sramecc+:xnack- in /nix/store/klazf7j7i5642cyjwi125fx4fdwx82f3-python3.13-torch-2.10.0-lib/lib/libtorch_hip.so, value of HIP_FORCE_SPIRV_CODEOBJECT: 0. Available code objects: [amdgcn-amd-amdhsa--gfx90a] Failed to load fat binary for function '_ZN2at6native29vectorized_elementwise_kernelILi4ENS0_11FillFunctorIiEESt5arrayIPcLm1EEEEviT0_T1_' (error 200)
2 of 13 tasks
Member
Author
|
06kellyjac
approved these changes
Mar 9, 2026
06kellyjac
left a comment
Member
There was a problem hiding this comment.
Change looks good, nixpkgs-review posted, ofborg seems green too
Not done my own build
Contributor
|
Thanks for the fix! Apologies, a bit overwhelmed recently. On a cursory glance this looks fine, but I'm a bit concerned on whether this patch will have unintended effects on other architectures. I'll examine it closer this weekend and potentially draft up a more robust fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes failure to load a code object when it should be compatible due to loading an xnack any binary complaining that the bare target name doesn't match the featured name.
If AMD_LOG_LEVEL is unset this will usually manifest as a segmentation fault without any useful logs.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.