Comments (4)
多谢
解决了,问了华为技术人员,npu-smi 23.rc 系列的驱动不能用CANN version: 8.0.的,
升级到npu-smi 24.1.rc1 是可以配套CANN version: 8.0.RC的,
此时,你们提供的那个NPU镜像里,基础镜像需要对应改为 FROM cosdt/cann:8.0.rc1-910-openeuler22.03
就配套NPU驱动了
from llama-factory.
06/28/2024 13:24:49 - INFO - llamafactory.model.model_utils.checkpointing - Gradient checkpointing enabled.
06/28/2024 13:24:49 - INFO - llamafactory.model.model_utils.attention - Using vanilla attention implementation.
06/28/2024 13:24:49 - INFO - llamafactory.model.adapter - Upcasting trainable params to float32.
06/28/2024 13:24:49 - INFO - llamafactory.model.adapter - Fine-tuning method: LoRA
06/28/2024 13:24:49 - INFO - llamafactory.model.model_utils.misc - Found linear modules: o_proj,v_proj,down_proj,up_proj,q_proj,k_proj,gate_proj
Traceback (most recent call last):
File "/usr/local/bin/llamafactory-cli", line 8, in
sys.exit(main())
File "/LLaMA-Factory/src/llamafactory/cli.py", line 111, in main
run_exp()
File "/LLaMA-Factory/src/llamafactory/train/tuner.py", line 50, in run_exp
run_sft(model_args, data_args, training_args, finetuning_args, generating_args, callbacks)
File "/LLaMA-Factory/src/llamafactory/train/sft/workflow.py", line 49, in run_sft
model = load_model(tokenizer, model_args, finetuning_args, training_args.do_train)
File "/LLaMA-Factory/src/llamafactory/model/loader.py", line 161, in load_model
model = init_adapter(config, model, model_args, finetuning_args, is_trainable)
File "/LLaMA-Factory/src/llamafactory/model/adapter.py", line 310, in init_adapter
model = _setup_lora_tuning(
File "/LLaMA-Factory/src/llamafactory/model/adapter.py", line 265, in _setup_lora_tuning
param.data = param.data.to(torch.float32)
RuntimeError: call aclnnCast failed, detail:EZ9999: Inner Error!
EZ9999: 2024-06-28-13:24:50.334.697 Parse dynamic kernel config fail.
TraceBack (most recent call last):
AclOpKernelInit failed opType
Op Cast does not has any binary.
Kernel Run failed. opType: 3, Cast
launch failed for Cast, errno:561000.
from llama-factory.
请问你用的哪个镜像,这个问题应该是少算子包
from llama-factory.
麻烦提供下镜像信息,感谢
from llama-factory.
Related Issues (20)
- ppo 训练 HOT 1
- `main_process_ip` 和 `main_process_port` 未配置,重新运行 accelerate config HOT 1
- [Bug] npu断点续训可能存在问题
- 如何set up max input length? HOT 1
- 奖励模型部署完成,调用成功,但返回值顺序是倒着的,更像是loss值
- reward model 全参训练过程结束后模型保存出现问题
- 关于ppo部分训练流程问题
- 自定义多轮对话数据集,只学习最后一轮对话 HOT 1
- QLora + FSDP multi-node training
- How to avoid using bf16 due to a old but fixed coda, for dpo and sft.
- llama3.1 70B OOM for qlora+fsdp sft. HOT 1
- Qwen2-72B-Instruct-GPTQ-Int4量化模型Lora微调后,无法合并导出模型-Cannot merge adapters to a quantized model.
- 利用 vLLM 部署 OpenAI API是否可以支持vllm的LoRA Adapters
- 运行qwen-1.5-72B报错 HOT 1
- 预训练效率极低 HOT 1
- Lora SFT过程和Inference过程中设定的eval_dataset相同,为什么两者的evla_runtime相差特别多(Inference过程中需要的时间更久 HOT 1
- ...
- 使用命令行推理时,怎样设置 share=True ? HOT 2
- glm4-9b-chat predict和推理报错 HOT 1
- sft训练为什么要拼接label呢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llama-factory.