Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
1.1.1.tar.gz | 2023-09-08 | 5.5 MB | |
1.1.1.zip | 2023-09-08 | 5.6 MB | |
README.md | 2023-09-08 | 569 Bytes | |
Totals: 3 Items | 11.2 MB | 0 |
v1.1.1版本
- 支持多卡推理,推理速度加倍,调库textgen做batch推理,多卡推理更方便、快速。
多卡数据并行,batch推理:
cd examples/gpt
CUDA_VISIBLE_DEVICES=0,1 torchrun --nproc_per_node 2 inference_multigpu_demo.py --model_type chatglm --base_model THUDM/chatglm-6b
- 优化ChatGLM-6B/Baichuan/LLaMA2/BLOOM的多轮对话SFT代码,逻辑合并到textgen/gpt下,统一处理多模型微调,加入prompt模板支持。
Full Changelog: https://github.com/shibing624/textgen/compare/1.1.0...1.1.1