WenWeiTHU opened a new pull request, #9337: URL: https://github.com/apache/iotdb/pull/9337
Add mlnode model storager * portable model format (torchscript) * save/delete pytorch model with model configs * lru cache for model load Usage: ``` from iotdb.mlnode.algorithm.model_factory import create_forecast_model from iotdb.mlnode.storage.model_storager import modelStorager model, model_cfg = create_forecast_model(model_name='nbeats') modelStorager.save_model(model, model_cfg, model_id: int, trial_id: int) model, model_cfg = modelStorager.load_model(model_id: int, trial_id: int) modelStorager.delete_trial(model_id: int, trial_id: int) # modelStorager.delete_model(model_id: int) # delete all model with responding trials ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
