quick-lighter-52296
02/28/2024, 6:25 AM@resources(memory=4096)
into such a instance, and in case of batch it will just request a larger instance size (say with 8GB memory). This leads to high degree of underutilisation of instances so manually specify memory sizes such as 3800 instead of 4096 to optimize placement. I am curious how others deal with this problem, especially because I do not want my data scientists to be thinking about these things when writing down resource requirements, and also because we are now looking to use a hybrid of Fargate & EC2 compute environments where fargate does not support memory requirements like 3800 (it needs a whole number like 4096) so some edits need to be made to resource requirements before the flow can be run on either. Ideally I would want them to be seamlessly interchangeable.