/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/utils/cpp_extension/extension_utils.py:712: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md warnings.warn(warning_message) LAUNCH INFO 2026-07-25 19:20:58,476 ----------- Configuration ---------------------- LAUNCH INFO 2026-07-25 19:20:58,476 auto_cluster_config: 0 LAUNCH INFO 2026-07-25 19:20:58,476 auto_parallel_config: None LAUNCH INFO 2026-07-25 19:20:58,476 auto_tuner_json: None LAUNCH INFO 2026-07-25 19:20:58,476 devices: 0,1,2,3,4,5,6,7 LAUNCH INFO 2026-07-25 19:20:58,476 elastic_level: -1 LAUNCH INFO 2026-07-25 19:20:58,476 elastic_timeout: 30 LAUNCH INFO 2026-07-25 19:20:58,476 enable_gpu_log: True LAUNCH INFO 2026-07-25 19:20:58,476 gloo_port: 6767 LAUNCH INFO 2026-07-25 19:20:58,476 host: None LAUNCH INFO 2026-07-25 19:20:58,476 ips: None LAUNCH INFO 2026-07-25 19:20:58,476 job_id: default LAUNCH INFO 2026-07-25 19:20:58,476 legacy: False LAUNCH INFO 2026-07-25 19:20:58,476 log_dir: /workspace/bina02-ppocr/training/stage-009/distributed-logs LAUNCH INFO 2026-07-25 19:20:58,476 log_level: INFO LAUNCH INFO 2026-07-25 19:20:58,476 log_overwrite: False LAUNCH INFO 2026-07-25 19:20:58,476 master: None LAUNCH INFO 2026-07-25 19:20:58,476 max_restart: 3 LAUNCH INFO 2026-07-25 19:20:58,476 nnodes: 1 LAUNCH INFO 2026-07-25 19:20:58,476 nproc_per_node: None LAUNCH INFO 2026-07-25 19:20:58,476 rank: -1 LAUNCH INFO 2026-07-25 19:20:58,476 run_mode: collective LAUNCH INFO 2026-07-25 19:20:58,476 server_num: None LAUNCH INFO 2026-07-25 19:20:58,476 servers: LAUNCH INFO 2026-07-25 19:20:58,476 sort_ip: False LAUNCH INFO 2026-07-25 19:20:58,476 start_port: 6070 LAUNCH INFO 2026-07-25 19:20:58,476 trainer_num: None LAUNCH INFO 2026-07-25 19:20:58,476 trainers: LAUNCH INFO 2026-07-25 19:20:58,476 training_script: /workspace/bina02-ppocr/PaddleOCR/tools/train.py LAUNCH INFO 2026-07-25 19:20:58,476 training_script_args: ['-c', '/workspace/bina02-ppocr/training/stage-009/input_config.yml'] LAUNCH INFO 2026-07-25 19:20:58,476 with_gloo: 1 LAUNCH INFO 2026-07-25 19:20:58,476 -------------------------------------------------- LAUNCH INFO 2026-07-25 19:20:58,477 Job: default, mode collective, replicas 1[1:1], elastic False LAUNCH INFO 2026-07-25 19:20:58,479 Run Pod: sfhbdb, replicas 8, status ready LAUNCH INFO 2026-07-25 19:20:58,743 Watching Pod: sfhbdb, replicas 8, status running /workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/utils/cpp_extension/extension_utils.py:712: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md warnings.warn(warning_message) Skipping import of the encryption module. [2026/07/25 19:21:02] ppocr INFO: Architecture : [2026/07/25 19:21:02] ppocr INFO: Backbone : [2026/07/25 19:21:02] ppocr INFO: force_pool_width : True [2026/07/25 19:21:02] ppocr INFO: model_size : medium [2026/07/25 19:21:02] ppocr INFO: name : PPLCNetV4 [2026/07/25 19:21:02] ppocr INFO: train_pool_width : 96 [2026/07/25 19:21:02] ppocr INFO: Head : [2026/07/25 19:21:02] ppocr INFO: head_list : [2026/07/25 19:21:02] ppocr INFO: CTCHead : [2026/07/25 19:21:02] ppocr INFO: Head : [2026/07/25 19:21:02] ppocr INFO: fc_decay : 1e-05 [2026/07/25 19:21:02] ppocr INFO: Neck : [2026/07/25 19:21:02] ppocr INFO: depth : 2 [2026/07/25 19:21:02] ppocr INFO: dims : 192 [2026/07/25 19:21:02] ppocr INFO: local_kernel : 7 [2026/07/25 19:21:02] ppocr INFO: mlp_ratio : 4.0 [2026/07/25 19:21:02] ppocr INFO: name : lightsvtr [2026/07/25 19:21:02] ppocr INFO: use_guide : False [2026/07/25 19:21:02] ppocr INFO: NRTRHead : [2026/07/25 19:21:02] ppocr INFO: max_text_length : 128 [2026/07/25 19:21:02] ppocr INFO: nrtr_dim : 512 [2026/07/25 19:21:02] ppocr INFO: name : MultiHead [2026/07/25 19:21:02] ppocr INFO: Transform : None [2026/07/25 19:21:02] ppocr INFO: algorithm : SVTR_LCNet [2026/07/25 19:21:02] ppocr INFO: model_type : rec [2026/07/25 19:21:02] ppocr INFO: Eval : [2026/07/25 19:21:02] ppocr INFO: dataset : [2026/07/25 19:21:02] ppocr INFO: data_dir : / [2026/07/25 19:21:02] ppocr INFO: label_file_list : ['/workspace/bina02-ppocr/stream/datasets/chunk-009/eval_ctc.txt'] [2026/07/25 19:21:02] ppocr INFO: name : SimpleDataSet [2026/07/25 19:21:02] ppocr INFO: transforms : [2026/07/25 19:21:02] ppocr INFO: DecodeImage : [2026/07/25 19:21:02] ppocr INFO: channel_first : False [2026/07/25 19:21:02] ppocr INFO: img_mode : BGR [2026/07/25 19:21:02] ppocr INFO: MultiLabelEncode : [2026/07/25 19:21:02] ppocr INFO: gtc_encode : NRTRLabelEncode [2026/07/25 19:21:02] ppocr INFO: RecResizeImg : [2026/07/25 19:21:02] ppocr INFO: image_shape : [3, 48, 768] [2026/07/25 19:21:02] ppocr INFO: padding : False [2026/07/25 19:21:02] ppocr INFO: KeepKeys : [2026/07/25 19:21:02] ppocr INFO: keep_keys : ['image', 'label_ctc', 'label_gtc', 'length', 'valid_ratio'] [2026/07/25 19:21:02] ppocr INFO: loader : [2026/07/25 19:21:02] ppocr INFO: batch_size_per_card : 32 [2026/07/25 19:21:02] ppocr INFO: drop_last : False [2026/07/25 19:21:02] ppocr INFO: num_workers : 4 [2026/07/25 19:21:02] ppocr INFO: shuffle : False [2026/07/25 19:21:02] ppocr INFO: Global : [2026/07/25 19:21:02] ppocr INFO: cal_metric_during_train : False [2026/07/25 19:21:02] ppocr INFO: character_dict_path : /workspace/bina02-ppocr/stream/datasets/chunk-009/persian_arabic_bina02_dict.txt [2026/07/25 19:21:02] ppocr INFO: checkpoints : None [2026/07/25 19:21:02] ppocr INFO: d2s_train_image_shape : [3, 48, 768] [2026/07/25 19:21:02] ppocr INFO: debug : False [2026/07/25 19:21:02] ppocr INFO: distributed : True [2026/07/25 19:21:02] ppocr INFO: epoch_num : 1 [2026/07/25 19:21:02] ppocr INFO: eval_batch_step : [0, 100] [2026/07/25 19:21:02] ppocr INFO: freeze_batch_norm : True [2026/07/25 19:21:02] ppocr INFO: infer_img : doc/imgs_words/ch/word_1.jpg [2026/07/25 19:21:02] ppocr INFO: infer_mode : False [2026/07/25 19:21:02] ppocr INFO: log_smooth_window : 20 [2026/07/25 19:21:02] ppocr INFO: max_text_length : 128 [2026/07/25 19:21:02] ppocr INFO: model_name : PP-OCRv6_medium_rec [2026/07/25 19:21:02] ppocr INFO: pretrained_model : /workspace/bina02-ppocr/training/stage-008/best_accuracy [2026/07/25 19:21:02] ppocr INFO: print_batch_step : 20 [2026/07/25 19:21:02] ppocr INFO: save_epoch_step : 1 [2026/07/25 19:21:02] ppocr INFO: save_inference_dir : None [2026/07/25 19:21:02] ppocr INFO: save_model_dir : /workspace/bina02-ppocr/training/stage-009 [2026/07/25 19:21:02] ppocr INFO: save_res_path : /workspace/bina02-ppocr/training/stage-009/predicts.txt [2026/07/25 19:21:02] ppocr INFO: trainable_parameter_prefixes : ['head.ctc_head.fc.'] [2026/07/25 19:21:02] ppocr INFO: use_gpu : True [2026/07/25 19:21:02] ppocr INFO: use_space_char : True [2026/07/25 19:21:02] ppocr INFO: use_visualdl : False [2026/07/25 19:21:02] ppocr INFO: Loss : [2026/07/25 19:21:02] ppocr INFO: loss_config_list : [2026/07/25 19:21:02] ppocr INFO: CTCLoss : None [2026/07/25 19:21:02] ppocr INFO: NRTRLoss : None [2026/07/25 19:21:02] ppocr INFO: name : MultiLoss [2026/07/25 19:21:02] ppocr INFO: weight_1 : 1.0 [2026/07/25 19:21:02] ppocr INFO: weight_2 : 0.0 [2026/07/25 19:21:02] ppocr INFO: Metric : [2026/07/25 19:21:02] ppocr INFO: ignore_space : False [2026/07/25 19:21:02] ppocr INFO: main_indicator : norm_edit_dis [2026/07/25 19:21:02] ppocr INFO: name : RecMetric [2026/07/25 19:21:02] ppocr INFO: Optimizer : [2026/07/25 19:21:02] ppocr INFO: beta1 : 0.9 [2026/07/25 19:21:02] ppocr INFO: beta2 : 0.999 [2026/07/25 19:21:02] ppocr INFO: lr : [2026/07/25 19:21:02] ppocr INFO: learning_rate : 1e-05 [2026/07/25 19:21:02] ppocr INFO: name : Cosine [2026/07/25 19:21:02] ppocr INFO: warmup_epoch : 0 [2026/07/25 19:21:02] ppocr INFO: name : Adam [2026/07/25 19:21:02] ppocr INFO: regularizer : [2026/07/25 19:21:02] ppocr INFO: factor : 0.0 [2026/07/25 19:21:02] ppocr INFO: name : L2 [2026/07/25 19:21:02] ppocr INFO: PostProcess : [2026/07/25 19:21:02] ppocr INFO: name : CTCLabelDecode [2026/07/25 19:21:02] ppocr INFO: Train : [2026/07/25 19:21:02] ppocr INFO: dataset : [2026/07/25 19:21:02] ppocr INFO: data_dir : / [2026/07/25 19:21:02] ppocr INFO: ds_width : False [2026/07/25 19:21:02] ppocr INFO: ext_op_transform_idx : 1 [2026/07/25 19:21:02] ppocr INFO: label_file_list : ['/workspace/bina02-ppocr/stream/datasets/chunk-009/train_ctc.txt'] [2026/07/25 19:21:02] ppocr INFO: name : MultiScaleDataSet [2026/07/25 19:21:02] ppocr INFO: padding : False [2026/07/25 19:21:02] ppocr INFO: ratio_list : [1.0] [2026/07/25 19:21:02] ppocr INFO: transforms : [2026/07/25 19:21:02] ppocr INFO: DecodeImage : [2026/07/25 19:21:02] ppocr INFO: channel_first : False [2026/07/25 19:21:02] ppocr INFO: img_mode : BGR [2026/07/25 19:21:02] ppocr INFO: RecConAug : [2026/07/25 19:21:02] ppocr INFO: ext_data_num : 0 [2026/07/25 19:21:02] ppocr INFO: image_shape : [48, 768, 3] [2026/07/25 19:21:02] ppocr INFO: max_text_length : 128 [2026/07/25 19:21:02] ppocr INFO: prob : 0.0 [2026/07/25 19:21:02] ppocr INFO: RecAug : None [2026/07/25 19:21:02] ppocr INFO: MultiLabelEncode : [2026/07/25 19:21:02] ppocr INFO: gtc_encode : NRTRLabelEncode [2026/07/25 19:21:02] ppocr INFO: KeepKeys : [2026/07/25 19:21:02] ppocr INFO: keep_keys : ['image', 'label_ctc', 'label_gtc', 'length', 'valid_ratio'] [2026/07/25 19:21:02] ppocr INFO: loader : [2026/07/25 19:21:02] ppocr INFO: batch_size_per_card : 32 [2026/07/25 19:21:02] ppocr INFO: drop_last : False [2026/07/25 19:21:02] ppocr INFO: num_workers : 4 [2026/07/25 19:21:02] ppocr INFO: shuffle : True [2026/07/25 19:21:02] ppocr INFO: sampler : [2026/07/25 19:21:02] ppocr INFO: divided_factor : [8, 16] [2026/07/25 19:21:02] ppocr INFO: first_bs : 32 [2026/07/25 19:21:02] ppocr INFO: fix_bs : True [2026/07/25 19:21:02] ppocr INFO: is_training : True [2026/07/25 19:21:02] ppocr INFO: name : MultiScaleSampler [2026/07/25 19:21:02] ppocr INFO: scales : [[768, 48]] [2026/07/25 19:21:02] ppocr INFO: profiler_options : None [2026/07/25 19:21:02] ppocr INFO: train with paddle 3.3.0 and device Place(gpu:0) ======================= Modified FLAGS detected ======================= FLAGS(name='FLAGS_cudnn_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/cudnn/lib', default_value='') FLAGS(name='FLAGS_curand_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/curand/lib', default_value='') FLAGS(name='FLAGS_cusparse_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/cusparse/lib', default_value='') FLAGS(name='FLAGS_enable_pir_in_executor', current_value=True, default_value=False) FLAGS(name='FLAGS_selected_gpus', current_value='0', default_value='') FLAGS(name='FLAGS_cusolver_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/cusolver/lib', default_value='') FLAGS(name='FLAGS_cuda_cccl_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/cuda_cccl/include/', default_value='') FLAGS(name='FLAGS_cupti_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/cuda_cupti/lib', default_value='') FLAGS(name='FLAGS_nvidia_package_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia', default_value='') FLAGS(name='FLAGS_cudnn_deterministic', current_value=True, default_value=False) FLAGS(name='FLAGS_nccl_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/nccl/lib', default_value='') FLAGS(name='FLAGS_cublas_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/cublas/lib', default_value='') ======================================================================= I0725 19:21:02.980124 8291 tcp_store.cc:336] create libuv server at port: 58493 I0725 19:21:02.980716 8291 tcp_utils.cc:132] Successfully connected to 172.17.0.2:58493 I0725 19:21:04.442929 8291 process_group_nccl.cc:155] ProcessGroupNCCL pg_timeout_ 1800000 I0725 19:21:04.442988 8291 process_group_nccl.cc:156] ProcessGroupNCCL nccl_comm_init_option_ 0 [2026/07/25 19:21:04] ppocr INFO: Initialize indexs of datasets:['/workspace/bina02-ppocr/stream/datasets/chunk-009/train_ctc.txt'] [2026/07/25 19:21:04] ppocr INFO: Initialize indexs of datasets:['/workspace/bina02-ppocr/stream/datasets/chunk-009/eval_ctc.txt'] W0725 19:21:04.640272 8291 gpu_resources.cc:116] Please NOTE: device: 0, GPU Compute Capability: 12.0, Driver API Version: 13.0, Runtime API Version: 13.0 [2026/07/25 19:21:05] ppocr INFO: froze 61 BatchNorm layers with pretrained global statistics [2026/07/25 19:21:05] ppocr INFO: selective training enabled: 2 trainable tensors, 438 frozen tensors; head.ctc_head.fc.weight, head.ctc_head.fc.bias [2026-07-25 19:21:05,012] [ INFO] optimizer.py:254 - If regularizer of a Parameter has been set by 'paddle.ParamAttr' or 'static.WeightNormParamAttr' already. The weight_decay[0.0] in Optimizer will not take effect, and it will only be applied to other Parameters! [2026/07/25 19:21:05] ppocr INFO: train dataloader has 391 iters [2026/07/25 19:21:05] ppocr INFO: valid dataloader has 128 iters [2026/07/25 19:21:05] ppocr INFO: load pretrain successful from /workspace/bina02-ppocr/training/stage-008/best_accuracy [2026/07/25 19:21:06] ppocr INFO: During the training process, after the 0th iteration, an evaluation is run every 100 iterations [2026/07/25 19:21:10] ppocr INFO: epoch: [1/1], global_step: 20, lr: 0.000010, CTCLoss: 50.602440, NRTRLoss: 0.000000, loss: 50.602440, avg_reader_cost: 0.10348 s, avg_batch_cost: 0.22503 s, avg_samples: 32.0, ips: 142.20299 samples/s, eta: 0:01:23, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB [2026/07/25 19:21:13] ppocr INFO: epoch: [1/1], global_step: 40, lr: 0.000010, CTCLoss: 55.631052, NRTRLoss: 0.000000, loss: 55.631052, avg_reader_cost: 0.04114 s, avg_batch_cost: 0.12090 s, avg_samples: 32.0, ips: 264.67931 samples/s, eta: 0:01:00, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB [2026/07/25 19:21:15] ppocr INFO: epoch: [1/1], global_step: 60, lr: 0.000010, CTCLoss: 48.901161, NRTRLoss: 0.000000, loss: 48.901161, avg_reader_cost: 0.03875 s, avg_batch_cost: 0.11883 s, avg_samples: 32.0, ips: 269.29621 samples/s, eta: 0:00:51, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB [2026/07/25 19:21:18] ppocr INFO: epoch: [1/1], global_step: 80, lr: 0.000009, CTCLoss: 56.653809, NRTRLoss: 0.000000, loss: 56.653809, avg_reader_cost: 0.00214 s, avg_batch_cost: 0.08138 s, avg_samples: 32.0, ips: 393.21218 samples/s, eta: 0:00:42, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB [2026/07/25 19:21:21] ppocr INFO: epoch: [1/1], global_step: 100, lr: 0.000009, CTCLoss: 53.987082, NRTRLoss: 0.000000, loss: 53.987082, avg_reader_cost: 0.02360 s, avg_batch_cost: 0.09993 s, avg_samples: 32.0, ips: 320.22209 samples/s, eta: 0:00:37, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB eval model:: 0%| | 0/128 [00:00