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
Summary:
This patch makes reduce as a custom op such that it's dispatcher
passable. It's one part of the effort to route comm ops to the dispatcher
such that tracing mechanisms that relies on the dispatcher can trace them,
e.g., LazyTensor and AOTAutograd.
Test Plan:
python test/distributed/test_c10d_nccl.py -k test_reduce_ops
python test/distributed/test_c10d_gloo.py -k test_reduce_basics
...and other existing distributed tests.
[ghstack-poisoned]
Copy file name to clipboardExpand all lines: .circleci/docker/common/install_base.sh
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,22 @@ install_ubuntu() {
15
15
elif [[ "$UBUNTU_VERSION"=="20.04"* ]];then
16
16
cmake3="cmake=3.16*"
17
17
maybe_libiomp_dev=""
18
+
elif [[ "$UBUNTU_VERSION"=="22.04"* ]];then
19
+
cmake3="cmake=3.22*"
20
+
maybe_libiomp_dev=""
18
21
else
19
22
cmake3="cmake=3.5*"
20
23
maybe_libiomp_dev="libiomp-dev"
21
24
fi
22
25
26
+
if [[ "$CLANG_VERSION"== 12 ]];then
27
+
maybe_libomp_dev="libomp-12-dev"
28
+
elif [[ "$CLANG_VERSION"== 10 ]];then
29
+
maybe_libomp_dev="libomp-10-dev"
30
+
else
31
+
maybe_libomp_dev=""
32
+
fi
33
+
23
34
# TODO: Remove this once nvidia package repos are back online
24
35
# Comment out nvidia repositories to prevent them from getting apt-get updated, see https://github.com/pytorch/pytorch/issues/74968
0 commit comments