Commit c44c0ad
warn on unknown runopt passed via command-line
Summary:
When you pass an invalid scheduler arg via the .torchxconfig file, we get a warning about it.
This change adds a similar warning when the scheduler arg is passed via a command-line argument.
(background: I spent a few hours yesterday debugging a torchx command for a job until spotting a typo in one of the arguments)
Differential Revision: D705622661 parent a6cef12 commit c44c0ad
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
937 | 940 | | |
938 | 941 | | |
939 | 942 | | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
940 | 947 | | |
941 | 948 | | |
942 | 949 | | |
| |||
0 commit comments