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

Question: How DLRover integrate with Llama Factory? #1244

Open
hetingyou opened this issue Aug 21, 2024 · 2 comments
Open

Question: How DLRover integrate with Llama Factory? #1244

hetingyou opened this issue Aug 21, 2024 · 2 comments
Labels
question Further information is requested

Comments

@hetingyou
Copy link

No description provided.

@hetingyou
Copy link
Author

hetingyou commented Aug 21, 2024

直觉是修改examples/pytorch/nanogpt/elastic_job.yaml:

command:
- /bin/bash
- -c
- "dlrover-run --network-check --nnodes=$NODE_NUM
--nproc_per_node=1 --max_restarts=1
./examples/pytorch/nanogpt/train.py
--data_dir /data/nanogpt/"

改为如下形式,报错:找不到 llamafactory-cli这个文件,也即是必须后面需要跟train.py文件?

command:
- /bin/bash
- -c
- "dlrover-run --network-check --nnodes=$NODE_NUM
--nproc_per_node=1 --max_restarts=1
llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml"

@majieyue majieyue changed the title 请问DLRover如何与Llama Factory集成? Question: How DLRover integrate with Llama Factory? Sep 19, 2024
@BalaBalaYi BalaBalaYi added the question Further information is requested label Nov 18, 2024
@BalaBalaYi
Copy link
Collaborator

U should encapsulate the usage of your CLI within your training script.

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

No branches or pull requests

2 participants