Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1288

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Update README.md #1288

wants to merge 3 commits into from

Conversation

ArtificialZeng
Copy link

太让人迷惑了

太让人迷惑立
改成真正能跑通的
多平台彻底解决 Default process group has not been initialized, please make sure to call init_process_group 问题。
issue里面有多个这个问题了。
@ArtificialZeng
Copy link
Author

train.sh 大部分人跑不通, 之前的commit又只能解决单一系统问题。 我的commit可以在多个系统无错运行

@w-tz
Copy link

w-tz commented Jul 14, 2023

train.sh 大部分人跑不通, 之前的commit又只能解决单一系统问题。 我的commit可以在多个系统无错运行

是ptuning的train.sh吗,我运行时遇到了这个问题:
Traceback (most recent call last):
File "/home/tricorder/wtz/ChatGLM-6B/ptuning/main.py", line 430, in
main()
File "/home/tricorder/wtz/ChatGLM-6B/ptuning/main.py", line 368, in main
model.enable_input_require_grads()
File "/home/tricorder/yang/anaconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'ChatGLMForConditionalGeneration' object has no attribute 'enable_input_require_grads'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants