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

在argument.py添加hccl参数,用于NPU环境下训练使用 #1165

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

jiaozhentian
Copy link
Contributor

PR type

  • Bug Fix
  • New Feature
  • Document Updates
  • More Models or Datasets Support

PR information

NPU机器下训练,使用torch-npu结合torch会报无法找到nccl、ccl等相关错误信息,需要指定hccl,因此再此加入hccl选项,可在NPU上进行正常的训练

Experiment results

NPU机器训练测试通过

@tastelikefeet tastelikefeet merged commit 44d821d into modelscope:main Jun 20, 2024
1 of 2 checks passed
tastelikefeet added a commit to tastelikefeet/swift that referenced this pull request Jun 20, 2024
…f-ui-2

* commit '34d1f378cf278023c0131df1841009275a62e141':
  Custom agent dataset training support (modelscope#1184)
  chore: update ddp_backend choices in argument.py (modelscope#1165)
  fix bugs (modelscope#1171)

# Conflicts:
#	requirements/framework.txt
hjh0119 pushed a commit to hjh0119/swift that referenced this pull request Jul 22, 2024
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.

3 participants