Skip to content

Commit a90c38a

Browse files
ZhaoqiongZsvekars
andauthored
Update prototype_source/inductor_windows.rst
Co-authored-by: Svetlana Karslioglu <[email protected]>
1 parent fcbd371 commit a90c38a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prototype_source/inductor_windows.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ Next, let's configure our environment.
4545
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvars64.bat"
4646
#. Create and activate a virtual environment: ::
4747
#. Install `PyTorch 2.5 <https://pytorch.org/get-started/locally/>`_ or later for CPU Usage. Install PyTorch 2.7 or later refer to `Getting Started on Intel GPU <https://pytorch.org/docs/main/notes/get_start_xpu.html>`_ for XPU usage.
48-
#. Use TorchInductor on Windows::
48+
#. Here is an example of how to use TorchInductor on Windows:
49+
.. code-block:: python
4950
5051
import torch
5152
device="cpu" # or "xpu" for XPU

0 commit comments

Comments
 (0)