Skip to content

Commit

Permalink
Add check langchain pipeline models test
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Jan 30, 2025
1 parent 3ef8ae2 commit 2d2d98f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/ipex/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ def test_huggingface_pipeline_streaming(self, model_arch):
pipeline_kwargs={"max_new_tokens": 10},
backend="ipex",
)
self.assertIsInstance(hf_pipe.pipeline.model, IPEXModel)

generator = hf_pipe.stream("Q: How do you say 'hello' in German? A:'", stop=["."])

Expand Down
1 change: 1 addition & 0 deletions tests/openvino/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2833,6 +2833,7 @@ def test_huggingface_pipeline_streaming(self, model_arch):
pipeline_kwargs={"max_new_tokens": 10},
backend="openvino",
)
self.assertIsInstance(hf_pipe.pipeline.model, OVBaseModel)

generator = hf_pipe.stream("Q: How do you say 'hello' in German? A:'", stop=["."])

Expand Down

0 comments on commit 2d2d98f

Please sign in to comment.