Frost Ming
Frost Ming
You are on an old version of bentoml, is it possible to upgrade to a new version?
bug: Http Server is not worked with Pytorch-Lightning without 'del sys.modules["prometheus_client"]'
You may add `print(sys.modules.get("prometheus_client"))` in different positions to see where it is imported in the script. Like following: ```python import sys print("before script:", sys.modules.get("prometheus_client")) # 1 import bentoml from bentoml...
> Does the code that's in development exist somewhere? I'd be interested in having a read. Sure, #4240
The memory issue has been in recent releases, can you please have a try? @nadimintikrish @sudeepg545
@przdev I tried the steps in the original post and couldn't manage to reproduce it. Since it is several months old, can you provide the steps to reproduce it?
You need to install the missing libs in the container, via custom docker templates or setup.sh: https://stackoverflow.com/a/63377623
So the result of this line: ```python # Find best model best_model = optimize(objective, space) ``` Can `best_model` be called directly with `best_model(...)` ? If not, how is it supposed...
The error says `__call__` is missing on the **model** object, while what you are inspecting is the **runner** object, they are different objects and have different methods. Please inspect on...
> I tried `getattr(model, "__call__")` to check `__call__` method existed Wrong object being checked, the `model` in your screenshot is indeed a runner(it is returned by `to_runner()` method). Please check...
Oh, I managed to get the traceback: ```pytb Traceback (most recent call last): File "/mnt/c/Workspace/GitHub/chatroom-syncer/src/chatroom_syncer/room_syncer.py", line 38, in on_message await contact.avatar() File "/mnt/c/Workspace/GitHub/chatroom-syncer/.venv/lib/python3.10/site-packages/wechaty/user/contact_self.py", line 36, in avatar file_box = await...