Skip to content

Commit f6d6a5c

Browse files
committed
docs(toolchain): modify and add comments for libtorch
1 parent 288bc62 commit f6d6a5c

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

toolchain/toolchain_aocc-aocl.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ WITH_LIBRI="install"
4040
WITH_LIBCOMM="install"
4141

4242
# Optional Features (MLALGO support)
43-
WITH_LIBTORCH="no" # Set to "install" for DeepKS support
44-
WITH_LIBNPY="no" # Set to "install" for DeepKS support
43+
WITH_LIBTORCH="no"
44+
WITH_LIBNPY="no"
4545
WITH_NEP="no"
4646

4747
# AMD Compiler Options
@@ -73,6 +73,7 @@ ELPA_VERSION="main" # main=2025.06.001, alt=2024.05.001
7373
LIBXC_VERSION="main" # main=7.0.0, alt=6.2.2
7474
# Optional Libraries
7575
LIBTORCH_VERSION="main" # main=2.1.2, alt=1.12.1 (use alt for older GLIBC)
76+
# Note: main(2.1.2) version of LibTorch need glibc > 2.27
7677
# Note: alt(1.12.1) version of LibTorch cannot support DeePMD-Torch for DPA
7778

7879
# Note: AOCC-AOCL toolchain uses AOCL for math libraries (FFTW, ScaLAPACK)

toolchain/toolchain_gcc-aocl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ ELPA_VERSION="main" # main=2025.06.001, alt=2024.05.001
7070
LIBXC_VERSION="main" # main=7.0.0, alt=6.2.2
7171
# Optional Libraries
7272
LIBTORCH_VERSION="main" # main=2.1.2, alt=1.12.1 (use alt for older GLIBC)
73+
# Note: main(2.1.2) version of LibTorch need glibc > 2.27
7374
# Note: alt(1.12.1) version of LibTorch cannot support DeePMD-Torch for DPA
7475

7576
# Note: GCC-AOCL toolchain uses AOCL for math libraries (FFTW, ScaLAPACK)

toolchain/toolchain_gnu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ LIBXC_VERSION="main" # main=7.0.0, alt=6.2.2
7272
SCALAPACK_VERSION="main" # main=2.2.2, alt=2.2.1
7373
# Optional Libraries
7474
LIBTORCH_VERSION="main" # main=2.1.2, alt=1.12.1 (use alt for older GLIBC)
75+
# Note: main(2.1.2) version of LibTorch need glibc > 2.27
7576
# Note: alt(1.12.1) version of LibTorch cannot support DeePMD-Torch for DPA
7677

7778
# ============================================================================

toolchain/toolchain_intel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ ELPA_VERSION="alt" # main=2025.06.001, alt=2024.05.001 for intel oneapi<
8989
LIBXC_VERSION="main" # main=7.0.0, alt=6.2.2
9090
# Optional Libraries
9191
LIBTORCH_VERSION="main" # main=2.1.2, alt=1.12.1 (use alt for older GLIBC)
92+
# Note: main(2.1.2) version of LibTorch need glibc > 2.27
9293
# Note: alt(1.12.1) version of LibTorch cannot support DeePMD-Torch for DPA
9394

9495
# Note: Intel toolchain uses MKL for math libraries (FFTW, ScaLAPACK)

0 commit comments

Comments
 (0)