Disable MIOpen build from source for PyTorch wheels #16
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.
Avoid rebuilding MIOpen from source for PyTorch wheels, and instead use the MIOpen .so that comes with the ROCm release. Bundle the .db files in the wheel instead of embedding them into the MIOpen .so.
BONUS: This should enable file I/O for the MIOpen .so, which can then read .kdb files if they're placed in the correct path (ie. ../share (wrt the location of the libMIOpen.so) by the user. Just to clarify, we will NOT bundle the .kdb files with the wheels due to their large size, so the user will need to manually install them and place them in the correct path above (we could provide the user a helper script for the same purpose).
FUTURE TODO:
Fixes: https://ontrack-internal.amd.com/browse/ROCMOPS-3381