-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing feature: show the spec of a MIG profile #1
Comments
Thanks @kpouget. When I read:
I immediately think of something like a I don't see how the update: ok, I get it, one would also |
yes, it looks like a dry-run, the only thing is that I don't expect the output of a |
I was already planning to add something to be able to check if a config exists in the config file so I can bail out early if a user asks for a mig configuration that is not there. I think this would serve that purpose as well since a call to something like:
Would presumably throw an error saying that the requested config does not exist |
That said -- the functionality you are asking for @kpouget seems to already be there with the To detect if applying a profile would change the state of
If this throws an error, then at least one of the mode settings in |
Here is an example of where I use |
This usage of |
hum, nice, |
That script is used when the node i first coming online at bootup. This script is used while a node is up and running to change the config: |
It would be nice if we could the tool to query content of a configuration file (most important is the 2nd command):
along with
nvidia-mig-parted export
, this would allow a script to detect if applying a profile would change the state ofmig-enabled
propertyThe text was updated successfully, but these errors were encountered: