Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 7d79f6e

Browse files
Merge pull request #329 from facebookresearch/pr/switch_aten
switch to revisionistic ATen
2 parents 67b5056 + 38eea75 commit 7d79f6e

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.gitmodules

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
path = third-party/halide
1212
url = https://github.com/halide/Halide.git
1313

14-
# Mainstream branches, we don't modify those
14+
# Temporary hack
1515
[submodule "third-party/caffe2"]
1616
path = third-party/caffe2
17-
url = https://github.com/caffe2/caffe2.git
17+
url = https://github.com/skimo-openhub/caffe2.git
18+
19+
# Mainstream branches, we don't modify those
1820
[submodule "third-party/gflags"]
1921
path = third-party/gflags
2022
url = https://github.com/gflags/gflags

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function install_aten() {
240240
if should_reconfigure .. .build_cache; then
241241
echo "Reconfiguring ATen"
242242
export PYTORCH_PYTHON=${PYTHON}
243-
${CMAKE_VERSION} .. -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} -DHAS_C11_ATOMICS=OFF -DNO_CUDA=${ATEN_NO_CUDA}
243+
${CMAKE_VERSION} ../aten -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} -DHAS_C11_ATOMICS=OFF -DNO_CUDA=${ATEN_NO_CUDA}
244244
fi
245245
make -j $CORES -s || exit 1
246246

third-party/ATen

Submodule ATen updated 701 files

third-party/caffe2

0 commit comments

Comments
 (0)