The GitHub Actions job "CI" on tvm-ffi.git/main has failed. Run started by GitHub user tqchen (triggered by tqchen).
Head commit for run: 550e92fc16d6525bba126527d54db5c970a74b04 / Tianqi Chen <[email protected]> [C-API] TVMFFIErrorSetRaisedFromCStrParts (#107) This PR introduces a new C API TVMFFIErrorSetRaisedFromCStrParts. Background: when DSL compilers report errors, sometimes there are common parts that appears multiple times, such as function signature. For example, the following are possible error messages from a DSL. - Argument 1 mismatch in `matmul(x: Tensor, y: Tensor)`, dtype mismatch - Argument 2 mismatch in `matmul(x: Tensor, y: Tensor)`, shape[0] mismatch While we can store each message as const string and pass them to `TVMFFIErrorSetRaisedFromCStr`. There are quite a bit of duplication here. This API allows us to store the error messages in parts, so parts like "mismatch in `matmul(x: Tensor, y: Tensor)`," get reused across multiple error messages. Because DSLs usually have minimal runtime, having a minimal helper C API would simplify the possible overhead of compiler construction side. Report URL: https://github.com/apache/tvm-ffi/actions/runs/18474575648 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
