Skip to content

Commit

Permalink
Update web-rwkv to v0.6.21
Browse files Browse the repository at this point in the history
  • Loading branch information
cryscan committed Feb 25, 2024
1 parent f45b04a commit 59f0028
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rust-version = "1.75"
name = "converter"

[dependencies]
web-rwkv = "0.6.20"
web-rwkv = "0.6.21"
# web-rwkv = { git = "https://github.com/cryscan/web-rwkv", tag = "v0.6.5" }
web-rwkv-converter = "0.1.1"
tower = { version = "0.4.13", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ async fn model_route(receiver: Receiver<ThreadRequest>) -> Result<()> {
let file = File::open(&request.model_path)?;
let data = unsafe { Mmap::map(&file)? };
let model = SafeTensors::deserialize(&data)?;
let info = Loader::info(&model).await?;
let info = Loader::info(&model)?;
log::info!("{:#?}", info);

let context = create_context(request.adapter, &info).await?;
Expand Down

0 comments on commit 59f0028

Please sign in to comment.