Revert "[https://nvbugs/5517023][fix] Pass allreduce strategy and force NCCL on pre-Blackwell arch" - #7810
Conversation
…ce NCCL …" This reverts commit 88fe78e.
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughRemoved dynamic AllReduce strategy selection and related imports. AllReduce is now initialized solely with mapping=model_config.mapping in Llama model code. The conditional path based on SM version was deleted, along with references to AllReduceStrategy. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor App as Llama Decoder Layer
participant Util as get_sm_version()
participant Dist as AllReduce
rect rgba(230,230,255,0.4)
note over App,Dist: Previous flow (removed)
App->>Util: Query SM version
Util-->>App: SM version
App->>App: Choose AllReduce strategy (e.g., NCCL vs others)
App->>Dist: AllReduce(strategy=..., mapping=...)
Dist-->>App: Instance
end
sequenceDiagram
autonumber
actor App as Llama Decoder Layer
participant Dist as AllReduce
rect rgba(230,255,230,0.4)
note over App,Dist: New flow
App->>Dist: AllReduce(mapping=...)
Dist-->>App: Instance
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes ✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reverts #7768
Summary by CodeRabbit
Refactor
Chores