Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bw-bestperf
Qwen2.5-VL-3B-LlamaFactory
Commits
d2f9dec6
Commit
d2f9dec6
authored
Feb 04, 2026
by
litzh
Browse files
update file path
parent
f37b2bb9
Pipeline
#3348
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
examples/train_lora/qwen2_5vl_deepspeed_lora_sft.sh
examples/train_lora/qwen2_5vl_deepspeed_lora_sft.sh
+2
-2
scripts/convert_coco2017_captions.py
scripts/convert_coco2017_captions.py
+2
-2
No files found.
examples/train_lora/qwen2_5vl_deepspeed_lora_sft.sh
View file @
d2f9dec6
...
...
@@ -5,7 +5,7 @@ OUTPUT_DIR=outputs/qwen2.5-vl-3b-${DATESTR}
CACHE_DIR
=
cache
MASTER_PORT
=
$(
shuf
-n
1
-i
10000-65535
)
export
HIP_VISIBLE_DEVICES
=
4,5,6,7
export
HIP_VISIBLE_DEVICES
=
0,1,2,3,
4,5,6,7
export
HSA_FORCE_FINE_GRAIN_PCIE
=
1
export
NCCL_LAUNCH_MODE
=
GROUP
export
TORCH_NCCL_TIMEOUT
=
3600000
...
...
@@ -28,7 +28,7 @@ deepspeed --num_gpus 4 --num_nodes 1 --master_port=$MASTER_PORT src/train.py \
--lora_target
all
\
--resize_vocab
True
\
--optim
adamw_torch
\
--model_name_or_path
/workspace/
DL_DATA/llm-models/qwen2.5
/Qwen2.5-VL-3B-Instruct
\
--model_name_or_path
/workspace/
models
/Qwen2.5-VL-3B-Instruct
\
--dataset
coco2017_train
\
--template
qwen2_vl
\
--finetuning_type
lora
\
...
...
scripts/convert_coco2017_captions.py
View file @
d2f9dec6
...
...
@@ -33,8 +33,8 @@ def main():
output_jsonl
=
args
.
output
human_prompt
=
args
.
prompt
caption_json
=
os
.
path
.
join
(
coco_root
,
"annotations
_new
/captions_train2017.json"
)
image_dir
=
os
.
path
.
join
(
coco_root
,
"
images/
train2017"
)
caption_json
=
os
.
path
.
join
(
coco_root
,
"annotations/captions_train2017.json"
)
image_dir
=
os
.
path
.
join
(
coco_root
,
"train2017"
)
assert
os
.
path
.
exists
(
caption_json
),
f
"Caption file not found:
{
caption_json
}
"
assert
os
.
path
.
exists
(
image_dir
),
f
"Image dir not found:
{
image_dir
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment