Slackbot
08/30/2023, 11:46 PMChaoyu
08/30/2023, 11:48 PMChaoyu
08/30/2023, 11:49 PMservice.py and only do that in the Runner class may help with reducing the memory used by each API server worker as wellMykyta Holubakha
08/30/2023, 11:50 PMimport bentoml
from <http://bentoml.io|bentoml.io> import Multipart, Image as BImage, JSON
from PIL import ImageChaoyu
08/30/2023, 11:51 PMChaoyu
08/30/2023, 11:51 PMMykyta Holubakha
08/30/2023, 11:51 PMMykyta Holubakha
08/30/2023, 11:51 PMMykyta Holubakha
08/30/2023, 11:51 PMChaoyu
08/31/2023, 12:00 AMbentoml.transformers.get does import transformers library. We can probably optimize the code to avoid that behavior and only import it in the Runner workers.Chaoyu
08/31/2023, 12:03 AMMykyta Holubakha
08/31/2023, 12:13 AM