hands-on-train-and-deploy-ml icon indicating copy to clipboard operation
hands-on-train-and-deploy-ml copied to clipboard

Ensure code executes without memory limit dependency for cerebuim

Open OGsiji opened this issue 1 year ago • 1 comments

This fixes the bug :

AssertionError: Memory must be at most 4 times the number of CPUs for CPU deployments.
make: *** [deploy] Error 1

Basically you can check your number of cpu here and ultimately calculate the memory size e.g if number of cpu = 2 --Your memory size should not be more than 2 *4 = 8.

OGsiji avatar Aug 31 '23 13:08 OGsiji

Hi @OGsiji! Thanks a lot for the pull request. I am currently on holidays, and will be back to work on October 2nd. As soon as I am back, I will review and merge changes. Pau

Paulescu avatar Sep 08 '23 22:09 Paulescu