Sequen does not deploy to your infrastructure. You run training and serving in your own stack, and there are no runtime calls to Sequen.
Pull requests
Productionizing an experiment opens a pull request from a branch namedsequen/<model-class>/<experiment-id>. It contains the code and configuration the experiment changed, with a description of what it did to the metrics.
Trained weights are not part of the pull request. See Connecting repositories for how the diff is built and when a pull request is refused.
Published artifacts
A run can publish a directory it wrote to the output directory. Everything in the directory is uploaded, so each artifact is a directory holding exactly the artifact and nothing else. There are two scopes:- Artifacts are never replaced. A name that already holds an artifact is refused, and nothing can overwrite or delete a published artifact. To correct one, publish a new name, for example
sessions-arrow-v2. - A dataset artifact can carry a cache key. The key lists everything a later run must match for the artifact to be the right one, for example the preprocessing version and each setting that changed the bytes. A later session that asks for the artifact with a different key is refused before anything is transferred.
- Provenance is recorded. A published artifact records the experiment, branch and commit that produced it.
- A Model Class publishes only if it has an artifacts location. It is a storage prefix set on the Model Class, separate from the dataset’s path so that derivatives and raw inputs are never mixed. Your Sequen contact sets it up with you.
Take a model into your serving stack
Two things move into your infrastructure: the code and the trained artifact.1
Review and merge the pull request
Your review, your CI and your merge rules apply. After the merge, your repository holds the code and configuration that produced the improvement.
2
Retrain or fetch the artifact
Because everything that defines a run is in version control, the merged code reproduces the result with one command. You can retrain with your own pipeline. If you need the exact weights that produced the reported metrics, ask your Sequen contact how to retrieve the experiment’s published artifact.
3
Export and deploy
Turn the model into whatever your serving stack runs, and deploy it like your other models.

