69b37ced07
- 将项目拆分为三个 crate:minicpm-core(核心模型)、minicpm-convert(转换功能)、minicpm-inference(推理功能) - 添加两个示例:minimal-inference(最小推理)和 convert(模型转换) - 转换后自动拷贝 config.json 和 tokenizer.json 到 model 目录 - 更新 README 说明 workspace 结构和使用方式
11 lines
235 B
TOML
11 lines
235 B
TOML
[package]
|
|
name = "minicpm-inference"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
minicpm-core = { path = "../minicpm-core" }
|
|
burn = { version = "0.21", features = ["std", "wgpu"] }
|
|
tokenizers = "0.20"
|
|
rand = "0.8"
|
|
anyhow = "1.0" |