[Bug]: 基于Paddle 3.0.0b1 使用PaddleNLP,执行llama 7B 报错,AttributeError: module 'paddle.base.libpaddle.eager.ops.legacy' has no attribute 'c_identity'. Did you mean: 'npu_identity'? #9211
Labels
bug
Something isn't working
软件环境
重复问题
错误描述
稳定复现步骤 & 代码
bash run_dist.sh
{
"model_name_or_path": "facebook/llama-7b",
"tokenizer_name_or_path": "facebook/llama-7b",
"input_dir": "/workspace",
"output_dir": "/root/llama-7b",
"per_device_train_batch_size": 2,
"gradient_accumulation_steps": 256,
"per_device_eval_batch_size": 64,
"tensor_parallel_degree": 2,
"pipeline_parallel_degree": 2,
"pipeline_parallel_config": "disable_partial_send_recv",
"sharding_parallel_degree": -1,
"virtual_pp_degree": 1,
"sharding": "stage1",
"sequence_parallel": 1,
"adam_beta1": 0.9,
"adam_beta2": 0.95,
"use_flash_attention": true,
"use_fused_rms_norm": true,
"use_fused_rope": true,
"max_seq_length": 2048,
"learning_rate": 1e-04,
"initializer_range": 0.002,
"min_learning_rate": 1e-05,
"warmup_steps": 2000,
"logging_steps": 1,
"max_steps": 200000,
"save_steps": 200000,
"eval_steps": 2000,
"weight_decay": 0.1,
"max_grad_norm": 1.0,
"amp_master_grad": 1,
"fp16": true,
"fp16_opt_level": "O2",
"dataloader_num_workers": 1,
"continue_training": 0,
"do_train": true,
"do_eval": true,
"do_predict": true,
"disable_tqdm": true,
"recompute": false,
"distributed_dataloader": 0,
"recompute_granularity": "full",
"save_total_limit": 2,
"eval_accumulation_steps": 16
}
The text was updated successfully, but these errors were encountered: