-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Describe the issue
I have Windows 10/11 (Windows 10 Pro that I upgraded to Windows 11 Pro). When I run my python code, using langchain to query ChatGPT based on passed in documents, I keep getting the warning:
onnxruntime_validation.py:26: UserWarning: Unsupported Windows version (11). ONNX Runtime supports Windows 10 and above, only. warnings.warn(
I don't really care about that, per se, but I am now getting a circular reference error that makes absolutely zero sense.
`An error occurred: Circular reference detected on line <traceback object at 0x0000027FDC728440>
Error in tracing queue
Traceback (most recent call last):
File "I:\My Drive\AI\Moss Masher\venv\Lib\site-packages\langsmith\client.py", line 4112, in _tracing_thread_handle_batch
client.batch_ingest_runs(create=create, update=update, pre_sampled=True)
File "I:\My Drive\AI\Moss Masher\venv\Lib\site-packages\langsmith\client.py", line 1220, in batch_ingest_runs
"post": [_dumps_json(run) for run in raw_body["post"]],
MossMasher.zip
^^^^^^^^^^^^^^^^
File "I:\My Drive\AI\Moss Masher\venv\Lib\site-packages\langsmith\client.py", line 236, in _dumps_json
return _dumps_json_single(obj, functools.partial(_serialize_json, depth=depth))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\My Drive\AI\Moss Masher\venv\Lib\site-packages\langsmith\client.py", line 211, in _dumps_json_single
return orjson.dumps(
^^^^^^^^^^^^^
`
I have attached the script which is dumb simple but still not working. This might have nothing to do with onnxruntime and, if not, I apologize for the entry.
To reproduce
run python -m streamlit MossMasher.py wherever you download the file.
Urgency
No response
Platform
Windows
OS Version
Windows 11 Pro 21H2
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.17.1
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response