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 gitbranch
: name of the branch to be checked out - must be provided unlesshash
is providedhash
: hash of the commit to be checked out - must be provided unlessbranch
is providedaccess_token
(optional): optional access token needed for private repositories