Skip to content

Commit 6bbd00b

Browse files
committed
deprecate TSModelForCausalLM
1 parent 63bee4e commit 6bbd00b

File tree

4 files changed

+0
-678
lines changed

4 files changed

+0
-678
lines changed

examples/neural_compressor/text-generation/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ limitations under the License.
1818

1919
Based on the script [`run_generation.py`](https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-generation/run_generation.py).
2020

21-
The original generation task only supported the PyTorch eager model. By calling the `TSModelForCausalLM` class, we can now support a TorchScript model for generation tasks.
22-
2321
This example also allows us to apply different quantization approaches (such as dynamic, static, The example applies post-training static quantization on a gptj model).
2422

2523
Example usage:

optimum/intel/generation/__init__.py

-16
This file was deleted.

0 commit comments

Comments
 (0)