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

dpbench fails if no reference implementation for benchmark #272

Open
AlexanderKalistratov opened this issue Jun 1, 2023 · 1 comment
Open

Comments

@AlexanderKalistratov
Copy link
Collaborator

  File "/home/akalistr/miniconda3/envs/dpbench-dev/bin/dpbench", line 33, in <module>
    sys.exit(load_entry_point('dpbench', 'console_scripts', 'dpbench')())
  File "/home/akalistr/repo/dpbench/dpbench/console/entry.py", line 134, in main
    execute_run(args, conn)
  File "/home/akalistr/repo/dpbench/dpbench/console/run.py", line 172, in execute_run
    runner.run_benchmark_and_save(
  File "/home/akalistr/repo/dpbench/dpbench/infrastructure/benchmark_runner.py", line 372, in run_benchmark_and_save
    results = self.run_benchmark_in_sub_process(rc)
  File "/home/akalistr/repo/dpbench/dpbench/infrastructure/benchmark_runner.py", line 332, in run_benchmark_in_sub_process
    brc.ref_framework: cfg.Framework = [
IndexError: list index out of range

https://github.com/IntelPython/dpbench/blob/main/dpbench/infrastructure/benchmark_runner.py#L332

Also see #271

@ZzEeKkAa
Copy link
Contributor

ZzEeKkAa commented Jun 5, 2023

Thank you for the report. I'll take a look on it. As a workaround you can use --no-validate flag for run command to skip validation.

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