Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Install Dependencies

jhelsby edited this pageAug 30, 2024 ·2 revisions

Common

Once you havecloned the source code, enter the PyTorch directory in your terminal and run the following:

conda install cmake ninjapip install -r requirements.txt

Now proceed to the section for your OS below:Linux,MacOS, orWindows.

On Linux

conda install mkl mkl-include# CUDA only: Add LAPACK support for the GPU if neededconda install -c pytorch magma-cuda110# or the magma-cuda* that matches your CUDA version from https://anaconda.org/pytorch/repo# (optional) If using torch.compile with inductor/triton, install the matching version of triton# Run from the pytorch directory after cloningmake triton

On MacOS

# Add this package on intel x86 processor machines onlyconda install mkl mkl-include# Add these packages if torch.distributed is neededconda install pkg-config libuv

On Windows

conda install mkl mkl-include# Add these packages if torch.distributed is needed.# Distributed package support on Windows is a prototype feature and is subject to changes.conda install -c conda-forge libuv=1.39

Next Steps

I would love to contribute to PyTorch!

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp