InternLM / xtuner

An efficient, flexible and full-featured toolkit for fine-tuning LLM (InternLM2, Llama3, Phi3, Qwen, Mistral, ...)
https://xtuner.readthedocs.io/zh-cn/latest/
Apache License 2.0
3.97k stars 310 forks source link

使用 xtuner convert pth_to_hf 会加载模型2次导致显存炸了,怎么解决 #900

Open c-x-l-w opened 3 months ago

c-x-l-w commented 3 months ago

使用 xtuner convert pth_to_hf 会加载模型2次导致显存炸了,怎么解决