8000 WIP Remove Conda instructions by AlannaBurke · Pull Request #3315 · pytorch/tutorials · GitHub
[go: up one dir, main page]

Skip to content

WIP Remove Conda instructions #3315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Removing and marking conda mentions for update.
  • Loading branch information
AlannaBurke committed Apr 4, 2025
commit 7633425548745492932b7b1cd5280ce03e5ea287
2 changes: 1 addition & 1 deletion prototype_source/gpu_quantization_torchao_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#
#
# .. code-block:: bash
#
# TODO: replace
# > conda create -n myenv python=3.10
# > pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121
# > pip install git+https://github.com/facebookresearch/segment-anything.git
Expand Down
9 changes: 5 additions & 4 deletions prototype_source/inductor_windows_cpu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Install the Required Software
-----------------------------

First, let's install the required software. C++ compiler is required for TorchInductor optimization.
We will use Microsoft Visual C++ (MSVC) for this example.
We will use Microsoft Visual C++ (MSVC) for this example.

1. Download and install `MSVC <https://visualstudio.microsoft.com/downloads/>`_.

Expand All @@ -38,6 +38,7 @@ We will use Microsoft Visual C++ (MSVC) for this example.
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>`_.
Please check `Alternative Compiler for better performance <#alternative-compiler-for-better-performance>`_.

.. TODO: replace instructions
3. Download and install `Miniforge3-Windows-x86_64.exe <https://github.com/conda-forge/miniforge/releases/latest/>`__.< 8000 /span>

Set Up the Environment
Expand All @@ -55,10 +56,10 @@ Set Up the Environment

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

.. code-block:: sh

conda create -n inductor_cpu_windows python=3.10 -y
conda create -n inductor_cpu_windows python=3.10 -y
conda activate inductor_cpu_windows

#. Install `PyTorch 2.5 <https://pytorch.org/get-started/locally/>`_ or later.
Expand All @@ -79,7 +80,7 @@ Here’s a simple example to demonstrate how to use TorchInductor:
opt_foo1 = torch.compile(foo)
print(opt_foo1(torch.randn(10, 10), torch.randn(10, 10)))

Here is the sample output that this code might return:
Here is the sample output that this code might return:

.. code-block:: sh

Expand Down
2 changes: 1 addition & 1 deletion prototype_source/prototype_index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PyTorch Prototype Recipes
---------------------------------------------
Prototype features are not available as part of binary distributions like PyPI or Conda (except maybe behind run-time flags). To test these features we would, depending on the feature, recommend building from master or using the nightly wheels that are made available on `pytorch.org <https://pytorch.org>`_.
Prototype features are not available as part of binary distributions like PyPI (except maybe behind run-time flags). To test these features we would, depending on the feature, recommend building from master or using the nightly wheels that are made available on `pytorch.org <https://pytorch.org>`_.

*Level of commitment*: We are committing to gathering high bandwidth feedback only on these features. Based on this feedback and potential further engagement between community members, we as a community will decide if we want to upgrade the level of commitment or to fail fast.

Expand Down
0