repository#

The model repository information enables Efemarai to pull the model code and run it when a stress test is performed.

Example

The repository can refer to the latest commit on a branch

  repository:
    url: https://github.com/efemarai/yolor
    branch: main
    access_token: ${GIT_KEY}  # environment variable

or to a particular commit

  repository:
    url: https://github.com/efemarai/yolor
    hash: 5f31077
    access_token: ${GIT_KEY}  # environment variable

or you can upload your local model by leaving the repository section empty

Properties

repository is a sub-field of each model defined in models and has the following properties:

  • url: URL used to fetch the model repo via git

  • branch: name of the branch to be checked out - must be provided unless hash is provided

  • hash: hash of the commit to be checked out - must be provided unless branch is provided

  • access_token (optional): optional access token needed for private repositories