Open sunpian1 opened 6 months ago
local path to the model
is supported in some cases depending on the implementation being used. For example, the bert implementation using deepsparse backend supports it. Which model would you like to import locally?
resnet50 mobilenetv3 and so on
In CM, we download or load a model using a separate CM script like here. After this we get the path to the model in an ENV
variable which we use in the inference implementation script.
If you try this, you can either extend the CM script to plug in new models or populate the ENV variable and prevent the run of the CM script to get the model.
This is a WIP but can be useful to understand how CM scripts work.
Do you support a local path to the model?