- git rm --cached 7 个 safetensors(5 个 8B 分片 + 0.6B + LoRA adapter) - .gitignore 增加 models/**/*.safetensors 与 *.bin - 保留 config/generation_config/tokenizer_config/special_tokens_map 等小文件(22 个,22 MB) - 本地权重不删,vLLM 仍从 models/ 加载
27 lines
511 B
Plaintext
27 lines
511 B
Plaintext
.venv/
|
|
__pycache__/
|
|
*.py[cod]
|
|
.pytest_cache/
|
|
.ruff_cache/
|
|
*.egg-info/
|
|
build/
|
|
dist/
|
|
config.local.yaml
|
|
.env
|
|
tmp/
|
|
*.log
|
|
|
|
# 本次改造前的插件备份
|
|
_bak_before_openai/
|
|
|
|
# models 目录内的分词器配置必须入库
|
|
!models/**/tokenizer_config.json
|
|
|
|
# ModelScope 上传缓存
|
|
.ms_upload_cache
|
|
|
|
# 模型权重不进仓库:LFS 配额 2 GiB,三个模型合计 17 GiB。
|
|
# 用 git lfs pull、从交付包拷贝,或按 docs/从零复现指南.md 第 2 步准备。
|
|
models/**/*.safetensors
|
|
models/**/*.bin
|