Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Got cancellation request for SGLang server' #129

Closed
ep0p opened this issue Mar 18, 2025 · 12 comments
Closed

'Got cancellation request for SGLang server' #129

ep0p opened this issue Mar 18, 2025 · 12 comments
Labels
bug Something isn't working

Comments

@ep0p
Copy link

ep0p commented Mar 18, 2025

🐛 Describe the bug

Hello,

I might be doing something wrong, when trying to run the model on local the SGLang server exits :

 python -m olmocr.pipeline ./localworkspace --pdfs /home/epop/olmocr/annotated_page_1.pdf

INFO:olmocr.check:pdftoppm is installed and working.
2025-03-18 10:23:32,399 - __main__ - INFO - Got --pdfs argument, going to add to the work queue
2025-03-18 10:23:32,424 - __main__ - INFO - Loading file at /home/epop/olmocr/annotated_page_1.pdf as PDF document
2025-03-18 10:23:32,424 - __main__ - INFO - Found 1 total pdf paths to add
Sampling PDFs to calculate optimal length: 100%|███████| 1/1 [00:00<00:00, 28.93it/s]
2025-03-18 10:23:32,459 - __main__ - INFO - Calculated items_per_group: 500 based on average pages per PDF: 1.00
INFO:olmocr.work_queue:Found 1 total paths
INFO:olmocr.work_queue:0 new paths to add to the workspace
2025-03-18 10:23:32,514 - __main__ - INFO - Starting pipeline with PID 340351
2025-03-18 10:23:32,514 - __main__ - INFO - Downloading model 'allenai/olmOCR-7B-0225-preview'
Fetching 15 files: 100%|████████████████████████████| 15/15 [00:00<00:00, 210.14it/s]
2025-03-18 10:23:42,768 - __main__ - INFO - Model download complete 'allenai/olmOCR-7B-0225-preview'
INFO:olmocr.work_queue:Initialized local queue with 0 work items
2025-03-18 10:23:43,110 - __main__ - WARNING - Attempt 1: Please wait for sglang server to become ready...
2025-03-18 10:23:44,148 - __main__ - WARNING - Attempt 2: Please wait for sglang server to become ready...
2025-03-18 10:23:45,183 - __main__ - WARNING - Attempt 3: Please wait for sglang server to become ready...
2025-03-18 10:23:46,218 - __main__ - WARNING - Attempt 4: Please wait for sglang server to become ready...
2025-03-18 10:23:47,255 - __main__ - WARNING - Attempt 5: Please wait for sglang server to become ready...
2025-03-18 10:23:48,284 - __main__ - WARNING - Attempt 6: Please wait for sglang server to become ready...
2025-03-18 10:23:49,320 - __main__ - WARNING - Attempt 7: Please wait for sglang server to become ready...
2025-03-18 10:23:50,357 - __main__ - WARNING - Attempt 8: Please wait for sglang server to become ready...
2025-03-18 10:23:51,398 - __main__ - WARNING - Attempt 9: Please wait for sglang server to become ready...
2025-03-18 10:23:52,434 - __main__ - WARNING - Attempt 10: Please wait for sglang server to become ready...
2025-03-18 10:23:53,470 - __main__ - WARNING - Attempt 11: Please wait for sglang server to become ready...
2025-03-18 10:23:54,506 - __main__ - WARNING - Attempt 12: Please wait for sglang server to become ready...
2025-03-18 10:23:55,542 - __main__ - WARNING - Attempt 13: Please wait for sglang server to become ready...
2025-03-18 10:23:56,649 - __main__ - WARNING - Attempt 14: Please wait for sglang server to become ready...
2025-03-18 10:23:57,686 - __main__ - WARNING - Attempt 15: Please wait for sglang server to become ready...
2025-03-18 10:23:58,722 - __main__ - WARNING - Attempt 16: Please wait for sglang server to become ready...
2025-03-18 10:23:59,742 - __main__ - WARNING - Attempt 17: Please wait for sglang server to become ready...
2025-03-18 10:24:00,775 - __main__ - WARNING - Attempt 18: Please wait for sglang server to become ready...
2025-03-18 10:24:01,808 - __main__ - WARNING - Attempt 19: Please wait for sglang server to become ready...
2025-03-18 10:24:02,840 - __main__ - WARNING - Attempt 20: Please wait for sglang server to become ready...
2025-03-18 10:24:03,877 - __main__ - WARNING - Attempt 21: Please wait for sglang server to become ready...
2025-03-18 10:24:04,912 - __main__ - WARNING - Attempt 22: Please wait for sglang server to become ready...
2025-03-18 10:24:05,831 - __main__ - INFO - [2025-03-18 10:24:05] server_args=ServerArgs(model_path='allenai/olmOCR-7B-0225-preview', tokenizer_path='allenai/olmOCR-7B-0225-preview', tokenizer_mode='auto', load_format='auto', trust_remote_code=False, dtype='auto', kv_cache_dtype='auto', quantization_param_path=None, quantization=None, context_length=None, device='cuda', served_model_name='allenai/olmOCR-7B-0225-preview', chat_template='qwen2-vl', is_embedding=False, revision=None, skip_tokenizer_init=False, host='127.0.0.1', port=30024, mem_fraction_static=0.8, max_running_requests=None, max_total_tokens=None, chunked_prefill_size=2048, max_prefill_tokens=16384, schedule_policy='lpm', schedule_conservativeness=1.0, cpu_offload_gb=0, prefill_only_one_req=False, tp_size=1, stream_interval=1, stream_output=False, random_seed=582344114, constrained_json_whitespace_pattern=None, watchdog_timeout=300, download_dir=None, base_gpu_id=0, log_level='info', log_level_http='warning', log_requests=False, show_time_cost=False, enable_metrics=False, decode_log_interval=40, api_key=None, file_storage_pth='sglang_storage', enable_cache_report=False, dp_size=1, load_balance_method='round_robin', ep_size=1, dist_init_addr=None, nnodes=1, node_rank=0, json_model_override_args='{}', lora_paths=None, max_loras_per_batch=8, attention_backend='flashinfer', sampling_backend='flashinfer', grammar_backend='outlines', speculative_draft_model_path=None, speculative_algorithm=None, speculative_num_steps=5, speculative_num_draft_tokens=64, speculative_eagle_topk=8, enable_double_sparsity=False, ds_channel_config_path=None, ds_heavy_channel_num=32, ds_heavy_token_num=256, ds_heavy_channel_type='qk', ds_sparse_decode_threshold=4096, disable_radix_cache=False, disable_jump_forward=False, disable_cuda_graph=False, disable_cuda_graph_padding=False, disable_outlines_disk_cache=False, disable_custom_all_reduce=False, disable_mla=False, disable_overlap_schedule=False, enable_mixed_chunk=False, enable_dp_attention=False, enable_ep_moe=False, enable_torch_compile=False, torch_compile_max_bs=32, cuda_graph_max_bs=8, cuda_graph_bs=None, torchao_config='', enable_nan_detection=False, enable_p2p_check=False, triton_attention_reduce_in_fp32=False, triton_attention_num_kv_splits=8, num_continuous_decode_steps=1, delete_ckpt_after_loading=False, enable_memory_saver=False, allow_auto_truncate=False, enable_custom_logit_processor=False, tool_call_parser=None)
2025-03-18 10:24:05,982 - __main__ - WARNING - Attempt 23: Please wait for sglang server to become ready...
2025-03-18 10:24:07,002 - __main__ - WARNING - Attempt 24: Please wait for sglang server to become ready...
2025-03-18 10:24:07,565 - __main__ - INFO - Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.48, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
2025-03-18 10:24:08,039 - __main__ - WARNING - Attempt 25: Please wait for sglang server to become ready...
2025-03-18 10:24:09,075 - __main__ - WARNING - Attempt 26: Please wait for sglang server to become ready...
2025-03-18 10:24:10,110 - __main__ - WARNING - Attempt 27: Please wait for sglang server to become ready...
2025-03-18 10:24:11,149 - __main__ - WARNING - Attempt 28: Please wait for sglang server to become ready...
2025-03-18 10:24:12,185 - __main__ - WARNING - Attempt 29: Please wait for sglang server to become ready...
2025-03-18 10:24:12,890 - __main__ - INFO - [2025-03-18 10:24:12] Use chat template for the OpenAI-compatible API server: qwen2-vl
2025-03-18 10:24:13,204 - __main__ - INFO - Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.48, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
2025-03-18 10:24:13,205 - __main__ - WARNING - Attempt 30: Please wait for sglang server to become ready...
2025-03-18 10:24:14,224 - __main__ - INFO - [2025-03-18 10:24:14 TP0] Overlap scheduler is disabled for multimodal models.
2025-03-18 10:24:14,224 - __main__ - WARNING - Attempt 31: Please wait for sglang server to become ready...
2025-03-18 10:24:14,412 - __main__ - INFO - [2025-03-18 10:24:14 TP0] Automatically reduce --mem-fraction-static to 0.760 because this is a multimodal model.
2025-03-18 10:24:14,412 - __main__ - INFO - [2025-03-18 10:24:14 TP0] Automatically turn off --chunked-prefill-size and disable radix cache for qwen2-vl.
2025-03-18 10:24:14,412 - __main__ - INFO - [2025-03-18 10:24:14 TP0] Init torch distributed begin.
2025-03-18 10:24:14,816 - __main__ - INFO - [2025-03-18 10:24:14 TP0] Load weight begin. avail mem=23.44 GB
2025-03-18 10:24:15,260 - __main__ - WARNING - Attempt 32: Please wait for sglang server to become ready...
2025-03-18 10:24:16,297 - __main__ - WARNING - Attempt 33: Please wait for sglang server to become ready...
2025-03-18 10:24:17,336 - __main__ - WARNING - Attempt 34: Please wait for sglang server to become ready...
2025-03-18 10:24:17,365 - __main__ - INFO - [2025-03-18 10:24:17 TP0] Using model weights format ['*.safetensors']
Loading safetensors checkpoint shards:   0% Completed | 0/4 [00:00<?, ?it/s]
2025-03-18 10:24:18,373 - __main__ - WARNING - Attempt 35: Please wait for sglang server to become ready...
2025-03-18 10:24:19,408 - __main__ - WARNING - Attempt 36: Please wait for sglang server to become ready...
2025-03-18 10:24:20,445 - __main__ - WARNING - Attempt 37: Please wait for sglang server to become ready...
2025-03-18 10:24:21,481 - __main__ - WARNING - Attempt 38: Please wait for sglang server to become ready...
2025-03-18 10:24:22,517 - __main__ - WARNING - Attempt 39: Please wait for sglang server to become ready...
2025-03-18 10:24:23,553 - __main__ - WARNING - Attempt 40: Please wait for sglang server to become ready...
2025-03-18 10:24:24,597 - __main__ - WARNING - Attempt 41: Please wait for sglang server to become ready...
2025-03-18 10:24:25,634 - __main__ - WARNING - Attempt 42: Please wait for sglang server to become ready...
Loading safetensors checkpoint shards:  25% Completed | 1/4 [00:08<00:24,  8.27s/it]
2025-03-18 10:24:26,654 - __main__ - WARNING - Attempt 43: Please wait for sglang server to become ready...
2025-03-18 10:24:27,691 - __main__ - WARNING - Attempt 44: Please wait for sglang server to become ready...
2025-03-18 10:24:28,728 - __main__ - WARNING - Attempt 45: Please wait for sglang server to become ready...
2025-03-18 10:24:29,764 - __main__ - WARNING - Attempt 46: Please wait for sglang server to become ready...
2025-03-18 10:24:30,801 - __main__ - WARNING - Attempt 47: Please wait for sglang server to become ready...
2025-03-18 10:24:31,838 - __main__ - WARNING - Attempt 48: Please wait for sglang server to become ready...
2025-03-18 10:24:32,875 - __main__ - WARNING - Attempt 49: Please wait for sglang server to become ready...
2025-03-18 10:24:33,915 - __main__ - WARNING - Attempt 50: Please wait for sglang server to become ready...
2025-03-18 10:24:34,953 - __main__ - WARNING - Attempt 51: Please wait for sglang server to become ready...
2025-03-18 10:24:35,990 - __main__ - WARNING - Attempt 52: Please wait for sglang server to become ready...
2025-03-18 10:24:37,026 - __main__ - WARNING - Attempt 53: Please wait for sglang server to become ready...
2025-03-18 10:24:38,062 - __main__ - WARNING - Attempt 54: Please wait for sglang server to become ready...
2025-03-18 10:24:39,098 - __main__ - WARNING - Attempt 55: Please wait for sglang server to become ready...
2025-03-18 10:24:40,134 - __main__ - WARNING - Attempt 56: Please wait for sglang server to become ready...
2025-03-18 10:24:41,171 - __main__ - WARNING - Attempt 57: Please wait for sglang server to become ready...
2025-03-18 10:24:42,208 - __main__ - WARNING - Attempt 58: Please wait for sglang server to become ready...
2025-03-18 10:24:43,244 - __main__ - WARNING - Attempt 59: Please wait for sglang server to become ready...
2025-03-18 10:24:44,282 - __main__ - WARNING - Attempt 60: Please wait for sglang server to become ready...
2025-03-18 10:24:45,317 - __main__ - WARNING - Attempt 61: Please wait for sglang server to become ready...
2025-03-18 10:24:46,354 - __main__ - WARNING - Attempt 62: Please wait for sglang server to become ready...
2025-03-18 10:24:47,390 - __main__ - WARNING - Attempt 63: Please wait for sglang server to become ready...
2025-03-18 10:24:48,426 - __main__ - WARNING - Attempt 64: Please wait for sglang server to become ready...
2025-03-18 10:24:49,464 - __main__ - WARNING - Attempt 65: Please wait for sglang server to become ready...
2025-03-18 10:24:50,500 - __main__ - WARNING - Attempt 66: Please wait for sglang server to become ready...
Loading safetensors checkpoint shards:  50% Completed | 2/4 [00:33<00:36, 18.44s/it]
2025-03-18 10:24:51,537 - __main__ - WARNING - Attempt 67: Please wait for sglang server to become ready...
2025-03-18 10:24:52,557 - __main__ - WARNING - Attempt 68: Please wait for sglang server to become ready...
2025-03-18 10:24:53,587 - __main__ - WARNING - Attempt 69: Please wait for sglang server to become ready...
2025-03-18 10:24:54,623 - __main__ - WARNING - Attempt 70: Please wait for sglang server to become ready...
2025-03-18 10:24:55,659 - __main__ - WARNING - Attempt 71: Please wait for sglang server to become ready...
2025-03-18 10:24:56,695 - __main__ - WARNING - Attempt 72: Please wait for sglang server to become ready...
2025-03-18 10:24:57,731 - __main__ - WARNING - Attempt 73: Please wait for sglang server to become ready...
2025-03-18 10:24:58,769 - __main__ - WARNING - Attempt 74: Please wait for sglang server to become ready...
2025-03-18 10:24:59,807 - __main__ - WARNING - Attempt 75: Please wait for sglang server to become ready...
2025-03-18 10:25:00,844 - __main__ - WARNING - Attempt 76: Please wait for sglang server to become ready...
2025-03-18 10:25:01,880 - __main__ - WARNING - Attempt 77: Please wait for sglang server to become ready...
2025-03-18 10:25:02,917 - __main__ - WARNING - Attempt 78: Please wait for sglang server to become ready...
2025-03-18 10:25:03,953 - __main__ - WARNING - Attempt 79: Please wait for sglang server to become ready...
2025-03-18 10:25:04,989 - __main__ - WARNING - Attempt 80: Please wait for sglang server to become ready...
2025-03-18 10:25:06,025 - __main__ - WARNING - Attempt 81: Please wait for sglang server to become ready...
2025-03-18 10:25:07,062 - __main__ - WARNING - Attempt 82: Please wait for sglang server to become ready...
2025-03-18 10:25:08,098 - __main__ - WARNING - Attempt 83: Please wait for sglang server to become ready...
2025-03-18 10:25:09,135 - __main__ - WARNING - Attempt 84: Please wait for sglang server to become ready...
2025-03-18 10:25:10,173 - __main__ - WARNING - Attempt 85: Please wait for sglang server to become ready...
2025-03-18 10:25:11,210 - __main__ - WARNING - Attempt 86: Please wait for sglang server to become ready...
2025-03-18 10:25:12,246 - __main__ - WARNING - Attempt 87: Please wait for sglang server to become ready...
2025-03-18 10:25:13,283 - __main__ - WARNING - Attempt 88: Please wait for sglang server to become ready...
2025-03-18 10:25:14,319 - __main__ - WARNING - Attempt 89: Please wait for sglang server to become ready...
2025-03-18 10:25:15,354 - __main__ - WARNING - Attempt 90: Please wait for sglang server to become ready...
2025-03-18 10:25:16,390 - __main__ - WARNING - Attempt 91: Please wait for sglang server to become ready...
Loading safetensors checkpoint shards:  75% Completed | 3/4 [00:59<00:21, 21.65s/it]
2025-03-18 10:25:17,426 - __main__ - WARNING - Attempt 92: Please wait for sglang server to become ready...
2025-03-18 10:25:18,462 - __main__ - WARNING - Attempt 93: Please wait for sglang server to become ready...
2025-03-18 10:25:19,483 - __main__ - WARNING - Attempt 94: Please wait for sglang server to become ready...
2025-03-18 10:25:20,519 - __main__ - WARNING - Attempt 95: Please wait for sglang server to become ready...
2025-03-18 10:25:21,555 - __main__ - WARNING - Attempt 96: Please wait for sglang server to become ready...
2025-03-18 10:25:22,591 - __main__ - WARNING - Attempt 97: Please wait for sglang server to become ready...
2025-03-18 10:25:23,627 - __main__ - WARNING - Attempt 98: Please wait for sglang server to become ready...
2025-03-18 10:25:24,664 - __main__ - WARNING - Attempt 99: Please wait for sglang server to become ready...
2025-03-18 10:25:25,700 - __main__ - WARNING - Attempt 100: Please wait for sglang server to become ready...
2025-03-18 10:25:26,736 - __main__ - WARNING - Attempt 101: Please wait for sglang server to become ready...
2025-03-18 10:25:27,777 - __main__ - WARNING - Attempt 102: Please wait for sglang server to become ready...
2025-03-18 10:25:28,814 - __main__ - WARNING - Attempt 103: Please wait for sglang server to become ready...
2025-03-18 10:25:29,850 - __main__ - WARNING - Attempt 104: Please wait for sglang server to become ready...
2025-03-18 10:25:30,887 - __main__ - WARNING - Attempt 105: Please wait for sglang server to become ready...
2025-03-18 10:25:31,923 - __main__ - WARNING - Attempt 106: Please wait for sglang server to become ready...
2025-03-18 10:25:32,959 - __main__ - WARNING - Attempt 107: Please wait for sglang server to become ready...
2025-03-18 10:25:33,995 - __main__ - WARNING - Attempt 108: Please wait for sglang server to become ready...
2025-03-18 10:25:35,031 - __main__ - WARNING - Attempt 109: Please wait for sglang server to become ready...
2025-03-18 10:25:36,067 - __main__ - WARNING - Attempt 110: Please wait for sglang server to become ready...
2025-03-18 10:25:37,106 - __main__ - WARNING - Attempt 111: Please wait for sglang server to become ready...
2025-03-18 10:25:38,145 - __main__ - WARNING - Attempt 112: Please wait for sglang server to become ready...
2025-03-18 10:25:39,183 - __main__ - WARNING - Attempt 113: Please wait for sglang server to become ready...
2025-03-18 10:25:40,220 - __main__ - WARNING - Attempt 114: Please wait for sglang server to become ready...
2025-03-18 10:25:41,256 - __main__ - WARNING - Attempt 115: Please wait for sglang server to become ready...
Loading safetensors checkpoint shards: 100% Completed | 4/4 [01:24<00:00, 23.02s/it]
Loading safetensors checkpoint shards: 100% Completed | 4/4 [01:24<00:00, 21.11s/it]
2025-03-18 10:25:42,050 - __main__ - INFO - 
2025-03-18 10:25:42,153 - __main__ - INFO - [2025-03-18 10:25:42 TP0] Load weight end. type=Qwen2VLForConditionalGeneration, dtype=torch.bfloat16, avail mem=7.74 GB
2025-03-18 10:25:42,292 - __main__ - WARNING - Attempt 116: Please wait for sglang server to become ready...
2025-03-18 10:25:43,004 - __main__ - INFO - [2025-03-18 10:25:43 TP0] KV Cache is allocated. K size: 1.06 GB, V size: 1.06 GB.
2025-03-18 10:25:43,004 - __main__ - INFO - [2025-03-18 10:25:43 TP0] Memory pool end. avail mem=5.30 GB
2025-03-18 10:25:43,328 - __main__ - WARNING - Attempt 117: Please wait for sglang server to become ready...
2025-03-18 10:25:43,352 - __main__ - INFO - [2025-03-18 10:25:43 TP0] Capture cuda graph begin. This can take up to several minutes.
2025-03-18 10:25:44,365 - __main__ - WARNING - Attempt 118: Please wait for sglang server to become ready...
2025-03-18 10:25:45,392 - __main__ - WARNING - Attempt 119: Please wait for sglang server to become ready...
100%|██████████| 4/4 [00:02<00:00,  1.65it/s]
2025-03-18 10:25:45,785 - __main__ - INFO - [2025-03-18 10:25:45 TP0] Capture cuda graph end. Time elapsed: 2.43 s
2025-03-18 10:25:46,429 - __main__ - WARNING - Attempt 120: Please wait for sglang server to become ready...
2025-03-18 10:25:47,288 - __main__ - INFO - [2025-03-18 10:25:47 TP0] max_total_num_tokens=39523, chunked_prefill_size=-1, max_prefill_tokens=16384, max_running_requests=2049, context_len=32768
2025-03-18 10:25:47,467 - __main__ - WARNING - Attempt 121: Please wait for sglang server to become ready...
2025-03-18 10:25:48,432 - __main__ - INFO - [2025-03-18 10:25:48 TP0] Prefill batch. #new-seq: 1, #new-token: 6, #cached-token: 0, cache hit rate: 0.00%, token usage: 0.00, #running-req: 0, #queue-req: 0
2025-03-18 10:25:48,432 - __main__ - INFO - sglang running req: 0 queue req: 0
INFO:httpx:HTTP Request: GET http://localhost:30024/v1/models "HTTP/1.1 200 OK"
2025-03-18 10:25:48,534 - __main__ - INFO - sglang server is ready.
2025-03-18 10:25:48,534 - __main__ - INFO - Queue remaining: 0
2025-03-18 10:25:48,534 - __main__ - INFO - 
Metric Name                        Lifetime (tokens/sec)     Recently (tokens/sec)
----------------------------------------------------------------------------------
2025-03-18 10:25:48,534 - __main__ - INFO - 
Worker ID
---------
2025-03-18 10:25:48,534 - __main__ - INFO - Worker 0 exiting due to empty queue
2025-03-18 10:25:48,534 - __main__ - INFO - Worker 1 exiting due to empty queue
2025-03-18 10:25:48,534 - __main__ - INFO - Worker 2 exiting due to empty queue
2025-03-18 10:25:48,534 - __main__ - INFO - Worker 3 exiting due to empty queue
2025-03-18 10:25:48,534 - __main__ - INFO - Worker 4 exiting due to empty queue
2025-03-18 10:25:48,534 - __main__ - INFO - Worker 5 exiting due to empty queue
2025-03-18 10:25:48,534 - __main__ - INFO - Worker 6 exiting due to empty queue
2025-03-18 10:25:48,534 - __main__ - INFO - Worker 7 exiting due to empty queue
2025-03-18 10:25:48,535 - __main__ - INFO - Work done
2025-03-18 10:25:48,535 - __main__ - INFO - Got cancellation request for SGLang server

