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
torch.histc
does not work with torch.compile(dynamic=True)
#124512
Labels
good first issue
module: dynamic shapes
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Comments
Add a meta following https://docs.google.com/document/d/1GgvOe7C8_NVOMLOCwDaYV1mXXyHMXY7ExoewHqooxrs/edit shouldn't be too bad |
Is this issue still open? @nopperl |
@vunnamkowsik it will be fixed once #124548 is merged. |
masnesral
added
the
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
label
Apr 22, 2024
carmocca
pushed a commit
to carmocca/pytorch
that referenced
this issue
Apr 29, 2024
Registers a meta function for the `aten.histc.default` and `aten.histc.out` ops to support `torch.compile(dynamic=True)`. Fixes pytorch#124512. Pull Request resolved: pytorch#124548 Approved by: https://github.com/lezcano, https://github.com/peterbell10
andoorve
pushed a commit
to andoorve/pytorch
that referenced
this issue
May 1, 2024
Registers a meta function for the `aten.histc.default` and `aten.histc.out` ops to support `torch.compile(dynamic=True)`. Fixes pytorch#124512. Pull Request resolved: pytorch#124548 Approved by: https://github.com/lezcano, https://github.com/peterbell10
pytorch-bot bot
pushed a commit
that referenced
this issue
May 3, 2024
Registers a meta function for the `aten.histc.default` and `aten.histc.out` ops to support `torch.compile(dynamic=True)`. Fixes #124512. Pull Request resolved: #124548 Approved by: https://github.com/lezcano, https://github.com/peterbell10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
module: dynamic shapes
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
torch.histc
does not work withtorch.compile(dynamic=True)
Using
torch.histc
withtorch.compile(dynamic=True)
raises aNotImplementedError
. See the minified repro. The code works fine withoutdynamic=True
.Following the link in the error message, it seems like the
torch.ops.aten.histc.default
op does not support dynamic shapes. According toopcheck
:Error message:
(+ plus the same stack trace as before)
Note: this is also the case for
torch.ops.aten.histc.out
.Error logs
Minified repro
Versions
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] optree==0.11.0
[pip3] torch==2.4.0a0+git87f651c
[pip3] triton==3.0.0
cc @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang
The text was updated successfully, but these errors were encountered: