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

PyBNN benchmark container error when running #180

Open
Game4Move78 opened this issue Jun 6, 2023 · 1 comment
Open

PyBNN benchmark container error when running #180

Game4Move78 opened this issue Jun 6, 2023 · 1 comment

Comments

@Game4Move78
Copy link

Game4Move78 commented Jun 6, 2023

I get an import error at line client_abstract_benchmark.py:335 when launching the BNNOnBostonHousing singularity container.

[2023-06-06 17:29:46,453][BenchmarkClient][INFO] - ~~~ HPOBENCH VERSION: 0.0.11dev ~~~~ CONTAINER VERSION: 0.0.4 ~~~
Traceback (most recent call last):
  File "/home/HPOBench/hpobench/container/server_abstract_benchmark.py", line 131, in <module>
    exec(f"from hpobench.benchmarks.{args.importBase} import {args.benchmark} as Benchmark")
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/hpobench/benchmarks/ml/__init__.py", line 1, in <module>
    from hpobench.benchmarks.ml.histgb_benchmark import HistGBBenchmark, HistGBBenchmarkBB, HistGBBenchmarkMF
  File "/usr/local/lib/python3.7/site-packages/hpobench/benchmarks/ml/histgb_benchmark.py", line 15, in <module>
    from sklearn.experimental import enable_hist_gradient_boosting  # noqa
ModuleNotFoundError: No module named 'sklearn
@Neeratyoy
Copy link
Collaborator

Hi,
Thanks for bringing this up.
We too noticed the issue and have been looking into a fix.
The containers will be updated soon (hopefully in a week) which should fix it.
In the meantime, perhaps the non-container version of the benchmark works for your use case.

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