Skip to content

Commit

Permalink
feat: allow BYOC to specify command line prefix
Browse files Browse the repository at this point in the history
guidebooks/store#602

Also minor update to madwizard to improve alignment of form elements
guidebooks/madwizard#666
  • Loading branch information
starpit committed Mar 5, 2023
1 parent 99a64b7 commit 66b609d
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 28 deletions.
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions plugins/plugin-codeflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"@types/split2": "^3.2.1"
},
"dependencies": {
"@guidebooks/store": "^5.4.10",
"@guidebooks/store": "^5.5.0",
"@logdna/tail-file": "^3.0.1",
"@patternfly/react-charts": "^6.94.18",
"@patternfly/react-core": "^4.276.6",
"asciinema-player": "^3.1.0",
"chokidar": "^3.5.3",
"madwizard": "^6.2.8",
"madwizard": "^6.2.9",
"needle": "^3.2.0",
"open": "^8.4.2",
"pretty-bytes": "^6.1.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/kind/profiles/gpu1/keep-it-simple
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"1\",\"Number of GPUs\":\"1\",\"Minimum Workers\":\"1\",\"Maximum Workers\":\"1\",\"Worker Memory\":\"5Gi\",\"Head Memory\":\"1.5Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down
4 changes: 2 additions & 2 deletions tests/kind/profiles/non-gpu1/keep-it-simple
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "keep-it-simple",
"creationTime": 1664149787016,
"lastModifiedTime": 1676828268772,
"lastUsedTime": 1677870297449,
"lastUsedTime": 1678037434914,
"choices": {
"madwizard/apriori/use-gpu": "don't use gpus",
"madwizard/apriori/arch": "x64",
Expand All @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"500m\",\"Number of GPUs\":\"0\",\"Minimum Workers\":\"1\",\"Maximum Workers\":\"1\",\"Worker Memory\":\"500Mi\",\"Head Memory\":\"3Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down
2 changes: 1 addition & 1 deletion tests/kind/profiles/non-gpu1/mcad-coscheduler
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"200m\",\"Number of GPUs\":\"0\",\"Minimum Workers\":\"1\",\"Maximum Workers\":\"1\",\"Worker Memory\":\"500Mi\",\"Head Memory\":\"3Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down
2 changes: 1 addition & 1 deletion tests/kind/profiles/non-gpu1/mcad-default
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"200m\",\"Number of GPUs\":\"0\",\"Minimum Workers\":\"1\",\"Maximum Workers\":\"1\",\"Worker Memory\":\"500Mi\",\"Head Memory\":\"3Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down
2 changes: 1 addition & 1 deletion tests/kind/profiles/non-gpu1/mcad-preinstalled
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"200m\",\"Number of GPUs\":\"0\",\"Minimum Workers\":\"1\",\"Maximum Workers\":\"1\",\"Worker Memory\":\"500Mi\",\"Head Memory\":\"3Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down
2 changes: 1 addition & 1 deletion tests/kind/profiles/non-gpu1/ray-autoscaler
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"200m\",\"Number of GPUs\":\"0\",\"Minimum Workers\":\"0\",\"Maximum Workers\":\"0\",\"Worker Memory\":\"500Mi\",\"Head Memory\":\"2.5Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down
2 changes: 1 addition & 1 deletion tests/kind/profiles/non-gpu2/keep-it-simple
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"500m\",\"Number of GPUs\":\"0\",\"Minimum Workers\":\"1\",\"Maximum Workers\":\"1\",\"Worker Memory\":\"500Mi\",\"Head Memory\":\"3Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down
2 changes: 1 addition & 1 deletion tests/kind/profiles/non-gpu3/keep-it-simple
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"500m\",\"Number of GPUs\":\"0\",\"Minimum Workers\":\"1\",\"Maximum Workers\":\"1\",\"Worker Memory\":\"500Mi\",\"Head Memory\":\"3Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down
2 changes: 1 addition & 1 deletion tests/kind/profiles/non-gpu4/keep-it-simple
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"madwizard/apriori/in-terminal": "HTML",
"ml/codeflare": "Submit a new Run",
"ml/codeflare/run": "Bring Your Own Code",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\"}",
"ml/codeflare/training/byoc/form": "{\"Path to source\":\"$PWD/tests/kind/inputs/qiskit\",\"Base image\":\"rayproject/ray:2.1.0\",\"Command line prefix\":\"python3 main.py\"}",
"kubernetes/choose/secret/image-pull": "No secret needed, since my image is public",
"s3/choose/bucket/maybe": "My data is not stored in S3",
"ml/ray/start/resources": "{\"Number of CPUs\":\"500m\",\"Number of GPUs\":\"0\",\"Minimum Workers\":\"1\",\"Maximum Workers\":\"1\",\"Worker Memory\":\"500Mi\",\"Head Memory\":\"3Gi\",\"Ephemeral Storage\":\"5Gi\"}",
Expand Down

0 comments on commit 66b609d

Please sign in to comment.