Fernando Camargo
07/05/2024, 5:56 PMChaoyu
07/08/2024, 1:06 AMFernando Camargo
07/18/2024, 9:31 PM2024-07-18T21:23:41.168Z File "/usr/local/lib/python3.11/site-packages/bentoml/_internal/configuration/containers.py", line 168, in bentoml_home
2024-07-18T21:23:41.168Z validate_or_create_dir(home, bentos, models, envs, tmp_bentos)
2024-07-18T21:23:41.168Z File "/usr/local/lib/python3.11/site-packages/bentoml/_internal/utils/__init__.py", line 150, in validate_or_create_dir
2024-07-18T21:23:41.168Z path_obj.mkdir(parents=True, exist_ok=True)
2024-07-18T21:23:41.168Z File "/usr/local/lib/python3.11/pathlib.py", line 1116, in mkdir
2024-07-18T21:23:41.168Z os.mkdir(self, mode)
2024-07-18T21:23:41.168Z OSError: [Errno 30] Read-only file system: '/home/bentoml/bentos'
From what I researched, the file system in a Lambda environment is read-only except for the /tmp directory.Fernando Camargo
07/18/2024, 10:07 PMBENTOML_HOME seems to solve the issue