Skip to content

Commit

Permalink
refactor(distributed): 重写分布式推理
Browse files Browse the repository at this point in the history
Signed-off-by: YdrMaster <[email protected]>
  • Loading branch information
YdrMaster committed Apr 26, 2024
1 parent 36a72df commit 3e69ec6
Show file tree
Hide file tree
Showing 7 changed files with 443 additions and 301 deletions.
4 changes: 3 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ resolver = "2"
[workspace.dependencies]
half = "2.4"
rayon = "1.9"
itertools = "0.12"
serde = "1.0"
serde_json = "1.0"
log = "0.4"
Expand Down
2 changes: 2 additions & 0 deletions nvidia/distributed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ authors = ["YdrMaster <[email protected]>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
causal-lm = { path = "../../causal-lm" }
transformer = { path = "../../transformer" }
common-nv = { path = "../common" }
nccl.workspace = true
log.workspace = true
half.workspace = true
itertools.workspace = true

[dev-dependencies]
simple_logger = "4.3"
Expand Down
Loading

0 comments on commit 3e69ec6

Please sign in to comment.