Any tips on what should i do?

Versions

Python 3.11.11
aiohappyeyeballs==2.4.8
aiohttp==3.11.13
aiosignal==1.3.2
annotated-types==0.7.0
anthropic==0.49.0
anyio==4.8.0
asttokens==3.0.0
attrs==25.1.0
beaker-py==1.34.1
bleach==6.2.0
boto3==1.37.6
botocore==1.37.6
cached_path==1.6.7
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
click==8.1.8
cloudpickle==3.1.1
compressed-tensors==0.8.0
cryptography==44.0.2
cuda-bindings==12.8.0
cuda-python==12.8.0
datasets==3.3.2
decorator==5.2.1
decord==0.6.0
Deprecated==1.2.18
dill==0.3.8
diskcache==5.6.3
distro==1.9.0
docker==7.1.0
einops==0.8.1
executing==2.2.0
fastapi==0.115.11
filelock==3.17.0
flashinfer==0.1.6+cu124torch2.4
frozenlist==1.5.0
fsspec==2024.12.0
ftfy==6.3.1
gguf==0.10.0
google-api-core==2.24.1
google-auth==2.38.0
google-cloud-core==2.4.2
google-cloud-storage==2.19.0
google-crc32c==1.6.0
google-resumable-media==2.7.2
googleapis-common-protos==1.69.0
h11==0.14.0
hf_transfer==0.1.9
httpcore==1.0.7
httptools==0.6.4
httpx==0.28.1
huggingface-hub==0.27.1
idna==3.10
img2pdf==0.6.0
importlib_metadata==8.6.1
interegular==0.3.3
ipython==9.0.1
ipython_pygments_lexers==1.1.1
jedi==0.19.2
Jinja2==3.1.5
jiter==0.8.2
jmespath==1.0.1
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
lark==1.2.2
lingua-language-detector==2.0.2
litellm==1.62.1
llvmlite==0.44.0
lm-format-enforcer==0.10.11
lxml==5.3.1
markdown-it-py==3.0.0
markdown2==2.5.3
MarkupSafe==3.0.2
matplotlib-inline==0.1.7
mdurl==0.1.2
mistral_common==1.5.3
modelscope==1.23.2
mpmath==1.3.0
msgpack==1.1.0
msgspec==0.19.0
multidict==6.1.0
multiprocess==0.70.16
nest-asyncio==1.6.0
networkx==3.4.2
numba==0.61.0
numpy==1.26.4
nvidia-cublas-cu12==12.4.5.8
nvidia-cuda-cupti-cu12==12.4.127
nvidia-cuda-nvrtc-cu12==12.4.127
nvidia-cuda-runtime-cu12==12.4.127
nvidia-cudnn-cu12==9.1.0.70
nvidia-cufft-cu12==11.2.1.3
nvidia-curand-cu12==10.3.5.147
nvidia-cusolver-cu12==11.6.1.9
nvidia-cusparse-cu12==12.3.1.170
nvidia-cusparselt-cu12==0.6.2
nvidia-ml-py==12.570.86
nvidia-nccl-cu12==2.21.5
nvidia-nvjitlink-cu12==12.4.127
nvidia-nvtx-cu12==12.4.127
-e git+https://github.com/allenai/olmocr.git@1545a6d5150c7008c7e24ff863a3d10d9d3d5de4#egg=olmocr
openai==1.65.3
opencv-python-headless==4.11.0.86
orjson==3.10.15
outlines==0.0.46
packaging==24.2
pandas==2.2.3
parso==0.8.4
partial-json-parser==0.2.1.1.post5
pexpect==4.9.0
pikepdf==9.5.2
pillow==11.1.0
prometheus-fastapi-instrumentator==7.0.2
prometheus_client==0.21.1
prompt_toolkit==3.0.50
propcache==0.3.0
proto-plus==1.26.0
protobuf==5.29.3
psutil==7.0.0
ptyprocess==0.7.0
pure_eval==0.2.3
py-cpuinfo==9.0.0
pyairports==2.1.1
pyarrow==19.0.1
pyasn1==0.6.1
pyasn1_modules==0.4.1
pycountry==24.6.1
pycparser==2.22
pydantic==2.10.6
pydantic_core==2.27.2
Pygments==2.19.1
pypdf==5.3.1
pypdfium2==4.30.1
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
python-multipart==0.0.20
pytz==2025.1
PyYAML==6.0.2
pyzmq==26.2.1
ray==2.43.0
referencing==0.36.2
regex==2024.11.6
requests==2.32.3
rich==13.9.4
rpds-py==0.23.1
rsa==4.9
s3transfer==0.11.4
safetensors==0.5.3
sentencepiece==0.2.0
setproctitle==1.3.5
sgl-kernel==0.0.3.post1
sglang==0.4.2
six==1.17.0
smart-open==7.1.0
sniffio==1.3.1
stack-data==0.6.3
starlette==0.46.0
sympy==1.13.1
tiktoken==0.9.0
tokenizers==0.21.0
torch==2.5.1
torchao==0.9.0
torchvision==0.20.1
tqdm==4.67.1
traitlets==5.14.3
transformers==4.49.0
triton==3.1.0
typing_extensions==4.12.2
tzdata==2025.1
urllib3==2.3.0
uvicorn==0.34.0
uvloop==0.21.0
vllm==0.6.4.post1
watchfiles==1.0.4
wcwidth==0.2.13
webencodings==0.5.1
websockets==15.0
wrapt==1.17.2
xformers==0.0.28.post3
xgrammar==0.1.14
xxhash==3.5.0
yarl==1.18.3
zipp==3.21.0
zstandard==0.23.0

