Package org.gridgain.internal.ml.storage
Class ModelStorageProviderImpl
java.lang.Object
org.gridgain.internal.ml.storage.ModelStorageProviderImpl
- All Implemented Interfaces:
ModelStorageProvider
Simplified implementation of ModelStorageProvider for inference-time model access.
Since deployment uses direct folder paths, this provider mainly handles model source creation for inference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplementation of ModelSource for file-based model storage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a ModelSource object for the given URI with properties asynchronously.
-
Constructor Details
-
ModelStorageProviderImpl
public ModelStorageProviderImpl()
-
-
Method Details
-
createModelSource
public CompletableFuture<ModelSource> createModelSource(String modelUri, String modelId, String version, Map<String, String> properties) Creates a ModelSource object for the given URI with properties asynchronously.- Specified by:
createModelSourcein interfaceModelStorageProvider- Parameters:
modelUri- The URI of the modelmodelId- The model IDversion- The versionproperties- Additional properties for the model source- Returns:
- A CompletableFuture containing the ModelSource object
-