Skip to content

Commit 3f89c49

Browse files
authored
Merge pull request #78 from anandhu-eng/docs-update
Update documentation for docker and test action - script target
2 parents ba3f781 + 4993121 commit 3f89c49

File tree

3 files changed

+33
-5
lines changed

3 files changed

+33
-5
lines changed

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Once your contribution exceeds 50 lines of code (in total), we will:
3333
- **[Shaik Masthan](https://github.com/csemasthan)** - *Initial Development Discussions*
3434
- **[Sahil Avaran](https://github.com/sahilavaran)** - *Initial Development Discussions*, added logging
3535
- **[R.A Sidharth](https://github.com/Sid9993)** - *Find repo implementation*
36+
- **[Sujith Kanakkassery](https://github.com/sujik18)** - *Initial Development Discussions*, adding logging to a file
3637
- **[Your Name Here]** - This could be you! 🎉
3738

3839
---

docs/install/install.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ source mlcflow/bin/activate
1616
```
1717

1818
## Install MLCFLow
19+
20+
If you are not using virtual ENV for installation, the latest `pip` install requires the `--break-system-packages` flag while installing.
21+
1922
=== "Use the latest stable release"
2023
```bash
2124
pip install mlcflow
@@ -28,6 +31,6 @@ source mlcflow/bin/activate
2831

2932
Now, you are ready to use the `mlc` commands. Currently, `mlc` is being used to automating the benchmark runs for:
3033

31-
* [MLCOMMONS MLPerf Inference](https://docs.mlcommons.org/inference/)
32-
* [MLCOMMONS MLPerf Automotive]()
33-
* [MLCOMMONS MLPerf Training]()
34+
* [MLPerf Inference](https://docs.mlcommons.org/inference/)
35+
* [MLPerf Automotive]()
36+
* [MLPerf Training]()

docs/targets/script/index.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ mlc cp script <registered_mlc_source_repo_name>:<source_script_name> <registered
130130

131131
* `registered_mlc_source/target_repo_name` is of the format `repo_owner`@`repo_name`.
132132

133-
Examples of `c=` action for `script` target could be found inside the GitHub action workflow [here](https://github.com/mlcommons/mlcflow/blob/d0269b47021d709e0ffa7fe0db8c79635bfd9dff/.github/workflows/test-mlc-core-actions.yaml).
133+
Examples of `cp` action for `script` target could be found inside the GitHub action workflow [here](https://github.com/mlcommons/mlcflow/blob/d0269b47021d709e0ffa7fe0db8c79635bfd9dff/.github/workflows/test-mlc-core-actions.yaml).
134134

135135
## Run
136136

@@ -150,4 +150,28 @@ mlcr <list_of_tags_matching_to_particular_script> <input_flags>
150150

151151
* `input_flags` are the additional input that could be given to a particular script. They are specified in the format `--<name_of_input_flag>=<value>`. Some of the examples could be found in run commands from inference documentation [here](https://docs.mlcommons.org/inference/benchmarks/language/gpt-j/).
152152

153-
Examples of `c=` action for `script` target could be found inside the GitHub action workflow [here](https://github.com/mlcommons/mlcflow/blob/d0269b47021d709e0ffa7fe0db8c79635bfd9dff/.github/workflows/test-mlc-core-actions.yaml).
153+
Examples of `run` action for `script` target could be found inside the GitHub action workflow [here](https://github.com/mlcommons/mlcflow/blob/d0269b47021d709e0ffa7fe0db8c79635bfd9dff/.github/workflows/test-mlc-core-actions.yaml).
154+
155+
## Docker
156+
157+
`docker` script is used to run scripts inside a container environment.
158+
159+
**Syntax**
160+
161+
```bash
162+
mlc docker script --tags=<list_of_tags_matching_to_particular_script> <input_flags>
163+
```
164+
165+
* `input_flags` are the additional input that could be given to a particular script. They are specified in the format `--<name_of_input_flag>=<value>`. Some of the examples could be found in run commands from inference documentation [here](https://docs.mlcommons.org/inference/benchmarks/language/gpt-j/).
166+
167+
## Test
168+
169+
`test` script is used to test run scripts. Note that `test` action could only be performed for scripts where `tests` section is configured in `meta.yaml`
170+
171+
**Syntax**
172+
173+
```bash
174+
mlc test script --tags=<list_of_tags_matching_to_particular_script>
175+
```
176+
177+
* Please click [here](https://github.com/mlcommons/mlperf-automations/blob/0e647d7126e610d010a21dbfccca097febe80af9/script/get-generic-sys-util/meta.yaml#L24) to find the example script where the tests are being defined.

0 commit comments

Comments
 (0)