pytorch / functorch

functorch is JAX-like composable function transforms for PyTorch.
https://pytorch.org/functorch/
BSD 3-Clause "New" or "Revised" License
1.38k stars 102 forks source link

Can't compile, `asIntArrayRefSlow` doesn't exist #942

Closed bwasti closed 1 year ago

bwasti commented 1 year ago

https://github.com/pytorch/functorch/pull/903 Introduces a bug in compilation: asIntArrayRefSlow does not exist.

Here's the issue: https://github.com/pytorch/functorch/commit/754ee26a1d9e65bd770c6a0917687ae0b0b7a6e3#diff-aa025c5cb4dd033757fb9146e0ed816f5c9072deaa8d907cdca7a635dd33261cR509

Checking out the code 1 commit earlier builds fine.

zou3519 commented 1 year ago

@bwasti what version of PyTorch are you using?

ezyang commented 1 year ago

You need to upgrade your pytorch to a later nightly