@ep0p ep0p added the bug Something isn't working label Mar 18, 2025
@hongyispace
Copy link

similar here:
-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.42.02 Driver Version: 555.42.02 CUDA Version: 12.5 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4090 Off | 00000000:17:00.0 Off | Off |
| 30% 24C P8 12W / 450W | 15MiB / 24564MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
| 1 NVIDIA GeForce RTX 4090 Off | 00000000:31:00.0 Off | Off |
| 30% 25C P8 4W / 450W | 15MiB / 24564MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
| 2 NVIDIA GeForce RTX 4090 Off | 00000000:B1:00.0 Off | Off |
| 30% 25C P8 27W / 450W | 15MiB / 24564MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
| 3 NVIDIA GeForce RTX 4090 Off | 00000000:CA:00.0 Off | Off |
| 30% 25C P8 20W / 450W | 15MiB / 24564MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

python -m olmocr.pipeline ./localworkspace --pdfs tests/gnarly_pdfs/horribleocr.pdf
INFO:olmocr.check:pdftoppm is installed and working.
2025-03-18 21:47:59,675 - main - INFO - Got --pdfs argument, going to add to the work queue
2025-03-18 21:47:59,675 - main - INFO - Loading file at tests/gnarly_pdfs/horribleocr.pdf as PDF document
2025-03-18 21:47:59,675 - main - INFO - Found 1 total pdf paths to add
Sampling PDFs to calculate optimal length: 100%|██████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 225.06it/s]
2025-03-18 21:47:59,681 - main - INFO - Calculated items_per_group: 500 based on average pages per PDF: 1.00
INFO:olmocr.work_queue:Found 1 total paths
INFO:olmocr.work_queue:0 new paths to add to the workspace
2025-03-18 21:47:59,977 - main - INFO - Starting pipeline with PID 1033204
2025-03-18 21:47:59,978 - main - INFO - Downloading model 'allenai/olmOCR-7B-0225-preview'
Fetching 15 files: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 15/15 [00:00<00:00, 33861.44it/s]
2025-03-18 21:48:01,084 - main - INFO - Model download complete 'allenai/olmOCR-7B-0225-preview'
INFO:olmocr.work_queue:Initialized local queue with 3 work items
2025-03-18 21:48:01,262 - main - WARNING - Attempt 1: Please wait for sglang server to become ready...
2025-03-18 21:48:02,404 - main - WARNING - Attempt 2: Please wait for sglang server to become ready...
2025-03-18 21:48:03,541 - main - WARNING - Attempt 3: Please wait for sglang server to become ready...
2025-03-18 21:48:04,684 - main - WARNING - Attempt 4: Please wait for sglang server to become ready...
2025-03-18 21:48:05,827 - main - WARNING - Attempt 5: Please wait for sglang server to become ready...
2025-03-18 21:48:06,970 - main - WARNING - Attempt 6: Please wait for sglang server to become ready...
2025-03-18 21:48:08,136 - main - WARNING - Attempt 7: Please wait for sglang server to become ready...
2025-03-18 21:48:09,288 - main - WARNING - Attempt 8: Please wait for sglang server to become ready...
2025-03-18 21:48:09,404 - main - INFO - [2025-03-18 21:48:09] server_args=ServerArgs(model_path='allenai/olmOCR-7B-0225-preview', tokenizer_path='allenai/olmOCR-7B-0225-preview', tokenizer_mode='auto', load_format='auto', trust_remote_code=False, dtype='auto', kv_cache_dtype='auto', quantization_param_path=None, quantization=None, context_length=None, device='cuda', served_model_name='allenai/olmOCR-7B-0225-preview', chat_template='qwen2-vl', is_embedding=False, revision=None, skip_tokenizer_init=False, host='127.0.0.1', port=30024, mem_fraction_static=0.8, max_running_requests=None, max_total_tokens=None, chunked_prefill_size=2048, max_prefill_tokens=16384, schedule_policy='lpm', schedule_conservativeness=1.0, cpu_offload_gb=0, prefill_only_one_req=False, tp_size=1, stream_interval=1, stream_output=False, random_seed=335916857, constrained_json_whitespace_pattern=None, watchdog_timeout=300, download_dir=None, base_gpu_id=0, log_level='info', log_level_http='warning', log_requests=False, show_time_cost=False, enable_metrics=False, decode_log_interval=40, api_key=None, file_storage_pth='sglang_storage', enable_cache_report=False, dp_size=1, load_balance_method='round_robin', ep_size=1, dist_init_addr=None, nnodes=1, node_rank=0, json_model_override_args='{}', lora_paths=None, max_loras_per_batch=8, attention_backend='flashinfer', sampling_backend='flashinfer', grammar_backend='outlines', speculative_draft_model_path=None, speculative_algorithm=None, speculative_num_steps=5, speculative_num_draft_tokens=64, speculative_eagle_topk=8, enable_double_sparsity=False, ds_channel_config_path=None, ds_heavy_channel_num=32, ds_heavy_token_num=256, ds_heavy_channel_type='qk', ds_sparse_decode_threshold=4096, disable_radix_cache=False, disable_jump_forward=False, disable_cuda_graph=False, disable_cuda_graph_padding=False, disable_outlines_disk_cache=False, disable_custom_all_reduce=False, disable_mla=False, disable_overlap_schedule=False, enable_mixed_chunk=False, enable_dp_attention=False, enable_ep_moe=False, enable_torch_compile=False, torch_compile_max_bs=32, cuda_graph_max_bs=8, cuda_graph_bs=None, torchao_config='', enable_nan_detection=False, enable_p2p_check=False, triton_attention_reduce_in_fp32=False, triton_attention_num_kv_splits=8, num_continuous_decode_steps=1, delete_ckpt_after_loading=False, enable_memory_saver=False, allow_auto_truncate=False, enable_custom_logit_processor=False, tool_call_parser=None)
2025-03-18 21:48:10,426 - main - WARNING - Attempt 9: Please wait for sglang server to become ready...
2025-03-18 21:48:11,567 - main - WARNING - Attempt 10: Please wait for sglang server to become ready...
2025-03-18 21:48:12,708 - main - WARNING - Attempt 11: Please wait for sglang server to become ready...
2025-03-18 21:48:13,854 - main - WARNING - Attempt 12: Please wait for sglang server to become ready...
2025-03-18 21:48:14,995 - main - WARNING - Attempt 13: Please wait for sglang server to become ready...
2025-03-18 21:48:15,801 - main - INFO - [2025-03-18 21:48:15] Use chat template for the OpenAI-compatible API server: qwen2-vl
2025-03-18 21:48:16,135 - main - WARNING - Attempt 14: Please wait for sglang server to become ready...
2025-03-18 21:48:17,277 - main - WARNING - Attempt 15: Please wait for sglang server to become ready...
2025-03-18 21:48:18,418 - main - WARNING - Attempt 16: Please wait for sglang server to become ready...
2025-03-18 21:48:19,560 - main - WARNING - Attempt 17: Please wait for sglang server to become ready...
2025-03-18 21:48:20,702 - main - WARNING - Attempt 18: Please wait for sglang server to become ready...
2025-03-18 21:48:21,001 - main - INFO - [2025-03-18 21:48:21 TP0] Overlap scheduler is disabled for multimodal models.
2025-03-18 21:48:21,507 - main - INFO - [2025-03-18 21:48:21 TP0] Automatically reduce --mem-fraction-static to 0.760 because this is a multimodal model.
2025-03-18 21:48:21,508 - main - INFO - [2025-03-18 21:48:21 TP0] Automatically turn off --chunked-prefill-size and disable radix cache for qwen2-vl.
2025-03-18 21:48:21,508 - main - INFO - [2025-03-18 21:48:21 TP0] Init torch distributed begin.
2025-03-18 21:48:21,845 - main - WARNING - Attempt 19: Please wait for sglang server to become ready...
2025-03-18 21:48:21,848 - main - INFO - [2025-03-18 21:48:21 TP0] Load weight begin. avail mem=23.16 GB
2025-03-18 21:48:22,743 - main - INFO - [2025-03-18 21:48:22 TP0] Using model weights format ['*.safetensors']
2025-03-18 21:48:22,987 - main - WARNING - Attempt 20: Please wait for sglang server to become ready...
Loading safetensors checkpoint shards: 0% Completed | 0/4 [00:00<?, ?it/s]
2025-03-18 21:48:24,128 - main - WARNING - Attempt 21: Please wait for sglang server to become ready...
Loading safetensors checkpoint shards: 25% Completed | 1/4 [00:00<00:02, 1.16it/s]
Loading safetensors checkpoint shards: 50% Completed | 2/4 [00:01<00:01, 1.73it/s]
2025-03-18 21:48:25,268 - main - WARNING - Attempt 22: Please wait for sglang server to become ready...
Loading safetensors checkpoint shards: 75% Completed | 3/4 [00:02<00:00, 1.35it/s]
2025-03-18 21:48:26,403 - main - WARNING - Attempt 23: Please wait for sglang server to become ready...
Loading safetensors checkpoint shards: 100% Completed | 4/4 [00:02<00:00, 1.30it/s]
Loading safetensors checkpoint shards: 100% Completed | 4/4 [00:02<00:00, 1.34it/s]
2025-03-18 21:48:26,859 - main - INFO -
2025-03-18 21:48:26,970 - main - INFO - [2025-03-18 21:48:26 TP0] Load weight end. type=Qwen2VLForConditionalGeneration, dtype=torch.bfloat16, avail mem=7.43 GB
2025-03-18 21:48:26,990 - main - INFO - [2025-03-18 21:48:26 TP0] KV Cache is allocated. K size: 0.94 GB, V size: 0.94 GB.
2025-03-18 21:48:26,991 - main - INFO - [2025-03-18 21:48:26 TP0] Memory pool end. avail mem=5.21 GB
2025-03-18 21:48:27,158 - main - INFO - [2025-03-18 21:48:27 TP0] Capture cuda graph begin. This can take up to several minutes.
2025-03-18 21:48:27,545 - main - WARNING - Attempt 24: Please wait for sglang server to become ready...
2025-03-18 21:48:28,684 - main - WARNING - Attempt 25: Please wait for sglang server to become ready...
100%|██████████| 4/4 [00:01<00:00, 2.27it/s]
2025-03-18 21:48:28,920 - main - INFO - [2025-03-18 21:48:28 TP0] Capture cuda graph end. Time elapsed: 1.76 s
2025-03-18 21:48:29,826 - main - WARNING - Attempt 26: Please wait for sglang server to become ready...
2025-03-18 21:48:30,940 - main - WARNING - Attempt 27: Please wait for sglang server to become ready...
2025-03-18 21:48:31,470 - main - INFO - [2025-03-18 21:48:31 TP0] max_total_num_tokens=35121, chunked_prefill_size=-1, max_prefill_tokens=16384, max_running_requests=2049, context_len=32768
2025-03-18 21:48:32,078 - main - WARNING - Attempt 28: Please wait for sglang server to become ready...
2025-03-18 21:48:32,558 - main - INFO - [2025-03-18 21:48:32 TP0] Prefill batch. #new-seq: 1, #new-token: 6, #cached-token: 0, cache hit rate: 0.00%, token usage: 0.00, #running-req: 0, #queue-req: 0
2025-03-18 21:48:32,559 - main - INFO - sglang running req: 0 queue req: 0
2025-03-18 21:48:33,215 - main - WARNING - Attempt 29: Please wait for sglang server to become ready...
2025-03-18 21:48:33,217 - main - INFO - [2025-03-18 21:48:33] The server is fired up and ready to roll!
2025-03-18 21:48:34,358 - main - WARNING - Attempt 30: Please wait for sglang server to become ready...
2025-03-18 21:48:35,499 - main - WARNING - Attempt 31: Please wait for sglang server to become ready...
2025-03-18 21:48:36,637 - main - WARNING - Attempt 32: Please wait for sglang server to become ready...
2025-03-18 21:48:37,778 - main - WARNING - Attempt 33: Please wait for sglang server to become ready...
2025-03-18 21:48:38,916 - main - WARNING - Attempt 34: Please wait for sglang server to become ready...
2025-03-18 21:48:40,054 - main - WARNING - Attempt 35: Please wait for sglang server to become ready...
2025-03-18 21:48:41,201 - main - WARNING - Attempt 36: Please wait for sglang server to become ready...
2025-03-18 21:48:42,342 - main - WARNING - Attempt 37: Please wait for sglang server to become ready...
2025-03-18 21:48:43,480 - main - WARNING - Attempt 38: Please wait for sglang server to become ready...
2025-03-18 21:48:44,618 - main - WARNING - Attempt 39: Please wait for sglang server to become ready...
2025-03-18 21:48:45,758 - main - WARNING - Attempt 40: Please wait for sglang server to become ready...
2025-03-18 21:48:46,897 - main - WARNING - Attempt 41: Please wait for sglang server to become ready...
2025-03-18 21:48:48,037 - main - WARNING - Attempt 42: Please wait for sglang server to become ready...
2025-03-18 21:48:49,176 - main - WARNING - Attempt 43: Please wait for sglang server to become ready...
2025-03-18 21:48:50,314 - main - WARNING - Attempt 44: Please wait for sglang server to become ready...
2025-03-18 21:48:51,455 - main - WARNING - Attempt 45: Please wait for sglang server to become ready...
2025-03-18 21:48:52,593 - main - WARNING - Attempt 46: Please wait for sglang server to become ready...
2025-03-18 21:48:53,730 - main - WARNING - Attempt 47: Please wait for sglang server to become ready...
2025-03-18 21:48:54,871 - main - WARNING - Attempt 48: Please wait for sglang server to become ready...
2025-03-18 21:48:56,009 - main - WARNING - Attempt 49: Please wait for sglang server to become ready...
2025-03-18 21:48:57,150 - main - WARNING - Attempt 50: Please wait for sglang server to become ready...
2025-03-18 21:48:58,289 - main - WARNING - Attempt 51: Please wait for sglang server to become ready...
2025-03-18 21:48:59,429 - main - WARNING - Attempt 52: Please wait for sglang server to become ready...
2025-03-18 21:49:00,566 - main - WARNING - Attempt 53: Please wait for sglang server to become ready...
2025-03-18 21:49:01,704 - main - WARNING - Attempt 54: Please wait for sglang server to become ready...
2025-03-18 21:49:02,842 - main - WARNING - Attempt 55: Please wait for sglang server to become ready...
2025-03-18 21:49:03,994 - main - WARNING - Attempt 56: Please wait for sglang server to become ready...
2025-03-18 21:49:05,148 - main - WARNING - Attempt 57: Please wait for sglang server to become ready...
2025-03-18 21:49:06,286 - main - WARNING - Attempt 58: Please wait for sglang server to become ready...
2025-03-18 21:49:07,425 - main - WARNING - Attempt 59: Please wait for sglang server to become ready...
2025-03-18 21:49:08,566 - main - WARNING - Attempt 60: Please wait for sglang server to become ready...
2025-03-18 21:49:09,705 - main - WARNING - Attempt 61: Please wait for sglang server to become ready...
2025-03-18 21:49:10,848 - main - WARNING - Attempt 62: Please wait for sglang server to become ready...
2025-03-18 21:49:11,987 - main - WARNING - Attempt 63: Please wait for sglang server to become ready...
2025-03-18 21:49:13,131 - main - WARNING - Attempt 64: Please wait for sglang server to become ready...
2025-03-18 21:49:14,271 - main - WARNING - Attempt 65: Please wait for sglang server to become ready...
2025-03-18 21:49:15,411 - main - WARNING - Attempt 66: Please wait for sglang server to become ready...
2025-03-18 21:49:16,549 - main - WARNING - Attempt 67: Please wait for sglang server to become ready...
2025-03-18 21:49:17,687 - main - WARNING - Attempt 68: Please wait for sglang server to become ready...
2025-03-18 21:49:18,827 - main - WARNING - Attempt 69: Please wait for sglang server to become ready...
2025-03-18 21:49:19,964 - main - WARNING - Attempt 70: Please wait for sglang server to become ready...
2025-03-18 21:49:21,101 - main - WARNING - Attempt 71: Please wait for sglang server to become ready...
2025-03-18 21:49:22,240 - main - WARNING - Attempt 72: Please wait for sglang server to become ready...
2025-03-18 21:49:23,377 - main - WARNING - Attempt 73: Please wait for sglang server to become ready...
2025-03-18 21:49:24,516 - main - WARNING - Attempt 74: Please wait for sglang server to become ready...
2025-03-18 21:49:25,652 - main - WARNING - Attempt 75: Please wait for sglang server to become ready...
2025-03-18 21:49:26,792 - main - WARNING - Attempt 76: Please wait for sglang server to become ready...
2025-03-18 21:49:27,930 - main - WARNING - Attempt 77: Please wait for sglang server to become ready...
2025-03-18 21:49:29,071 - main - WARNING - Attempt 78: Please wait for sglang server to become ready...
2025-03-18 21:49:30,208 - main - WARNING - Attempt 79: Please wait for sglang server to become ready...
2025-03-18 21:49:31,346 - main - WARNING - Attempt 80: Please wait for sglang server to become ready...
2025-03-18 21:49:32,484 - main - WARNING - Attempt 81: Please wait for sglang server to become ready...
2025-03-18 21:49:33,623 - main - WARNING - Attempt 82: Please wait for sglang server to become ready...
2025-03-18 21:49:34,760 - main - WARNING - Attempt 83: Please wait for sglang server to become ready...
2025-03-18 21:49:35,899 - main - WARNING - Attempt 84: Please wait for sglang server to become ready...
2025-03-18 21:49:37,036 - main - WARNING - Attempt 85: Please wait for sglang server to become ready...
2025-03-18 21:49:38,174 - main - WARNING - Attempt 86: Please wait for sglang server to become ready...
2025-03-18 21:49:39,314 - main - WARNING - Attempt 87: Please wait for sglang server to become ready...
2025-03-18 21:49:40,451 - main - WARNING - Attempt 88: Please wait for sglang server to become ready...
2025-03-18 21:49:41,589 - main - WARNING - Attempt 89: Please wait for sglang server to become ready...
2025-03-18 21:49:42,730 - main - WARNING - Attempt 90: Please wait for sglang server to become ready...
2025-03-18 21:49:43,871 - main - WARNING - Attempt 91: Please wait for sglang server to become ready...
2025-03-18 21:49:45,008 - main - WARNING - Attempt 92: Please wait for sglang server to become ready...
2025-03-18 21:49:46,146 - main - WARNING - Attempt 93: Please wait for sglang server to become ready...
2025-03-18 21:49:47,285 - main - WARNING - Attempt 94: Please wait for sglang server to become ready...
2025-03-18 21:49:48,425 - main - WARNING - Attempt 95: Please wait for sglang server to become ready...
2025-03-18 21:49:49,563 - main - WARNING - Attempt 96: Please wait for sglang server to become ready...
2025-03-18 21:49:50,701 - main - WARNING - Attempt 97: Please wait for sglang server to become ready...
2025-03-18 21:49:51,839 - main - WARNING - Attempt 98: Please wait for sglang server to become ready...
2025-03-18 21:49:52,977 - main - WARNING - Attempt 99: Please wait for sglang server to become ready...
2025-03-18 21:49:54,117 - main - WARNING - Attempt 100: Please wait for sglang server to become ready...
2025-03-18 21:49:55,255 - main - WARNING - Attempt 101: Please wait for sglang server to become ready...
2025-03-18 21:49:56,393 - main - WARNING - Attempt 102: Please wait for sglang server to become ready...
2025-03-18 21:49:57,533 - main - WARNING - Attempt 103: Please wait for sglang server to become ready...
2025-03-18 21:49:58,674 - main - WARNING - Attempt 104: Please wait for sglang server to become ready...
2025-03-18 21:49:59,817 - main - WARNING - Attempt 105: Please wait for sglang server to become ready...
2025-03-18 21:50:00,958 - main - WARNING - Attempt 106: Please wait for sglang server to become ready...
2025-03-18 21:50:02,098 - main - WARNING - Attempt 107: Please wait for sglang server to become ready...
2025-03-18 21:50:03,238 - main - WARNING - Attempt 108: Please wait for sglang server to become ready...
2025-03-18 21:50:04,376 - main - WARNING - Attempt 109: Please wait for sglang server to become ready...
2025-03-18 21:50:05,515 - main - WARNING - Attempt 110: Please wait for sglang server to become ready...
2025-03-18 21:50:06,653 - main - WARNING - Attempt 111: Please wait for sglang server to become ready...
2025-03-18 21:50:07,791 - main - WARNING - Attempt 112: Please wait for sglang server to become ready...
2025-03-18 21:50:08,928 - main - WARNING - Attempt 113: Please wait for sglang server to become ready...
2025-03-18 21:50:10,069 - main - WARNING - Attempt 114: Please wait for sglang server to become ready...
2025-03-18 21:50:11,207 - main - WARNING - Attempt 115: Please wait for sglang server to become ready...
2025-03-18 21:50:12,347 - main - WARNING - Attempt 116: Please wait for sglang server to become ready...
2025-03-18 21:50:13,485 - main - WARNING - Attempt 117: Please wait for sglang server to become ready...
2025-03-18 21:50:14,624 - main - WARNING - Attempt 118: Please wait for sglang server to become ready...
2025-03-18 21:50:15,762 - main - WARNING - Attempt 119: Please wait for sglang server to become ready...
2025-03-18 21:50:16,902 - main - WARNING - Attempt 120: Please wait for sglang server to become ready...
2025-03-18 21:50:18,040 - main - WARNING - Attempt 121: Please wait for sglang server to become ready...
2025-03-18 21:50:19,180 - main - WARNING - Attempt 122: Please wait for sglang server to become ready...
2025-03-18 21:50:20,317 - main - WARNING - Attempt 123: Please wait for sglang server to become ready...
2025-03-18 21:50:21,457 - main - WARNING - Attempt 124: Please wait for sglang server to become ready...
2025-03-18 21:50:22,596 - main - WARNING - Attempt 125: Please wait for sglang server to become ready...
2025-03-18 21:50:23,739 - main - WARNING - Attempt 126: Please wait for sglang server to become ready...
2025-03-18 21:50:24,876 - main - WARNING - Attempt 127: Please wait for sglang server to become ready...
2025-03-18 21:50:26,018 - main - WARNING - Attempt 128: Please wait for sglang server to become ready...
2025-03-18 21:50:27,155 - main - WARNING - Attempt 129: Please wait for sglang server to become ready...
2025-03-18 21:50:28,293 - main - WARNING - Attempt 130: Please wait for sglang server to become ready...
2025-03-18 21:50:29,433 - main - WARNING - Attempt 131: Please wait for sglang server to become ready...
2025-03-18 21:50:30,575 - main - WARNING - Attempt 132: Please wait for sglang server to become ready...
2025-03-18 21:50:31,717 - main - WARNING - Attempt 133: Please wait for sglang server to become ready...
2025-03-18 21:50:32,855 - main - WARNING - Attempt 134: Please wait for sglang server to become ready...
2025-03-18 21:50:33,995 - main - WARNING - Attempt 135: Please wait for sglang server to become ready...
2025-03-18 21:50:35,133 - main - WARNING - Attempt 136: Please wait for sglang server to become ready...
2025-03-18 21:50:36,271 - main - WARNING - Attempt 137: Please wait for sglang server to become ready...
2025-03-18 21:50:37,412 - main - WARNING - Attempt 138: Please wait for sglang server to become ready...
2025-03-18 21:50:38,552 - main - WARNING - Attempt 139: Please wait for sglang server to become ready...
2025-03-18 21:50:39,691 - main - WARNING - Attempt 140: Please wait for sglang server to become ready...
2025-03-18 21:50:40,831 - main - WARNING - Attempt 141: Please wait for sglang server to become ready...
2025-03-18 21:50:41,970 - main - WARNING - Attempt 142: Please wait for sglang server to become ready...
2025-03-18 21:50:43,109 - main - WARNING - Attempt 143: Please wait for sglang server to become ready...
2025-03-18 21:50:44,247 - main - WARNING - Attempt 144: Please wait for sglang server to become ready...
2025-03-18 21:50:45,387 - main - WARNING - Attempt 145: Please wait for sglang server to become ready...
2025-03-18 21:50:46,526 - main - WARNING - Attempt 146: Please wait for sglang server to become ready...
2025-03-18 21:50:47,665 - main - WARNING - Attempt 147: Please wait for sglang server to become ready...
2025-03-18 21:50:48,806 - main - WARNING - Attempt 148: Please wait for sglang server to become ready...
2025-03-18 21:50:49,944 - main - WARNING - Attempt 149: Please wait for sglang server to become ready...
2025-03-18 21:50:51,085 - main - WARNING - Attempt 150: Please wait for sglang server to become ready...
2025-03-18 21:50:52,226 - main - WARNING - Attempt 151: Please wait for sglang server to become ready...
2025-03-18 21:50:53,365 - main - WARNING - Attempt 152: Please wait for sglang server to become ready...
2025-03-18 21:50:54,505 - main - WARNING - Attempt 153: Please wait for sglang server to become ready...
2025-03-18 21:50:55,644 - main - WARNING - Attempt 154: Please wait for sglang server to become ready...
2025-03-18 21:50:56,781 - main - WARNING - Attempt 155: Please wait for sglang server to become ready...
2025-03-18 21:50:57,918 - main - WARNING - Attempt 156: Please wait for sglang server to become ready...
2025-03-18 21:50:59,058 - main - WARNING - Attempt 157: Please wait for sglang server to become ready...
2025-03-18 21:51:00,197 - main - WARNING - Attempt 158: Please wait for sglang server to become ready...
2025-03-18 21:51:01,337 - main - WARNING - Attempt 159: Please wait for sglang server to become ready...
2025-03-18 21:51:02,474 - main - WARNING - Attempt 160: Please wait for sglang server to become ready...
2025-03-18 21:51:03,613 - main - WARNING - Attempt 161: Please wait for sglang server to become ready...
2025-03-18 21:51:04,752 - main - WARNING - Attempt 162: Please wait for sglang server to become ready...
2025-03-18 21:51:05,891 - main - WARNING - Attempt 163: Please wait for sglang server to become ready...
2025-03-18 21:51:07,031 - main - WARNING - Attempt 164: Please wait for sglang server to become ready...
2025-03-18 21:51:08,170 - main - WARNING - Attempt 165: Please wait for sglang server to become ready...
2025-03-18 21:51:09,310 - main - WARNING - Attempt 166: Please wait for sglang server to become ready...
2025-03-18 21:51:10,447 - main - WARNING - Attempt 167: Please wait for sglang server to become ready...
2025-03-18 21:51:11,588 - main - WARNING - Attempt 168: Please wait for sglang server to become ready...
2025-03-18 21:51:12,727 - main - WARNING - Attempt 169: Please wait for sglang server to become ready...
2025-03-18 21:51:13,867 - main - WARNING - Attempt 170: Please wait for sglang server to become ready...
2025-03-18 21:51:15,004 - main - WARNING - Attempt 171: Please wait for sglang server to become ready...
2025-03-18 21:51:16,143 - main - WARNING - Attempt 172: Please wait for sglang server to become ready...
2025-03-18 21:51:17,283 - main - WARNING - Attempt 173: Please wait for sglang server to become ready...
2025-03-18 21:51:18,422 - main - WARNING - Attempt 174: Please wait for sglang server to become ready...
2025-03-18 21:51:19,559 - main - WARNING - Attempt 175: Please wait for sglang server to become ready...
2025-03-18 21:51:20,700 - main - WARNING - Attempt 176: Please wait for sglang server to become ready...
2025-03-18 21:51:21,838 - main - WARNING - Attempt 177: Please wait for sglang server to become ready...
2025-03-18 21:51:22,975 - main - WARNING - Attempt 178: Please wait for sglang server to become ready...
2025-03-18 21:51:24,115 - main - WARNING - Attempt 179: Please wait for sglang server to become ready...
2025-03-18 21:51:25,255 - main - WARNING - Attempt 180: Please wait for sglang server to become ready...
2025-03-18 21:51:26,393 - main - WARNING - Attempt 181: Please wait for sglang server to become ready...
2025-03-18 21:51:27,531 - main - WARNING - Attempt 182: Please wait for sglang server to become ready...
2025-03-18 21:51:28,669 - main - WARNING - Attempt 183: Please wait for sglang server to become ready...
2025-03-18 21:51:29,809 - main - WARNING - Attempt 184: Please wait for sglang server to become ready...
2025-03-18 21:51:30,949 - main - WARNING - Attempt 185: Please wait for sglang server to become ready...
2025-03-18 21:51:32,086 - main - WARNING - Attempt 186: Please wait for sglang server to become ready...
2025-03-18 21:51:33,224 - main - WARNING - Attempt 187: Please wait for sglang server to become ready...
2025-03-18 21:51:34,364 - main - WARNING - Attempt 188: Please wait for sglang server to become ready...
2025-03-18 21:51:35,504 - main - WARNING - Attempt 189: Please wait for sglang server to become ready...
2025-03-18 21:51:36,641 - main - WARNING - Attempt 190: Please wait for sglang server to become ready...
2025-03-18 21:51:37,779 - main - WARNING - Attempt 191: Please wait for sglang server to become ready...
2025-03-18 21:51:38,918 - main - WARNING - Attempt 192: Please wait for sglang server to become ready...
2025-03-18 21:51:40,059 - main - WARNING - Attempt 193: Please wait for sglang server to become ready...
2025-03-18 21:51:41,197 - main - WARNING - Attempt 194: Please wait for sglang server to become ready...
2025-03-18 21:51:42,334 - main - WARNING - Attempt 195: Please wait for sglang server to become ready...
2025-03-18 21:51:43,471 - main - WARNING - Attempt 196: Please wait for sglang server to become ready...
2025-03-18 21:51:44,610 - main - WARNING - Attempt 197: Please wait for sglang server to become ready...
2025-03-18 21:51:45,749 - main - WARNING - Attempt 198: Please wait for sglang server to become ready...
2025-03-18 21:51:46,888 - main - WARNING - Attempt 199: Please wait for sglang server to become ready...
2025-03-18 21:51:48,025 - main - WARNING - Attempt 200: Please wait for sglang server to become ready...
2025-03-18 21:51:49,165 - main - WARNING - Attempt 201: Please wait for sglang server to become ready...
2025-03-18 21:51:50,304 - main - WARNING - Attempt 202: Please wait for sglang server to become ready...
2025-03-18 21:51:51,441 - main - WARNING - Attempt 203: Please wait for sglang server to become ready...
2025-03-18 21:51:52,578 - main - WARNING - Attempt 204: Please wait for sglang server to become ready...
2025-03-18 21:51:53,718 - main - WARNING - Attempt 205: Please wait for sglang server to become ready...
2025-03-18 21:51:54,855 - main - WARNING - Attempt 206: Please wait for sglang server to become ready...
2025-03-18 21:51:55,992 - main - WARNING - Attempt 207: Please wait for sglang server to become ready...
2025-03-18 21:51:57,130 - main - WARNING - Attempt 208: Please wait for sglang server to become ready...
2025-03-18 21:51:58,268 - main - WARNING - Attempt 209: Please wait for sglang server to become ready...
2025-03-18 21:51:59,407 - main - WARNING - Attempt 210: Please wait for sglang server to become ready...
2025-03-18 21:52:00,545 - main - WARNING - Attempt 211: Please wait for sglang server to become ready...
2025-03-18 21:52:01,685 - main - WARNING - Attempt 212: Please wait for sglang server to become ready...
2025-03-18 21:52:02,822 - main - WARNING - Attempt 213: Please wait for sglang server to become ready...
2025-03-18 21:52:03,959 - main - WARNING - Attempt 214: Please wait for sglang server to become ready...
2025-03-18 21:52:05,098 - main - WARNING - Attempt 215: Please wait for sglang server to become ready...
2025-03-18 21:52:06,236 - main - WARNING - Attempt 216: Please wait for sglang server to become ready...
2025-03-18 21:52:07,376 - main - WARNING - Attempt 217: Please wait for sglang server to become ready...
2025-03-18 21:52:08,516 - main - WARNING - Attempt 218: Please wait for sglang server to become ready...
2025-03-18 21:52:09,654 - main - WARNING - Attempt 219: Please wait for sglang server to become ready...
2025-03-18 21:52:10,792 - main - WARNING - Attempt 220: Please wait for sglang server to become ready...
2025-03-18 21:52:11,929 - main - WARNING - Attempt 221: Please wait for sglang server to become ready...
2025-03-18 21:52:13,067 - main - WARNING - Attempt 222: Please wait for sglang server to become ready...
2025-03-18 21:52:14,207 - main - WARNING - Attempt 223: Please wait for sglang server to become ready...
2025-03-18 21:52:15,346 - main - WARNING - Attempt 224: Please wait for sglang server to become ready...
2025-03-18 21:52:16,484 - main - WARNING - Attempt 225: Please wait for sglang server to become ready...
2025-03-18 21:52:17,624 - main - WARNING - Attempt 226: Please wait for sglang server to become ready...
2025-03-18 21:52:18,763 - main - WARNING - Attempt 227: Please wait for sglang server to become ready...
2025-03-18 21:52:19,902 - main - WARNING - Attempt 228: Please wait for sglang server to become ready...
2025-03-18 21:52:21,039 - main - WARNING - Attempt 229: Please wait for sglang server to become ready...
2025-03-18 21:52:22,178 - main - WARNING - Attempt 230: Please wait for sglang server to become ready...
2025-03-18 21:52:23,317 - main - WARNING - Attempt 231: Please wait for sglang server to become ready...
2025-03-18 21:52:24,454 - main - WARNING - Attempt 232: Please wait for sglang server to become ready...
2025-03-18 21:52:25,594 - main - WARNING - Attempt 233: Please wait for sglang server to become ready...
2025-03-18 21:52:26,731 - main - WARNING - Attempt 234: Please wait for sglang server to become ready...
2025-03-18 21:52:27,872 - main - WARNING - Attempt 235: Please wait for sglang server to become ready...
2025-03-18 21:52:29,009 - main - WARNING - Attempt 236: Please wait for sglang server to become ready...
2025-03-18 21:52:30,150 - main - WARNING - Attempt 237: Please wait for sglang server to become ready...
2025-03-18 21:52:31,289 - main - WARNING - Attempt 238: Please wait for sglang server to become ready...
2025-03-18 21:52:32,428 - main - WARNING - Attempt 239: Please wait for sglang server to become ready...
2025-03-18 21:52:33,568 - main - WARNING - Attempt 240: Please wait for sglang server to become ready...
2025-03-18 21:52:34,705 - main - WARNING - Attempt 241: Please wait for sglang server to become ready...
2025-03-18 21:52:35,846 - main - WARNING - Attempt 242: Please wait for sglang server to become ready...
2025-03-18 21:52:36,984 - main - WARNING - Attempt 243: Please wait for sglang server to become ready...
2025-03-18 21:52:38,125 - main - WARNING - Attempt 244: Please wait for sglang server to become ready...
2025-03-18 21:52:39,263 - main - WARNING - Attempt 245: Please wait for sglang server to become ready...
2025-03-18 21:52:40,401 - main - WARNING - Attempt 246: Please wait for sglang server to become ready...
2025-03-18 21:52:41,541 - main - WARNING - Attempt 247: Please wait for sglang server to become ready...
2025-03-18 21:52:42,681 - main - WARNING - Attempt 248: Please wait for sglang server to become ready...
2025-03-18 21:52:43,821 - main - WARNING - Attempt 249: Please wait for sglang server to become ready...
2025-03-18 21:52:44,960 - main - WARNING - Attempt 250: Please wait for sglang server to become ready...
2025-03-18 21:52:46,097 - main - WARNING - Attempt 251: Please wait for sglang server to become ready...
2025-03-18 21:52:47,236 - main - WARNING - Attempt 252: Please wait for sglang server to become ready...
2025-03-18 21:52:48,375 - main - WARNING - Attempt 253: Please wait for sglang server to become ready...
2025-03-18 21:52:49,514 - main - WARNING - Attempt 254: Please wait for sglang server to become ready...
2025-03-18 21:52:50,654 - main - WARNING - Attempt 255: Please wait for sglang server to become ready...
2025-03-18 21:52:51,791 - main - WARNING - Attempt 256: Please wait for sglang server to become ready...
2025-03-18 21:52:52,932 - main - WARNING - Attempt 257: Please wait for sglang server to become ready...
2025-03-18 21:52:54,071 - main - WARNING - Attempt 258: Please wait for sglang server to become ready...
2025-03-18 21:52:55,208 - main - WARNING - Attempt 259: Please wait for sglang server to become ready...
2025-03-18 21:52:56,346 - main - WARNING - Attempt 260: Please wait for sglang server to become ready...
2025-03-18 21:52:57,486 - main - WARNING - Attempt 261: Please wait for sglang server to become ready...
2025-03-18 21:52:58,624 - main - WARNING - Attempt 262: Please wait for sglang server to become ready...
2025-03-18 21:52:59,761 - main - WARNING - Attempt 263: Please wait for sglang server to become ready...
2025-03-18 21:53:00,900 - main - WARNING - Attempt 264: Please wait for sglang server to become ready...
2025-03-18 21:53:02,039 - main - WARNING - Attempt 265: Please wait for sglang server to become ready...
2025-03-18 21:53:03,179 - main - WARNING - Attempt 266: Please wait for sglang server to become ready...
2025-03-18 21:53:04,331 - main - WARNING - Attempt 267: Please wait for sglang server to become ready...
2025-03-18 21:53:05,468 - main - WARNING - Attempt 268: Please wait for sglang server to become ready...
2025-03-18 21:53:06,606 - main - WARNING - Attempt 269: Please wait for sglang server to become ready...
2025-03-18 21:53:07,747 - main - WARNING - Attempt 270: Please wait for sglang server to become ready...
2025-03-18 21:53:08,886 - main - WARNING - Attempt 271: Please wait for sglang server to become ready...
2025-03-18 21:53:10,026 - main - WARNING - Attempt 272: Please wait for sglang server to become ready...
2025-03-18 21:53:11,164 - main - WARNING - Attempt 273: Please wait for sglang server to become ready...
2025-03-18 21:53:12,302 - main - WARNING - Attempt 274: Please wait for sglang server to become ready...
2025-03-18 21:53:13,446 - main - WARNING - Attempt 275: Please wait for sglang server to become ready...
2025-03-18 21:53:14,587 - main - WARNING - Attempt 276: Please wait for sglang server to become ready...
2025-03-18 21:53:15,744 - main - WARNING - Attempt 277: Please wait for sglang server to become ready...
2025-03-18 21:53:16,882 - main - WARNING - Attempt 278: Please wait for sglang server to become ready...
2025-03-18 21:53:18,022 - main - WARNING - Attempt 279: Please wait for sglang server to become ready...
2025-03-18 21:53:19,159 - main - WARNING - Attempt 280: Please wait for sglang server to become ready...
2025-03-18 21:53:20,287 - main - WARNING - Attempt 281: Please wait for sglang server to become ready...
2025-03-18 21:53:21,444 - main - WARNING - Attempt 282: Please wait for sglang server to become ready...
2025-03-18 21:53:22,588 - main - WARNING - Attempt 283: Please wait for sglang server to become ready...
2025-03-18 21:53:23,727 - main - WARNING - Attempt 284: Please wait for sglang server to become ready...
2025-03-18 21:53:24,868 - main - WARNING - Attempt 285: Please wait for sglang server to become ready...
2025-03-18 21:53:26,006 - main - WARNING - Attempt 286: Please wait for sglang server to become ready...
2025-03-18 21:53:27,146 - main - WARNING - Attempt 287: Please wait for sglang server to become ready...
2025-03-18 21:53:28,284 - main - WARNING - Attempt 288: Please wait for sglang server to become ready...
2025-03-18 21:53:29,424 - main - WARNING - Attempt 289: Please wait for sglang server to become ready...
2025-03-18 21:53:30,560 - main - WARNING - Attempt 290: Please wait for sglang server to become ready...
2025-03-18 21:53:31,700 - main - WARNING - Attempt 291: Please wait for sglang server to become ready...
2025-03-18 21:53:32,839 - main - WARNING - Attempt 292: Please wait for sglang server to become ready...
2025-03-18 21:53:33,981 - main - WARNING - Attempt 293: Please wait for sglang server to become ready...
2025-03-18 21:53:35,118 - main - WARNING - Attempt 294: Please wait for sglang server to become ready...
2025-03-18 21:53:36,259 - main - WARNING - Attempt 295: Please wait for sglang server to become ready...
2025-03-18 21:53:37,398 - main - WARNING - Attempt 296: Please wait for sglang server to become ready...
2025-03-18 21:53:38,536 - main - WARNING - Attempt 297: Please wait for sglang server to become ready...
2025-03-18 21:53:39,675 - main - WARNING - Attempt 298: Please wait for sglang server to become ready...
2025-03-18 21:53:40,813 - main - WARNING - Attempt 299: Please wait for sglang server to become ready...
2025-03-18 21:53:41,952 - main - WARNING - Attempt 300: Please wait for sglang server to become ready...
2025-03-18 21:53:42,956 - main - INFO - Got cancellation request for SGLang server
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/jun/test/olmocr/olmocr/pipeline.py", line 1082, in
asyncio.run(main())
File "/home/jun/.conda/envs/olmocr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/jun/.conda/envs/olmocr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jun/.conda/envs/olmocr/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/jun/test/olmocr/olmocr/pipeline.py", line 1060, in main
await sglang_server_ready()
File "/home/jun/test/olmocr/olmocr/pipeline.py", line 653, in sglang_server_ready
raise Exception("sglang server did not become ready after waiting.")
Exception: sglang server did not become ready after waiting.

