-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit test to create Singularity runner config with docker-based MLCub…
…e. (#331)
- Loading branch information
1 parent
1955fc9
commit a147108
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
runners/mlcube_singularity/mlcube_singularity/tests/resources/docker_mlcube.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: mlcube-name | ||
description: mlcube-description | ||
authors: | ||
- { name: "First Second" } | ||
|
||
platform: | ||
accelerator_count: 0 | ||
|
||
docker: | ||
# Image name. | ||
image: hasan7/mock-prep-sep:0.0.0 | ||
# Docker build context relative to $MLCUBE_ROOT. | ||
build_context: "../project" | ||
# Docker file name within docker build context, default is `Dockerfile`. | ||
build_file: "Dockerfile" | ||
|
||
tasks: | ||
prepare: | ||
parameters: | ||
inputs: | ||
data_path: vids_files/ | ||
labels_path: labels_files/ | ||
parameters_file: parameters.yaml | ||
outputs: | ||
output_path: data/ | ||
output_labels_path: labels/ | ||
|
||
sanity_check: | ||
parameters: | ||
inputs: | ||
data_path: data/ | ||
labels_path: labels/ | ||
parameters_file: parameters.yaml | ||
statistics: | ||
parameters: | ||
inputs: | ||
data_path: data/ | ||
labels_path: labels/ | ||
parameters_file: parameters.yaml | ||
outputs: | ||
output_path: | ||
type: file | ||
default: statistics.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters