Matěj Šmíd
04/29/2025, 9:27 PMbentoml build I end up with:
shutil.Error: Destination path '/home/matej/bentoml/tmp/tmptvzmstoibentoml_bento_equivision/env/python/wheels/mmdet-3.3.0.tar.gz' already exists
The sdist is made twice and fails after second round: https://gist.github.com/smidm/2c1f914ce5289b999a213dd747110f1f
Any clue how to diagnose this?Matěj Šmíd
04/30/2025, 10:13 AM./src/ and I thought that the best way to make the modules available in the bento is to install the whole package with
Image(...).pyproject_toml('pyproject.toml')
or
Image(...).run("pip install .")
I removed these and I build the bento now with:
bentoml build -f pyproject.toml ./src/
The ./src context makes my modules available in the bento. This could be probably better documented.