Skip to content

Commit 1fb6c57

Browse files
fix descriptation
1 parent 1c0eead commit 1fb6c57

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

prototype_source/quantization_in_pytorch_2_0_export_tutorial.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ and ``BackendConfig`` to specify the supported ways of quantization in their bac
2727
This API covers most use cases relatively well, but the main problem is that this API is not fully extensible
2828
without involvement of the quantization team:
2929

30-
- Current API has limitation around expressing quantization intentions for complicated operator patterns such as in the discussion of
30+
- This API has limitation around expressing quantization intentions for complicated operator patterns such as in the discussion of
3131
`Issue-96288 <https://github.com/pytorch/pytorch/issues/96288>`__ to support ``conv add`` fusion.
3232
Supporting ``conv add`` fusion also requires some changes to current already complicated pattern matching code such as in the
3333
`PR-97122 <https://github.com/pytorch/pytorch/pull/97122>`__.
34-
- Current API also has limitation around supporting user's advanced quantization intention to quantize their model. For example, if backend
34+
- This API also has limitation around supporting user's advanced quantization intention to quantize their model. For example, if backend
3535
developer only wants to quantize inputs and outputs when the ``linear`` has a third input, it requires co-work from quantization
3636
team and backend developer.
37-
- Current API uses ``QConfigMapping`` and ``BackendConfig`` as separate object. ``QConfigMapping`` describes user's
37+
- This API uses ``QConfigMapping`` and ``BackendConfig`` as separate object. ``QConfigMapping`` describes user's
3838
intention of how they want their model to be quantized. ``BackendConfig`` describes what kind of quantization a backend support.
39-
Currently, ``BackendConfig`` is backend specific, but ``QConfigMapping`` is not. And user can provide a ``QConfigMapping``
39+
``BackendConfig`` is backend specific, but ``QConfigMapping`` is not. And user can provide a ``QConfigMapping``
4040
that is incompatible with a specific ``BackendConfig``. This is not a great UX. Ideally, we can structure this better
4141
by making both configuration (``QConfigMapping``) and quantization capability (``BackendConfig``) backend
4242
specific. So there will be less confusion about incompatibilities.
43-
- Currently, in ``QConfig`` we are exposing observer/fake_quant classes as an object for user to configure quantization.
43+
- In ``QConfig``, we are exposing observer/fake_quant classes as an object for user to configure quantization.
4444
This increases the things that user needs to care about, e.g. not only the ``dtype`` but also how the
4545
observation should happen. These could potentially be hidden from user to make user interface simpler.
4646

0 commit comments

Comments
 (0)