Class ModelStorageProviderImpl

java.lang.Object
org.gridgain.internal.ml.storage.ModelStorageProviderImpl
All Implemented Interfaces:
ModelStorageProvider

public class ModelStorageProviderImpl extends Object implements 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.
  • 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:
      createModelSource in interface ModelStorageProvider
      Parameters:
      modelUri - The URI of the model
      modelId - The model ID
      version - The version
      properties - Additional properties for the model source
      Returns:
      A CompletableFuture containing the ModelSource object