8000 Add docs for torch.compile(numpy) by lezcano · Pull Request #109710 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Add docs for torch.compile(numpy) #109710

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 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update on "Add docs for torch.compile(numpy)"
[ghstack-poisoned]
  • Loading branch information
lezcano committed Sep 20, 2023
commit c528d511402a3330fd3f9b597db9182016c1fdf7
2 changes: 1 addition & 1 deletion docs/source/torch.compiler_faq.rst
7F63
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ to NumPy and back via ``x.numpy()``, ``torch.from_numpy``, and related functions
Which NumPy features does ``torch.compile`` support?
----------------------------------------------------

NumPy within ``torch.compile`` follows the latest NumPy release.
NumPy within ``torch.compile`` follows NumPy 2.0 pre-release.

Generally, ``torch.compile`` is able to trace through most NumPy constructions,
and when it cannot, it falls back to eager and lets NumPy execute that piece of
Expand Down
0