Skip to content

Commit

Permalink
fix(infini): 不实际发生分布式时不调用 infini-ccl
Browse files Browse the repository at this point in the history
Signed-off-by: YdrMaster <[email protected]>
  • Loading branch information
YdrMaster committed Jan 9, 2025
1 parent ae79579 commit 465aa13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ itertools = "0.13"
env_logger = "0.11"
build-script-cfg = "0.0"

operators = { git = "https://github.com/YdrMaster/operators-rs", rev = "807ea2b", default-features = false }
operators = { git = "https://github.com/YdrMaster/operators-rs", rev = "df027a4", default-features = false }

search-cl-tools = { git = "https://github.com/InfiniTensor/clrt", rev = "9b6289d" }
search-infini-tools = { git = "https://github.com/InfiniTensor/infini-rt", rev = "f40bcb5" }
Expand Down
2 changes: 1 addition & 1 deletion gguf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["YdrMaster <[email protected]>"]

[dependencies]
ggus.workspace = true
minijinja = { version = "2.5", default-features = false, features = ["loader"] }
minijinja = { version = "2.6", default-features = false, features = ["loader"] }
serde = { version = "1.0", features = ["derive"] }
tokeneer = "0.0"
memmap2 = "0.9"
Expand Down
2 changes: 1 addition & 1 deletion test-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl Inference {
prompt: var(PROMPT).unwrap_or_else(|_| String::from("Once upon a time,")),
as_user: var(AS_USER)
.ok()
.map_or(false, |s| match s.to_ascii_lowercase().as_str() {
.is_some_and(|s| match s.to_ascii_lowercase().as_str() {
"true" | "t" | "yes" | "y" | "1" => true,
"false" | "f" | "no" | "n" | "0" => false,
_ => panic!("`{AS_USER}` is not a boolean value"),
Expand Down

0 comments on commit 465aa13

Please sign in to comment.