I am using dask distributed package to create a EC2/ECS cluster, I want to read the ML models within the workers, something like
def read_model(model_path):
model = pickle.load(model_path)
return model
future = client.submit(read_model, model_path)
model = future.result()
How do I mount/volume the local folder while creating the ECS/EC2 cluster using python.
tried to look into the parameters provided here