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 5b67b13 commit 1b594aaCopy full SHA for 1b594aa
vllm/model_executor/models/jina_embeddings_v4.py
@@ -340,11 +340,6 @@ def pooler(
340
341
def load_weights(self, weights: Iterable[tuple[str, torch.Tensor]]):
342
"""Load weights with validation and error handling."""
343
- try:
344
- loader = AutoWeightsLoader(self)
345
- loaded_weights = loader.load_weights(weights, mapper=self.weight_mapper)
346
- logger.info(f"Successfully loaded {len(loaded_weights)} weight tensors")
347
- return loaded_weights
348
- except Exception as e:
349
- logger.error(f"Error loading weights: {e}")
350
- raise
+ loader = AutoWeightsLoader(self)
+ loaded_weights = loader.load_weights(weights, mapper=self.weight_mapper)
+ return loaded_weights
0 commit comments