Skip to content

Commit 00555cd

Browse files
authored
#358 Fix Fastai module import when loading artifact (#359)
1 parent dd23a76 commit 00555cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bentoml/artifact/fastai_model_artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
def _import_fastai_module():
2727
try:
28-
import fastai
28+
import fastai.basic_train
2929
except ImportError:
3030
raise ImportError(
3131
"fastai package is required to use " "bentoml.artifacts.FastaiModelArtifact"

0 commit comments

Comments
 (0)