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 494d22d commit 59e1a8eCopy full SHA for 59e1a8e
tests/models/common/test_model_loader.py
@@ -199,6 +199,10 @@ def test_register_model_vllm_wrapper_methods():
199
with pytest.raises(NotImplementedError, match="JAX model"):
200
instance.forward(input_ids=None, positions=None)
201
202
+ # `get_input_embeddings` should be unimplemented.
203
+ with pytest.raises(NotImplementedError, match="JAX model"):
204
+ instance.get_input_embeddings(input_ids=None, positions=None)
205
+
206
# `load_weights` should be a no-op that returns None.
207
assert instance.load_weights() is None
208
tests/test_vllm_wrapper.py
0 commit comments