Within one model, users can upload new versions of their processing code. UbiOps builds a separate container for each model version, so in the background model versions are handled as separate entities and can be used as such. However, the input and output structure of the model will be maintained to ensure cross-compatibility between versions, so that they can easily be replaced when needed.
Creating a new version of an existing model¶
Every model deployed in UbiOps consists of one or more versions. Each version of the model can have different implementation, resource allocations or even programming language, however they must have identical input and output in order for them to be used interchangeably.
When using the user interface, a first model version is created together with the model. You are able to add more model versions using UbiOps' model versioning system.
In the left navigation bar, click on Models. Click on the model to which a new version will be added.
Then, click on the Create version button in the versions pane at the top left, of the pane. The version creation form will appear.
Fill in the version name and the programming language. Click on the Upload code button to upload the ZIP file for the new model version. The required structure of the ZIP file can be found here. More deployment options are optional, such as for example the memory allocation. These can be set in the Advanced parameters.
Finally, click on the Create button to create the new version.