[Bugfix] Fix embedding model hangs with --enable-metrics (#2822)

This commit is contained in:
Chang Su authored and GitHub committed 2025-01-10 13:14:51 -08:00
1 parent 8f15789314
commit f290bd4332
4 files changed
+49 -4

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ class ModelConfig:
self.num_hidden_layers = self.hf_text_config.num_hidden_layers
self.vocab_size = self.hf_text_config.vocab_size
# Veirfy quantization
# Verify quantization
self._verify_quantization()
# Cache attributes