Describe the bug
bentoml serve fails with error:
Error: bentoml-cli serve failed: Can not locate module_file <some_dir1>\<some_dir2>\<some_file>.py in saved bundle /<some_dir3>
This happens because of the windows style backslash in
The "
To Reproduce
Environment:
Additional context
Can't say for sure - but my guess is that this only happens when the Bento is built/packaged on Windows and deployed on Linux.
I was able to fix this by manually replacing the forward slash with backward slash in betoml.yml
@jiyer2016 Thank you for finding this issue. You are exactly right. BentoML didn't take into account of module_file from Windows.
We need to improve our Windows support. Thank you for discovering all of these issues and help BentoML improve!
This is fixed in #1044, will be available in next release