/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 18:15:09,587 ----------- Configuration ---------------------- LAUNCH INFO 2026-07-25 18:15:09,587 auto_cluster_config: 0 LAUNCH INFO 2026-07-25 18:15:09,587 auto_parallel_config: None LAUNCH INFO 2026-07-25 18:15:09,587 auto_tuner_json: None LAUNCH INFO 2026-07-25 18:15:09,587 devices: 0,1,2,3,4,5,6,7 LAUNCH INFO 2026-07-25 18:15:09,587 elastic_level: -1 LAUNCH INFO 2026-07-25 18:15:09,587 elastic_timeout: 30 LAUNCH INFO 2026-07-25 18:15:09,587 enable_gpu_log: True LAUNCH INFO 2026-07-25 18:15:09,587 gloo_port: 6767 LAUNCH INFO 2026-07-25 18:15:09,587 host: None LAUNCH INFO 2026-07-25 18:15:09,587 ips: None LAUNCH INFO 2026-07-25 18:15:09,587 job_id: default LAUNCH INFO 2026-07-25 18:15:09,587 legacy: False LAUNCH INFO 2026-07-25 18:15:09,587 log_dir: /workspace/bina02-ppocr/training/stage-006/distributed-logs LAUNCH INFO 2026-07-25 18:15:09,587 log_level: INFO LAUNCH INFO 2026-07-25 18:15:09,587 log_overwrite: False LAUNCH INFO 2026-07-25 18:15:09,587 master: None LAUNCH INFO 2026-07-25 18:15:09,587 max_restart: 3 LAUNCH INFO 2026-07-25 18:15:09,587 nnodes: 1 LAUNCH INFO 2026-07-25 18:15:09,587 nproc_per_node: None LAUNCH INFO 2026-07-25 18:15:09,587 rank: -1 LAUNCH INFO 2026-07-25 18:15:09,587 run_mode: collective LAUNCH INFO 2026-07-25 18:15:09,587 server_num: None LAUNCH INFO 2026-07-25 18:15:09,587 servers: LAUNCH INFO 2026-07-25 18:15:09,587 sort_ip: False LAUNCH INFO 2026-07-25 18:15:09,587 start_port: 6070 LAUNCH INFO 2026-07-25 18:15:09,587 trainer_num: None LAUNCH INFO 2026-07-25 18:15:09,588 trainers: LAUNCH INFO 2026-07-25 18:15:09,588 training_script: /workspace/bina02-ppocr/PaddleOCR/tools/train.py LAUNCH INFO 2026-07-25 18:15:09,588 training_script_args: ['-c', '/workspace/bina02-ppocr/training/stage-006/input_config.yml'] LAUNCH INFO 2026-07-25 18:15:09,588 with_gloo: 1 LAUNCH INFO 2026-07-25 18:15:09,588 -------------------------------------------------- LAUNCH INFO 2026-07-25 18:15:09,589 Job: default, mode collective, replicas 1[1:1], elastic False LAUNCH INFO 2026-07-25 18:15:09,590 Run Pod: pfyfyp, replicas 8, status ready LAUNCH INFO 2026-07-25 18:15:09,857 Watching Pod: pfyfyp, 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 18:15:17] ppocr INFO: Architecture : [2026/07/25 18:15:17] ppocr INFO: Backbone : [2026/07/25 18:15:17] ppocr INFO: force_pool_width : True [2026/07/25 18:15:17] ppocr INFO: model_size : medium [2026/07/25 18:15:17] ppocr INFO: name : PPLCNetV4 [2026/07/25 18:15:17] ppocr INFO: train_pool_width : 96 [2026/07/25 18:15:17] ppocr INFO: Head : [2026/07/25 18:15:17] ppocr INFO: head_list : [2026/07/25 18:15:17] ppocr INFO: CTCHead : [2026/07/25 18:15:17] ppocr INFO: Head : [2026/07/25 18:15:17] ppocr INFO: fc_decay : 1e-05 [2026/07/25 18:15:17] ppocr INFO: Neck : [2026/07/25 18:15:17] ppocr INFO: depth : 2 [2026/07/25 18:15:17] ppocr INFO: dims : 192 [2026/07/25 18:15:17] ppocr INFO: local_kernel : 7 [2026/07/25 18:15:17] ppocr INFO: mlp_ratio : 4.0 [2026/07/25 18:15:17] ppocr INFO: name : lightsvtr [2026/07/25 18:15:17] ppocr INFO: use_guide : False [2026/07/25 18:15:17] ppocr INFO: NRTRHead : [2026/07/25 18:15:17] ppocr INFO: max_text_length : 128 [2026/07/25 18:15:17] ppocr INFO: nrtr_dim : 512 [2026/07/25 18:15:17] ppocr INFO: name : MultiHead [2026/07/25 18:15:17] ppocr INFO: Transform : None [2026/07/25 18:15:17] ppocr INFO: algorithm : SVTR_LCNet [2026/07/25 18:15:17] ppocr INFO: model_type : rec [2026/07/25 18:15:17] ppocr INFO: Eval : [2026/07/25 18:15:17] ppocr INFO: dataset : [2026/07/25 18:15:17] ppocr INFO: data_dir : / [2026/07/25 18:15:17] ppocr INFO: label_file_list : ['/workspace/bina02-ppocr/stream/datasets/chunk-006/eval_ctc.txt'] [2026/07/25 18:15:17] ppocr INFO: name : SimpleDataSet [2026/07/25 18:15:17] ppocr INFO: transforms : [2026/07/25 18:15:17] ppocr INFO: DecodeImage : [2026/07/25 18:15:17] ppocr INFO: channel_first : False [2026/07/25 18:15:17] ppocr INFO: img_mode : BGR [2026/07/25 18:15:17] ppocr INFO: MultiLabelEncode : [2026/07/25 18:15:17] ppocr INFO: gtc_encode : NRTRLabelEncode [2026/07/25 18:15:17] ppocr INFO: RecResizeImg : [2026/07/25 18:15:17] ppocr INFO: image_shape : [3, 48, 768] [2026/07/25 18:15:17] ppocr INFO: padding : False [2026/07/25 18:15:17] ppocr INFO: KeepKeys : [2026/07/25 18:15:17] ppocr INFO: keep_keys : ['image', 'label_ctc', 'label_gtc', 'length', 'valid_ratio'] [2026/07/25 18:15:17] ppocr INFO: loader : [2026/07/25 18:15:17] ppocr INFO: batch_size_per_card : 32 [2026/07/25 18:15:17] ppocr INFO: drop_last : False [2026/07/25 18:15:17] ppocr INFO: num_workers : 4 [2026/07/25 18:15:17] ppocr INFO: shuffle : False [2026/07/25 18:15:17] ppocr INFO: Global : [2026/07/25 18:15:17] ppocr INFO: cal_metric_during_train : False [2026/07/25 18:15:17] ppocr INFO: character_dict_path : /workspace/bina02-ppocr/stream/datasets/chunk-006/persian_arabic_bina02_dict.txt [2026/07/25 18:15:17] ppocr INFO: checkpoints : None [2026/07/25 18:15:17] ppocr INFO: d2s_train_image_shape : [3, 48, 768] [2026/07/25 18:15:17] ppocr INFO: debug : False [2026/07/25 18:15:17] ppocr INFO: distributed : True [2026/07/25 18:15:17] ppocr INFO: epoch_num : 1 [2026/07/25 18:15:17] ppocr INFO: eval_batch_step : [0, 100] [2026/07/25 18:15:17] ppocr INFO: freeze_batch_norm : True [2026/07/25 18:15:17] ppocr INFO: infer_img : doc/imgs_words/ch/word_1.jpg [2026/07/25 18:15:17] ppocr INFO: infer_mode : False [2026/07/25 18:15:17] ppocr INFO: log_smooth_window : 20 [2026/07/25 18:15:17] ppocr INFO: max_text_length : 128 [2026/07/25 18:15:17] ppocr INFO: model_name : PP-OCRv6_medium_rec [2026/07/25 18:15:17] ppocr INFO: pretrained_model : /workspace/bina02-ppocr/training/stage-005/best_accuracy [2026/07/25 18:15:17] ppocr INFO: print_batch_step : 20 [2026/07/25 18:15:17] ppocr INFO: save_epoch_step : 1 [2026/07/25 18:15:17] ppocr INFO: save_inference_dir : None [2026/07/25 18:15:17] ppocr INFO: save_model_dir : /workspace/bina02-ppocr/training/stage-006 [2026/07/25 18:15:17] ppocr INFO: save_res_path : /workspace/bina02-ppocr/training/stage-006/predicts.txt [2026/07/25 18:15:17] ppocr INFO: trainable_parameter_prefixes : ['head.ctc_head.fc.'] [2026/07/25 18:15:17] ppocr INFO: use_gpu : True [2026/07/25 18:15:17] ppocr INFO: use_space_char : True [2026/07/25 18:15:17] ppocr INFO: use_visualdl : False [2026/07/25 18:15:17] ppocr INFO: Loss : [2026/07/25 18:15:17] ppocr INFO: loss_config_list : [2026/07/25 18:15:17] ppocr INFO: CTCLoss : None [2026/07/25 18:15:17] ppocr INFO: NRTRLoss : None [2026/07/25 18:15:17] ppocr INFO: name : MultiLoss [2026/07/25 18:15:17] ppocr INFO: weight_1 : 1.0 [2026/07/25 18:15:17] ppocr INFO: weight_2 : 0.0 [2026/07/25 18:15:17] ppocr INFO: Metric : [2026/07/25 18:15:17] ppocr INFO: ignore_space : False [2026/07/25 18:15:17] ppocr INFO: main_indicator : norm_edit_dis [2026/07/25 18:15:17] ppocr INFO: name : RecMetric [2026/07/25 18:15:17] ppocr INFO: Optimizer : [2026/07/25 18:15:17] ppocr INFO: beta1 : 0.9 [2026/07/25 18:15:17] ppocr INFO: beta2 : 0.999 [2026/07/25 18:15:17] ppocr INFO: lr : [2026/07/25 18:15:17] ppocr INFO: learning_rate : 1e-05 [2026/07/25 18:15:17] ppocr INFO: name : Cosine [2026/07/25 18:15:17] ppocr INFO: warmup_epoch : 0 [2026/07/25 18:15:17] ppocr INFO: name : Adam [2026/07/25 18:15:17] ppocr INFO: regularizer : [2026/07/25 18:15:17] ppocr INFO: factor : 0.0 [2026/07/25 18:15:17] ppocr INFO: name : L2 [2026/07/25 18:15:17] ppocr INFO: PostProcess : [2026/07/25 18:15:17] ppocr INFO: name : CTCLabelDecode [2026/07/25 18:15:17] ppocr INFO: Train : [2026/07/25 18:15:17] ppocr INFO: dataset : [2026/07/25 18:15:17] ppocr INFO: data_dir : / [2026/07/25 18:15:17] ppocr INFO: ds_width : False [2026/07/25 18:15:17] ppocr INFO: ext_op_transform_idx : 1 [2026/07/25 18:15:17] ppocr INFO: label_file_list : ['/workspace/bina02-ppocr/stream/datasets/chunk-006/train_ctc.txt'] [2026/07/25 18:15:17] ppocr INFO: name : MultiScaleDataSet [2026/07/25 18:15:17] ppocr INFO: padding : False [2026/07/25 18:15:17] ppocr INFO: ratio_list : [1.0] [2026/07/25 18:15:17] ppocr INFO: transforms : [2026/07/25 18:15:17] ppocr INFO: DecodeImage : [2026/07/25 18:15:17] ppocr INFO: channel_first : False [2026/07/25 18:15:17] ppocr INFO: img_mode : BGR [2026/07/25 18:15:17] ppocr INFO: RecConAug : [2026/07/25 18:15:17] ppocr INFO: ext_data_num : 0 [2026/07/25 18:15:17] ppocr INFO: image_shape : [48, 768, 3] [2026/07/25 18:15:17] ppocr INFO: max_text_length : 128 [2026/07/25 18:15:17] ppocr INFO: prob : 0.0 [2026/07/25 18:15:17] ppocr INFO: RecAug : None [2026/07/25 18:15:17] ppocr INFO: MultiLabelEncode : [2026/07/25 18:15:17] ppocr INFO: gtc_encode : NRTRLabelEncode [2026/07/25 18:15:17] ppocr INFO: KeepKeys : [2026/07/25 18:15:17] ppocr INFO: keep_keys : ['image', 'label_ctc', 'label_gtc', 'length', 'valid_ratio'] [2026/07/25 18:15:17] ppocr INFO: loader : [2026/07/25 18:15:17] ppocr INFO: batch_size_per_card : 32 [2026/07/25 18:15:17] ppocr INFO: drop_last : False [2026/07/25 18:15:17] ppocr INFO: num_workers : 4 [2026/07/25 18:15:17] ppocr INFO: shuffle : True [2026/07/25 18:15:17] ppocr INFO: sampler : [2026/07/25 18:15:17] ppocr INFO: divided_factor : [8, 16] [2026/07/25 18:15:17] ppocr INFO: first_bs : 32 [2026/07/25 18:15:17] ppocr INFO: fix_bs : True [2026/07/25 18:15:17] ppocr INFO: is_training : True [2026/07/25 18:15:17] ppocr INFO: name : MultiScaleSampler [2026/07/25 18:15:17] ppocr INFO: scales : [[768, 48]] [2026/07/25 18:15:17] ppocr INFO: profiler_options : None [2026/07/25 18:15:17] ppocr INFO: train with paddle 3.3.0 and device Place(gpu:0) ======================= Modified FLAGS detected ======================= 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='') 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_cudnn_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/cudnn/lib', default_value='') FLAGS(name='FLAGS_enable_pir_in_executor', current_value=True, default_value=False) 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_cudnn_deterministic', current_value=True, default_value=False) 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_selected_gpus', current_value='0', 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_cusolver_dir', current_value='/workspace/bina02-ppocr/.venv/lib/python3.12/site-packages/paddle/../nvidia/cusolver/lib', default_value='') ======================================================================= I0725 18:15:17.169566 121851 tcp_store.cc:336] create libuv server at port: 49289 I0725 18:15:17.170150 121851 tcp_utils.cc:132] Successfully connected to 172.17.0.2:49289 I0725 18:15:19.249922 121851 process_group_nccl.cc:155] ProcessGroupNCCL pg_timeout_ 1800000 I0725 18:15:19.249997 121851 process_group_nccl.cc:156] ProcessGroupNCCL nccl_comm_init_option_ 0 [2026/07/25 18:15:19] ppocr INFO: Initialize indexs of datasets:['/workspace/bina02-ppocr/stream/datasets/chunk-006/train_ctc.txt'] [2026/07/25 18:15:19] ppocr INFO: Initialize indexs of datasets:['/workspace/bina02-ppocr/stream/datasets/chunk-006/eval_ctc.txt'] W0725 18:15:19.470986 121851 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 18:15:19] ppocr INFO: froze 61 BatchNorm layers with pretrained global statistics [2026/07/25 18:15:19] ppocr INFO: selective training enabled: 2 trainable tensors, 438 frozen tensors; head.ctc_head.fc.weight, head.ctc_head.fc.bias [2026-07-25 18:15:19,858] [ 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 18:15:19] ppocr INFO: train dataloader has 391 iters [2026/07/25 18:15:19] ppocr INFO: valid dataloader has 128 iters [2026/07/25 18:15:20] ppocr INFO: load pretrain successful from /workspace/bina02-ppocr/training/stage-005/best_accuracy [2026/07/25 18:15:20] ppocr INFO: During the training process, after the 0th iteration, an evaluation is run every 100 iterations [2026/07/25 18:15:26] ppocr INFO: epoch: [1/1], global_step: 20, lr: 0.000010, CTCLoss: 52.460033, NRTRLoss: 0.000000, loss: 52.460033, avg_reader_cost: 0.09061 s, avg_batch_cost: 0.22112 s, avg_samples: 32.0, ips: 144.72071 samples/s, eta: 0:01:22, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB [2026/07/25 18:15:28] ppocr INFO: epoch: [1/1], global_step: 40, lr: 0.000010, CTCLoss: 59.056267, NRTRLoss: 0.000000, loss: 59.056267, avg_reader_cost: 0.00176 s, avg_batch_cost: 0.08307 s, avg_samples: 32.0, ips: 385.21788 samples/s, eta: 0:00:53, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB [2026/07/25 18:15:31] ppocr INFO: epoch: [1/1], global_step: 60, lr: 0.000010, CTCLoss: 65.022923, NRTRLoss: 0.000000, loss: 65.022923, avg_reader_cost: 0.00166 s, avg_batch_cost: 0.08146 s, avg_samples: 32.0, ips: 392.84148 samples/s, eta: 0:00:42, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB [2026/07/25 18:15:33] ppocr INFO: epoch: [1/1], global_step: 80, lr: 0.000009, CTCLoss: 55.298651, NRTRLoss: 0.000000, loss: 55.298651, avg_reader_cost: 0.00174 s, avg_batch_cost: 0.07838 s, avg_samples: 32.0, ips: 408.29262 samples/s, eta: 0:00:36, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB [2026/07/25 18:15:36] ppocr INFO: epoch: [1/1], global_step: 100, lr: 0.000009, CTCLoss: 56.406462, NRTRLoss: 0.000000, loss: 56.406462, avg_reader_cost: 0.00212 s, avg_batch_cost: 0.08413 s, avg_samples: 32.0, ips: 380.35666 samples/s, eta: 0:00:31, max_mem_reserved: 1045 MB, max_mem_allocated: 656 MB eval model:: 0%| | 0/128 [00:00