Skip to content

Commit

Permalink
Newer nccl.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Oct 31, 2024
1 parent c1698b1 commit ae0d938
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/ci_build/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ RUN set -ex; \
chmod +x /usr/local/bin/gosu && \
gosu nobody true

RUN \
apt upgrade libnccl2 -y --allow-change-held-packages

# Default entry-point to use if running locally
# It will preserve attributes of created files
COPY entrypoint.sh /scripts/
Expand Down
4 changes: 2 additions & 2 deletions tests/cpp/collective/test_allreduce.cu
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ TEST_F(MGPUAllreduceTest, Timeout) {
auto rc = w->NoCheck();
if (r == 1) {
auto rep = rc.Report();
ASSERT_NE(rep.find("nccl timeout."), std::string::npos) << rep;
ASSERT_NE(rep.find("NCCL timeout."), std::string::npos) << rep;
}

w.reset();
Expand All @@ -128,7 +128,7 @@ TEST_F(MGPUAllreduceTest, Timeout) {
// Only one of the workers is doing allreduce.
if (r == 0) {
auto rc = w->NoCheck();
ASSERT_NE(rc.Report().find("nccl timeout."), std::string::npos);
ASSERT_NE(rc.Report().find("NCCL timeout."), std::string::npos);
}

w.reset();
Expand Down

0 comments on commit ae0d938

Please sign in to comment.