You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, we will walk you through a step-by-step tutorial for how to use torchinductor on Windows CPU.
22
+
* PyTorch v2.5 or later
23
+
* Microsoft Visual C++ (MSVC)
24
+
* Miniforge for Windows
20
25
21
-
Install a Compiler
22
-
^^^^^^^^^^^^^^^^^^
26
+
Install the Required Software
27
+
---------------------
23
28
24
-
C++ compiler is required for torchinductor optimization, let's take Microsoft Visual C++ (MSVC) as an example.
29
+
First, let's install the required software. C++ compiler is required for TorchInductor optimization.
30
+
We will use Microsoft Visual C++ (MSVC) for this example.
25
31
26
-
Download and install `MSVC <https://visualstudio.microsoft.com/downloads/>`_.
32
+
1. Download and install `MSVC <https://visualstudio.microsoft.com/downloads/>`_.
27
33
28
-
During Installation, chosse `Desktop Development with C++` in the `Desktop & Mobile` Section and then install.
34
+
1. During the installation, choose **Desktop Development with C++** in the **Desktop & Mobile** section. Then install the software
29
35
30
-
.. note::
36
+
.. note::
31
37
32
-
We recommend C++ compiler `Clang <https://github.com/llvm/llvm-project/releases>`_ and `Intel Compiler <https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html>`_.
38
+
We recommend C++ compiler `Clang <https://github.com/llvm/llvm-project/releases>`_ and `Intel Compiler <https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html>`_.
33
39
34
-
Install Miniforge
35
-
^^^^^^^^^^^^^^^^^
36
40
37
-
Download and install `Miniforge<https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe>`_.
41
+
1. Download and install `Miniforge3-Windows-x86_64.exe<https://github.com/conda-forge/miniforge/releases/latest/>`__.
38
42
39
43
Set Up Environment
40
44
^^^^^^^^^^^^^^^^^^
41
45
42
-
#. Open a command line environment via cmd.exe.
43
-
#. Activate `MSVC` via below command::
46
+
#. Open the command line environment via ``cmd.exe``.
0 commit comments