Skip to content
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

[pull] main from pytorch:main #238

Open
wants to merge 598 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
598 commits
Select commit Hold shift + click to select a range
98221cc
Add compiled optimizer + lr scheduler tutorial (#2874)
mlazos May 21, 2024
8f4bd99
Update docathon-assign.yml
svekars May 23, 2024
d8ae8a6
Update docathon-assign.yml
svekars May 23, 2024
291a2b8
Update autograd_tutorial.py, added whitespace #2802 (#2815)
Satyamkhadka May 24, 2024
53af991
Include import for dist_tuto (#2880)
H-Huang May 28, 2024
2dd1997
Remove the unexpected words in tensorboardyt_tutorial.py (#2878)
jingedawang May 28, 2024
ad22101
Update the fusion section of tuning_guide.py (#2889)
desertfire May 30, 2024
d942e87
Update docathon-label-sync.py
svekars May 30, 2024
c150497
Update docathon-label-sync.yml
svekars May 30, 2024
61e3865
Update docathon-label-sync.yml
svekars May 30, 2024
cdbb559
Update docathon-label-sync.py
svekars May 30, 2024
a58f40f
Fix batch size calculation in dist_tuto (#2754)
petergtz May 31, 2024
6537199
[small] fix link (#2906)
H-Huang Jun 4, 2024
9cd40c9
update torch compile backend ipex with target device (#2919)
jingxu10 Jun 10, 2024
e64dc22
Update CONTRIBUTING.md (#2918)
loganthomas Jun 10, 2024
48905cf
DEP: deprecate transformer tutorial (#2910)
loganthomas Jun 10, 2024
67819bb
Enable torchvision_tutorial (#2909)
alperenunlu Jun 10, 2024
a232ff3
Added CUDA graph, Tensor Core and Core pinning explaination (#2912)
orion160 Jun 12, 2024
22ae7b9
typo (#2928)
MostHumble Jun 12, 2024
2748f2c
Clean up dist_overview.rst (#2913)
wconstab Jun 13, 2024
7a44230
Move edit note back to the top (#2930)
wconstab Jun 13, 2024
63f987d
FIX: Redirect old Loading data in PyTorch to newer Datasets & DataLoa…
loganthomas Jun 13, 2024
91540a8
Add new Python and C++/CUDA Custom Op tutorials (#2888)
zou3519 Jun 18, 2024
ef9750a
Replace dtype static list with a reference to data type doc (#2937)
zeshengzong Jun 18, 2024
be898cb
Exporting a Model from PyTorch to ONNX tutorial (#2935)
diningeachox Jun 18, 2024
0740801
Improve DQN Tutorial (#2934)
alperenunlu Jun 18, 2024
6e77bb9
FIX: Update `transformer_tutorial.rst` (#2949)
loganthomas Jun 20, 2024
f2b8a1b
Update docathon-leaderboard.md
svekars Jun 20, 2024
3b97695
Add tutorial about inductor caching (#2952)
oulgen Jun 20, 2024
cbde504
Adding xeon_run_cpu.rst doc (#2931)
ZailiWang Jun 24, 2024
d1c5aba
Add subcomponent, subcomponents
svekars Jun 25, 2024
2b0e464
Disable failing tutorials 2.4 (#2955)
svekars Jun 25, 2024
c043bab
remove old pipeline parallel tutorials (#2964)
H-Huang Jul 8, 2024
cad4839
correct doc that is reported in https://github.com/pytorch/pytorch/is…
jingxu10 Jul 8, 2024
ffc8efc
pipelining tutorials (#2962)
H-Huang Jul 9, 2024
cfcda4b
Update distributed_checkpoint_recipe.rst (#2960)
zhouzaida Jul 9, 2024
a4a9cfa
Add a prerequisites card (#2967)
svekars Jul 10, 2024
0572327
Update distributed_device_mesh.rst (#2965)
surprisedPikachu007 Jul 10, 2024
c32ce58
Update cpp_export.rst (#2970)
zinccat Jul 15, 2024
5efa2e5
Typo (#2974)
baskrahmer Jul 17, 2024
2f2db74
FIX: typo in inductor_debug_cpu.py (#2938)
AnHaechan Jul 17, 2024
4857131
Pull 2.4 binaries (#2976)
svekars Jul 22, 2024
09d6583
update device mesh to include slicing (#2958)
wz337 Jul 22, 2024
7eb547a
2.4.0 Updates to DCP (#2968)
LucasLLC Jul 22, 2024
2ec46a4
c10d TCPStore libuv backend tutorial (#2966)
XilunWu Jul 22, 2024
0a5b58b
Fix importing issue for inductor_debug_cpu (#2943)
Valentine233 Jul 22, 2024
0dee5c9
Update outdated custom ops tutorials to point to the new landing page…
zou3519 Jul 22, 2024
123dd5c
FIX: beginner/onnx/onnx_registry_tutorial.py fails against 2.4 RC bin…
titaiwangms Jul 22, 2024
cb3e0ac
update Intel(R) Extension for PyTorch Github CPU and GPU branch URL (…
jingxu10 Jul 24, 2024
a0a9e3b
Update what's new for 2.4 (#2979)
svekars Jul 24, 2024
1d3e94f
Update to switch back to use stable binaries (#2980)
svekars Jul 29, 2024
db6cf8e
Fix typo in knowledge_distillation_tutorial.py (#2973)
geegatomar Jul 29, 2024
c3882db
updated FSDP tutorial (#2975)
surprisedPikachu007 Jul 29, 2024
a66464b
A tutorial on pin_memory and non_blocking usage (#2983)
vmoens Jul 31, 2024
e4a47bf
Update ax_multiobjective_nas_tutorial.py to use TensorboardMetric (#2…
mpolson64 Jul 31, 2024
f5c28eb
Update link of dynamo overview (#2987)
leslie-fang-intel Jul 31, 2024
fda8184
Fix torchrl and tensordict requirements (#2986)
vmoens Aug 1, 2024
740e3b0
fix dcp tutorial formatting (#2990)
H-Huang Aug 1, 2024
89b3343
Updated linalg functions in tensors_deeper_tutorial.py (#2959)
ignaciobartol Aug 1, 2024
f1c0b8a
fix xeon_run_cpu.html link (#2989)
ZailiWang Aug 2, 2024
a811de6
[Tensor Parallel] remove non-existing code pointer (#3000)
tianyu-l Aug 19, 2024
6a7b26c
[dtensor][debug] CommDebugMode recipe (#3001)
XilunWu Aug 19, 2024
42aaa33
fix: rm `use_cuda` param (#3002)
shaoyuyoung Aug 19, 2024
96b9c27
Add programmable Google Search to pytorch tutorials site (#2820)
svekars Aug 22, 2024
ea2dfc6
Tutorial for AOTI Python runtime (#2997)
agunapal Aug 23, 2024
ec867b2
Create tutorial_submission_policy.md (#2995)
svekars Aug 24, 2024
4c1dd9d
Removed upper-case letter/made 'download' the link text instead of 'h…
tstatler Aug 27, 2024
afcd669
Add weights_only=True to torch.load (#3012)
svekars Aug 27, 2024
fc016bd
Fix typos in dynamic_quantization_bert_tutorial.rst (#3019)
hadh93 Aug 28, 2024
4cb73ca
Improve custom ops tutorials (#3020)
zou3519 Aug 29, 2024
2bdd642
Removed outdated steps in README about running about setup.py (#3014)
tstatler Aug 29, 2024
b3c49a3
Fix hovering over the GCS search button (#3005)
svekars Aug 29, 2024
e07d43b
Added warnings to select Pytorch mobile tutorials directing users to …
tstatler Aug 30, 2024
748e52b
Patched docs for torch_compile_tutorial (#2936)
ignaciobartol Aug 30, 2024
5c45426
Upgrade pygame version to 2.6.0 (#3025)
svekars Sep 4, 2024
a0b5d4b
Update intro_onnx.py (#3033)
labintsev Sep 5, 2024
67e0ae9
Fixed Rst formatting, minor text changes (#3029)
tstatler Sep 5, 2024
0e530ea
Add meta tag to torch_export_aoti_python (#3036)
svekars Sep 5, 2024
c2a8800
Fix reference to dcp in loading example (#2972)
angerrp Sep 5, 2024
23a9aa0
Remove sphinx theme from .gitmodules (#3038)
svekars Sep 6, 2024
7377530
fix typo in loading model from disk code (#3021)
berinaniesh Sep 9, 2024
129e318
Fix 2 incorrect argument positioning in Tutorial (#3042)
davychxn Sep 9, 2024
8a8331e
[c10d][Doc] Add a flight recorder tutorial (#3040)
c-p-i-o Sep 9, 2024
f1380d3
Add sitemap (#3035)
svekars Sep 10, 2024
7490332
Fix typo in Environment Variable section of dist_tuto.rst (#3054)
TheBatmanofButler Sep 12, 2024
df285cf
Update dist_overview.rst (#3056)
ekurtgl Sep 20, 2024
0b23f46
Fix typos and a broken link in advanced_source/extend_dispatcher.rst
NeoKish Sep 23, 2024
cd7f684
Update FR tutorial to include file path, writer and print usage (#3058)
fduwjj Sep 23, 2024
4126761
Minor fixes (#3059)
c-p-i-o Sep 24, 2024
be7f1b3
Create StalePRs.yml (#3061)
sekyondaMeta Sep 25, 2024
01d2270
Update dynamic_quantization.py (#3060)
deo-abhijit Sep 30, 2024
8d959ca
Add tutorial inductor on Windows CPU (#3062)
ZhaoqiongZ Sep 30, 2024
54b62c1
Update torchao to 0.5.0 and fix GPU quantization tutorial (#3069)
svekars Oct 1, 2024
97b20b3
Fix a typo in the inductor Windows CPU tutorial (#3071)
svekars Oct 2, 2024
4895c27
Revamp TorchRec intro tutorial (#3064)
PaulZhang12 Oct 2, 2024
096f840
Fix torchrec tutorial spacing (#3073)
PaulZhang12 Oct 3, 2024
352ae64
Fix the underline that is too short in torchrec_intro_tutorial.py (#3…
svekars Oct 3, 2024
67ec2a5
[FR][Tutorial] Update the tutorial to reflect the pg command arg (#3076)
fduwjj Oct 7, 2024
31eb1da
DTensor has moved to the public namespace (#3084)
astefanutti Oct 8, 2024
85caa62
Add tabulate pip install to flight recorder tutorial (#3081)
c-p-i-o Oct 9, 2024
1217b4c
Fix formatting in the scaled_dot tutorial (#3087)
svekars Oct 9, 2024
19fffda
[Inductor] [Doc] Add tutorial for Max-autotune Support on CPU as a pr…
chunyuan-w Oct 9, 2024
d862a95
Add compiled autograd tutorial (#3026)
xmfan Oct 9, 2024
4b22e03
Add autoloading tutorial (#3037)
shink Oct 9, 2024
e68eb41
Regional compilation recipe (#3070)
anijain2305 Oct 10, 2024
ecfbe26
[torchrec tutorial] fix headings (#3089)
iamzainhuda Oct 10, 2024
3eee4f2
Update modelsyt_tutorial.py to remove deprecated link (#3093)
larryliu0820 Oct 15, 2024
96cdbae
Fix Distributed Checkpoint Tutorial (#3068)
LTMeyer Oct 15, 2024
79d1723
Update saveloadrun_tutorial.py to fix a broken link (#3092)
larryliu0820 Oct 15, 2024
b7cca68
Fix a typo in torch_compile_user_defined_triton_kernel_tutorial.py (#…
dlcodns Oct 15, 2024
400f5d6
Update vulkan_workflow.rst (#3094)
sekyondaMeta Oct 16, 2024
b58fc30
Pull 2.5 binaries (#3055)
svekars Oct 16, 2024
cd31297
Fix formatting (#3096)
svekars Oct 16, 2024
f15637b
Add assert to regional compilation tutorial (#3097)
williamwen42 Oct 16, 2024
1841346
Update what's new in tutorials to 2.5 (#3095)
svekars Oct 17, 2024
fad5956
Adding Link Check on PRs (#3085)
sekyondaMeta Oct 17, 2024
11d9e5c
Redirect from the old torchrec tutorial to the new one (#3099)
svekars Oct 17, 2024
885aa45
update link to a intel compiler guide with performance data (#3101)
ZhaoqiongZ Oct 21, 2024
4ed884d
Deprecate torchtext tutorials (#3088)
svekars Oct 21, 2024
b725032
Update the title of linked article (#3102)
ZhaoqiongZ Oct 22, 2024
9a327c0
Pin to use 2.5 (#3091)
svekars Oct 22, 2024
0c5e2c6
Install torchrec only on Linux (#3105)
svekars Oct 22, 2024
90525b7
Update Compiled Autograd tutorial with images (#3108)
xmfan Oct 23, 2024
f2b930e
pt2e quantization tutorial related updates (#3106)
jerryzh168 Oct 23, 2024
18abd43
Update link_checkPR.yml (#3109)
sekyondaMeta Oct 23, 2024
eaf9699
Bump tj-actions/changed-files from 34 to 41 in /.github/workflows (#3…
dependabot[bot] Oct 23, 2024
37d8ddb
Update StalePRs.yml (#3110)
sekyondaMeta Oct 24, 2024
2f3f3fa
Updated Doc for Intel XPU Profile (#3013)
louie-tsai Oct 24, 2024
904ca90
Add a note to the torchscript tutorials (#3115)
svekars Oct 25, 2024
728278f
Update en-wordlist.txt (#3123)
AlannaBurke Oct 28, 2024
e05e623
Update .lycheeignore (#3122)
sekyondaMeta Oct 29, 2024
b465aa7
Fix DCP tutorial command (#3124)
H-Huang Oct 30, 2024
6a15041
[doc] Fix to DDP tutorial (#3120)
c-p-i-o Oct 30, 2024
c7e1819
Update link_checkPR.yml (#3129)
sekyondaMeta Oct 30, 2024
76bd6d3
[doc][c10d] fix up distributed tutorial (#3132)
c-p-i-o Oct 31, 2024
60b8891
Redirecting Former Torchies Tutorials (#3131)
AlannaBurke Oct 31, 2024
60e29a0
[Tutorial][PTD] Deprecate Single-Machine Model Parallel Best Practice…
wz337 Oct 31, 2024
4e9296e
[doc][c10d] Fixes to FSDP tutorial (#3138)
c-p-i-o Oct 31, 2024
8d19c5c
Update PT Cheat page to stop referencing torchscript (#3139)
janeyx99 Oct 31, 2024
54273de
Add a deprecation notice to the Profile Tensorboard tutorial (#3128)
svekars Oct 31, 2024
a408ba5
Redirect duplicate save/load recipes to the main save/load tutorial (…
Saiteja64 Nov 1, 2024
f08670d
Redirecting android_native_app_with_custom_op to ExecuTorch. (#3140)
AlannaBurke Nov 4, 2024
32d2b29
[doc] ddp multigpu tutorial - small updates (#3141)
c-p-i-o Nov 4, 2024
a551cdf
Deprecating Mobile Tutorials in favor of ExecuTorch (#3121)
AlannaBurke Nov 4, 2024
33753d3
Enable multi-level nav in the left nav bar (#3125)
svekars Nov 5, 2024
5323ee2
ExecutTorch Redirects (#3147)
AlannaBurke Nov 5, 2024
653d05f
Redirect dist_pipeline and pipeline_tutorials tutorials to pipelining…
svekars Nov 5, 2024
ea9a5fc
[Tutorial][PTD] Deprecate `Training Transformer models using Distribu…
wz337 Nov 5, 2024
0088d45
Redirect torch.export nightly tutorial to updated torch.export tutori…
williamwen42 Nov 7, 2024
6c0f792
Deprecate ONNXLive tutorial (#3151)
tugsbayasgalan Nov 8, 2024
a329388
Install dependencies globally instead of using conda (#3144)
clee2000 Nov 11, 2024
56d26be
Update ddp_series_fault_tolerance.rst (#3155)
sekyondaMeta Nov 12, 2024
61307fd
Update rpc_async_execution.rst (#3156)
sekyondaMeta Nov 13, 2024
3d5b75a
Update ddp_series_theory.rst (#3160)
sekyondaMeta Nov 14, 2024
24c42d2
Fixed links in process_group_cpp_extension_tutorial.rst (#3157)
sekyondaMeta Nov 14, 2024
1fcb66e
Transformer building blocks tutorial (#3075)
mikaylagawarecki Nov 14, 2024
69475d6
Correct author's github handle (#3158)
sekyondaMeta Nov 15, 2024
45d33e1
Update .lycheeignore (#3159)
sekyondaMeta Nov 15, 2024
222a367
Implement options to select between Sphinx search and Google search (…
svekars Nov 19, 2024
540bd0c
Fix scroll in sphinx search (#3164)
svekars Nov 22, 2024
3ba3a46
[doc] add small example to flight recorder tutorial (#3163)
c-p-i-o Nov 26, 2024
1428770
Change torchscript maintenance from note to warning (#3169)
msaroufim Dec 2, 2024
f2d5a6a
replace decoder with self.decoder in PyTorch Chatbot example. (#3090)
Ishan-Kumar2 Dec 2, 2024
25f1156
Update nn_tutorial.py (#3173)
sekyondaMeta Dec 3, 2024
e744f35
Add AOTAutogradCache to caching tutorials (#3177)
jamesjwu Dec 6, 2024
1263f06
Fix typo in torch_compile_caching_tutorial.rst (#3178)
svekars Dec 6, 2024
a91f631
fix wrapping (#3179)
stas00 Dec 10, 2024
bdd15ed
Updating "Classifying Names with a Character-Level RNN" (#2954)
mgs28 Dec 11, 2024
7038ce7
fixing issue#2168 (#3181)
DeeExe Dec 11, 2024
9242c60
update pipelining tutorial (#3182)
H-Huang Dec 12, 2024
4a0ae38
Add last verified script (#3154)
svekars Dec 13, 2024
b8acfc8
Fix the DCGAN C++ shape warning (#3188)
LiAuTraver Dec 17, 2024
7262c21
[doc] fix flight recorder tutorial (#3189)
c-p-i-o Dec 17, 2024
2793639
Remove Tensor.data attribute from tutorial (#3193)
HanBnrd Dec 20, 2024
6f54c88
Mention Python agnosticism in custom ops tutorial (#3204)
janeyx99 Dec 30, 2024
d8a9749
Clarify Extending PyTorch sidebar: make differences more obvious (#3209)
janeyx99 Jan 2, 2025
7f76cfd
Clarify Python custom operators do not work without Python (#3212)
zou3519 Jan 6, 2025
20c3111
Add new terms to en-wordlist.txt (#3215)
svekars Jan 6, 2025
46943d6
Fix invalid page links in tutorial (#3205)
zeshengzong Jan 6, 2025
b83178a
fix typo (#3149)
gameofdimension Jan 7, 2025
0902157
Updated broken link on ONNX beginner tutorial (#3206)
Napuh Jan 7, 2025
dea4673
Fix dead link for compiler troubleshooting (#3201)
shink Jan 7, 2025
355f281
Redirect tracing_based_selective_build.rst to the new ET tutorial (#3…
svekars Jan 7, 2025
33a52a5
Fix: add event sync in fsdp tutorial (#3166)
zzb610 Jan 8, 2025
82f449a
[export] update dynamic shapes section (#3214)
pianpwk Jan 9, 2025
e45efc2
Revert prefactor m in autograd documentation (#3221)
asideofcode-dev Jan 10, 2025
01eeee6
fix reference path links (#3229)
guspan-tanadi Jan 13, 2025
e6fc189
make_distribute_tutorial_work_in_google_colab (#3022)
venkatram-dev Jan 13, 2025
5a6b217
Use DETERMINISTIC sampling in PPO (#3230)
vmoens Jan 13, 2025
f7d06b6
[ROCm] Update C++ Custom Operators tutorial with note about AMD GPU. …
naromero77amd Jan 13, 2025
48a5f0a
Add a recipe for showcasing torch.export flow for 4 models, with uniq…
agunapal Jan 21, 2025
8903ee1
Add link to a good recipe example (#3243)
sekyondaMeta Jan 21, 2025
fe35191
Fix broken links in cpp_autograd.rst (#3240)
sekyondaMeta Jan 21, 2025
8fab8bf
Fix a broken link in rpc_tutorial.rst (#3237)
sekyondaMeta Jan 21, 2025
df9e226
Fix a broken link in pytorch_with_examples.rst (#3238)
sekyondaMeta Jan 21, 2025
84ac70a
Update .lycheeignore (#3247)
sekyondaMeta Jan 22, 2025
85d0fa9
Update ddp_series_multinode.rst (#3248)
sekyondaMeta Jan 23, 2025
3c565ca
Update ddp_series_minGPT.rst (#3246)
sekyondaMeta Jan 23, 2025
1554717
Update dynamic_quantization_bert_tutorial.rst (#3239)
sekyondaMeta Jan 23, 2025
3b1257d
Update .lycheeignore (#3253)
sekyondaMeta Jan 23, 2025
903f7af
Update cpp_frontend.rst (#3245)
sekyondaMeta Jan 23, 2025
5a5edfc
Update torchserve_with_ipex.rst (#3249)
sekyondaMeta Jan 23, 2025
37e0b1e
[BE][export] add data-dependent section to export tutorial (#3244)
pianpwk Jan 23, 2025
4b1d9fb
Update FSDP_tutorial.rst (#3252)
sekyondaMeta Jan 24, 2025
2a30921
Update fx_graph_mode_ptq_static.rst (#3255)
sekyondaMeta Jan 24, 2025
d4c1e74
Pull 2.6 binaries (#3234)
svekars Jan 24, 2025
5786e97
Update aoti tutorial (#3224)
angelayi Jan 24, 2025
c27636a
Update user-defined triton kernels tutorial with new torch.library.tr…
zou3519 Jan 24, 2025
db9a867
Validate transformer tutorial builds against 2.6 (#3202)
mikaylagawarecki Jan 24, 2025
733b1ec
Add torch.compiler.set_stance tutorial (#3260)
svekars Jan 24, 2025
4a6f79e
[1/N] Refine beginner tutorial by accelerator api (#3167)
guangyey Jan 24, 2025
b9b1656
Add MTIA to wordlist (#3262)
svekars Jan 24, 2025
3f302a3
[2/N] Refine beginner tutorial by accelerator api (#3168)
guangyey Jan 24, 2025
c2faee4
[3/N] Refine beginner tutorial by accelerator api (#3170)
guangyey Jan 24, 2025
8f0518c
Cherry-pick: [ONNX] Update dynamo_export tutorial (#3196) (#3265)
svekars Jan 27, 2025
8604b4b
Cherry-pick: Fix torchrl scripts for PT 2.6 TorchRL>=0.6 (#3199) (#3266)
svekars Jan 27, 2025
15f7cb3
Fix export tutorial (#3130)
angelayi Jan 27, 2025
80989d2
[WIP][4/N] Refine beginner tutorial by accelerator api (#3190)
guangyey Jan 27, 2025
15ef015
Update lychee.toml (#3267)
sekyondaMeta Jan 28, 2025
b76570d
Recommend cpython agnosticism in cpp custom op tutorial (#3250)
janeyx99 Jan 28, 2025
a75c791
Update spellcheck to run only on changed files (#3233)
svekars Jan 29, 2025
7216237
Update what's new in tutorials for 2.6 release (#3269)
svekars Jan 29, 2025
90a7da8
Move back to use stable binaries 2.6 (#3270)
svekars Jan 29, 2025
0a93a8b
change torch.cuda.amp.GradScaler to torch.GradScaler("cuda") (#3257)
0ssamaak0 Jan 30, 2025
13d365c
Remove line about nightlies in transformer building blocks tutorial (…
mikaylagawarecki Feb 3, 2025
1cedb08
Add pageable/pinned tensor to cuda reliability note in pinmem tutoria…
vmoens Feb 19, 2025
1437a21
Fix typo `size` to `world_size` (#3274)
chaochen1111 Feb 20, 2025
863290e
Update en-wordlist.txt (#3276)
svekars Feb 24, 2025
a543d05
fixing typo "sequance->sequence" (#3275)
VivienCabannes Feb 24, 2025
707cfcf
Add a new tutorial for compile time caching (#3277)
oulgen Feb 27, 2025
e8dc353
Fix caching tutorial order (#3278)
oulgen Feb 27, 2025
469d95b
Add megacache to index (#3279)
oulgen Feb 28, 2025
cb2e4ed
[ONNX] Update API to torch.onnx.export(..., dynamo=True) (#3223)
titaiwangms Mar 5, 2025
780d5cb
[ONNX] Add and fix custom cards for ONNX (#3287)
titaiwangms Mar 7, 2025
dfeb1ae
Fixes backward definition in triton tutorial (#3282)
thomasjpfan Mar 7, 2025
94024ab
Update data_loading_tutorial.py (#3283)
neonwatty Mar 11, 2025
6493011
Monthly Link Check (#3280)
sekyondaMeta Mar 13, 2025
ce291f4
Add Docs Survey (#3289)
sekyondaMeta Mar 13, 2025
057341f
Add OOV token handling to character-level RNN tutorial (#3284)
rice-e Mar 14, 2025
622d8bc
Tags in tj-actions/changed-files are compromised (#3290)
zxiiro Mar 15, 2025
b090df7
Fix broken links in introyt_index.html (#3291)
svekars Mar 17, 2025
0c7bb1a
docs/fix pageable memory description in `Other copy directions`. (#3292)
GdoongMathew Mar 18, 2025
270db76
Fix issue with the post-processing script (#3295)
svekars Mar 18, 2025
08a9bcd
Fix python custom ops tutorial (#3299)
zou3519 Mar 19, 2025
6053b2a
[ROCm] Update C++ Extension Tutorial for AMD GPU (#3197)
naromero77amd Mar 19, 2025
02d2519
Bump torchrl and tensordict to 0.7.2 (#3298)
svekars Mar 20, 2025
9b8204b
Update en-wordlist.txt
svekars Mar 21, 2025
4c18d79
Fix typo in README (#3307)
clee2000 Mar 26, 2025
63295e8
Add system requirements to compile tutorial (#3311)
williamwen42 Apr 1, 2025
548ea1c
Update layout.html (#3316)
svekars Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .ci/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
ARG BASE_IMAGE
FROM ${BASE_IMAGE}

ENV DEBIAN_FRONTEND noninteractive

# Install common dependencies (so that this step can be cached separately)
COPY ./common/install_base.sh install_base.sh
RUN bash ./install_base.sh && rm install_base.sh

# Setup user
# TODO: figure out how to remove this part
COPY ./common/install_user.sh install_user.sh
RUN bash ./install_user.sh && rm install_user.sh

COPY ./common/install_docs_reqs.sh install_docs_reqs.sh
RUN bash ./install_docs_reqs.sh && rm install_docs_reqs.sh

COPY ./common/install_pip_requirements.sh install_pip_requirements.sh
COPY ./requirements.txt requirements.txt
RUN bash ./install_pip_requirements.sh && rm install_pip_requirements.sh

RUN ln -s /usr/bin/python3 /usr/bin/python

USER ci-user
CMD ["bash"]
25 changes: 25 additions & 0 deletions .ci/docker/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

set -exu

IMAGE_NAME="$1"
shift

export UBUNTU_VERSION="22.04"
export CUDA_VERSION="12.4.1"

export BASE_IMAGE="nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION}"
echo "Building ${IMAGE_NAME} Docker image"

docker build \
--no-cache \
--progress=plain \
-f Dockerfile \
--build-arg BASE_IMAGE="${BASE_IMAGE}" \
"$@" \
.
49 changes: 49 additions & 0 deletions .ci/docker/common/install_base.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/bin/bash
# Based off of https://github.com/pytorch/pytorch/tree/b52e0bf131a4e55cd987176f9c5a8d2ad6783b4f/.ci/docker

set -ex

install_ubuntu() {
# Install common dependencies
apt-get update
# TODO: Some of these may not be necessary
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
cmake=3.22* \
curl \
git \
wget \
sudo \
vim \
jq \
vim \
unzip \
gdb \
rsync \
libssl-dev \
p7zip-full \
libglfw3 \
libglfw3-dev \
sox \
libsox-dev \
libsox-fmt-all \
python3-pip \
python3-dev

# Cleanup package manager
apt-get autoclean && apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
}

# Install base packages depending on the base OS
ID=$(grep -oP '(?<=^ID=).+' /etc/os-release | tr -d '"')
case "$ID" in
ubuntu)
install_ubuntu
;;
*)
echo "Unable to determine OS..."
exit 1
;;
esac
21 changes: 21 additions & 0 deletions .ci/docker/common/install_docs_reqs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
# Based off of https://github.com/pytorch/pytorch/tree/b52e0bf131a4e55cd987176f9c5a8d2ad6783b4f/.ci/docker
set -ex

apt-get update
apt-get install -y gpg-agent

curl --retry 3 -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs

curl --retry 3 -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

apt-get update
apt-get install -y --no-install-recommends yarn
yarn global add katex --prefix /usr/local

sudo apt-get -y install doxygen

apt-get autoclean && apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
7 changes: 7 additions & 0 deletions .ci/docker/common/install_pip_requirements.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -ex

# Install pip packages
pip install --upgrade pip
pip install -r ./requirements.txt
26 changes: 26 additions & 0 deletions .ci/docker/common/install_user.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# Copied from https://github.com/pytorch/executorch/blob/6e431355a554e5f84c3a05dfa2b981ead90c2b48/.ci/docker/common/install_user.sh#L1

set -ex

# Same as ec2-user
echo "ci-user:x:1000:1000::/var/lib/ci-user:" >> /etc/passwd
echo "ci-user:x:1000:" >> /etc/group
# Needed on Focal or newer
echo "ci-user:*:19110:0:99999:7:::" >> /etc/shadow

# Create $HOME
mkdir -p /var/lib/ci-user
chown ci-user:ci-user /var/lib/ci-user

# Allow sudo
echo 'ci-user ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/ci-user

# Test that sudo works
sudo -u ci-user sudo -v
73 changes: 73 additions & 0 deletions .ci/docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# --extra-index-url https://download.pytorch.org/whl/cu117/index.html # Use this to run/publish tutorials against the latest binaries during the RC stage. Comment out after the release. Each release verify the correct cuda version.
# Refer to ./jenkins/build.sh for tutorial build instructions

sphinx==5.0.0
sphinx-gallery==0.11.1
sphinx_design
docutils==0.16
sphinx-copybutton
sphinx_sitemap==2.6.0
pypandoc==1.12
pandocfilters
markdown
tqdm==4.66.1
numpy==1.24.4
matplotlib
librosa
torch==2.6
torchvision
torchdata
networkx
PyHamcrest
bs4
awscliv2==2.1.1
flask
spacy==3.4.1
ray[tune]==2.7.2
tensorboard
jinja2==3.1.3
pytorch-lightning
torchx
torchrl==0.7.2
tensordict==0.7.2
ax-platform>=0.4.0
nbformat>=5.9.2
datasets
transformers
torchmultimodal-nightly # needs to be updated to stable as soon as it's avaialable
onnx
onnxscript
onnxruntime
evaluate
accelerate>=0.20.1

importlib-metadata==6.8.0

# PyTorch Theme
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme

ipython

sphinxcontrib.katex
# to run examples
boto3
pandas
requests
scikit-image
scipy==1.11.1
numba==0.57.1
pillow==10.2.0
wget
gym==0.26.2
gym-super-mario-bros==7.4.0
pyopengl
gymnasium[mujoco]==0.27.0
timm
iopath
pygame==2.6.0
pycocotools
semilearn==0.3.2
torchao==0.5.0
segment_anything==1.0
torchrec==1.0.0; platform_system == "Linux"
fbgemm-gpu==1.1.0; platform_system == "Linux"
1 change: 0 additions & 1 deletion .circleci/README.md

This file was deleted.

Loading