aiohappyeyeballs 2.6.1
aiohttp 3.11.14
aiosignal 1.3.2
annotated-types 0.7.0
anthropic 0.49.0
anyio 4.9.0
asttokens 3.0.0
attrs 25.3.0
beaker-py 1.34.1
bleach 6.2.0
boto3 1.37.14
botocore 1.37.14
cached_path 1.7.1
cachetools 5.5.2
certifi 2025.1.31
cffi 1.17.1
charset-normalizer 3.4.1
click 8.1.8
cloudpickle 3.1.1
compressed-tensors 0.8.0
cryptography 44.0.2
cuda-bindings 12.8.0
cuda-python 12.8.0
datasets 3.4.1
decorator 5.2.1
decord 0.6.0
dill 0.3.8
diskcache 5.6.3
distro 1.9.0
docker 7.1.0
einops 0.8.1
executing 2.2.0
fastapi 0.115.11
filelock 3.18.0
flashinfer 0.1.6+cu124torch2.4
frozenlist 1.5.0
fsspec 2024.12.0
ftfy 6.3.1
gguf 0.10.0
google-api-core 2.24.2
google-auth 2.38.0
google-cloud-core 2.4.3
google-cloud-storage 2.19.0
google-crc32c 1.7.0
google-resumable-media 2.7.2
googleapis-common-protos 1.69.2
h11 0.14.0
hf_transfer 0.1.9
httpcore 1.0.7
httptools 0.6.4
httpx 0.28.1
huggingface-hub 0.27.1
idna 3.10
importlib_metadata 8.6.1
interegular 0.3.3
ipython 9.0.2
ipython_pygments_lexers 1.1.1
jedi 0.19.2
Jinja2 3.1.6
jiter 0.9.0
jmespath 1.0.1
jsonschema 4.23.0
jsonschema-specifications 2024.10.1
lark 1.2.2
lingua-language-detector 2.0.2
litellm 1.63.11
llvmlite 0.44.0
lm-format-enforcer 0.10.11
markdown-it-py 3.0.0
markdown2 2.5.3
MarkupSafe 3.0.2
matplotlib-inline 0.1.7
mdurl 0.1.2
mistral_common 1.5.4
modelscope 1.23.2
mpmath 1.3.0
msgpack 1.1.0
msgspec 0.19.0
multidict 6.2.0
multiprocess 0.70.16
nest-asyncio 1.6.0
networkx 3.4.2
ninja 1.11.1.3
numba 0.61.0
numpy 1.26.4
nvidia-cublas-cu12 12.4.5.8
nvidia-cuda-cupti-cu12 12.4.127
nvidia-cuda-nvrtc-cu12 12.4.127
nvidia-cuda-runtime-cu12 12.4.127
nvidia-cudnn-cu12 9.1.0.70
nvidia-cufft-cu12 11.2.1.3
nvidia-curand-cu12 10.3.5.147
nvidia-cusolver-cu12 11.6.1.9
nvidia-cusparse-cu12 12.3.1.170
nvidia-ml-py 12.570.86
nvidia-nccl-cu12 2.21.5
nvidia-nvjitlink-cu12 12.4.127
nvidia-nvtx-cu12 12.4.127
olmocr 0.1.60
openai 1.66.3
opencv-python-headless 4.11.0.86
orjson 3.10.15
outlines 0.0.46
packaging 24.2
pandas 2.2.3
parso 0.8.4
partial-json-parser 0.2.1.1.post5
pexpect 4.9.0
pillow 11.1.0
pip 25.0
prometheus_client 0.21.1
prometheus-fastapi-instrumentator 7.0.2
prompt_toolkit 3.0.50
propcache 0.3.0
proto-plus 1.26.1
protobuf 6.30.1
psutil 7.0.0
ptyprocess 0.7.0
pure_eval 0.2.3
py-cpuinfo 9.0.0
pyairports 2.1.1
pyarrow 19.0.1
pyasn1 0.6.1
pyasn1_modules 0.4.1
pycountry 24.6.1
pycparser 2.22
pydantic 2.10.6
pydantic_core 2.27.2
Pygments 2.19.1
pypdf 5.4.0
pypdfium2 4.30.1
python-dateutil 2.9.0.post0
python-dotenv 1.0.1
python-multipart 0.0.20
pytz 2025.1
PyYAML 6.0.2
pyzmq 26.3.0
ray 2.43.0
referencing 0.36.2
regex 2024.11.6
requests 2.32.3
rich 13.9.4
rpds-py 0.23.1
rsa 4.9
s3transfer 0.11.4
safetensors 0.5.3
sentencepiece 0.2.0
setproctitle 1.3.5
setuptools 75.8.0
sgl-kernel 0.0.3.post1
sglang 0.4.2
six 1.17.0
smart-open 7.1.0
sniffio 1.3.1
stack-data 0.6.3
starlette 0.46.1
sympy 1.13.1
tiktoken 0.9.0
tokenizers 0.20.3
torch 2.5.1
torchao 0.9.0
torchvision 0.20.1
tqdm 4.67.1
traitlets 5.14.3
transformers 4.46.2
triton 3.1.0
typing_extensions 4.12.2
tzdata 2025.1
urllib3 2.3.0
uvicorn 0.34.0
uvloop 0.21.0
vllm 0.6.4.post1
watchfiles 1.0.4
wcwidth 0.2.13
webencodings 0.5.1
websockets 15.0.1
wheel 0.45.1
wrapt 1.17.2
xformers 0.0.28.post3
xgrammar 0.1.16
xxhash 3.5.0
yarl 1.18.3
zipp 3.21.0
zstandard 0.23.0

