End-to-end Project Template (On-premise Run:ai)¶
Customised for {{cookiecutter.project_name}}
.
Project Description: {{cookiecutter.description}}
This template that is also accompanied with an end-to-end guide was generated and customised using the following cookiecutter
template:
https://github.com/aisingapore/ml-project-cookiecutter-onprem-runai
This mkdocs
site is for serving the contents of the end-to-end guide in a more readable manner, as opposed to plain Markdown views. The contents of this guide have been customised according to the inputs provided upon generation of this repository through the usage of the cookiecutter
CLI, following instructions detailed here .
Inputs provided to cookiecutter
for the generation of this template:
project_name
: {{cookiecutter.project_name}}description
: {{cookiecutter.description}}repo_name
: {{cookiecutter.repo_name}}src_package_name
: {{cookiecutter.src_package_name}}src_package_name_short
: {{cookiecutter.src_package_name_short}}harbor_registry_project_path
: {{cookiecutter.harbor_registry_project_path}}author_name
: {{cookiecutter.author_name}}
Overview For User Guide¶
- Prerequisites
- Preface
- MLOps Components & Platform
- Developer Workspace
- Virtual Environment
- Data Storage & Versioning
- Job Orchestration
- Deployment
- Batch Inferencing
- Continuous Integration & Deployment
- Documentation
Directory Tree¶
{{cookiecutter.repo_name}}
├── aisg-context <- Folders containing files and assets relevant
│ │ for works within the context of AISG's
│ │ development environments.
│ └── guide-site <- Files relevant for spinning up the `mkdocs`
│ site to view the end-to-end guide.
├── conf <- Configuration files associated with the
│ various pipelines as well as for logging.
├── data <- Folder to contain any data for the various
│ pipelines. Ignored by Git except its
│ `.gitkeep` file.
├── docker <- Dockerfiles associated with the various
│ stages of the pipeline.
├── docs <- A default Sphinx project; see sphinx-doc.org
│ for details.
├── models <- Directory for trained and serialised models.
├── notebooks <- Jupyter notebooks. Suggested naming
│ convention would be number (for ordering),
│ the creator's initials, and a short `-`
│ delimited description, e.g.
│ `1.0-jqp-initial-data-exploration`.
├── src <- Directory containing the source code and
| | packages for the project repository.
│ ├── {{cookiecutter.src_package_name}}
│ │ ^- Package containing modules for all pipelines except
│ │ deployment of API server.
│ ├── {{cookiecutter.src_package_name}}_fastapi
│ │ ^- Package for deploying the predictive models within a FastAPI
│ │ server.
│ └── tests <- Directory containing tests for the
│ repository's packages.
├── .dockerignore <- File for specifying files or directories
│ to be ignored by Docker contexts.
├── .gitignore <- File for specifying files or directories
│ to be ignored by Git.
├── .gitlab-ci.yml <- AML file for configuring GitLab CI/CD
│ pipelines.
├── .pylintrc <- Configurations for `pylint`.
├── {{cookiecutter.repo_name}}-conda-env.yaml
│ ^- The `conda` environment file for reproducing
│ the project's development environment.
└── README.md <- The top-level README containing the basic
guide for using the repository.