Skip to content

Commit 89b29d3

Browse files
author
Vincent Moens
committed
[CI] Fix docs
ghstack-source-id: 803dfa1 Pull-Request-resolved: #1298
1 parent ac882f9 commit 89b29d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
script: |
3838
set -e
3939
set -v
40-
apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils cmake
40+
apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils
4141
root_dir="$(pwd)"
4242
conda_dir="${root_dir}/conda"
4343
env_dir="${root_dir}/env"
@@ -55,6 +55,7 @@ jobs:
5555
5656
# 2. upgrade pip, ninja and packaging
5757
apt-get install python3-pip unzip -y -f
58+
conda install anaconda::cmake -y
5859
python3 -m pip install --upgrade pip
5960
python3 -m pip install setuptools ninja packaging "pybind11[global]" -U
6061

tutorials/sphinx_tuto/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107

108108
from torch.export import export
109109

110-
model_export = export(model, args=(), kwargs={"x": x})
110+
model_export = export(model, args=(), kwargs={"x": x}, strict=True)
111111

112112
##################################################
113113
# Let us look at the module:

0 commit comments

Comments
 (0)