baohuynhbk14 commited on
Commit
be7d039
·
2 Parent(s): 1444e68 e440ab1

Merge remote-tracking branch 'origin/main'

Browse files
logs/.DS_Store ADDED
Binary file (6.15 kB). View file
 
logs/gradio_web_server.log DELETED
@@ -1,148 +0,0 @@
1
- 2025-01-16 17:05:54 | ERROR | stderr | /Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/huggingface_hub/file_download.py:797: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
2
- 2025-01-16 17:05:54 | ERROR | stderr | warnings.warn(
3
- 2025-01-16 17:05:54 | WARNING | transformers.tokenization_utils_base | Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
4
- 2025-01-16 17:05:54 | WARNING | transformers.tokenization_utils_base | Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
5
- 2025-01-16 17:05:54 | INFO | gradio_web_server | args: Namespace(host='0.0.0.0', port=7860, concurrency_count=10, share=False, moderate=False)
6
- 2025-01-16 17:05:54 | INFO | gradio_web_server | Namespace(host='0.0.0.0', port=7860, concurrency_count=10, share=False, moderate=False)
7
- 2025-01-16 17:05:55 | INFO | httpx | HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 "
8
- 2025-01-16 17:05:55 | INFO | stdout | Running on local URL: http://0.0.0.0:7860
9
- 2025-01-16 17:05:55 | INFO | httpx | HTTP Request: GET http://localhost:7860/startup-events "HTTP/1.1 200 OK"
10
- 2025-01-16 17:05:55 | INFO | httpx | HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
11
- 2025-01-16 17:05:55 | INFO | stdout |
12
- 2025-01-16 17:05:55 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
13
- 2025-01-16 17:05:55 | INFO | httpx | HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
14
- 2025-01-16 17:05:55 | INFO | stdout | IMPORTANT: You are using gradio version 4.36.1, however version 4.44.1 is available, please upgrade.
15
- 2025-01-16 17:05:55 | INFO | stdout | --------
16
- 2025-01-16 17:12:40 | INFO | stdout | Keyboard interruption in main thread... closing server.
17
- 2025-01-16 17:13:09 | ERROR | stderr | /Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/huggingface_hub/file_download.py:797: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
18
- 2025-01-16 17:13:09 | ERROR | stderr | warnings.warn(
19
- 2025-01-16 17:13:10 | WARNING | transformers.tokenization_utils_base | Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
20
- 2025-01-16 17:13:10 | WARNING | transformers.tokenization_utils_base | Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
21
- 2025-01-16 17:13:10 | INFO | gradio_web_server | args: Namespace(host='0.0.0.0', port=7860, concurrency_count=10, share=False, moderate=False)
22
- 2025-01-16 17:13:10 | INFO | gradio_web_server | Namespace(host='0.0.0.0', port=7860, concurrency_count=10, share=False, moderate=False)
23
- 2025-01-16 17:13:10 | INFO | httpx | HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 "
24
- 2025-01-16 17:13:11 | INFO | stdout | Running on local URL: http://0.0.0.0:7860
25
- 2025-01-16 17:13:11 | INFO | httpx | HTTP Request: GET http://localhost:7860/startup-events "HTTP/1.1 200 OK"
26
- 2025-01-16 17:13:11 | INFO | httpx | HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
27
- 2025-01-16 17:13:11 | INFO | stdout |
28
- 2025-01-16 17:13:11 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
29
- 2025-01-16 17:13:11 | INFO | httpx | HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
30
- 2025-01-16 17:13:11 | INFO | stdout | IMPORTANT: You are using gradio version 4.36.1, however version 4.44.1 is available, please upgrade.
31
- 2025-01-16 17:13:11 | INFO | stdout | --------
32
- 2025-01-16 17:13:24 | INFO | stdout | state: None
33
- 2025-01-16 17:13:24 | INFO | gradio_web_server | add_text. ip: 127.0.0.1. len: 36
34
- 2025-01-16 17:13:24 | INFO | gradio_web_server | http_bot. ip: 127.0.0.1
35
- 2025-01-16 17:13:24 | ERROR | stderr | Traceback (most recent call last):
36
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/queueing.py", line 532, in process_events
37
- 2025-01-16 17:13:24 | ERROR | stderr | response = await route_utils.call_process_api(
38
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/route_utils.py", line 276, in call_process_api
39
- 2025-01-16 17:13:24 | ERROR | stderr | output = await app.get_blocks().process_api(
40
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/blocks.py", line 1928, in process_api
41
- 2025-01-16 17:13:24 | ERROR | stderr | result = await self.call_function(
42
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/blocks.py", line 1526, in call_function
43
- 2025-01-16 17:13:24 | ERROR | stderr | prediction = await utils.async_iteration(iterator)
44
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/utils.py", line 656, in async_iteration
45
- 2025-01-16 17:13:24 | ERROR | stderr | return await iterator.__anext__()
46
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/utils.py", line 649, in __anext__
47
- 2025-01-16 17:13:24 | ERROR | stderr | return await anyio.to_thread.run_sync(
48
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/anyio/to_thread.py", line 56, in run_sync
49
- 2025-01-16 17:13:24 | ERROR | stderr | return await get_async_backend().run_sync_in_worker_thread(
50
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 2461, in run_sync_in_worker_thread
51
- 2025-01-16 17:13:24 | ERROR | stderr | return await future
52
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 962, in run
53
- 2025-01-16 17:13:24 | ERROR | stderr | result = context.run(func, *args)
54
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/utils.py", line 632, in run_sync_iterator_async
55
- 2025-01-16 17:13:24 | ERROR | stderr | return next(iterator)
56
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/utils.py", line 815, in gen_wrapper
57
- 2025-01-16 17:13:24 | ERROR | stderr | response = next(iterator)
58
- 2025-01-16 17:13:24 | ERROR | stderr | File "/Users/huynhbao/Workspace/5CD_data/huggingface/Vintern-1B/app.py", line 222, in http_bot
59
- 2025-01-16 17:13:24 | ERROR | stderr | if model is None:
60
- 2025-01-16 17:13:24 | ERROR | stderr | NameError: name 'model' is not defined
61
- 2025-01-16 17:13:49 | INFO | stdout | Keyboard interruption in main thread... closing server.
62
- 2025-01-16 17:13:49 | ERROR | stderr | Traceback (most recent call last):
63
- 2025-01-16 17:13:49 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/blocks.py", line 2664, in block_thread
64
- 2025-01-16 17:13:49 | ERROR | stderr | time.sleep(0.1)
65
- 2025-01-16 17:13:49 | ERROR | stderr | KeyboardInterrupt
66
- 2025-01-16 17:13:49 | ERROR | stderr |
67
- 2025-01-16 17:13:49 | ERROR | stderr | During handling of the above exception, another exception occurred:
68
- 2025-01-16 17:13:49 | ERROR | stderr |
69
- 2025-01-16 17:13:49 | ERROR | stderr | Traceback (most recent call last):
70
- 2025-01-16 17:13:49 | ERROR | stderr | File "/Users/huynhbao/Workspace/5CD_data/huggingface/Vintern-1B/app.py", line 612, in <module>
71
- 2025-01-16 17:13:49 | ERROR | stderr | demo = build_demo()
72
- 2025-01-16 17:13:49 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/blocks.py", line 2569, in launch
73
- 2025-01-16 17:13:49 | ERROR | stderr | self.block_thread()
74
- 2025-01-16 17:13:49 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/blocks.py", line 2668, in block_thread
75
- 2025-01-16 17:13:49 | ERROR | stderr | self.server.close()
76
- 2025-01-16 17:13:49 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/http_server.py", line 68, in close
77
- 2025-01-16 17:13:49 | ERROR | stderr | self.thread.join(timeout=5)
78
- 2025-01-16 17:13:49 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 1064, in join
79
- 2025-01-16 17:13:49 | ERROR | stderr | self._wait_for_tstate_lock(timeout=max(timeout, 0))
80
- 2025-01-16 17:13:49 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 1080, in _wait_for_tstate_lock
81
- 2025-01-16 17:13:49 | ERROR | stderr | if lock.acquire(block, timeout):
82
- 2025-01-16 17:13:49 | ERROR | stderr | KeyboardInterrupt
83
- 2025-01-16 17:14:19 | ERROR | stderr | /Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/huggingface_hub/file_download.py:797: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
84
- 2025-01-16 17:14:19 | ERROR | stderr | warnings.warn(
85
- 2025-01-16 17:14:20 | WARNING | transformers.tokenization_utils_base | Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
86
- 2025-01-16 17:14:20 | WARNING | transformers.tokenization_utils_base | Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
87
- 2025-01-16 17:14:20 | INFO | gradio_web_server | args: Namespace(host='0.0.0.0', port=7860, concurrency_count=10, share=False, moderate=False)
88
- 2025-01-16 17:14:20 | INFO | gradio_web_server | Namespace(host='0.0.0.0', port=7860, concurrency_count=10, share=False, moderate=False)
89
- 2025-01-16 17:14:20 | INFO | httpx | HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 "
90
- 2025-01-16 17:14:21 | INFO | stdout | Running on local URL: http://0.0.0.0:7860
91
- 2025-01-16 17:14:21 | INFO | httpx | HTTP Request: GET http://localhost:7860/startup-events "HTTP/1.1 200 OK"
92
- 2025-01-16 17:14:21 | INFO | httpx | HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
93
- 2025-01-16 17:14:21 | INFO | stdout |
94
- 2025-01-16 17:14:21 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
95
- 2025-01-16 17:14:21 | INFO | httpx | HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
96
- 2025-01-16 17:14:21 | INFO | stdout | IMPORTANT: You are using gradio version 4.36.1, however version 4.44.1 is available, please upgrade.
97
- 2025-01-16 17:14:21 | INFO | stdout | --------
98
- 2025-01-16 17:14:26 | INFO | stdout | state: None
99
- 2025-01-16 17:14:26 | INFO | gradio_web_server | add_text. ip: 127.0.0.1. len: 36
100
- 2025-01-16 17:14:27 | INFO | gradio_web_server | http_bot. ip: 127.0.0.1
101
- 2025-01-16 17:14:27 | INFO | gradio_web_server | ==== User message ====
102
- Please help me analyze this picture.
103
- 2025-01-16 17:14:27 | INFO | gradio_web_server | ==== Image paths ====
104
- ['logs/serve_images/2025-01-16/d7ea81988546544ca773fc48dc9da837.jpg']
105
- 2025-01-16 17:14:27 | INFO | gradio_web_server | ==== History ====
106
- [{'role': 'system', 'content': '我是书生·万象,英文名是InternVL,是由上海人工智能实验室、清华大学及多家合作单位联合开发的多模态大语言模型。\n\nBạn là một trợ lý AI đa phương thức hữu ích, hãy trả lời câu hỏi người dùng một cách chi tiết.'}, {'role': 'user', 'content': 'Please help me analyze this picture.'}, {'role': 'assistant', 'content': '▌'}]
107
- 2025-01-16 17:14:27 | INFO | gradio_web_server | ==== AI response ====
108
- This is a test response▌
109
- 2025-01-16 17:14:27 | INFO | gradio_web_server | This is a test response
110
- 2025-01-16 18:09:23 | INFO | stdout | Keyboard interruption in main thread... closing server.
111
- 2025-01-16 18:09:23 | ERROR | stderr | Traceback (most recent call last):
112
- 2025-01-16 18:09:23 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/blocks.py", line 2664, in block_thread
113
- 2025-01-16 18:09:23 | ERROR | stderr | time.sleep(0.1)
114
- 2025-01-16 18:09:23 | ERROR | stderr | KeyboardInterrupt
115
- 2025-01-16 18:09:23 | ERROR | stderr |
116
- 2025-01-16 18:09:23 | ERROR | stderr | During handling of the above exception, another exception occurred:
117
- 2025-01-16 18:09:23 | ERROR | stderr |
118
- 2025-01-16 18:09:23 | ERROR | stderr | Traceback (most recent call last):
119
- 2025-01-16 18:09:23 | ERROR | stderr | File "/Users/huynhbao/Workspace/5CD_data/huggingface/Vintern-1B/app.py", line 613, in <module>
120
- 2025-01-16 18:09:23 | ERROR | stderr | server_name=args.host,
121
- 2025-01-16 18:09:23 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/blocks.py", line 2569, in launch
122
- 2025-01-16 18:09:23 | ERROR | stderr | self.block_thread()
123
- 2025-01-16 18:09:23 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/blocks.py", line 2668, in block_thread
124
- 2025-01-16 18:09:23 | ERROR | stderr | self.server.close()
125
- 2025-01-16 18:09:23 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/gradio/http_server.py", line 68, in close
126
- 2025-01-16 18:09:23 | ERROR | stderr | self.thread.join(timeout=5)
127
- 2025-01-16 18:09:23 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 1064, in join
128
- 2025-01-16 18:09:23 | ERROR | stderr | self._wait_for_tstate_lock(timeout=max(timeout, 0))
129
- 2025-01-16 18:09:23 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 1080, in _wait_for_tstate_lock
130
- 2025-01-16 18:09:23 | ERROR | stderr | if lock.acquire(block, timeout):
131
- 2025-01-16 18:09:23 | ERROR | stderr | KeyboardInterrupt
132
- 2025-01-16 18:09:23 | ERROR | stderr | Error in atexit._run_exitfuncs:
133
- 2025-01-16 18:09:23 | ERROR | stderr | Traceback (most recent call last):
134
- 2025-01-16 18:09:23 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/weakref.py", line 667, in _exitfunc
135
- 2025-01-16 18:09:23 | ERROR | stderr | f()
136
- 2025-01-16 18:09:23 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/weakref.py", line 591, in __call__
137
- 2025-01-16 18:09:23 | ERROR | stderr | return info.func(*info.args, **(info.kwargs or {}))
138
- 2025-01-16 18:09:23 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1180, in _close_pool_connections
139
- 2025-01-16 18:09:23 | ERROR | stderr | conn.close()
140
- 2025-01-16 18:09:23 | ERROR | stderr | File "/Users/huynhbao/.virtualenvs/huggingface/lib/python3.9/site-packages/urllib3/connection.py", line 318, in close
141
- 2025-01-16 18:09:23 | ERROR | stderr | super().close()
142
- 2025-01-16 18:09:23 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 965, in close
143
- 2025-01-16 18:09:23 | ERROR | stderr | sock.close() # close it manually... there may be other refs
144
- 2025-01-16 18:09:23 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socket.py", line 501, in close
145
- 2025-01-16 18:09:23 | ERROR | stderr | self._real_close()
146
- 2025-01-16 18:09:23 | ERROR | stderr | File "/usr/local/Cellar/python@3.9/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1300, in _real_close
147
- 2025-01-16 18:09:23 | ERROR | stderr | self._sslobj = None
148
- 2025-01-16 18:09:23 | ERROR | stderr | KeyboardInterrupt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
logs/serve_images/.DS_Store ADDED
Binary file (6.15 kB). View file