There are several reasons why fetching your latest commits from Git might fail.
- you're fetching from the right branches. Go to Project -> Settings -> Repository, Make sure the Fetch reference section contains the right branches and tags. You can list multiple branches or use wildcards.
- the valohai.yaml file doesn't have any errors. If you have the valohai-cli tools installed on your local machine (
pip3 install valohai-cli) you can run
vh lintto check your file for any syntax errors.
- you don't have any large files in your repository. The maximum size for a commit in Valohai is 1GB. Git is not optimal for large files and we suggest moving these large files to your cloud storage.
- Create a
.vhignorefile and list files the larger files that Valohai should ignore. This way your files will still be in Git but they won't be fetched to Valohai.
- Create a
Example of a .vhignore file (or .gitignore):
# Ignore Mac system files .DS_store # Ignore my large files large-file-directory/ huge.tar.gz
Please sign in to leave a comment.