question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Got the following error: ValueError: Unknown benchmark "file:////home/gfursin/work/susan.bc"

See original GitHub issue

Hi,

Thank you for the project - looks very interesting!

I got stuck with the following example (https://github.com/ctuning/reproduce-milepost-project/issues/11):

import gym
import compiler_gym
env = gym.make("llvm-v0")
env.reset(benchmark="file:////home/gfursin/work/susan.bc")
env.observation["ProGraML"]
env.observation["Inst2vec"]

I generated susan.bc but I get the following error:

ValueError: Unknown benchmark "file:////home/gfursin/work/susan.bc"

Any suggestions how to fix that, please?

Thanks again for your project, Grigori

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gfursincommented, Dec 23, 2020

Nice! Thanks a lot @ChrisCummins - it worked fine now!!! Cool to see the cBench suite there too 😉 ! I will continue playing with the framework …

0reactions
ChrisCumminscommented, Jan 21, 2021

Interesting, thanks for following up!

Cheers, Chris

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found