|
| 1 | +/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/thop/profile.py:12: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. |
| 2 | + if LooseVersion(torch.__version__) < LooseVersion("1.0.0"): |
| 3 | +/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/thop/profile.py:68: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. |
| 4 | + if LooseVersion(torch.__version__) >= LooseVersion("1.1.0"): |
| 5 | +distutils Version classes are deprecated. Use packaging.version instead. |
| 6 | +distutils Version classes are deprecated. Use packaging.version instead. |
| 7 | +Traceback (most recent call last): |
| 8 | + File "/Users/defalt/Desktop/Athena/research/tree-of-thoughts/example.py", line 62, in <module> |
| 9 | + solution = tree_of_thoughts.solve( |
| 10 | + ^^^^^^^^^^^^^^^^^^^^^^^ |
| 11 | + File "/Users/defalt/Desktop/Athena/research/tree-of-thoughts/tree_of_thoughts/treeofthoughts.py", line 559, in solve |
| 12 | + return self.monte_carlo_search( |
| 13 | + ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 14 | + File "/Users/defalt/Desktop/Athena/research/tree-of-thoughts/tree_of_thoughts/treeofthoughts.py", line 604, in monte_carlo_search |
| 15 | + thoughts = self.model.generate_thoughts( |
| 16 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 17 | + File "/Users/defalt/Desktop/Athena/research/tree-of-thoughts/tree_of_thoughts/tot_agent.py", line 106, in generate_thoughts |
| 18 | + thoughts = self.run(prompt) |
| 19 | + ^^^^^^^^^^^^^^^^ |
| 20 | + File "/Users/defalt/Desktop/Athena/research/tree-of-thoughts/tree_of_thoughts/tot_agent.py", line 70, in run |
| 21 | + response = self.agent(task) |
| 22 | + ^^^^^^^^^^^^^^^^ |
| 23 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/swarms/structs/agent.py", line 649, in __call__ |
| 24 | + self.run(task, img, *args, **kwargs) |
| 25 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/swarms/structs/agent.py", line 570, in run |
| 26 | + response = self.llm( |
| 27 | + ^^^^^^^^^ |
| 28 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 876, in __call__ |
| 29 | + self.generate( |
| 30 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 656, in generate |
| 31 | + output = self._generate_helper( |
| 32 | + ^^^^^^^^^^^^^^^^^^^^^^ |
| 33 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 544, in _generate_helper |
| 34 | + raise e |
| 35 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 531, in _generate_helper |
| 36 | + self._generate( |
| 37 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/swarms/models/openai_models.py", line 1082, in _generate |
| 38 | + full_response = completion_with_retry( |
| 39 | + ^^^^^^^^^^^^^^^^^^^^^^ |
| 40 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/swarms/models/openai_models.py", line 212, in completion_with_retry |
| 41 | + return _completion_with_retry(**kwargs) |
| 42 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 43 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tenacity/__init__.py", line 289, in wrapped_f |
| 44 | + return self(f, *args, **kw) |
| 45 | + ^^^^^^^^^^^^^^^^^^^^ |
| 46 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tenacity/__init__.py", line 379, in __call__ |
| 47 | + do = self.iter(retry_state=retry_state) |
| 48 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 49 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tenacity/__init__.py", line 314, in iter |
| 50 | + return fut.result() |
| 51 | + ^^^^^^^^^^^^ |
| 52 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/_base.py", line 449, in result |
| 53 | + return self.__get_result() |
| 54 | + ^^^^^^^^^^^^^^^^^^^ |
| 55 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result |
| 56 | + raise self._exception |
| 57 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tenacity/__init__.py", line 382, in __call__ |
| 58 | + result = fn(*args, **kwargs) |
| 59 | + ^^^^^^^^^^^^^^^^^^^ |
| 60 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/swarms/models/openai_models.py", line 210, in _completion_with_retry |
| 61 | + return llm.client.create(**kwargs) |
| 62 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 63 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_resources/chat_completion.py", line 25, in create |
| 64 | + return super().create(*args, **kwargs) |
| 65 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 66 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create |
| 67 | + response, _, api_key = requestor.request( |
| 68 | + ^^^^^^^^^^^^^^^^^^ |
| 69 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_requestor.py", line 288, in request |
| 70 | + result = self.request_raw( |
| 71 | + ^^^^^^^^^^^^^^^^^ |
| 72 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_requestor.py", line 596, in request_raw |
| 73 | + result = _thread_context.session.request( |
| 74 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 75 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/sessions.py", line 589, in request |
| 76 | + resp = self.send(prep, **send_kwargs) |
| 77 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 78 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/sessions.py", line 703, in send |
| 79 | + r = adapter.send(request, **kwargs) |
| 80 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 81 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/adapters.py", line 486, in send |
| 82 | + resp = conn.urlopen( |
| 83 | + ^^^^^^^^^^^^^ |
| 84 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen |
| 85 | + httplib_response = self._make_request( |
| 86 | + ^^^^^^^^^^^^^^^^^^^ |
| 87 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connectionpool.py", line 449, in _make_request |
| 88 | + six.raise_from(e, None) |
| 89 | + File "<string>", line 3, in raise_from |
| 90 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connectionpool.py", line 444, in _make_request |
| 91 | + httplib_response = conn.getresponse() |
| 92 | + ^^^^^^^^^^^^^^^^^^ |
| 93 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1374, in getresponse |
| 94 | + response.begin() |
| 95 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 318, in begin |
| 96 | + version, status, reason = self._read_status() |
| 97 | + ^^^^^^^^^^^^^^^^^^^ |
| 98 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 279, in _read_status |
| 99 | + line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") |
| 100 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 101 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/socket.py", line 705, in readinto |
| 102 | + return self._sock.recv_into(b) |
| 103 | + ^^^^^^^^^^^^^^^^^^^^^^^ |
| 104 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1278, in recv_into |
| 105 | + return self.read(nbytes, buffer) |
| 106 | + ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 107 | + File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1134, in read |
| 108 | + return self._sslobj.read(len, buffer) |
| 109 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 110 | +KeyboardInterrupt |
| 111 | +Implicitly cleaning up <TemporaryDirectory '/var/folders/zl/0vgkvtm52vjcs1skpnlqnssw0000gn/T/tmpk9wgadbgwandb'> |
| 112 | +Implicitly cleaning up <TemporaryDirectory '/var/folders/zl/0vgkvtm52vjcs1skpnlqnssw0000gn/T/tmpeqcgk3h9wandb-artifacts'> |
| 113 | +Implicitly cleaning up <TemporaryDirectory '/var/folders/zl/0vgkvtm52vjcs1skpnlqnssw0000gn/T/tmpoadrfcapwandb-media'> |
| 114 | +Implicitly cleaning up <TemporaryDirectory '/var/folders/zl/0vgkvtm52vjcs1skpnlqnssw0000gn/T/tmp431qofrrwandb-media'> |
| 115 | +Implicitly cleaning up <TemporaryDirectory '/var/folders/zl/0vgkvtm52vjcs1skpnlqnssw0000gn/T/tmpichwdx5i'> |
0 commit comments