Skip to content

Adding new MLCube inspect command.#315

Merged
sergey-serebryakov merged 1 commit into
mlcommons:masterfrom
sergey-serebryakov:feature/inspect
Jul 21, 2023
Merged

Adding new MLCube inspect command.#315
sergey-serebryakov merged 1 commit into
mlcommons:masterfrom
sergey-serebryakov:feature/inspect

Conversation

@sergey-serebryakov

Copy link
Copy Markdown
Contributor

This command is similar to docker's inspect command. It allows users to inspect their MLCubes. This commit only introduces CLI command and a method at Runner interface level. No runners support this command yet.

  • API: The Runner.inspect method returns a dictionary. Users should expect to get at least one parameter - hash.
  • CLI: The CLI's inspect command determines the runner (--platform) and invokes it inspect method. Output formats could be json or yaml.

Run the following to get help on this command: mlcube inspect --help.

This command is similar to docker's inspect command. It allows users to inspect their MLCubes. This commit only introduces CLI command and a method at Runner interface level. No runners support this command yet.

- API: The `Runner.inspect` method returns a dictionary. Users should expect to get at least one parameter - `hash`.
- CLI: The CLI's `inspect` command determines the runner (--platform) and invokes it `inspect` method. Output formats could be `json` or `yaml`.

Run the following to get help on this command: `mlcube inspect --help`.
@sergey-serebryakov
sergey-serebryakov requested a review from a team as a code owner July 21, 2023 23:38
@github-actions

Copy link
Copy Markdown
Contributor

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@sergey-serebryakov
sergey-serebryakov merged commit de9e8ed into mlcommons:master Jul 21, 2023
@sergey-serebryakov
sergey-serebryakov deleted the feature/inspect branch July 21, 2023 23:42
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant