Skip to content

Commit

Permalink
Document availability of interpreter for quantized ops (openxla#2470)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdasgup3 authored Aug 5, 2024
1 parent 3b38a18 commit 0d6806b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
22 changes: 10 additions & 12 deletions docs/interpreter_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ to the semantics of even the most involved operations like `Convolution`,
`Gather`/`Scatter`, and `DotGeneral`.

At the moment, OpenXLA supports the interpretation of 91 out of 96 specced
StableHLO ops. The remaining 5 ops (`FftOp`, `RngOp`, `RngBitGeneratorOp`,
`UniformDequantizeOp`, and `UniformQuantizeOp`) have their semantics documented
in [spec.md](https://github.com/openxla/stablehlo/blob/main/docs/spec.md), and
have completed initial investigations on how to move forward (see
[status.md](https://github.com/openxla/stablehlo/blob/main/docs/status.md) for
a complete list of ops and its latest status). These final enhancements will be
implemented on an as-needed community basis.
StableHLO ops. The remaining 3 ops (`FftOp`, `RngOp`, `RngBitGeneratorOp`) have
their semantics documented in
[spec.md](https://github.com/openxla/stablehlo/blob/main/docs/spec.md), and have
completed initial investigations on how to move forward (see
[status.md](https://github.com/openxla/stablehlo/blob/main/docs/status.md)
for a complete list of ops and its latest status). These final
enhancements will be implemented on an as-needed community basis.

## Scope

Expand Down Expand Up @@ -73,11 +73,9 @@ that the interpreter supports resides in [mlir-hlo-opt.cc](https://github.com/op

### Quantization

Quantization spec'ing is still WIP, and interpreter support for quantized ops
(`UniformDequantizeOp`, `UniformQuantizeOp`) and type (`QuantizedTensorType`) is
tracked by [#1140](https://github.com/openxla/stablehlo/issues/1140),
[#1141](https://github.com/openxla/stablehlo/issues/1141), and
[#1691](https://github.com/openxla/stablehlo/issues/1691) respectively.
Interpreter support for `stablehlo.constant` operation with quantized type is
unsupported and tracked via
[#1691](https://github.com/openxla/stablehlo/issues/1691).

## Usage Instructions

Expand Down
4 changes: 2 additions & 2 deletions docs/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ one of the following tracking labels.
| triangular_solve | yes | revisit | yes | no | revisit |
| tuple | yes | yes | yes | yes | yes |
| unary_einsum | no | revisit | no | yes | revisit |
| uniform_dequantize | yes | yes | yes | yes | no |
| uniform_quantize | yes | revisit | infeasible | yes | no |
| uniform_dequantize | yes | yes | yes | yes | yes |
| uniform_quantize | yes | revisit | infeasible | yes | yes |
| while | yes | revisit | yes | revisit | yes |
| xor | yes | yes | yes | yes | yes |

Expand Down

0 comments on commit 0d6806b

Please sign in to comment.