fluksio run takes inputs after -- as name=value
So an input named like a flag of run, timeout or sync, can still be set. Flags before -- keep naming inputs as they did.
This commit is contained in:
@@ -190,6 +190,13 @@ Syncs local code, then submits a run. Flags such as `--lr` name the flow's
|
||||
declared inputs and are converted to their declared types. Unknown inputs are
|
||||
rejected. Use `--param name=a,b` with `sweep` for multiple values.
|
||||
|
||||
Everything after `--` is an input written as `name=value`. Use it for an input
|
||||
that shares its name with a flag of `run`, such as `timeout`:
|
||||
|
||||
```sh
|
||||
fluksio run train --wait --timeout 600 -- timeout=30 lr=0.05
|
||||
```
|
||||
|
||||
After the first sync, `run` imports the module that declared the flow. If no
|
||||
declaration is recorded, it searches the working directory and skips paths
|
||||
covered by `.gitignore`. Import errors in that fallback search produce
|
||||
|
||||
Reference in New Issue
Block a user