valohai.yaml configuration file is the blueprint for your project. It contains information about how to run steps and pipelines and how to create deployment endpoints.
It is possible to automate writing the yaml file with
valohai-utils but in some cases you might need to do that by hand. To make sure the indentation is correct and all the steps contain the required properties, it is recommended to run the command
in the directory where you have the
valohai.yaml to check for any syntax errors.
Can you spot what is wrong in the example below?
--- - step: name: preprocess-dataset command: - pip install numpy valohai-utils - python ./preprocess_dataset.py inputs: - name: dataset default: https://valohaidemo.blob.core.windows.net/mnist/mnist.npz
vh lint command reveals that required property image is missing from the step!