test: isolate uncentered LEMUR coverage

This commit is contained in:
morgan-coded
2026-08-01 22:40:57 -05:00
parent ce11b08ab1
commit 90f7cc2078
+1 -1
View File
@@ -272,7 +272,7 @@ class TestPooling(unittest.TestCase):
seed=42,
)
pooling = PoolingFactory.create({"path": model, "device": self.device, "modelargs": {"lemur": {"path": output}}})
pooling = PoolingFactory.create({"path": model, "device": self.device, "modelargs": {"lemur": {"path": output}, "center": False}})
texts = ["Short text.", "A considerably longer synthetic document exercises padding behavior."]
queries = pooling.encode(texts, category="query")
documents = pooling.encode(texts, category="data")