jolly-painting-44604
05/14/2024, 9:32 AMbulky-afternoon-92433
05/14/2024, 10:00 AMbulky-afternoon-92433
05/14/2024, 10:01 AMjolly-painting-44604
05/14/2024, 2:37 PMThere is no support for using AWS Lambda as the task executor at the moment in the core OSS versionWould it be there in the commercial offering?
unless I' m mistaken, AWS Lambda still has the hard limit of 15 minutes for execution timeoutIndeed. But I think it's up to the user to decide the right tool for the job: do I need a knife or a bazooka? something lightweight to do a task quick or some heavy duty machine for a long-running job? I don't think Metaflow would have to automatically decide that for the user. There are a variety of use cases, one of which is real-time model inference, where the overall inference is given by a chain of ML models intertwined with some business rules. I call model 1, then have some basic logic on the output of model 1 (e.g. a python script) and then call model 2. "calling a model" can be as simple as performing an HTTP request against a model inference server that is aways running. In this case, AWS batch is unsuited for both the model calls and the simple python script, as it just takes too long to spin up machines - a simple lambda would do. The question might then be "why don't you just write the workflow in AWS Lambda?" - well, we'd like to still keep the same benefits of Metaflow, namely the ability to prototype locally, with a plain python lib, and scale to different runtimes.
faint-zoo-41552
05/14/2024, 3:45 PMbulky-afternoon-92433
05/14/2024, 3:45 PMfaint-zoo-41552
05/14/2024, 3:45 PM