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.

deepspeed.ops.op_builder.async_io.AsyncIOBuilder assert

See original GitHub issue

How can we make it clear to the user that they need to do apt install libaio-dev in this assert?

self = <deepspeed.ops.op_builder.async_io.AsyncIOBuilder object at 0x7f5dbce1f160>
verbose = True
    def jit_load(self, verbose=True):
        if not self.is_compatible():
>           raise RuntimeError(
                f"Unable to JIT load the {self.name} op due to it not being compatible due to hardware/software issue."
            )
E           RuntimeError: Unable to JIT load the async_io op due to it not being compatible due to hardware/software issue.

@tjruwase, can’t we just say apt install libaio-dev in the error message?

f"Unable to JIT load the {self.name} op due to it not being compatible due to hardware/software issue. "
"Most likely you need to: 'apt install libaio-dev'"

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tjruwasecommented, May 3, 2021

@stas00, if you still have the log can you please check if the assert message is preceded by warning like this: ... requires the libraries: ['libaio-dev'] but are missing. ?

0reactions
dlfrnaos19commented, Mar 1, 2022
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