Skip to content

Commit b6c5ea6

Browse files
committed
fix command format
1 parent b6c69db commit b6c5ea6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

prototype_source/inductor_windows_cpu.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ Set Up the Environment
4444
----------------------
4545

4646
#. Open the command line environment via ``cmd.exe``.
47-
#. Activate ``MSVC`` with the following command::
47+
#. Activate ``MSVC`` with the following command:
48+
49+
.. code-block:: sh
4850
4951
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvars64.bat"
5052
#. Activate ``conda`` with the following command:
@@ -54,10 +56,10 @@ Set Up the Environment
5456
"C:/ProgramData/miniforge3/Scripts/activate.bat"
5557
#. Create and activate a customer conda environment:
5658

57-
.. code-block:: sh
59+
.. code-block:: sh
5860
59-
conda create -n inductor_cpu_windows python=3.10 -y
60-
conda activate inductor_cpu_windows
61+
conda create -n inductor_cpu_windows python=3.10 -y
62+
conda activate inductor_cpu_windows
6163
6264
#. Install `PyTorch 2.5 <https://pytorch.org/get-started/locally/>`_ or later.
6365

0 commit comments

Comments
 (0)