Skip to content

Commit

Permalink
fix(import): set unsloth export lazily
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <[email protected]>
  • Loading branch information
aarnphm committed Sep 24, 2024
1 parent efce05b commit a24d709
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bentoml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@
lightgbm = _LazyLoader(
"bentoml.lightgbm", globals(), "_bentoml_impl.frameworks.lightgbm"
)
unsloth = _LazyLoader(
"bentoml.unsloth", globals(), "_bentoml_impl.frameworks.unsloth"
)
mlflow = _LazyLoader("bentoml.mlflow", globals(), "_bentoml_impl.frameworks.mlflow")
detectron = _LazyLoader(
"bentoml.detectron", globals(), "bentoml._internal.frameworks.detectron"
Expand Down

0 comments on commit a24d709

Please sign in to comment.