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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/2.5] fix test_cublas_workspace_explicit_allocation for navi #1847

Open
wants to merge 1 commit into
base: release/2.5
Choose a base branch
from

Conversation

dnikolaev-amd
Copy link

Navi passes condition torch.cuda.get_device_capability() >= (9, 4) and uses default_workspace_size=128MB, but it required only for MI300
Fix condition to use ("gfx94" in gcn_arch) instead of torch.cuda.get_device_properties() to detect MI300

(cherry picked from commit d4d0b07)

…1846)

Navi passes condition `torch.cuda.get_device_capability() >= (9, 4)` and
uses `default_workspace_size=128MB`, but it required only for MI300
Fix condition to use `("gfx94" in gcn_arch)` instead of
`torch.cuda.get_device_properties()` to detect MI300

(cherry picked from commit d4d0b07)
@rocm-repo-management-api
Copy link

Jenkins build for dd1dff80048879a5aaa8f651bb280ceb21baa5e5 commit is in progress
Links: Blue Ocean view / Build artifacts

@pruthvistony
Copy link
Collaborator

Waiting for more changes as per comments from Jeff on pytorch#145227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants