Skip to content

[TEST][Inductor][CUDA] Bump tolerances for test_comprehensive_combinations_cuda_float16 - #189102

Closed
eqy wants to merge 3 commits into
pytorch:mainfrom
eqy:combo16
Closed

eqy wants to merge 3 commits into
pytorch:mainfrom
eqy:combo16

Conversation

@eqy

@eqy eqy commented Jul 6, 2026 •

Copy link
Copy Markdown
Collaborator

combinations uses index_put underneath which appears to do fp16 accum in inductor

authored with codex

example failure

_assert_equal_with_significant_stride_check
    assert_equal_fn(
  File "/usr/local/lib/python3.12/dist-packages/torch/_dynamo/test_case.py", line 129, in assertEqual
    return super().assertEqual(x, y, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/testing/_internal/common_utils.py", line 4608, in assertEqual
    raise error_metas.pop()[0].to_error(  # type: ignore[index]
AssertionError: Tensor-likes are not close!

Mismatched elements: 1 / 4 (25.0%)
Greatest absolute difference: 0.001953125 at index (0,) (up to 1e-05 allowed)
Greatest relative difference: 0.00199127197265625 at index (0,) (up to 0.001 allowed)

cc @ptrblck @msaroufim @tinglvv @nWEIdia @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo

@eqy eqy added module: cuda Related to torch.cuda, and CUDA support in general open source topic: not user facing topic category module: inductor ciflow/inductor labels Jul 6, 2026
@pytorch-bot

pytorch-bot Bot commented Jul 6, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit e4ccf0b with merge base ec150e9 (image):

NEW FAILURE - The following job has failed:

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

@jansel

jansel commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

@claude review these changes

@claude

claude Bot commented Jul 7, 2026 •

Copy link
Copy Markdown

Claude finished @jansel's task in 4m 24s —— View job


PR Review: #189102

Summary

Adds a per-op tolerance override (grad_atol=2e-3, grad_rtol=0.01) for combinations in fp16 to the CUDA inductor_override_kwargs table. The change is correctly targeted and I found no blocking issues; a couple of minor points below.

Full review details

Root-cause verification (fix is correctly targeted): The failure traceback shows the default fp16 tolerances (up to 1e-05 atol, up to 0.001 rtol). Those defaults only appear when both atol and rtol are None, which is exactly the gradient comparison path in test/inductor/test_torchinductor.py:782 (atol=grad_atol or atol, rtol=grad_rtol or rtol) — the forward comparison at line 682 does not use the grad_* keys. So the grad_atol/grad_rtol keys added here are the right lever, and they are consumed correctly (check_model signature at test_torchinductor.py:509-510). The magnitudes are in line with the neighboring logcumsumexp fp16 entry (grad_atol=3e-3, grad_rtol=0.01).

Testing

  • Tight grad_atol margin / flakiness risk. The reported greatest absolute grad difference is 0.001953125 (exactly 2 fp16 ULP at magnitude ~1), and grad_atol=2e-3 clears it by only ~5e-5. A different seed producing 3 ULP (~0.00293) would exceed the atol term. The combined threshold is atol + rtol*|expected|, so the rtol=0.01 term provides most of the real headroom for magnitude-~1 gradients, but if any near-zero gradient elements drive the mismatch, the rtol term contributes almost nothing and only the thin atol margin protects you. Consider matching logcumsumexp's grad_atol=3e-3 for margin. Not a blocker, but worth a moment's thought since this is explicitly a flaky-test fix.

Code Quality

  • Missing explanatory comment. Neighboring entries annotate the reason (e.g. baddbmm at line 416: # decomp affects accuracy). The PR description has the useful root cause ("combinations uses index_put underneath which appears to do fp16 accum in inductor") — please put a short version of that on line 417 so the next reader knows why the bump exists.
  • XPU table not updated. The entry is only added to the CUDA table (inductor_override_kwargs["cuda"], line 417); the XPU table (line ~532+) has no combinations entry. If XPU exercises the same fp16 gradient path it would hit the same accumulation issue. Fine to leave scoped to CUDA per the PR title, but flagging in case XPU CI trips on the same op later.

Design note (non-blocking)

Bumping tolerance masks rather than fixes the underlying fp16 accumulation in inductor's index_put lowering. reference_in_float is not an option here since it is forced off for GPU (test_torchinductor_opinfo.py:1455), so a tolerance bump is the appropriate lever for this test and matches how baddbmm/logcumsumexp are handled. If the fp16 accumulation is unintended, a follow-up issue against the index_put lowering would be worthwhile.

Recommendation

Approve — the fix is correctly diagnosed and targeted. Suggest (1) considering grad_atol=3e-3 for margin and (2) adding a one-line comment before merge. The [TEST]-prefixed placeholder commit message (chec kin) should be rewritten before landing.

· branch `combo16`

@janeyx99
janeyx99 requested a review from jansel July 8, 2026 21:13
@janeyx99 janeyx99 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jul 8, 2026

@jansel jansel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

address automated feedback from claude

@eqy

eqy commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

added comment, commit message should be updated with PR desc by merge, and I don't have an XPU to locally check for the XPU scenario

@eqy
eqy requested a review from jansel July 9, 2026 16:38
@eqy

eqy commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot lint

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully applied lint patches in https://github.com/pytorch/pytorch/actions/runs/29125956368. Please pull locally before pushing more changes.

@huydhn

huydhn commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

@pytorchbot rebase -b main

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

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

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased combo16 onto refs/remotes/origin/main, please pull locally before adding more changes (for example, via git checkout combo16 && git pull --rebase)

@eqy

eqy commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 14, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: trunk / linux-jammy-rocm-py3.10-mi350 / test (distributed, 2, 3, linux.rocm.gpu.gfx950.2)

Details for Dev Infra team Raised by workflow job

@eqy

eqy commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 1 checks: trunk / linux-jammy-rocm-py3.10-mi350 / test (distributed, 2, 3, linux.rocm.gpu.gfx950.2)

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

DamJanusz pushed a commit to DamJanusz/pytorch that referenced this pull request Jul 21, 2026
…ations_cuda_float16` (pytorch#189102)

combinations uses index_put underneath which appears to do fp16 accum in inductor

authored with codex

example failure
```
_assert_equal_with_significant_stride_check
    assert_equal_fn(
  File "/usr/local/lib/python3.12/dist-packages/torch/_dynamo/test_case.py", line 129, in assertEqual
    return super().assertEqual(x, y, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/testing/_internal/common_utils.py", line 4608, in assertEqual
    raise error_metas.pop()[0].to_error(  # type: ignore[index]
AssertionError: Tensor-likes are not close!

Mismatched elements: 1 / 4 (25.0%)
Greatest absolute difference: 0.001953125 at index (0,) (up to 1e-05 allowed)
Greatest relative difference: 0.00199127197265625 at index (0,) (up to 0.001 allowed)
```

Pull Request resolved: pytorch#189102
Approved by: https://github.com/jansel

Co-authored-by: PyTorch MergeBot <[email protected]>
@ngimel

ngimel commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Real bug here is "index_put underneath which appears to do fp16 accum in inductor" which doesn't match eager behavior. While backward for combinations is not interesting (who uses backward for combinations?) non-matching index_put behavior is a more common case

youlituao pushed a commit to youlituao/pytorch that referenced this pull request Jul 28, 2026
…ations_cuda_float16` (pytorch#189102)

combinations uses index_put underneath which appears to do fp16 accum in inductor

authored with codex

example failure
```
_assert_equal_with_significant_stride_check
    assert_equal_fn(
  File "/usr/local/lib/python3.12/dist-packages/torch/_dynamo/test_case.py", line 129, in assertEqual
    return super().assertEqual(x, y, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/testing/_internal/common_utils.py", line 4608, in assertEqual
    raise error_metas.pop()[0].to_error(  # type: ignore[index]
AssertionError: Tensor-likes are not close!

Mismatched elements: 1 / 4 (25.0%)
Greatest absolute difference: 0.001953125 at index (0,) (up to 1e-05 allowed)
Greatest relative difference: 0.00199127197265625 at index (0,) (up to 0.001 allowed)
```

Pull Request resolved: pytorch#189102
Approved by: https://github.com/jansel

Co-authored-by: PyTorch MergeBot <[email protected]>
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
…ations_cuda_float16` (pytorch#189102)

combinations uses index_put underneath which appears to do fp16 accum in inductor

authored with codex

example failure
```
_assert_equal_with_significant_stride_check
    assert_equal_fn(
  File "/usr/local/lib/python3.12/dist-packages/torch/_dynamo/test_case.py", line 129, in assertEqual
    return super().assertEqual(x, y, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/testing/_internal/common_utils.py", line 4608, in assertEqual
    raise error_metas.pop()[0].to_error(  # type: ignore[index]
AssertionError: Tensor-likes are not close!

Mismatched elements: 1 / 4 (25.0%)
Greatest absolute difference: 0.001953125 at index (0,) (up to 1e-05 allowed)
Greatest relative difference: 0.00199127197265625 at index (0,) (up to 0.001 allowed)
```

Pull Request resolved: pytorch#189102
Approved by: https://github.com/jansel

Co-authored-by: PyTorch MergeBot <[email protected]>
pytorchmergebot pushed a commit that referenced this pull request Sep 1, 2026
## Motivation

#189102 bumped the gradient tolerances for
`test_comprehensive_combinations_cuda_float16` after #186595 / #189305
reimplemented `torch.combinations` on top of `index_put`, whose fp16 backward
Inductor accumulates in fp16. That PR only added the override to
`inductor_override_kwargs["cuda"]`; `inductor_override_kwargs["xpu"]` is a
separate dict and never got the equivalent entry, leaving XPU on the default
fp16 gradient tolerance (`atol=1e-5, rtol=1e-3`), which is too tight for the
fp16 accumulation rounding. Result: #195071
(`test_comprehensive_combinations_xpu_float16`) was disabled on 2026-08-27.

## Root cause on the failing sample

Sample 17: `input=(4,) fp16, r=4, with_replacement=True` -> output `(35, 4)`.
Each of the 4 inputs is copied into 35 output slots, so its gradient is the sum
of 35 fp16 contributions.

Forward is bit-identical between eager and Inductor; only the backward differs.
Inductor lowers the `index_put(accumulate=True)` backward to a single fp16
atomic scatter (`triton_poi_fused_index_put_new_zeros_1`):

```python
tmp6 = tl.load(in_ptr1 + (x0), xmask).to(tl.float32)
tl.atomic_add(out_ptr0 + (tl.broadcast_to(tmp4, [XBLOCK])), tmp6, xmask, sem='relaxed')
```

`out_ptr0` is `*fp16`, so the 35 additions per slot round to fp16 on every step,
in hardware-scheduling order. The XPU aten `index_put` accumulates in higher
precision and rounds once:

```
# accumulate 100 x 0.0002 into an fp16 slot initialised to 1.0 (exact = 1.02)
eager    index_put_(accumulate=True) -> 1.01953125
inductor same op                     -> 1.0          (== naive fp16 read-add-write)
```

Against an fp64 reference on the failing sample:

```
grad(input):
  eager    vs ref-fp64: max_rel = 3.65e-04
  inductor vs ref-fp64: max_rel = 3.99e-03
  inductor vs eager   : max_rel = 1.6e-03 .. 4.9e-03 across runs (>> default rtol=1e-3)
```

The run-to-run spread comes from the nondeterministic atomic order: the same
input produced 14 distinct fp16 results in 20 Inductor runs, vs 1 for eager.
This is intrinsic fp16 accumulation rounding, not a correctness bug on either
side, and matches the situation upstream addressed on CUDA in #189102.

## Fix

Add the same `(combinations, f16)` override that #189102 added for CUDA to
`inductor_override_kwargs["xpu"]`. Observed max abs diff is 1.22e-03 against an
allowance of `2e-3 + 0.01 * 0.5 ~= 7e-3`, i.e. about 5.7x headroom.

## Test plan

Nightly wheel `torch==2.15.0.dev20260830+xpu`, triton-xpu 3.8.0, on Intel Arc
B390. Run from the pytorch checkout root:

```
PYTORCH_OPINFO_SAMPLE_INPUT_INDEX=17 TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    TestInductorOpInfoXPU.test_comprehensive_combinations_xpu_float16
```
```
# before: FAILED  Tensor-likes are not close! 1/4 mismatched,
#                 rel 1.066e-03 > 1e-03 allowed
# after:  OK
```

All samples, three consecutive runs:

```
TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    TestInductorOpInfoXPU.test_comprehensive_combinations_xpu_float16
```
```
# OK / OK / OK
```

All dtypes, cpu and xpu:

```
TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    -k test_comprehensive_combinations -v
```
```
# Ran 14 tests    OK (skipped=2)
```

Fixes #195071

_Note: authored with AI assistance._

Pull Request resolved: #195403
Approved by: https://github.com/etaf, https://github.com/jansel
orrangetabby17 pushed a commit to orrangetabby17/pytorch that referenced this pull request Sep 2, 2026
…195403)

## Motivation

pytorch#189102 bumped the gradient tolerances for
`test_comprehensive_combinations_cuda_float16` after pytorch#186595 / pytorch#189305
reimplemented `torch.combinations` on top of `index_put`, whose fp16 backward
Inductor accumulates in fp16. That PR only added the override to
`inductor_override_kwargs["cuda"]`; `inductor_override_kwargs["xpu"]` is a
separate dict and never got the equivalent entry, leaving XPU on the default
fp16 gradient tolerance (`atol=1e-5, rtol=1e-3`), which is too tight for the
fp16 accumulation rounding. Result: pytorch#195071
(`test_comprehensive_combinations_xpu_float16`) was disabled on 2026-08-27.

## Root cause on the failing sample

Sample 17: `input=(4,) fp16, r=4, with_replacement=True` -> output `(35, 4)`.
Each of the 4 inputs is copied into 35 output slots, so its gradient is the sum
of 35 fp16 contributions.

Forward is bit-identical between eager and Inductor; only the backward differs.
Inductor lowers the `index_put(accumulate=True)` backward to a single fp16
atomic scatter (`triton_poi_fused_index_put_new_zeros_1`):

```python
tmp6 = tl.load(in_ptr1 + (x0), xmask).to(tl.float32)
tl.atomic_add(out_ptr0 + (tl.broadcast_to(tmp4, [XBLOCK])), tmp6, xmask, sem='relaxed')
```

`out_ptr0` is `*fp16`, so the 35 additions per slot round to fp16 on every step,
in hardware-scheduling order. The XPU aten `index_put` accumulates in higher
precision and rounds once:

```
# accumulate 100 x 0.0002 into an fp16 slot initialised to 1.0 (exact = 1.02)
eager    index_put_(accumulate=True) -> 1.01953125
inductor same op                     -> 1.0          (== naive fp16 read-add-write)
```

Against an fp64 reference on the failing sample:

```
grad(input):
  eager    vs ref-fp64: max_rel = 3.65e-04
  inductor vs ref-fp64: max_rel = 3.99e-03
  inductor vs eager   : max_rel = 1.6e-03 .. 4.9e-03 across runs (>> default rtol=1e-3)
```

The run-to-run spread comes from the nondeterministic atomic order: the same
input produced 14 distinct fp16 results in 20 Inductor runs, vs 1 for eager.
This is intrinsic fp16 accumulation rounding, not a correctness bug on either
side, and matches the situation upstream addressed on CUDA in pytorch#189102.

## Fix

Add the same `(combinations, f16)` override that pytorch#189102 added for CUDA to
`inductor_override_kwargs["xpu"]`. Observed max abs diff is 1.22e-03 against an
allowance of `2e-3 + 0.01 * 0.5 ~= 7e-3`, i.e. about 5.7x headroom.

## Test plan

Nightly wheel `torch==2.15.0.dev20260830+xpu`, triton-xpu 3.8.0, on Intel Arc
B390. Run from the pytorch checkout root:

```
PYTORCH_OPINFO_SAMPLE_INPUT_INDEX=17 TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    TestInductorOpInfoXPU.test_comprehensive_combinations_xpu_float16
```
```
# before: FAILED  Tensor-likes are not close! 1/4 mismatched,
#                 rel 1.066e-03 > 1e-03 allowed
# after:  OK
```

All samples, three consecutive runs:

```
TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    TestInductorOpInfoXPU.test_comprehensive_combinations_xpu_float16
```
```
# OK / OK / OK
```

All dtypes, cpu and xpu:

```
TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    -k test_comprehensive_combinations -v
```
```
# Ran 14 tests    OK (skipped=2)
```

Fixes pytorch#195071

_Note: authored with AI assistance._

Pull Request resolved: pytorch#195403
Approved by: https://github.com/etaf, https://github.com/jansel
Sanskaaar1 pushed a commit to Sanskaaar1/pytorch that referenced this pull request Sep 8, 2026
…195403)

## Motivation

pytorch#189102 bumped the gradient tolerances for
`test_comprehensive_combinations_cuda_float16` after pytorch#186595 / pytorch#189305
reimplemented `torch.combinations` on top of `index_put`, whose fp16 backward
Inductor accumulates in fp16. That PR only added the override to
`inductor_override_kwargs["cuda"]`; `inductor_override_kwargs["xpu"]` is a
separate dict and never got the equivalent entry, leaving XPU on the default
fp16 gradient tolerance (`atol=1e-5, rtol=1e-3`), which is too tight for the
fp16 accumulation rounding. Result: pytorch#195071
(`test_comprehensive_combinations_xpu_float16`) was disabled on 2026-08-27.

## Root cause on the failing sample

Sample 17: `input=(4,) fp16, r=4, with_replacement=True` -> output `(35, 4)`.
Each of the 4 inputs is copied into 35 output slots, so its gradient is the sum
of 35 fp16 contributions.

Forward is bit-identical between eager and Inductor; only the backward differs.
Inductor lowers the `index_put(accumulate=True)` backward to a single fp16
atomic scatter (`triton_poi_fused_index_put_new_zeros_1`):

```python
tmp6 = tl.load(in_ptr1 + (x0), xmask).to(tl.float32)
tl.atomic_add(out_ptr0 + (tl.broadcast_to(tmp4, [XBLOCK])), tmp6, xmask, sem='relaxed')
```

`out_ptr0` is `*fp16`, so the 35 additions per slot round to fp16 on every step,
in hardware-scheduling order. The XPU aten `index_put` accumulates in higher
precision and rounds once:

```
# accumulate 100 x 0.0002 into an fp16 slot initialised to 1.0 (exact = 1.02)
eager    index_put_(accumulate=True) -> 1.01953125
inductor same op                     -> 1.0          (== naive fp16 read-add-write)
```

Against an fp64 reference on the failing sample:

```
grad(input):
  eager    vs ref-fp64: max_rel = 3.65e-04
  inductor vs ref-fp64: max_rel = 3.99e-03
  inductor vs eager   : max_rel = 1.6e-03 .. 4.9e-03 across runs (>> default rtol=1e-3)
```

The run-to-run spread comes from the nondeterministic atomic order: the same
input produced 14 distinct fp16 results in 20 Inductor runs, vs 1 for eager.
This is intrinsic fp16 accumulation rounding, not a correctness bug on either
side, and matches the situation upstream addressed on CUDA in pytorch#189102.

## Fix

Add the same `(combinations, f16)` override that pytorch#189102 added for CUDA to
`inductor_override_kwargs["xpu"]`. Observed max abs diff is 1.22e-03 against an
allowance of `2e-3 + 0.01 * 0.5 ~= 7e-3`, i.e. about 5.7x headroom.

## Test plan

Nightly wheel `torch==2.15.0.dev20260830+xpu`, triton-xpu 3.8.0, on Intel Arc
B390. Run from the pytorch checkout root:

```
PYTORCH_OPINFO_SAMPLE_INPUT_INDEX=17 TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    TestInductorOpInfoXPU.test_comprehensive_combinations_xpu_float16
```
```
# before: FAILED  Tensor-likes are not close! 1/4 mismatched,
#                 rel 1.066e-03 > 1e-03 allowed
# after:  OK
```

All samples, three consecutive runs:

```
TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    TestInductorOpInfoXPU.test_comprehensive_combinations_xpu_float16
```
```
# OK / OK / OK
```

All dtypes, cpu and xpu:

```
TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 \
    python test/inductor/test_torchinductor_opinfo.py \
    -k test_comprehensive_combinations -v
```
```
# Ran 14 tests    OK (skipped=2)
```

Fixes pytorch#195071

_Note: authored with AI assistance._

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

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: cuda Related to torch.cuda, and CUDA support in general module: inductor open source 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.

6 participants