Skip to content

Fix test to run without NCCL - #3735

Merged
mergify[bot] merged 1 commit into
cupy:masterfrom
kmaehashi:fix-nccl-test
Aug 11, 2020
Merged

mergify[bot] merged 1 commit into
cupy:masterfrom
kmaehashi:fix-nccl-test

Conversation

@kmaehashi

@kmaehashi kmaehashi commented Aug 6, 2020 •

Copy link
Copy Markdown
Member

Ref #3567.
Also removed cuda.nccl.get_version() >= 2000 constraints as we no longer support NCCL 1.x.

@kmaehashi kmaehashi added the cat:test Test code / CI label Aug 6, 2020
@kmaehashi

Copy link
Copy Markdown
Member Author

pfnCI, test this please.

@pfn-ci-bot

Copy link
Copy Markdown
Collaborator

Successfully created a job for commit a44832b:

@kmaehashi kmaehashi added this to the v8.0.0rc1 milestone Aug 6, 2020
@leofang

leofang commented Aug 6, 2020 •

Copy link
Copy Markdown
Member

Do we need this? I thought if nccl is not found at build time, the version is set to 1.0.0.

cupy/cupy/cuda/cupy_nccl.h

Lines 135 to 139 in 97573d7

#ifndef NCCL_MAJOR
#define NCCL_MAJOR 1
#define NCCL_MINOR 0
#define NCCL_PATCH 0
#endif

@chainer-ci

Copy link
Copy Markdown
Member

Jenkins CI test (for commit a44832b, target branch master) succeeded!

@kmaehashi

Copy link
Copy Markdown
Member Author

@leofang cupy_setup_build.py checks if the shared libraries are available, and when unavailable cupy_backends.cuda.libs.xxx will not be built.

@leofang

leofang commented Aug 6, 2020

Copy link
Copy Markdown
Member

Ah OK, thanks!

@takagi

takagi commented Aug 8, 2020

Copy link
Copy Markdown
Contributor

pfnCI, test this please.

@pfn-ci-bot

Copy link
Copy Markdown
Collaborator

Successfully created a job for commit a44832b:

@takagi takagi added the st:test-and-merge (deprecated) Ready to merge after test pass. label Aug 8, 2020
@takagi

takagi commented Aug 8, 2020

Copy link
Copy Markdown
Contributor

LGTM!

@leofang

leofang commented Aug 9, 2020

Copy link
Copy Markdown
Member

Jenkins, test this please.

@pfn-ci-bot

Copy link
Copy Markdown
Collaborator

Successfully created a job for commit a44832b:

@chainer-ci

Copy link
Copy Markdown
Member

Jenkins CI test (for commit a44832b, target branch master) failed with status FAILURE.

@coderforlife

Copy link
Copy Markdown
Contributor

Test failures should hopefully be fixed with #3750.

@kmaehashi

Copy link
Copy Markdown
Member Author

pfnCI, test this please.

@pfn-ci-bot

Copy link
Copy Markdown
Collaborator

Successfully created a job for commit a44832b:

@chainer-ci

Copy link
Copy Markdown
Member

Jenkins CI test (for commit a44832b, target branch master) failed with status FAILURE.

@takagi

takagi commented Aug 11, 2020

Copy link
Copy Markdown
Contributor

pfnCI, test this please.

@pfn-ci-bot

Copy link
Copy Markdown
Collaborator

Successfully created a job for commit a44832b:

@chainer-ci

Copy link
Copy Markdown
Member

Jenkins CI test (for commit a44832b, target branch master) succeeded!

@mergify
mergify Bot merged commit 9e97cdd into cupy:master Aug 11, 2020
@kmaehashi
kmaehashi deleted the fix-nccl-test branch August 11, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:test Test code / CI st:test-and-merge (deprecated) Ready to merge after test pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants