-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[StableHLO] Improve the PJRT parsing error message to include StableH…
…LO version and portable artifact version. This uses a hypothetical "future" portable artifact, serialized targeting StableHLO v2.0.0 and using an op `vhlo.constant_v99`. ``` /tmp/t2.mlir:3:10: error: unregistered operation 'vhlo.constant_v99' found in dialect ('vhlo') that does not allow unknown operations /tmp/t2.mlir:3:10: note: see current operation: %0 = "vhlo.constant_v99"() <#vhlo.tensor_v1<dense<1.000000e+00> : tensor<f32>>> : () -> !vhlo.tensor_v1<!vhlo.f32_v1> /tmp/t2.mlir:3:10: note: in bytecode version 6 produced by: StableHLO_v2.0.0 <unknown>:0: error: Failed to parse using StableHLO v1.7.5, this could indicate forward incompatibility, >12w old unsupported plugin, or a portable artifact that needs to be further downgraded. ``` PiperOrigin-RevId: 681117697
- Loading branch information
1 parent
326b65b
commit d2c9c5c
Showing
3 changed files
with
56 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters