Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Images Match "pytorch-efa01" #9

Open
verbose-void opened this issue Oct 17, 2020 · 1 comment
Open

No Images Match "pytorch-efa01" #9

verbose-void opened this issue Oct 17, 2020 · 1 comment

Comments

@verbose-void
Copy link

verbose-void commented Oct 17, 2020

Running the main script command:

python train.py

I get:

Exception are  [AssertionError('No images match pytorch-efa01 in us-west-2, check name and image permissions')]
Traceback (most recent call last):
  File "train.py", line 453, in <module>
    main()
  File "train.py", line 305, in main
    job = ncluster.make_job(name=args.name,
  File "/usr/local/lib/python3.8/site-packages/ncluster/aws_backend.py", line 1294, in make_job
    raise exceptions[0]
  File "/usr/local/lib/python3.8/site-packages/ncluster/aws_backend.py", line 1268, in make_task_fn
    tasks[i] = make_task(f"{i}.{name}", run_name=run_name,
  File "/usr/local/lib/python3.8/site-packages/ncluster/aws_backend.py", line 1070, in make_task
    image = u.lookup_image(image_name)
  File "/usr/local/lib/python3.8/site-packages/ncluster/aws_util.py", line 397, in lookup_image
    assert len(images) > 0, f"No images match {str(wildcard)} in {get_region()}, check name and image permissions"
AssertionError: No images match pytorch-efa01 in us-west-2, check name and image permissions

> /usr/local/lib/python3.8/site-packages/ncluster/aws_util.py(397)lookup_image()
-> assert len(images) > 0, f"No images match {str(wildcard)} in {get_region()}, check name and image permissions"

I have set up the snapshots & created volumes from them using the scripts provided.

@verbose-void
Copy link
Author

Is there an extra setup for using an image? I'm using zone us-west-2a, in your README you reference us-east-1, maybe this is the only region where the AMI you reference (pytorch-eaf01) exists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant