Git Product home page Git Product logo

numerai-compute-cloudrun-template's Introduction

a template of Numerai Compute Webhook for Google Cloud Run

This template is to create a webhook endpoint for Numerai Compute using Google Cloud Run. Inspired by numerai-cli(numerai official AWS version).

Getting Started

setup

  1. set numerai-public-id and numerai-secret into Secret Manager.
  2. create numerai-compute container image repository in Artifact Registry.
  3. create service account to access cloud run/secret/artifact registry.
  4. set GCP_REGION/GCP_PROJECT/GCP_SERVICE_ACCOUNT in Makefile

develop and release

  1. write codes into predictor.py
  2. put required resource (i.e. model pickle files) into resources
  3. Run below command to deploy into Cloud Run, then you can get an URL.
  • make release-pred1 (pred1 is directory name under predictors directory. You can add your own directory such as pred2)
  1. Compose numerai compute URL with Numerai Model ID.
  • You can get Model ID from https://numer.ai/models by clicking Copy Model ID
  • https://YOUR_CLOUD_RUN_URL/pred/YOUR_NUMERAI_MODEL_ID
  1. Set the composed URL into Compute as Submission webhook
  2. Click Test button in the modal window to check your webhook

numerai-compute-cloudrun-template's People

Contributors

hiohiohio avatar

Stargazers

regonn avatar Jason Rosenfeld avatar

Watchers

 avatar

Forkers

jrosenfeld13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.