Valohai is completely technology agnostic. You can develop in notebooks or scripts in a language and framework of your choice.
Valohai expects that you have a valohai.yaml config file in your repository. The file defines what kind of jobs can be executed inside your project and the different properties of each job type (these are called steps in Valohai).
Let’s start by bringing just a single job type to Valohai.
Using R or any other language
Create a new file called
valohai.yaml and define a Step inside it.
In our example below, we’re telling Valohai to run myexample.R every time the step
train is run.
- step: name: train image: r-base:3.4.2 command: Rscript myexample.R
You can now upload your local code to Valohai and run the
train step inside the Docker container you just defined.
vh execution run --adhoc train