Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Product
GitHub Copilot
Write better code with AI
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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
/
examples
Public
Notifications
You must be signed in to change notification settings
Fork
9.7k
Star
23.2k
Code
Issues
195
Pull requests
50
Actions
Projects
0
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Branch selector
main
User selector
All users
Datepicker
All time
Commit History
Commits on Jul 10, 2025
Add `accelerator` API to GCN example.
Show description for d47f0f3
jafraustro
authored and
soumith
committed
d47f0f3
Copy full SHA for d47f0f3
Update .github/workflows/main_distributed.yaml
Show description for c04a5a1
2 people
authored and
soumith
committed
c04a5a1
Copy full SHA for c04a5a1
Update .github/workflows/main_distributed.yaml
Show description for d384911
2 people
authored and
soumith
committed
d384911
Copy full SHA for d384911
Update .github/workflows/main_distributed.yaml
Show description for 2640946
2 people
authored and
soumith
committed
2640946
Copy full SHA for 2640946
Updating Python to 3.10, fsdp_tp_example.py to accelerator
githubsgi
authored and
soumith
committed
997c123
Copy full SHA for 997c123
Updating comments in multiple files.
githubsgi
authored and
soumith
committed
3fc7853
Copy full SHA for 3fc7853
Removing pre's from requirement.txt, ...
githubsgi
authored and
soumith
committed
bac5d0f
Copy full SHA for bac5d0f
Bumping up Python from 3.8 to 3.9 in wf yaml.
githubsgi
authored and
soumith
committed
a5b6297
Copy full SHA for a5b6297
Bumping up Pyhon version to 3.9 .
githubsgi
authored and
soumith
committed
fe39e70
Copy full SHA for fe39e70
Updating CI torch version.
githubsgi
authored and
soumith
committed
56cc1a6
Copy full SHA for 56cc1a6
Moving CommDebugMode code to a seperate PR.
githubsgi
authored and
soumith
committed
3055e3e
Copy full SHA for 3055e3e
cuda to accelerator
githubsgi
authored and
soumith
committed
f8c79f1
Copy full SHA for f8c79f1
Cuda to accelerator, +CommDebugMode
githubsgi
authored and
soumith
committed
6bfe651
Copy full SHA for 6bfe651
Update main.py tutorial, set persistent_workers, make GPU execution much faster
Show description for d0b7e37
maxwbuckley
authored and
soumith
committed
d0b7e37
Copy full SHA for d0b7e37
Commits on Jul 7, 2025
Fixed use_accel not defined issue (#1363)
BLOrange-AMD
authored
4206858
Copy full SHA for 4206858
Commits on Jun 30, 2025
imagenet: fix typo addressing args.gpu (#1361)
dvrogozh
authored
16554e5
Copy full SHA for 16554e5
Commits on Jun 25, 2025
Revert "Add Differentiable Physics: Mass-Spring System example" (#1360)
Show description for 8d408d2
msaroufim
authored
8d408d2
Copy full SHA for 8d408d2
Add Differentiable Physics: Mass-Spring System example (#1359)
Show description for 7c35995
abhitorch81
and
AbhiLegend
authored
7c35995
Copy full SHA for 7c35995
Commits on Jun 24, 2025
Add accelerate API support for Super Resolution example (#1358)
Show description for 6f61614
framoncg
authored
6f61614
Copy full SHA for 6f61614
Commits on Jun 17, 2025
Change run_python_examples.sh to run word_language_model/generate.py after each call to word_language_model/main.py
framoncg
authored and
soumith
committed
2944a9d
Copy full SHA for 2944a9d
Update word_language_model/generate.py to remove duplicates, use abc order
Show description for 6595d7b
2 people
authored and
soumith
committed
6595d7b
Copy full SHA for 6595d7b
Fix torch>= 2.6 generate.py compatibility in Word_language_example
framoncg
authored and
soumith
committed
a86bda0
Copy full SHA for a86bda0
Removing unneeded print
Show description for 37986af
eromomon
authored and
soumith
committed
37986af
Copy full SHA for 37986af
Add Accelerator Api to Imagenet Example
Show description for dcc2474
eromomon
authored and
soumith
committed
dcc2474
Copy full SHA for dcc2474
Commits on Jun 16, 2025
fix typo which make tgt tensor data wrong (#1356)
zwzmzd
authored
3ddcc89
Copy full SHA for 3ddcc89
Commits on Jun 15, 2025
Restore default CI configuration for VAE and Siamese examples using accelerator API (#1342)
Show description for fcce71c
eromomon
and
dvrogozh
authored
fcce71c
Copy full SHA for fcce71c
save model in global rank 0 in multinode (#1357)
Show description for 5cc81aa
IceCreamMilkyTea
authored
5cc81aa
Copy full SHA for 5cc81aa
Commits on Jun 14, 2025
Fix super_resolution example for torch>=2.6 (#1350)
framoncg
authored
abfa4f9
Copy full SHA for abfa4f9
Commits on May 18, 2025
Support torch>=2.6 in word_language_model example (#1347)
Show description for ac7e960
dvrogozh
authored
ac7e960
Copy full SHA for ac7e960
Commits on May 13, 2025
Use torch.accelerator in DCGAN example (#1344)
Show description for cc8e404
dggaytan
authored
cc8e404
Copy full SHA for cc8e404
This PR Improve docs build ci (#1336)
Show description for 7028a2e
soot-bit
authored
7028a2e
Copy full SHA for 7028a2e
Commits on May 9, 2025
FSDP2 example code for tutorial (#1343)
Show description for 7092296
weifengpy
authored
7092296
Copy full SHA for 7092296
Commits on May 2, 2025
Use torch.accelerator API in VAE example (#1338)
Show description for 54e132e
eromomon
authored
54e132e
Copy full SHA for 54e132e
Use torch.accelerator API in Siamese Network example (#1337)
eromomon
authored
12dc18e
Copy full SHA for 12dc18e
Commits on May 1, 2025
Update tensor_parallel_example.py (#1324)
nrothGIT
authored
b7aebb5
Copy full SHA for b7aebb5
Pagination
Previous
Next
You can’t perform that action at this time.