2024-07-01 03:18:07 | ERROR | stderr | /usr/local/lib/python3.10/dist-packages/gradio/components/button.py:89: UserWarning: Using the update method is deprecated. Simply return a new object instead, e.g. `return gr.Button(...)` instead of `return gr.Button.update(...)`. 2024-07-01 03:18:07 | ERROR | stderr | warnings.warn( 2024-07-01 03:18:07 | INFO | stdout | ['DocOwl1.5-Omni-base', 'assets', 'evaluation', 'scripts', 'README.md', 'model_worker.py', 'docowl_infer.py', 'requirements.txt', 'docowl_app_demo.sh', '__pycache__', 'mplug_docowl', 'app.py', 'docowl_doclocal4k_evaluate.py', 'docowl_benchmark_evaluate.py', 'demo_logs', 'image', 'DocLocal4K'] 2024-07-01 03:18:07 | INFO | model_worker | Loading the model DocOwl1.5-Omni-base on worker a3bd7a ... 2024-07-01 03:20:25 | ERROR | stderr | /usr/local/lib/python3.10/dist-packages/transformers/generation/configuration_utils.py:362: UserWarning: `do_sample` is set to `False`. However, `temperature` is set to `0.9` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `temperature`. This was detected when initializing the generation config instance, which means the corresponding file may hold incorrect parameterization and should be fixed. 2024-07-01 03:20:25 | ERROR | stderr | warnings.warn( 2024-07-01 03:20:25 | ERROR | stderr | /usr/local/lib/python3.10/dist-packages/transformers/generation/configuration_utils.py:367: UserWarning: `do_sample` is set to `False`. However, `top_p` is set to `0.6` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `top_p`. This was detected when initializing the generation config instance, which means the corresponding file may hold incorrect parameterization and should be fixed. 2024-07-01 03:20:25 | ERROR | stderr | warnings.warn( 2024-07-01 03:20:29 | INFO | stdout | Running on local URL: http://0.0.0.0:7897 2024-07-01 03:20:29 | INFO | stdout | 2024-07-01 03:20:29 | INFO | stdout | To create a public link, set `share=True` in `launch()`. 2024-07-01 03:21:11 | ERROR | stderr | /usr/local/lib/python3.10/dist-packages/fastapi/routing.py:191: GradioUnusedKwargWarning: You have unused kwarg parameters in Button, please remove them: {'mode': 'static'} 2024-07-01 03:21:11 | ERROR | stderr | return await dependant.call(**values) 2024-07-01 03:21:13 | ERROR | stderr | /usr/lib/python3.10/asyncio/runners.py:44: GradioUnusedKwargWarning: You have unused kwarg parameters in Button, please remove them: {'mode': 'static'} 2024-07-01 03:21:13 | ERROR | stderr | return loop.run_until_complete(main) 2024-07-01 03:21:13 | ERROR | stderr | ic| max_context_length: 4096 2024-07-01 03:21:13 | ERROR | stderr |  input_ids.shape[-1]: 97 2024-07-01 03:21:13 | ERROR | stderr |  num_image_tokens: 1799.0 2024-07-01 03:21:13 | ERROR | stderr |  max_new_tokens: 512 2024-07-01 03:21:13 | ERROR | stderr | /usr/local/lib/python3.10/dist-packages/transformers/generation/configuration_utils.py:367: UserWarning: `do_sample` is set to `False`. However, `top_p` is set to `0.6` -- this flag is only used in sample-based generation modes. You should set `do_sample=True` or unset `top_p`. 2024-07-01 03:21:13 | ERROR | stderr | warnings.warn( 2024-07-01 03:21:28 | INFO | stdout | Caught Unknown Error 2024-07-01 03:21:28 | INFO | stdout | chunk: {"text": "**NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE.**", "error_code": 1} 2024-07-01 03:21:29 | ERROR | stderr | /usr/lib/python3.10/asyncio/runners.py:44: GradioUnusedKwargWarning: You have unused kwarg parameters in Button, please remove them: {'mode': 'dynamic'} 2024-07-01 03:21:29 | ERROR | stderr | return loop.run_until_complete(main) 2024-07-01 03:30:03 | INFO | stdout | Keyboard interruption in main thread... closing server. 2024-07-01 03:30:03 | ERROR | stderr | Traceback (most recent call last): 2024-07-01 03:30:03 | ERROR | stderr | File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 2366, in block_thread 2024-07-01 03:30:03 | ERROR | stderr | time.sleep(0.1) 2024-07-01 03:30:03 | ERROR | stderr | KeyboardInterrupt 2024-07-01 03:30:03 | ERROR | stderr | 2024-07-01 03:30:03 | ERROR | stderr | During handling of the above exception, another exception occurred: 2024-07-01 03:30:03 | ERROR | stderr | 2024-07-01 03:30:03 | ERROR | stderr | Traceback (most recent call last): 2024-07-01 03:30:03 | ERROR | stderr | File "/home/wanglch/projects/DocOwl1.5-Omni/app.py", line 424, in 2024-07-01 03:30:03 | ERROR | stderr | demo.queue( 2024-07-01 03:30:03 | ERROR | stderr | File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 2271, in launch 2024-07-01 03:30:03 | ERROR | stderr | self.block_thread() 2024-07-01 03:30:03 | ERROR | stderr | File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 2370, in block_thread 2024-07-01 03:30:03 | ERROR | stderr | self.server.close() 2024-07-01 03:30:03 | ERROR | stderr | File "/usr/local/lib/python3.10/dist-packages/gradio/networking.py", line 75, in close 2024-07-01 03:30:03 | ERROR | stderr | self.thread.join() 2024-07-01 03:30:03 | ERROR | stderr | File "/usr/lib/python3.10/threading.py", line 1096, in join 2024-07-01 03:30:03 | ERROR | stderr | self._wait_for_tstate_lock() 2024-07-01 03:30:03 | ERROR | stderr | File "/usr/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock 2024-07-01 03:30:03 | ERROR | stderr | if lock.acquire(block, timeout): 2024-07-01 03:30:03 | ERROR | stderr | KeyboardInterrupt 2024-07-01 03:30:03 | INFO | stdout |