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

llamafactory-cli运行原理 #5761

Closed
1 task done
JusticeJason opened this issue Oct 21, 2024 · 1 comment
Closed
1 task done

llamafactory-cli运行原理 #5761

JusticeJason opened this issue Oct 21, 2024 · 1 comment
Labels
solved This problem has been already solved

Comments

@JusticeJason
Copy link

Reminder

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

System Info

  • llamafactory version: 0.9.0
  • Platform: Linux-3.10.0-1127.el7.x86_64-x86_64-with-glibc2.31
  • Python version: 3.11.10
  • PyTorch version: 2.0.1+cu118 (GPU)
  • Transformers version: 4.45.0
  • Datasets version: 2.21.0
  • Accelerate version: 0.33.0
  • PEFT version: 0.12.0
  • TRL version: 0.9.6
  • GPU type: NVIDIA A100-SXM4-40GB

Reproduction

llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml是通过调用llamafactory包来运行的吗?为什么我修改本地的scr/llamafactory对代码运行没有影响?我想修改代码以进行调试,我应该怎么做?

Expected behavior

No response

Others

No response

@github-actions github-actions bot added the pending This problem is yet to be addressed label Oct 21, 2024
@hiyouga
Copy link
Owner

hiyouga commented Oct 21, 2024

add -e parameter: pip install -e .

@hiyouga hiyouga added solved This problem has been already solved and removed pending This problem is yet to be addressed labels Oct 21, 2024
@hiyouga hiyouga closed this as completed Oct 21, 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

2 participants