Skip to content
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

[JIT] list() builtin doesn't work on tensors #40869

Closed
ezyang opened this issue Jul 1, 2020 · 1 comment
Closed

[JIT] list() builtin doesn't work on tensors #40869

ezyang opened this issue Jul 1, 2020 · 1 comment
Assignees
Labels
days oncall: jit Add this issue/PR to JIT oncall triage queue
Projects

Comments

@ezyang
Copy link
Contributor

ezyang commented Jul 1, 2020

Workaround is to call tolist() on the Tensor, but it would be better if list(tensor) worked directly.

cc @suo @gmagogsfm

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Jul 1, 2020
@eellison
Copy link
Contributor

eellison commented Jul 1, 2020

I landed a PR for this, but it got unlanded bc of pytorch_linux_xenial_cuda10_1_cudnn7_py3_slow_test :'( i can try to reland

@eellison eellison self-assigned this Jul 1, 2020
@SplitInfinity SplitInfinity added this to Need triage in JIT Triage Jul 6, 2020
@suo suo moved this from Need triage to In progress in JIT Triage Jul 6, 2020
@gmagogsfm gmagogsfm added the days label Jul 28, 2020
JIT Triage automation moved this from In progress to Done Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
days oncall: jit Add this issue/PR to JIT oncall triage queue
Projects
JIT Triage
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants