8000 Pin `sympy >= 1.13.0` by XuehaiPan · Pull Request #130895 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Pin sympy >= 1.13.0 #130895

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

Closed
wants to merge 19 commits into from
Prev Previous commit
Next Next commit
Update
[ghstack-poisoned]
  • Loading branch information
XuehaiPan committed Jul 17, 2024
commit 3247464effab6dadfb226ca0a938e67e50998262
2 changes: 1 addition & 1 deletion torch/_functorch/_aot_autograd/subclass_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def remap_unwrapped_subclass_arg_indices(wrapped_args, static_input_indices):
for i, arg in enumerate(wrapped_args):
num_indices = 1
if is_traceable_wrapper_subclass(arg):
num_indices = len(get_plain_tensors(arg)) # type: ignore[arg-type]
num_indices = len(get_plain_tensors(typing.cast(Tensor, arg)))

for _ in range(num_indices):
if i in static_input_indices:
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
0