File size: 25,726 Bytes
72b855c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
2024-07-10 11:44:38 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:44:38 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 11, in <module>
2024-07-10 11:44:38 | ERROR | stderr |     states = build_side_by_side_vision_ui_named(
2024-07-10 11:44:38 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_block_arena_vision_named.py", line 319, in build_side_by_side_vision_ui_named
2024-07-10 11:44:38 | ERROR | stderr |     textbox = gr.MultimodalTextbox(
2024-07-10 11:44:38 | ERROR | stderr | AttributeError: module 'gradio' has no attribute 'MultimodalTextbox'
2024-07-10 11:44:39 | INFO | stdout | IMPORTANT: You are using gradio version 4.16.0, however version 4.29.0 is available, please upgrade.
2024-07-10 11:44:39 | INFO | stdout | --------
2024-07-10 11:48:26 | INFO | stdout | Running on local URL:  http://127.0.0.1:7860
2024-07-10 11:48:26 | INFO | stdout | 
2024-07-10 11:48:26 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
2024-07-10 11:53:22 | INFO | stdout | Keyboard interruption in main thread... closing server.
2024-07-10 11:53:25 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:53:25 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread
2024-07-10 11:53:25 | ERROR | stderr |     time.sleep(0.1)
2024-07-10 11:53:25 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:53:25 | ERROR | stderr | 
2024-07-10 11:53:25 | ERROR | stderr | During handling of the above exception, another exception occurred:
2024-07-10 11:53:25 | ERROR | stderr | 
2024-07-10 11:53:25 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:53:25 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in <module>
2024-07-10 11:53:25 | ERROR | stderr |     demo.launch()
2024-07-10 11:53:25 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch
2024-07-10 11:53:25 | ERROR | stderr |     self.block_thread()
2024-07-10 11:53:25 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread
2024-07-10 11:53:25 | ERROR | stderr |     self.server.close()
2024-07-10 11:53:25 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close
2024-07-10 11:53:25 | ERROR | stderr |     self.thread.join(timeout=5)
2024-07-10 11:53:25 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join
2024-07-10 11:53:25 | ERROR | stderr |     self._wait_for_tstate_lock(timeout=max(timeout, 0))
2024-07-10 11:53:25 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
2024-07-10 11:53:25 | ERROR | stderr |     if lock.acquire(block, timeout):
2024-07-10 11:53:25 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:53:29 | INFO | stdout | Running on local URL:  http://127.0.0.1:7860
2024-07-10 11:53:29 | INFO | stdout | 
2024-07-10 11:53:29 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
2024-07-10 11:54:17 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:54:17 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:54:17 | INFO | gradio_web_server | model_name: llava-fire
2024-07-10 11:54:17 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:54:17 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:54:17 | INFO | gradio_web_server | model_name: llava-original
2024-07-10 11:56:25 | INFO | stdout | Keyboard interruption in main thread... closing server.
2024-07-10 11:56:27 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:56:27 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread
2024-07-10 11:56:27 | ERROR | stderr |     time.sleep(0.1)
2024-07-10 11:56:27 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:56:27 | ERROR | stderr | 
2024-07-10 11:56:27 | ERROR | stderr | During handling of the above exception, another exception occurred:
2024-07-10 11:56:27 | ERROR | stderr | 
2024-07-10 11:56:27 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:56:27 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in <module>
2024-07-10 11:56:27 | ERROR | stderr |     demo.launch()
2024-07-10 11:56:27 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch
2024-07-10 11:56:27 | ERROR | stderr |     self.block_thread()
2024-07-10 11:56:27 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread
2024-07-10 11:56:27 | ERROR | stderr |     self.server.close()
2024-07-10 11:56:27 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close
2024-07-10 11:56:27 | ERROR | stderr |     self.thread.join(timeout=5)
2024-07-10 11:56:27 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join
2024-07-10 11:56:27 | ERROR | stderr |     self._wait_for_tstate_lock(timeout=max(timeout, 0))
2024-07-10 11:56:27 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
2024-07-10 11:56:27 | ERROR | stderr |     if lock.acquire(block, timeout):
2024-07-10 11:56:27 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:56:32 | INFO | stdout | Running on local URL:  http://127.0.0.1:7860
2024-07-10 11:56:32 | INFO | stdout | 
2024-07-10 11:56:32 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
2024-07-10 11:56:38 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:56:38 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:56:38 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None
2024-07-10 11:56:38 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:56:38 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:56:38 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None
2024-07-10 11:57:09 | INFO | stdout | Keyboard interruption in main thread... closing server.
2024-07-10 11:57:11 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:57:11 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread
2024-07-10 11:57:11 | ERROR | stderr |     time.sleep(0.1)
2024-07-10 11:57:11 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:57:11 | ERROR | stderr | 
2024-07-10 11:57:11 | ERROR | stderr | During handling of the above exception, another exception occurred:
2024-07-10 11:57:11 | ERROR | stderr | 
2024-07-10 11:57:11 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:57:11 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in <module>
2024-07-10 11:57:11 | ERROR | stderr |     demo.launch()
2024-07-10 11:57:11 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch
2024-07-10 11:57:11 | ERROR | stderr |     self.block_thread()
2024-07-10 11:57:11 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread
2024-07-10 11:57:11 | ERROR | stderr |     self.server.close()
2024-07-10 11:57:11 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close
2024-07-10 11:57:11 | ERROR | stderr |     self.thread.join(timeout=5)
2024-07-10 11:57:11 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join
2024-07-10 11:57:11 | ERROR | stderr |     self._wait_for_tstate_lock(timeout=max(timeout, 0))
2024-07-10 11:57:11 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
2024-07-10 11:57:11 | ERROR | stderr |     if lock.acquire(block, timeout):
2024-07-10 11:57:11 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:57:15 | INFO | stdout | Running on local URL:  http://127.0.0.1:7860
2024-07-10 11:57:15 | INFO | stdout | 
2024-07-10 11:57:15 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
2024-07-10 11:57:23 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:57:23 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:57:23 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None
2024-07-10 11:57:23 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:57:23 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:57:23 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None
2024-07-10 11:57:23 | INFO | gradio_web_server | hello
2024-07-10 11:57:23 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/queueing.py", line 566, in process_events
2024-07-10 11:57:23 | ERROR | stderr |     response = await route_utils.call_process_api(
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/route_utils.py", line 270, in call_process_api
2024-07-10 11:57:23 | ERROR | stderr |     output = await app.get_blocks().process_api(
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 1847, in process_api
2024-07-10 11:57:23 | ERROR | stderr |     result = await self.call_function(
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 1445, in call_function
2024-07-10 11:57:23 | ERROR | stderr |     prediction = await utils.async_iteration(iterator)
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 629, in async_iteration
2024-07-10 11:57:23 | ERROR | stderr |     return await iterator.__anext__()
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 622, in __anext__
2024-07-10 11:57:23 | ERROR | stderr |     return await anyio.to_thread.run_sync(
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
2024-07-10 11:57:23 | ERROR | stderr |     return await get_async_backend().run_sync_in_worker_thread(
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread
2024-07-10 11:57:23 | ERROR | stderr |     return await future
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run
2024-07-10 11:57:23 | ERROR | stderr |     result = context.run(func, *args)
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 605, in run_sync_iterator_async
2024-07-10 11:57:23 | ERROR | stderr |     return next(iterator)
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 788, in gen_wrapper
2024-07-10 11:57:23 | ERROR | stderr |     response = next(iterator)
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_block_arena_named.py", line 282, in bot_response_multi
2024-07-10 11:57:23 | ERROR | stderr |     ret = next(gen[i])
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_web_server.py", line 582, in bot_response
2024-07-10 11:57:23 | ERROR | stderr |     conv.save_new_images(
2024-07-10 11:57:23 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/conversation.py", line 608, in save_new_images
2024-07-10 11:57:23 | ERROR | stderr |     from fastchat.constants import LOGDIR
2024-07-10 11:57:23 | ERROR | stderr | ModuleNotFoundError: No module named 'fastchat'
2024-07-10 11:58:13 | INFO | stdout | Keyboard interruption in main thread... closing server.
2024-07-10 11:58:15 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:58:15 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread
2024-07-10 11:58:15 | ERROR | stderr |     time.sleep(0.1)
2024-07-10 11:58:15 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:58:15 | ERROR | stderr | 
2024-07-10 11:58:15 | ERROR | stderr | During handling of the above exception, another exception occurred:
2024-07-10 11:58:15 | ERROR | stderr | 
2024-07-10 11:58:15 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:58:15 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in <module>
2024-07-10 11:58:15 | ERROR | stderr |     demo.launch()
2024-07-10 11:58:15 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch
2024-07-10 11:58:15 | ERROR | stderr |     self.block_thread()
2024-07-10 11:58:15 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread
2024-07-10 11:58:15 | ERROR | stderr |     self.server.close()
2024-07-10 11:58:15 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close
2024-07-10 11:58:15 | ERROR | stderr |     self.thread.join(timeout=5)
2024-07-10 11:58:15 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join
2024-07-10 11:58:15 | ERROR | stderr |     self._wait_for_tstate_lock(timeout=max(timeout, 0))
2024-07-10 11:58:15 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
2024-07-10 11:58:15 | ERROR | stderr |     if lock.acquire(block, timeout):
2024-07-10 11:58:15 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:58:20 | INFO | stdout | Running on local URL:  http://127.0.0.1:7860
2024-07-10 11:58:20 | INFO | stdout | 
2024-07-10 11:58:20 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
2024-07-10 11:58:24 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:58:24 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:58:24 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None
2024-07-10 11:58:24 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:58:24 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:58:24 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None
2024-07-10 11:58:24 | INFO | gradio_web_server | hello
2024-07-10 11:58:24 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/queueing.py", line 566, in process_events
2024-07-10 11:58:24 | ERROR | stderr |     response = await route_utils.call_process_api(
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/route_utils.py", line 270, in call_process_api
2024-07-10 11:58:24 | ERROR | stderr |     output = await app.get_blocks().process_api(
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 1847, in process_api
2024-07-10 11:58:24 | ERROR | stderr |     result = await self.call_function(
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 1445, in call_function
2024-07-10 11:58:24 | ERROR | stderr |     prediction = await utils.async_iteration(iterator)
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 629, in async_iteration
2024-07-10 11:58:24 | ERROR | stderr |     return await iterator.__anext__()
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 622, in __anext__
2024-07-10 11:58:24 | ERROR | stderr |     return await anyio.to_thread.run_sync(
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
2024-07-10 11:58:24 | ERROR | stderr |     return await get_async_backend().run_sync_in_worker_thread(
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread
2024-07-10 11:58:24 | ERROR | stderr |     return await future
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run
2024-07-10 11:58:24 | ERROR | stderr |     result = context.run(func, *args)
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 605, in run_sync_iterator_async
2024-07-10 11:58:24 | ERROR | stderr |     return next(iterator)
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/utils.py", line 788, in gen_wrapper
2024-07-10 11:58:24 | ERROR | stderr |     response = next(iterator)
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_block_arena_named.py", line 282, in bot_response_multi
2024-07-10 11:58:24 | ERROR | stderr |     ret = next(gen[i])
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_web_server.py", line 602, in bot_response
2024-07-10 11:58:24 | ERROR | stderr |     "state": state.dict(),
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/serve/gradio_web_server.py", line 129, in dict
2024-07-10 11:58:24 | ERROR | stderr |     base = self.conv.dict()
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/conversation.py", line 685, in dict
2024-07-10 11:58:24 | ERROR | stderr |     "messages": self.extract_text_and_image_hashes_from_messages(),
2024-07-10 11:58:24 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/src/conversation.py", line 641, in extract_text_and_image_hashes_from_messages
2024-07-10 11:58:24 | ERROR | stderr |     from fastchat.utils import load_image
2024-07-10 11:58:24 | ERROR | stderr | ModuleNotFoundError: No module named 'fastchat'
2024-07-10 11:58:32 | INFO | stdout | Keyboard interruption in main thread... closing server.
2024-07-10 11:58:33 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:58:33 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread
2024-07-10 11:58:33 | ERROR | stderr |     time.sleep(0.1)
2024-07-10 11:58:33 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:58:33 | ERROR | stderr | 
2024-07-10 11:58:33 | ERROR | stderr | During handling of the above exception, another exception occurred:
2024-07-10 11:58:33 | ERROR | stderr | 
2024-07-10 11:58:33 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 11:58:33 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in <module>
2024-07-10 11:58:33 | ERROR | stderr |     demo.launch()
2024-07-10 11:58:33 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch
2024-07-10 11:58:33 | ERROR | stderr |     self.block_thread()
2024-07-10 11:58:33 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread
2024-07-10 11:58:33 | ERROR | stderr |     self.server.close()
2024-07-10 11:58:33 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close
2024-07-10 11:58:33 | ERROR | stderr |     self.thread.join(timeout=5)
2024-07-10 11:58:33 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join
2024-07-10 11:58:33 | ERROR | stderr |     self._wait_for_tstate_lock(timeout=max(timeout, 0))
2024-07-10 11:58:33 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
2024-07-10 11:58:33 | ERROR | stderr |     if lock.acquire(block, timeout):
2024-07-10 11:58:33 | ERROR | stderr | KeyboardInterrupt
2024-07-10 11:58:38 | INFO | stdout | Running on local URL:  http://127.0.0.1:7860
2024-07-10 11:58:38 | INFO | stdout | 
2024-07-10 11:58:38 | INFO | stdout | To create a public link, set `share=True` in `launch()`.
2024-07-10 11:58:46 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:58:46 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:58:46 | INFO | gradio_web_server | model_name: llava-fire;model_api_dict: None
2024-07-10 11:58:46 | INFO | gradio_web_server | bot_response. ip: 127.0.0.1
2024-07-10 11:58:46 | INFO | gradio_web_server | monitor error: Extra data: line 1 column 5 (char 4)
2024-07-10 11:58:46 | INFO | gradio_web_server | model_name: llava-original;model_api_dict: None
2024-07-10 11:58:46 | INFO | gradio_web_server | hello
2024-07-10 11:58:46 | INFO | gradio_web_server | hello
2024-07-10 12:01:16 | INFO | stdout | Keyboard interruption in main thread... closing server.
2024-07-10 12:01:17 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 12:01:17 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2553, in block_thread
2024-07-10 12:01:17 | ERROR | stderr |     time.sleep(0.1)
2024-07-10 12:01:17 | ERROR | stderr | KeyboardInterrupt
2024-07-10 12:01:17 | ERROR | stderr | 
2024-07-10 12:01:17 | ERROR | stderr | During handling of the above exception, another exception occurred:
2024-07-10 12:01:17 | ERROR | stderr | 
2024-07-10 12:01:17 | ERROR | stderr | Traceback (most recent call last):
2024-07-10 12:01:17 | ERROR | stderr |   File "/home/bofei-zhang/Documents/Project/Projects/Multimodal-CL/nips_0601/FIRE/app.py", line 16, in <module>
2024-07-10 12:01:17 | ERROR | stderr |     )
2024-07-10 12:01:17 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2458, in launch
2024-07-10 12:01:17 | ERROR | stderr |     self.block_thread()
2024-07-10 12:01:17 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/blocks.py", line 2557, in block_thread
2024-07-10 12:01:17 | ERROR | stderr |     self.server.close()
2024-07-10 12:01:17 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/site-packages/gradio/http_server.py", line 68, in close
2024-07-10 12:01:17 | ERROR | stderr |     self.thread.join(timeout=5)
2024-07-10 12:01:17 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1100, in join
2024-07-10 12:01:17 | ERROR | stderr |     self._wait_for_tstate_lock(timeout=max(timeout, 0))
2024-07-10 12:01:17 | ERROR | stderr |   File "/home/bofei-zhang/miniconda3/envs/fire_demo/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
2024-07-10 12:01:17 | ERROR | stderr |     if lock.acquire(block, timeout):
2024-07-10 12:01:17 | ERROR | stderr | KeyboardInterrupt