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

运行 examples/full_multi_gpu/single_node.sh 出现传参错误 the following arguments are required: --model_name_or_path, --output_dir #3602

Closed
1 task done
Cescfangs opened this issue May 7, 2024 · 2 comments
Labels
solved This problem has been already solved

Comments

@Cescfangs
Copy link

Reminder

  • I have read the README and searched the existing issues.

Reproduction

./examples/full_multi_gpu/single_node.sh

Expected behavior

成功运行

System Info

  • transformers version: 4.40.1
  • Platform: Linux-5.10.134-13.al8.x86_64-x86_64-with-glibc2.17
  • Python version: 3.8.18
  • Huggingface_hub version: 0.19.4
  • Safetensors version: 0.4.1
  • Accelerate version: 0.30.0
  • Accelerate config: not found
  • PyTorch version (GPU?): 2.1.0+cu121 (True)
  • Tensorflow version (GPU?): not installed (NA)
  • Flax version (CPU?/GPU?/TPU?): not installed (NA)
  • Jax version: not installed
  • JaxLib version: not installed
  • Using GPU in script?:
  • Using distributed or parallel set-up in script?:

Others

我在这里打印了下,args为None,好像参数没传进来?

model_args, data_args, training_args, finetuning_args, generating_args = get_train_args(args)

@TTTnlp
Copy link

TTTnlp commented May 7, 2024

我也有这种情况,有什么办法解决吗?

@hiyouga
Copy link
Owner

hiyouga commented May 7, 2024

Fixed

@hiyouga hiyouga closed this as completed in b088826 May 7, 2024
@hiyouga hiyouga added the solved This problem has been already solved label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

No branches or pull requests

3 participants