We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5883fed commit 85606aaCopy full SHA for 85606aa
tests/models/common/test_model_loader.py
@@ -201,6 +201,10 @@ def test_register_model_vllm_wrapper_methods():
201
with pytest.raises(NotImplementedError, match="JAX model"):
202
instance.forward(input_ids=None, positions=None)
203
204
+ # `get_input_embeddings` should be unimplemented.
205
+ with pytest.raises(NotImplementedError, match="JAX model"):
206
+ instance.get_input_embeddings(input_ids=None, positions=None)
207
+
208
# `load_weights` should be a no-op that returns None.
209
assert instance.load_weights() is None
210
tests/test_vllm_wrapper.py
0 commit comments