(self, request, context)
| 375 | print(f"Error inserting cache: {e}", file=sys.stderr) |
| 376 | |
| 377 | def Embedding(self, request, context): |
| 378 | print("Embeddings not supported in MLX distributed backend", file=sys.stderr) |
| 379 | context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 380 | context.set_details("Embeddings are not supported in the MLX distributed backend.") |
| 381 | return backend_pb2.EmbeddingResult() |
| 382 | |
| 383 | async def TokenizeString(self, request, context): |
| 384 | if not hasattr(self, "tokenizer") or self.tokenizer is None: |
nothing calls this directly
no test coverage detected