Skip to content
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions prototype_source/inductor_windows_cpu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Set Up the Environment
.. code-block:: sh

"C:/ProgramData/miniforge3/Scripts/activate.bat"
#. Create and activate a customer conda environment:
#. Create and activate a custom conda environment:

.. code-block:: sh

Expand All @@ -74,12 +74,12 @@ Here’s a simple example to demonstrate how to use TorchInductor:
import torch
def foo(x, y):
a = torch.sin(x)
b = torch.cos(x)
b = torch.cos(y)
return a + b
opt_foo1 = torch.compile(foo)
print(opt_foo1(torch.randn(10, 10), torch.randn(10, 10)))

The code above returns the following output:
Here is the sample output that this code might return:

.. code-block:: sh

Expand Down
Loading