Skip to content

Commit bc45189

Browse files
authored
Merge branch 'main' into fix/broken-export-links-3712
2 parents b9b7ce9 + c15619d commit bc45189

15 files changed

Lines changed: 1424 additions & 16 deletions

.ci/docker/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ onnxscript>=0.2.2
4949
onnxruntime
5050
evaluate
5151
accelerate>=0.20.1
52+
git+https://github.com/facebookresearch/mosaic.git
53+
altair
54+
omegaconf
5255

5356
importlib-metadata==6.8.0
5457

.github/workflows/build-tutorials-nightly.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ name: Build tutorials (nightly/test)
1515
# download the binaries in .jenkins/build.sh.
1616
on:
1717
# Only main branch for now. Uncomment the below line to enable it on PRs.
18-
pull_request:
18+
# pull_request:
1919

2020
# Comment out the below line to disable on the main branch
21-
push:
22-
branches:
23-
- main
21+
# push:
22+
# branches:
23+
# - main
24+
workflow_dispatch:
2425

2526
concurrency:
2627
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
345 KB
Loading
164 KB
Loading
278 KB
Loading
140 KB
Loading
188 KB
Loading
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Finetuning Torchvision Models
22
=============================
33

4-
This tutorial has been moved to https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html
4+
This tutorial has been moved to https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html
55

66
It will redirect in 3 seconds.
77

88
.. raw:: html
99

10-
<meta http-equiv="Refresh" content="3; url='https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html'" />
10+
<meta http-equiv="Refresh" content="3; url='https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html'" />

beginner_source/introyt/modelsyt_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def forward(self, x):
144144
# We saw convolutional layers in action in LeNet5 in an earlier video:
145145
#
146146

147-
import torch.functional as F
147+
import torch.nn.functional as F
148148

149149

150150
class LeNet(torch.nn.Module):

0 commit comments

Comments
 (0)