Replies: 2 comments 1 reply
-
@mpsampat Sorry about this error. It is a known issue in the Packager, tracked also as an one in App SDK with workaround. But within Jupyter notebook, the simpler workaround can be used, i.e. modify the package command to set the option to supply the MONAI Deploy App SDK Wheel, which can be downloaded from pypi.org. |
Beta Was this translation helpful? Give feedback.
-
when using monai-depoy package command use | # Copy user-specified MONAI Deploy SDK file use sub option ----monai-deploy-sdk-file monai_deploy_app_sdk-0.6.0-py3-none-any.whl with monai-deploy package command like monai-deploy package simple_imaging_app -c simple_imaging_app/app.yaml -t {tag_prefix}:1.0 --platform x64-workstation --monai-deploy-sdk-file monai_deploy_app_sdk-0.6.0-py3-none-any.whl -l DEBUG i will work |
Beta Was this translation helpful? Give feedback.
-
I follow the instructions for simple_imaging_app for monai-deploy-app-sdk (0.6.0).
I am on a VM on vertex AI (cpu only).
the first one works:
python examples/apps/simple_imaging_app/app.py -i examples/apps/simple_imaging_app/input/brain_mr_input.jpg -o output
the second one fails (the error below)
monai-deploy package examples/apps/simple_imaging_app -c examples/apps/simple_imaging_app/app.yaml -t simple_app:latest --platform x64-workstation -l DEBUG
Do i need to have a GPU to package an app ? I know this was not the case before 0.6.0.
Thanks
Mehul
#21 [ 2/21] RUN mkdir -p /etc/holoscan/ && mkdir -p /opt/holoscan/ && mkdir -p /var/holoscan && mkdir -p /opt/holoscan/app && mkdir -p /var/holoscan/input && mkdir -p /var/holoscan/output
#21 CANCELED
WARNING: local cache import at /home/jupyter/.holoscan_build_cache not found due to err: could not read /home/jupyter/.holoscan_build_cache/index.json: open /home/jupyter/.holoscan_build_cache/index.json: no such file or directory
Dockerfile:78
76 |
77 | # Copy user-specified MONAI Deploy SDK file
78 | >>> COPY ./None /tmp/None
79 | RUN pip install /tmp/None
80 |
error: failed to solve: failed to compute cache key: failed to calculate checksum of ref mke4lzitgojyb5voax49slol1::zr4jj9ad6e3y5u50bkyr5e3u0: "/None": not found
[2023-10-12 01:36:10,128] [INFO] (packager) - Build Summary:
Platform: x64-workstation/dgpu
Status: Failure
Error: Error building image: see Docker output for additional details.
Beta Was this translation helpful? Give feedback.
All reactions