dotnet / dotnet/machinelearning
When using the AddPredictionEnginePool, How to Confirm the a Model is accessible if watchForChanges: true?
- Dominant language
- C#
- Stars
- 9.4k
- Forks
- 2k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 11
Description
### System information
Windows 11, Net 8.0
When setting up a webAPI with a similar command to
predictionEnginePool.AddPredictionEnginePool()
.FromFile(modelName: modelName, filePath: $"MLModels/{modelName}.zip", watchForChanges: true);
Is there a way to know the model the code points to has been loaded and being currently used?
I was curious if there some command in the predictionEnginePool that could be read, such as a time stamp or a way to log when the model changes. I'd liked to be able to provide feedback about the model's creation data. I can pull the timestamp from the files, but within the WebApi, I was curious about being able to monitor that part.
Contributor guide
Assessment
This issue has not been assessed yet.