feat(crates): 升级 minicpm crates 版本到 0.1.1 并调整依赖

This commit is contained in:
2026-07-01 16:23:03 +08:00
parent ccf362aa8a
commit 18a5ca103c
5 changed files with 18 additions and 11 deletions
+7
View File
@@ -7,3 +7,10 @@
- `minicpm-core@0.1.0` 已存在于 registry,跳过发布
- `minicpm-convert@0.1.0` 发布成功
- `minicpm-inference@0.1.0` 发布成功
## burn 最小依赖 + 重发布 (0.1.1)
- burn 改为 `default-features = false, features = ["std"]`,移除 `wgpu`wgpu 交给下游 binary 选择)
- 三个 crate 版本升级到 0.1.1convert/inference 的 minicpm-core 依赖也更新到 0.1.1
- 发布顺序:`cargo publish --allow-dirty --registry gitea -p minicpm-core``minicpm-convert``minicpm-inference`
- 全部发布成功
Generated
+3 -3
View File
@@ -3960,7 +3960,7 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
[[package]]
name = "minicpm-convert"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"anyhow",
"burn",
@@ -3971,7 +3971,7 @@ dependencies = [
[[package]]
name = "minicpm-core"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"anyhow",
"burn",
@@ -3981,7 +3981,7 @@ dependencies = [
[[package]]
name = "minicpm-inference"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"anyhow",
"burn",
+3 -3
View File
@@ -1,12 +1,12 @@
[package]
name = "minicpm-convert"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
publish = ["gitea"]
[dependencies]
minicpm-core = { path = "../minicpm-core", version = "0.1.0", registry = "gitea" }
burn = { version = "0.21", features = ["std", "wgpu"] }
minicpm-core = { path = "../minicpm-core", version = "0.1.1", registry = "gitea" }
burn = { version = "0.21", default-features = false, features = ["std"] }
memmap2 = "0.9"
anyhow = "1.0"
serde_json = "1.0"
+2 -2
View File
@@ -1,11 +1,11 @@
[package]
name = "minicpm-core"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
publish = ["gitea"]
[dependencies]
burn = { version = "0.21", features = ["std", "wgpu"] }
burn = { version = "0.21", default-features = false, features = ["std"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = "1.0"
+3 -3
View File
@@ -1,12 +1,12 @@
[package]
name = "minicpm-inference"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
publish = ["gitea"]
[dependencies]
minicpm-core = { path = "../minicpm-core", version = "0.1.0", registry = "gitea" }
burn = { version = "0.21", features = ["std", "wgpu"] }
minicpm-core = { path = "../minicpm-core", version = "0.1.1", registry = "gitea" }
burn = { version = "0.21", default-features = false, features = ["std"] }
tokenizers = "0.20"
rand = "0.8"
anyhow = "1.0"