9 lines
250 B
Bash
9 lines
250 B
Bash
# Perform inference using the validation set from the training phase.
|
|
CUDA_VISIBLE_DEVICES=0 \
|
|
MAX_PIXELS=1003520 \
|
|
swift infer \
|
|
--adapters output/vx-xxx/checkpoint-xxx \
|
|
--stream true \
|
|
--load_data_args true \
|
|
--max_new_tokens 2048
|