Panslothda
04/16/2024, 8:55 PMdocker run --rm -it -p 3000:3000 -e TRUST_REMOTE_CODE=True -e HUGGING_FACE_HUB_TOKEN=XXXXXXXXXXXXXXXXXXXX ghcr.io/bentoml/openllm start databricks/dbrx-instruct --backend pt
Which I assume is because in github readme it says
Note: Dbrx requires to install with:
pip install "openllm[dbrx]"
But how do I add the install to the container? I didn't really find a documentation for the container besides the run commands in readme unfortunately 😕
EDIT: Actually seems i have a general problem as well.
Tried to use a model that does not require install.
But then I just get this.... O.o
File "/openllm-python/src/openllm/serialisation/transformers/_helpers.py", line 33, in infer_autoclass_from_llm
raise ValueError(
ValueError: Invalid configuration for google/flan-t5-large. ``trust_remote_code=True`` requires `transformers.PretrainedConfig` to contain a `auto_map` mapping
2024-04-16T21:06:49+0000 [ERROR] [runner:llm-flan-t5-runner:1] Application startup failed. Exiting.
This is now simple "start google/flan-t5-large --backend pt" for the container.
Doing this on an up2date debian 12Chaoyu
04/22/2024, 5:39 PMChaoyu
04/22/2024, 5:41 PMChaoyu
04/22/2024, 5:41 PMChaoyu
04/22/2024, 5:41 PMChaoyu
04/22/2024, 5:42 PMAaron Pham
04/23/2024, 10:33 AM