HKUDS / GraphGPT

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

Error in saving model after stage1 tuning #77

Open applekeyword opened 3 months ago

applekeyword commented 3 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 2 months ago

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