HKUDS / GraphGPT

[SIGIR'2024] "GraphGPT: Graph Instruction Tuning for Large Language Models"
https://arxiv.org/abs/2310.13023
Apache License 2.0
630 stars 59 forks source link

Error in saving model after stage1 tuning #77

Open applekeyword opened 4 months ago

applekeyword commented 4 months ago

After stage1 tuning, use safe_save_model_for_hf_trainer to save model params, but with “AttributeError: 'Trainer' object has no attribute 'deepspeed'” error when fixing this, meet same probs: "AttributeError: 'Trainer' object has no attribute 'deepspeed'" and "AttributeError: 'Trainer' object has no attribute '_save'"

msy0513 commented 3 months ago

How to resolve “AttributeError: 'Trainer' object has no attribute 'deepspeed'” error?