Skip to content

[ROCm] Update nightly triton-rocm pin to release branch - #129361

Closed
jataylo wants to merge 1 commit into
pytorch:mainfrom
jataylo:update-pin-to-rel
Closed

jataylo wants to merge 1 commit into
pytorch:mainfrom
jataylo:update-pin-to-rel

Conversation

@jataylo

@jataylo jataylo commented Jun 24, 2024 •

Copy link
Copy Markdown
Collaborator

@pytorch-bot

pytorch-bot Bot commented Jun 24, 2024 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/129361

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 4 Unrelated Failures

As of commit 0365751 with merge base 9ae78a5 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added ciflow/rocm module: rocm AMD GPU support for Pytorch topic: not user facing topic category labels Jun 24, 2024
@jataylo jataylo added keep-going Don't stop on first failure, keep running tests until the end and removed ciflow/inductor labels Jun 24, 2024
@janeyx99 janeyx99 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jun 24, 2024
@jataylo
jataylo force-pushed the update-pin-to-rel branch from b7198ca to 57e2e9c Compare June 27, 2024 09:37
@jithunnair-amd

Copy link
Copy Markdown
Collaborator

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased update-pin-to-rel onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout update-pin-to-rel && git pull --rebase)

@jataylo

jataylo commented Jun 28, 2024 •

Copy link
Copy Markdown
Collaborator Author

@peterbell10 peterbell10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.circleci/scripts/binary_upload.sh: line 28: USE_SPLIT_BUILD: unbound variable

Not your fault but the failure looks real

@amjames amjames left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the USE_SPLIT_BUILD is related to a more recent change. cc @PaliC for advice on that front.

@jataylo

jataylo commented Jun 28, 2024

Copy link
Copy Markdown
Collaborator Author

Will rebase once #129774 is merged

@jataylo

jataylo commented Jul 1, 2024

Copy link
Copy Markdown
Collaborator Author

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased update-pin-to-rel onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout update-pin-to-rel && git pull --rebase)

@jataylo

jataylo commented Jul 1, 2024 •

Copy link
Copy Markdown
Collaborator Author

@amjames @peterbell10 Issue is resolved as of #129774

Looks like CUDA jobs are queueing but ROCm jobs and triton wheel build jobs are passing now, would you mind approving this? as we are just making ROCm specific changes

@jithunnair-amd jithunnair-amd added rocm This tag is for PRs from ROCm team rocm priority high priority ROCm PRs from performance or other aspects labels Jul 1, 2024
@jataylo
jataylo requested review from amjames and peterbell10 July 2, 2024 10:05
@jataylo

jataylo commented Jul 2, 2024

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -f "Unrelated failures as this is ROCm specific change"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Jul 19, 2024
…9663)

As of ROCm 6.1 [hipDeviceProp_t::regsPerMultiprocessor](https://rocm.docs.amd.com/projects/HIP/en/latest/doxygen/html/structhip_device_prop__t.html#a7390d5b180d63978c81aa971060270b4) is now available allowing us to enable this attribute on ROCm.
```
>>> torch.cuda.get_device_properties(0)
_CudaDeviceProperties(name='AMD Instinct MI250X/MI250', major=9, minor=0, gcnArchName='gfx90a:sramecc+:xnack-', total_memory=65520MB, multi_processor_count=104)
>>> torch.cuda.get_device_properties(0).regs_per_multiprocessor
65536
```

With https://github.com/triton-lang/triton/pull/3962we can extract n_regs and n_spells from a triton binary with AMD backend allowing us to enable inductor's dynamic_rblock_scaling on ROCm initially implemented in #115094

Leaving this in draft until following PRs have landed:
- #129361 to bump the triton commit pin
- #128449 to allow us to grab warp_size from device properties instead of hard coding 64 on ROCm.

Pull Request resolved: #129663
Approved by: https://github.com/jansel, https://github.com/shunting314
DiweiSun pushed a commit to DiweiSun/pytorch that referenced this pull request Jul 22, 2024
…orch#129663)

As of ROCm 6.1 [hipDeviceProp_t::regsPerMultiprocessor](https://rocm.docs.amd.com/projects/HIP/en/latest/doxygen/html/structhip_device_prop__t.html#a7390d5b180d63978c81aa971060270b4) is now available allowing us to enable this attribute on ROCm.
```
>>> torch.cuda.get_device_properties(0)
_CudaDeviceProperties(name='AMD Instinct MI250X/MI250', major=9, minor=0, gcnArchName='gfx90a:sramecc+:xnack-', total_memory=65520MB, multi_processor_count=104)
>>> torch.cuda.get_device_properties(0).regs_per_multiprocessor
65536
```

With https://github.com/triton-lang/triton/pull/3962we can extract n_regs and n_spells from a triton binary with AMD backend allowing us to enable inductor's dynamic_rblock_scaling on ROCm initially implemented in pytorch#115094

Leaving this in draft until following PRs have landed:
- pytorch#129361 to bump the triton commit pin
- pytorch#128449 to allow us to grab warp_size from device properties instead of hard coding 64 on ROCm.

Pull Request resolved: pytorch#129663
Approved by: https://github.com/jansel, https://github.com/shunting314
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Jul 25, 2024
…orch#129663)

As of ROCm 6.1 [hipDeviceProp_t::regsPerMultiprocessor](https://rocm.docs.amd.com/projects/HIP/en/latest/doxygen/html/structhip_device_prop__t.html#a7390d5b180d63978c81aa971060270b4) is now available allowing us to enable this attribute on ROCm.
```
>>> torch.cuda.get_device_properties(0)
_CudaDeviceProperties(name='AMD Instinct MI250X/MI250', major=9, minor=0, gcnArchName='gfx90a:sramecc+:xnack-', total_memory=65520MB, multi_processor_count=104)
>>> torch.cuda.get_device_properties(0).regs_per_multiprocessor
65536
```

With https://github.com/triton-lang/triton/pull/3962we can extract n_regs and n_spells from a triton binary with AMD backend allowing us to enable inductor's dynamic_rblock_scaling on ROCm initially implemented in pytorch#115094

Leaving this in draft until following PRs have landed:
- pytorch#129361 to bump the triton commit pin
- pytorch#128449 to allow us to grab warp_size from device properties instead of hard coding 64 on ROCm.

Pull Request resolved: pytorch#129663
Approved by: https://github.com/jansel, https://github.com/shunting314
pytorchmergebot pushed a commit that referenced this pull request Sep 13, 2024
…9663)

As of ROCm 6.1 [hipDeviceProp_t::regsPerMultiprocessor](https://rocm.docs.amd.com/projects/HIP/en/latest/doxygen/html/structhip_device_prop__t.html#a7390d5b180d63978c81aa971060270b4) is now available allowing us to enable this attribute on ROCm.
```
>>> torch.cuda.get_device_properties(0)
_CudaDeviceProperties(name='AMD Instinct MI250X/MI250', major=9, minor=0, gcnArchName='gfx90a:sramecc+:xnack-', total_memory=65520MB, multi_processor_count=104)
>>> torch.cuda.get_device_properties(0).regs_per_multiprocessor
65536
```

With https://github.com/triton-lang/triton/pull/3962we can extract n_regs and n_spells from a triton binary with AMD backend allowing us to enable inductor's dynamic_rblock_scaling on ROCm initially implemented in #115094

Leaving this in draft until following PRs have landed:
- #129361 to bump the triton commit pin
- #128449 to allow us to grab warp_size from device properties instead of hard coding 64 on ROCm.

Pull Request resolved: #129663
Approved by: https://github.com/jansel, https://github.com/shunting314
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Sep 20, 2024
…orch#129663)

As of ROCm 6.1 [hipDeviceProp_t::regsPerMultiprocessor](https://rocm.docs.amd.com/projects/HIP/en/latest/doxygen/html/structhip_device_prop__t.html#a7390d5b180d63978c81aa971060270b4) is now available allowing us to enable this attribute on ROCm.
```
>>> torch.cuda.get_device_properties(0)
_CudaDeviceProperties(name='AMD Instinct MI250X/MI250', major=9, minor=0, gcnArchName='gfx90a:sramecc+:xnack-', total_memory=65520MB, multi_processor_count=104)
>>> torch.cuda.get_device_properties(0).regs_per_multiprocessor
65536
```

With https://github.com/triton-lang/triton/pull/3962we can extract n_regs and n_spells from a triton binary with AMD backend allowing us to enable inductor's dynamic_rblock_scaling on ROCm initially implemented in pytorch#115094

Leaving this in draft until following PRs have landed:
- pytorch#129361 to bump the triton commit pin
- pytorch#128449 to allow us to grab warp_size from device properties instead of hard coding 64 on ROCm.

Pull Request resolved: pytorch#129663
Approved by: https://github.com/jansel, https://github.com/shunting314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor keep-going Don't stop on first failure, keep running tests until the end Merged module: rocm AMD GPU support for Pytorch open source rocm priority high priority ROCm PRs from performance or other aspects rocm This tag is for PRs from ROCm team topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants