Skip to content

Commit

Permalink
Merge pull request #590 from elezar/fix-mig-strategy-reference
Browse files Browse the repository at this point in the history
Default to mig-strategy none if not specified
  • Loading branch information
elezar authored Mar 15, 2024
2 parents 78b5fad + 93f161c commit 32bb029
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/mps-control-daemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ func main() {
Destination: &config.configFile,
EnvVars: []string{"CONFIG_FILE"},
},
&cli.StringFlag{
Name: "mig-strategy",
Value: spec.MigStrategyNone,
Usage: "the desired strategy for exposing MIG devices on GPUs that support it:\n\t\t[none | single | mixed]",
EnvVars: []string{"MIG_STRATEGY"},
},
}
c.Flags = config.flags

Expand Down

0 comments on commit 32bb029

Please sign in to comment.