You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Gus Smith via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/10/28 23:14:43 UTC

[Apache TVM Discuss] [Questions] Python debugger segfaults with tvm


[quote="junrushao1994, post:9, topic:843"]
```
set(USE_LLVM "/usr/bin/llvm-config-8 --ignore-libllvm")
```
[/quote]

FWIW, this seems to be what's needed to get this ignored test working in the Rust bindings:

(in rust/tvm/src/python.rs)
```rust
    #[ignore]
    #[test]
    fn test_run() -> Result<()> {
        load().unwrap();
        Ok(())
    }
}
```

This is significant. Without this fix, a large part of the Rust bindings won't work (specifically, actually compiling and running code from Rust won't work!)

I'm not sure if this is known already, or where it would be good to document this fact. cc @jroesch 

Sorry to bump an old thread, but this seems important enough to mention. THANK YOU SO MUCH @junrushao1994 !!!! Great sleuthing on this :male_detective:





---
[Visit Topic](https://discuss.tvm.apache.org/t/python-debugger-segfaults-with-tvm/843/18) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/39adf87919bbef9299e7ca7bc21522be91c7435bd5735aecc2e47deb8822aa7b).