0

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

1 Answer 1

0

As answered in https://dask.discourse.group/t/mounting-a-folder-in-dask-distributed-aws-ecs-ec2-cluster/1591/3, if by local folder you mean a folder on your personal computer, then you won't be able to mount it on a ECS or EC2 instance.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.