nvidia-holoscan / holoscan-sdk

The AI sensor processing SDK for low latency streaming workflows
Apache License 2.0
117 stars 31 forks source link

Fix using no-cache option for the container build #14

Closed jordimassaguerpla closed 8 months ago

jordimassaguerpla commented 1 year ago

If we specify no-cache, we should not add the local cache with the from-cache and to-cache parameters. Otherwise, we get the error

WARNING: local cache import at /home/adminuser/.holoscan_build_cache
not found due to err: could not read
/home/adminuser/.holoscan_build_cache/index.json: open
/home/adminuser/.holoscan_build_cache/index.json: no such file or directory

being adminuser the user that runs the build.

This is important for CI, where we do not have any cache to start with.

This should fix https://github.com/Project-MONAI/monai-deploy-app-sdk/issues/469

mocsharp commented 1 year ago

Hi @jordimassaguerpla,

Thanks for opening an MR. We are working on this fix and will include it in the upcoming release.

Best,

Victor

tbirdso commented 8 months ago

Hi, I've confirmed with @mocsharp that this issue is addressed in the latest Holoscan 1.0.3 release. I will close this PR as resolved. Please open an issue in Holoscan SDK if your issue persists. Thanks!