You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to build a performant model that calls gpt-4o-mini, and the main issue is latency. While trying to improve latency, I discovered that the check of the module from the inspect library can take around 0.25s. It's not a lot, but it adds to the total.
I don't want you to "fix" inspect.get_module. But I would like to have an alternative to disable LangChain warnings during the execution of my code.
System Info
System Information
OS: Darwin
OS Version: Darwin Kernel Version 23.6.0: Wed Jul 31 20:49:39 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T6000
Python Version: 3.11.4 (main, Nov 30 2023, 11:49:37) [Clang 15.0.0 (clang-1500.0.40.1)]
Checked other resources
Example Code
pip install snakeviz
script.py
python script.py
snakeviz make_martin_happy.prof
Error Message and Stack Trace (if applicable)
No response
Description
We are trying to build a performant model that calls gpt-4o-mini, and the main issue is latency. While trying to improve latency, I discovered that the check of the module from the inspect library can take around 0.25s. It's not a lot, but it adds to the total.
I don't want you to "fix" inspect.get_module. But I would like to have an alternative to disable LangChain warnings during the execution of my code.
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: