{"id":17344135,"url":"https://github.com/typhoonzero/nccl_rdma_demo","last_synced_at":"2025-03-27T09:44:32.995Z","repository":{"id":99429689,"uuid":"130997418","full_name":"typhoonzero/nccl_rdma_demo","owner":"typhoonzero","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-28T03:29:34.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T14:45:14.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typhoonzero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-25T11:38:45.000Z","updated_at":"2018-04-28T03:29:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"656826ac-ec7b-41ae-a3b7-cddf3b10a60c","html_url":"https://github.com/typhoonzero/nccl_rdma_demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typhoonzero%2Fnccl_rdma_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typhoonzero%2Fnccl_rdma_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typhoonzero%2Fnccl_rdma_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typhoonzero%2Fnccl_rdma_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typhoonzero","download_url":"https://codeload.github.com/typhoonzero/nccl_rdma_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245822327,"owners_count":20678165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T16:24:09.703Z","updated_at":"2025-03-27T09:44:32.962Z","avatar_url":"https://github.com/typhoonzero.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NCCL multi node communication demo\n\nSome demo code to show how to use NCCL2 to do AllReduce on multiple nodes.\n\n# Build\n\nTo build, you **must** install CUDA and NCCL before start to build:\n\n```bash\ngit clone https://github.com/typhoonzero/nccl_rdma_demo.git\ncd nccl_rdma_demo\nmake\n```\n\n# Run\n\nWe use [Redis](https://redis.io) to broadcast NCCL unique id, so start a redis\ninstance before you start, if you have docker, just run:\n\n```bash\ndocker run -d --name myredis -p 6379:6379 redis\n```\n\nRun `./demo` to get help message.\n\n```\nUsage: demo [redisip:port] [node count] [node id]\n```\n\nAssume you have 2 nodes, each node have 4 GPUs, then you can run the demo like below:\n\n* On node 1: `./demo [redis ip]:6379 2 0`\n* On node 2: `./demo [redis ip]:6379 2 1`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyphoonzero%2Fnccl_rdma_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyphoonzero%2Fnccl_rdma_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyphoonzero%2Fnccl_rdma_demo/lists"}