Skip to content

Commit

Permalink
Add sm 90 for hugectr (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaQiaoCh authored and jperez999 committed Apr 26, 2023
1 parent 94c038b commit a51efde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docker/dockerfile.ctr
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ RUN if [[ "${HUGECTR_DEV_MODE}" == "false" ]]; then \
LD_LIBRARY_PATH=/usr/local/cuda/lib64/stubs/:$LD_LIBRARY_PATH && \
export PATH=$PATH:/usr/local/cuda-${CUDA_SHORT_VERSION}/compat && \
if [[ "${INSTALL_HDFS}" == "false" ]]; then \
cmake -DCMAKE_BUILD_TYPE=Release -DSM="60;61;70;75;80" -DENABLE_MULTINODES=ON .. \
cmake -DCMAKE_BUILD_TYPE=Release -DSM="60;61;70;75;80;90" -DENABLE_MULTINODES=ON .. \
; else \
cmake -DCMAKE_BUILD_TYPE=Release -DSM="60;61;70;75;80" -DENABLE_MULTINODES=ON -DENABLE_HDFS=ON .. \
cmake -DCMAKE_BUILD_TYPE=Release -DSM="60;61;70;75;80;90" -DENABLE_MULTINODES=ON -DENABLE_HDFS=ON .. \
; fi && \
make -j$(nproc) && \
make install && \
Expand Down
6 changes: 3 additions & 3 deletions docker/dockerfile.merlin
Original file line number Diff line number Diff line change
Expand Up @@ -379,17 +379,17 @@ RUN if [ "${HUGECTR_DEV_MODE}" == "false" ]; then \
mkdir build && \
cd build && \
if [[ "${INSTALL_HDFS}" == "false" ]]; then \
cmake -DCMAKE_BUILD_TYPE=Release -DSM="70;75;80" -DENABLE_INFERENCE=ON .. \
cmake -DCMAKE_BUILD_TYPE=Release -DSM="70;75;80;90" -DENABLE_INFERENCE=ON .. \
; else \
cmake -DCMAKE_BUILD_TYPE=Release -DSM="70;75;80" -DENABLE_INFERENCE=ON -DENABLE_HDFS=ON .. \
cmake -DCMAKE_BUILD_TYPE=Release -DSM="70;75;80;90" -DENABLE_INFERENCE=ON -DENABLE_HDFS=ON .. \
; fi && \
make -j$(nproc) && \
make install && \
# Install HPS trt pugin
cd ../hps_trt && \
mkdir build && \
cd build && \
cmake -DSM="70;75;80" .. && \
cmake -DSM="70;75;80;90" .. && \
make -j$(nproc) && \
make install && \
cd / && rm -rf /hugectr && \
Expand Down

0 comments on commit a51efde

Please sign in to comment.