Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ scp2jsonl \
output_dir="./outputs"
log_file="${output_dir}/log.txt"

deepspeed_config=${workspace}/../../ds_stage1.json
deepspeed_config=${workspace}/../../deepspeed_conf/ds_stage1.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with other variable assignments in this script (e.g., log_file, train_data) and for general robustness, it's good practice to enclose the path in double quotes. This prevents potential issues if the path were to contain spaces or other special characters, which is a recommended practice in shell scripting to avoid unexpected word splitting.

Suggested change
deepspeed_config=${workspace}/../../deepspeed_conf/ds_stage1.json
deepspeed_config="${workspace}/../../deepspeed_conf/ds_stage1.json"


mkdir -p ${output_dir}
echo "log_file: ${log_file}"
Expand Down