Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pytorch
docs
Repository navigation
Code
Issues
3
(3)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
site
Breadcrumbs
docs
/
master
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
site
Breadcrumbs
docs
/
master
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
_static
_static
accelerator
accelerator
community
community
compile
compile
elastic
elastic
export
export
generated
generated
higher_order_ops
higher_order_ops
notes
notes
rpc
rpc
user_guide
user_guide
.buildinfo
.buildinfo
404.html
404.html
accelerator.html
accelerator.html
amp.html
amp.html
autograd.html
autograd.html
backends.html
backends.html
benchmark_utils.html
benchmark_utils.html
checkpoint.html
checkpoint.html
complex_numbers.html
complex_numbers.html
cond.html
cond.html
config_mod.html
config_mod.html
cpp_extension.html
cpp_extension.html
cpp_index.html
cpp_index.html
cpu.html
cpu.html
cuda._sanitizer.html
cuda._sanitizer.html
cuda.aliases.html
cuda.aliases.html
cuda.html
cuda.html
cuda.tunable.html
cuda.tunable.html
cuda_environment_variables.html
cuda_environment_variables.html
cudnn_persistent_rnn.html
cudnn_persistent_rnn.html
cudnn_rnn_determinism.html
cudnn_rnn_determinism.html
data.html
data.html
ddp_comm_hooks.html
ddp_comm_hooks.html
debugging_environment_variables.html
debugging_environment_variables.html
deterministic.html
deterministic.html
distributed._dist2.html
distributed._dist2.html
distributed.algorithms.join.html
distributed.algorithms.join.html
distributed.checkpoint.html
distributed.checkpoint.html
distributed.elastic.html
distributed.elastic.html
distributed.fsdp.fully_shard.html
distributed.fsdp.fully_shard.html
distributed.html
distributed.html
distributed.optim.html
distributed.optim.html
distributed.pipelining.html
distributed.pipelining.html
distributed.tensor.html
distributed.tensor.html
distributed.tensor.parallel.html
distributed.tensor.parallel.html
distributions.html
distributions.html
dlpack.html
dlpack.html
export.html
export.html
fft.html
fft.html
fsdp.html
fsdp.html
func.api.html
func.api.html
func.batch_norm.html
func.batch_norm.html
func.html
func.html
func.migrating.html
func.migrating.html
func.ux_limitations.html
func.ux_limitations.html
func.whirlwind_tour.html
func.whirlwind_tour.html
future_mod.html
future_mod.html
futures.html
futures.html
fx.experimental.html
fx.experimental.html
fx.html
fx.html
genindex.html
genindex.html
hub.html
hub.html
index.html
index.html
jit.html
jit.html
jit_builtin_functions.html
jit_builtin_functions.html
jit_language_reference.html
jit_language_reference.html
jit_language_reference_v2.html
jit_language_reference_v2.html
jit_python_reference.html
jit_python_reference.html
jit_unsupported.html
jit_unsupported.html
jit_utils.html
jit_utils.html
library.html
library.html
linalg.html
linalg.html
logging.html
logging.html
masked.html
masked.html
meta.html
meta.html
miscellaneous_environment_variables.html
miscellaneous_environment_variables.html
mobile_optimizer.html
mobile_optimizer.html
model_zoo.html
model_zoo.html
module_tracker.html
module_tracker.html
monitor.html
monitor.html
mps.html
mps.html
mps_environment_variables.html
mps_environment_variables.html
mtia.html
mtia.html
mtia.memory.html
mtia.memory.html
mtia.mtia_graph.html
mtia.mtia_graph.html
multiprocessing.html
multiprocessing.html
name_inference.html
name_inference.html
named_tensor.html
named_tensor.html
nativert.html
nativert.html
nested.html
nested.html
nn.aliases.html
nn.aliases.html
nn.attention.bias.html
nn.attention.bias.html
nn.attention.experimental.html
nn.attention.experimental.html
nn.attention.flex_attention.html
nn.attention.flex_attention.html
nn.attention.html
nn.attention.html
nn.attention.varlen.html
nn.attention.varlen.html
nn.functional.html
nn.functional.html
nn.html
nn.html
nn.init.html
nn.init.html
View all files
You can’t perform that action at this time.