Skip to content

AMGOLD24/develop-model

 
 

Repository files navigation

Develop Model Runbook

Steps/Runbook

  1. Add the workflow file present at /.github/workflows/export-model.yml to the model project. The workflow uses the scripts from the repo https://github.com/ddl-udaysk/domino-sagemaker-github-actions

  2. Create the secrets listed below :
    AWS_ACCESS_KEY_ID -> AWS access key
    AWS_SECRET_ACCESS_KEY -> AWS secret
    CODE -> GITHUB person access token
    Screen Shot 2023-04-17 at 1 48 57 PM

  3. Create the variable listed below :
    MODELNAME -> Model name
    PROJECT_NAME -> Project name in domino
    USER_API_KEY -> Domino User api Key
    Screen Shot 2023-04-17 at 1 49 16 PM

  4. Create a branch of the model project and work on the branch to develop the model in domino using domino workspaces

  5. Merge the branch to the main to start the github actions and the logs should have the api to be used. You can test the endpoint using Curl as show below:
    curl https://r039xwjush.execute-api.us-west-2.amazonaws.com/api/api -H 'Content-Type: application/json' -d '{"data": {"start": 1, "stop": 100}}'


Please note that we need to /api to the endpoint that we get from the logs.

Screen Shot 2023-04-17 at 1 46 49 PM Screen Shot 2023-04-17 at 1 48 05 PM

About

Domino connection with Sagemaker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 83.4%
  • Python 15.0%
  • Shell 1.6%