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

Can't pull HPOBench container #174

Open
Game4Move78 opened this issue Mar 15, 2023 · 3 comments
Open

Can't pull HPOBench container #174

Game4Move78 opened this issue Mar 15, 2023 · 3 comments

Comments

@Game4Move78
Copy link

>>> from hpobench.container.benchmarks.nas.tabular_benchmarks import SliceLocalizationBenchmark
>>> bm = SliceLocalizationBenchmark()
[INFO] BenchmarkClient at 2023-03-15 12:35:03,339 --- Start downloading the container tabular_benchmarks_0.0.5 from oras://gitlab.tf.uni-freiburg.de:5050/muelleph/hpobench-registry. This may take several minutes.
INFO[0000] trying next host - response was http.StatusNotFound  host="gitlab.tf.uni-freiburg.de:5050"
FATAL:   While pulling image from oci registry: error fetching image to cache: failed to get checksum for oras://gitlab.tf.uni-freiburg.de:5050/muelleph/hpobench-registry/tabular_benchmarks/0.0.5:latest: while resolving reference: gitlab.tf.uni-freiburg.de:5050/muelleph/hpobench-registry/tabular_benchmarks/0.0.5:latest: not found
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/patrick/HPOBench/hpobench/container/benchmarks/nas/tabular_benchmarks.py", line 15, in __init__
    super(SliceLocalizationBenchmark, self).__init__(**kwargs)
  File "/home/patrick/HPOBench/hpobench/container/client_abstract_benchmark.py", line 129, in __init__
    self.load_benchmark(benchmark_name=benchmark_name, container_name=container_name,
  File "/home/patrick/HPOBench/hpobench/container/client_abstract_benchmark.py", line 238, in load_benchmark
    download_container(self.container_dir, container_name, self.container_source, container_tag)
  File "/home/patrick/.virtualenvs/multifidelity/lib/python3.8/site-packages/oslo_concurrency/lockutils.py", line 414, in inner
    return f(*args, **kwargs)
  File "/home/patrick/HPOBench/hpobench/container/client_abstract_benchmark.py", line 233, in download_container
    subprocess.run(cmd, shell=True, check=True)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'singularity pull --dir /home/patrick/.cache/hpobench/hpobench-1003 --name tabular_benchmarks_0.0.5 oras://gitlab.tf.uni-freiburg.de:5050/muelleph/hpobench-registry/tabular_benchmarks/0.0.5:latest' returned non-zero exit status 255.

I run into this error when downloading the nas SliceLocalization container.

  • HPOBench version: 0.011dev (commit 236e542)
  • Singularity version: singularity-ce version 3.10.0
@Neeratyoy
Copy link
Collaborator

Hi,

Could you try again now and let us know if it works?

May I ask why the dev version, that is, if it is something specific you need that is not on master?

@Game4Move78
Copy link
Author

Game4Move78 commented Mar 15, 2023

Now it works, thanks! The very hierarchical YAHPO benchmark suite is not on master. Also I believe pulling containers on the master branch was broken some time in the last month, causing me to make the switch.

@Neeratyoy
Copy link
Collaborator

I see, thanks for pointing it out.
It does look like the set of containers for masters are not how it should be.
We are looking to update them as soon as possible.

The dev of course is volatile and is not recommended for use.
If the containers don't work, please report here (like you did) and maybe try the non-container version from the master.

In any case, glad you found a workaround for now.
Will update here when the containers are up.

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

2 participants