Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulZhang12 authored Oct 2, 2024
2 parents 7375f71 + 97b20b3 commit dbef8ad
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit dbef8ad

Please sign in to comment.