DistributedModelManager wraps a local ModelManager and adds NATS fan-out for model deletion so worker nodes clean up stale files.
| 20 | // DistributedModelManager wraps a local ModelManager and adds NATS fan-out |
| 21 | // for model deletion so worker nodes clean up stale files. |
| 22 | type DistributedModelManager struct { |
| 23 | local galleryop.ModelManager |
| 24 | adapter *RemoteUnloaderAdapter |
| 25 | } |
| 26 | |
| 27 | // NewDistributedModelManager creates a DistributedModelManager. |
| 28 | // Backend auto-install is disabled because the frontend node delegates |
nothing calls this directly
no outgoing calls
no test coverage detected