Giter Club home page Giter Club logo

Comments (10)

hiyouga avatar hiyouga commented on May 10, 2024

模型版本过旧,请更新本地模型文件。
https://github.com/hiyouga/ChatGLM-Efficient-Tuning/wiki/常见报错信息汇总

from chatglm-efficient-tuning.

LebronJames0423 avatar LebronJames0423 commented on May 10, 2024

好的,但我是刚刚拉的新工程啊,模型好像是最新的,怎么更新模型文件呢?我是拉的远程的代码AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True)

from chatglm-efficient-tuning.

hiyouga avatar hiyouga commented on May 10, 2024

好的,但我是刚刚拉的新工程啊,模型好像是最新的,怎么更新模型文件呢?我是拉的远程的代码AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True)

麻烦截取一下完整的报错信息。

from chatglm-efficient-tuning.

LebronJames0423 avatar LebronJames0423 commented on May 10, 2024

image
image

from chatglm-efficient-tuning.

LebronJames0423 avatar LebronJames0423 commented on May 10, 2024

加了ignore_mismatched_sizes=True这个之后
image

image

from chatglm-efficient-tuning.

hiyouga avatar hiyouga commented on May 10, 2024

加了ignore_mismatched_sizes=True这个之后

我不太明白 fine_tuning_chatglm6b.py 的逻辑,这属于该项目框架外的内容。

from chatglm-efficient-tuning.

LebronJames0423 avatar LebronJames0423 commented on May 10, 2024

哦这个是另一个问题,我给看错了,不好意思。请问下这里的多GPU分布式环境如何设置可以提供一个例子吗?之前没用过accelerate,我是准备在同一台机器上用多个GPU来跑,谢谢
image

from chatglm-efficient-tuning.

hiyouga avatar hiyouga commented on May 10, 2024

哦这个是另一个问题,我给看错了,不好意思。请问下这里的多GPU分布式环境如何设置可以提供一个例子吗?之前没用过accelerate,我是准备在同一台机器上用多个GPU来跑,谢谢

增加了一个案例教程:https://github.com/hiyouga/ChatGLM-Efficient-Tuning/blob/main/examples/ads_generation.md

from chatglm-efficient-tuning.

LebronJames0423 avatar LebronJames0423 commented on May 10, 2024

好的谢谢

from chatglm-efficient-tuning.

yudonggithub avatar yudonggithub commented on May 10, 2024

我也是,模型加载部分后,就报错
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: -9) local_rank: 1 (pid: 59241) of binary: /root/anaconda3/envs/chatglm/bin/python
Traceback (most recent call last):
File "/root/anaconda3/envs/chatglm/bin/accelerate", line 8, in
sys.exit(main())
File "/root/anaconda3/envs/chatglm/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 45, in main
args.func(args)
File "/root/anaconda3/envs/chatglm/lib/python3.10/site-packages/accelerate/commands/launch.py", line 970, in launch_command
multi_gpu_launcher(args)
File "/root/anaconda3/envs/chatglm/lib/python3.10/site-packages/accelerate/commands/launch.py", line 646, in multi_gpu_launcher
distrib_run.run(args)
File "/root/anaconda3/envs/chatglm/lib/python3.10/site-packages/torch/distributed/run.py", line 785, in run
elastic_launch(
File "/root/anaconda3/envs/chatglm/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/root/anaconda3/envs/chatglm/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:

from chatglm-efficient-tuning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.