@ozekri
Copy link

ozekri commented Mar 21, 2025

same, up

@xianggithubli
Copy link

same up

2 similar comments
@ColdJeans21
Copy link

same up

@TF-Leo
Copy link

TF-Leo commented Mar 24, 2025

same up

@ep0p
Copy link
Author

ep0p commented Mar 25, 2025

Hi @jakep-allenai,
Thank you for your good work.
Any solutions for this issue?

@kuhne12
Copy link

kuhne12 commented Mar 25, 2025

same up

@jakep-allenai
Copy link
Collaborator

Hmm, on the first trace posted, try to run with a fresh clean workspace directory. (Either delete it or switch to a new one).

@redwsj
Copy link

redwsj commented Mar 26, 2025

My solution is to download the model locally and modify the model loading path of the source code, mainly to modify this part

Image

Image

@ep0p
Copy link
Author

ep0p commented Mar 26, 2025

@jakep-allenai
I apologize, you were right. Turns out i misunderstood the issue. In fact i was ocr-ing the same document, already been processed before and that is why i had INFO:olmocr.work_queue:0 new paths to add to the workspace

to be honest, seeing multiple messages of this sort is confusing, it gives the impression that there is a problem with sglang:

2025-03-26 08:26:17,038 - __main__ - WARNING - Attempt 13: Please wait for sglang server to become ready...```

@hsiong
Copy link

hsiong commented Mar 31, 2025

My python version is 3.11, my solution is sudo apt install python3.11-dev build-essential; hope this helps

@jakep-allenai
Copy link
Collaborator

Sounds good, closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants