Skip to content

Commit 3b9ef3c

Browse files
authored
Merge branch 'mlcommons:dev' into dev
2 parents dc5dcda + 342f618 commit 3b9ef3c

2 files changed

Lines changed: 71 additions & 0 deletions

File tree

.github/workflows/build_wheel_off.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- VERSION
99

10+
1011
jobs:
1112
build_wheels:
1213
if: github.repository_owner == 'mlcommons'
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# README for remote-run-commands
2+
This README is automatically generated. Add custom content in [info.md](info.md). Please follow the [script execution document](https://docs.mlcommons.org/mlcflow/targets/script/execution-flow/) to understand more about the MLC script execution.
3+
4+
`mlcflow` stores all local data under `$HOME/MLC` by default. So, if there is space constraint on the home directory and you have more space on say `/mnt/$USER`, you can do
5+
```
6+
mkdir /mnt/$USER/MLC
7+
ln -s /mnt/$USER/MLC $HOME/MLC
8+
```
9+
You can also use the `ENV` variable `MLC_REPOS` to control this location but this will need a set after every system reboot.
10+
11+
## Setup
12+
13+
If you are not on a Python development environment please refer to the [official docs](https://docs.mlcommons.org/mlcflow/install/) for the installation.
14+
15+
```bash
16+
python3 -m venv mlcflow
17+
. mlcflow/bin/activate
18+
pip install mlcflow
19+
```
20+
21+
- Using a virtual environment is recommended (per `pip` best practices), but you may skip it or use `--break-system-packages` if needed.
22+
23+
### Pull mlperf-automations
24+
25+
Once `mlcflow` is installed:
26+
27+
```bash
28+
mlc pull repo mlcommons@mlperf-automations --pat=<Your Private Access Token>
29+
```
30+
- `--pat` or `--ssh` is only needed if the repo is PRIVATE
31+
- If `--pat` is avoided, you'll be asked to enter the password where you can enter your Private Access Token
32+
- `--ssh` option can be used instead of `--pat=<>` option if you prefer to use SSH for accessing the github repository.
33+
## Run Commands
34+
35+
```bash
36+
mlcr remote,run,cmds,remote-run,remote-run-cmds,ssh-run,ssh
37+
```
38+
39+
### Script Inputs
40+
41+
| Name | Description | Choices | Default |
42+
|------|-------------|---------|------|
43+
| `--client_refresh` | | | `10` |
44+
| `--host` | | | `localhost` |
45+
| `--password` | | | `` |
46+
| `--port` | | | `22` |
47+
| `--run_cmds` | | | `` |
48+
| `--files_to_copy` | | | `` |
49+
| `--skip_host_verify` | | | `` |
50+
| `--ssh_key_file` | | | `<<<HOME>>>/.ssh/id_rsa` |
51+
| `--user` | | | `` |
52+
### Generic Script Inputs
53+
54+
| Name | Description | Choices | Default |
55+
|------|-------------|---------|------|
56+
| `--input` | Input to the script passed using the env key `MLC_INPUT` | | `` |
57+
| `--output` | Output from the script passed using the env key `MLC_OUTPUT` | | `` |
58+
| `--outdirname` | The directory to store the script output | | `cache directory ($HOME/MLC/repos/local/cache/<>) if the script is cacheable or else the current directory` |
59+
| `--outbasename` | The output file/folder name | | `` |
60+
| `--name` | | | `` |
61+
| `--extra_cache_tags` | Extra cache tags to be added to the cached entry when the script results are saved | | `` |
62+
| `--skip_compile` | Skip compilation | | `False` |
63+
| `--skip_run` | Skip run | | `False` |
64+
| `--accept_license` | Accept the required license requirement to run the script | | `False` |
65+
| `--skip_system_deps` | Skip installing any system dependencies | | `False` |
66+
| `--git_ssh` | Use SSH for git repos | | `False` |
67+
| `--gh_token` | Github Token | | `` |
68+
| `--hf_token` | Huggingface Token | | `` |
69+
| `--verify_ssl` | Verify SSL | | `False` |
70+
## Variations

0 commit comments

Comments
 (0)