Sean Talia
02/09/2022, 4:33 PMDockerRun
flows will or won't run on that beefed-up EC2 instance
2. Using ECS on EC2, and then simply manage the execution of the flows on the EC2 instance by configuring an ECSRun
flow to use an ECS task that executes on EC2
The former option seems a little more straight-forward, and we could get it up and running pretty quickly, but it would involve overhead of managing labels, new API keys for the agents, etc. The latter is probably more flexible in the end, but there's more up front work for us since ECS on EC2 is not a workflow that we currently support. Has anyone ever deliberated over this issue or experimented with it?Kevin Kho
Sean Talia
02/09/2022, 5:50 PMKevin Kho
Sean Talia
02/10/2022, 2:43 PMhost_config
param wasn't introduced to the DockerRun class until 0.15.2
so is it safe to assume we can't even take advantage of passing the gpu
runtime params until we do that?Kevin Kho
Sean Talia
02/10/2022, 2:46 PMdevice_requests=[
docker.types.DeviceRequest(count=-1, capabilities=[['gpu']])
]
actually was working for some people though?Kevin Kho
Sean Talia
02/10/2022, 3:00 PMdevice_requests
parameter is something that can be passed to the create_host_config
methodKevin Kho
Sean Talia
02/10/2022, 3:05 PM