Skip to content

Commit a51efde

Browse files
EmmaQiaoChjperez999
authored andcommitted
Add sm 90 for hugectr (#907)
1 parent 94c038b commit a51efde

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docker/dockerfile.ctr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ RUN if [[ "${HUGECTR_DEV_MODE}" == "false" ]]; then \
7676
LD_LIBRARY_PATH=/usr/local/cuda/lib64/stubs/:$LD_LIBRARY_PATH && \
7777
export PATH=$PATH:/usr/local/cuda-${CUDA_SHORT_VERSION}/compat && \
7878
if [[ "${INSTALL_HDFS}" == "false" ]]; then \
79-
cmake -DCMAKE_BUILD_TYPE=Release -DSM="60;61;70;75;80" -DENABLE_MULTINODES=ON .. \
79+
cmake -DCMAKE_BUILD_TYPE=Release -DSM="60;61;70;75;80;90" -DENABLE_MULTINODES=ON .. \
8080
; else \
81-
cmake -DCMAKE_BUILD_TYPE=Release -DSM="60;61;70;75;80" -DENABLE_MULTINODES=ON -DENABLE_HDFS=ON .. \
81+
cmake -DCMAKE_BUILD_TYPE=Release -DSM="60;61;70;75;80;90" -DENABLE_MULTINODES=ON -DENABLE_HDFS=ON .. \
8282
; fi && \
8383
make -j$(nproc) && \
8484
make install && \

docker/dockerfile.merlin

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,17 +379,17 @@ RUN if [ "${HUGECTR_DEV_MODE}" == "false" ]; then \
379379
mkdir build && \
380380
cd build && \
381381
if [[ "${INSTALL_HDFS}" == "false" ]]; then \
382-
cmake -DCMAKE_BUILD_TYPE=Release -DSM="70;75;80" -DENABLE_INFERENCE=ON .. \
382+
cmake -DCMAKE_BUILD_TYPE=Release -DSM="70;75;80;90" -DENABLE_INFERENCE=ON .. \
383383
; else \
384-
cmake -DCMAKE_BUILD_TYPE=Release -DSM="70;75;80" -DENABLE_INFERENCE=ON -DENABLE_HDFS=ON .. \
384+
cmake -DCMAKE_BUILD_TYPE=Release -DSM="70;75;80;90" -DENABLE_INFERENCE=ON -DENABLE_HDFS=ON .. \
385385
; fi && \
386386
make -j$(nproc) && \
387387
make install && \
388388
# Install HPS trt pugin
389389
cd ../hps_trt && \
390390
mkdir build && \
391391
cd build && \
392-
cmake -DSM="70;75;80" .. && \
392+
cmake -DSM="70;75;80;90" .. && \
393393
make -j$(nproc) && \
394394
make install && \
395395
cd / && rm -rf /hugectr && \

0 commit comments

Comments
 (0)