Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed more kdb files for MIOpen performance databases in pytorch wheels #94482

Closed
rhighs opened this issue Feb 9, 2023 · 2 comments
Closed
Assignees
Labels
module: rocm AMD GPU support for Pytorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@rhighs
Copy link

rhighs commented Feb 9, 2023

馃殌 The feature, motivation and pitch

Recently I've started using pytorch on my machine running an AMD GPU. Everything looks just fine until I start training models on some data and I get this annoying warning about MIOpen's performance databases:

MIOpen(HIP): Warning [SQLiteBase] Missing system database file: gfx1030_16.kdb Performance may degrade. Please follow instructions to install: https://github.com/ROCmSoftwarePlatform/MIOpen#installing-miopen-kernels-package

Alternatives

What stated here might be a solution, as guys from MIOpen said pytorch wheels are self contained and this is not a problem you can solve by just getting a kdb file in your filesystem (people get this same warning anyways).

Additional context

As far as I can see this isn't really a big deal, in fact training runs fast enough either way. Not having ever put hands on pytorch myself, I wonder how could we go about this?

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport

@H-Huang H-Huang added module: rocm AMD GPU support for Pytorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Feb 9, 2023
@jithunnair-amd jithunnair-amd self-assigned this Mar 1, 2023
@jithunnair-amd
Copy link
Collaborator

pytorch/builder#1407 and other follow-up PRs for ROCm5.5 nightly wheels will allow users to use MIOpen kdb files with the PyTorch wheels. However, please note that it won't be embedding these kdb files into the wheels, but will instead build MIOpen in a manner that allows users to install kdb files and use them with the PyTorch wheels. The instructions on how to do that are here right now: https://github.com/ROCmSoftwarePlatform/pytorch/wiki/Using-MIOpen-kdb-files-with-ROCm-PyTorch-wheels.

We will update this issue when ROCm5.5 nightly wheels are available.

@jithunnair-amd
Copy link
Collaborator

Should be enabled by wheels in https://download.pytorch.org/whl/nightly/rocm5.5/ and later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: rocm AMD GPU support for Pytorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

3 participants