Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Jun 18, 2024
2 parents 13b29ac + 44ae828 commit 7b67559
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 13 deletions.
30 changes: 20 additions & 10 deletions docs/benchmarks/image_classification/mobilenets.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,63 @@ Mobilenet models are not official MLPerf models and so cannot be used for a Clos
=== "Mobilenet-V1"
### Mobilenet V1
```bash
cm run script --tags=run,mobilenet-models,_tflite,_mobilenet-v1 --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_mobilenet-v1 \
--adr.compiler.tags=gcc
```
=== "Mobilenet-V2"
### Mobilenet V2
```bash
cm run script --tags=run,mobilenet-models,_tflite,_mobilenet-v2 --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_mobilenet-v2 \
--adr.compiler.tags=gcc
```
=== "Mobilenet-V2"
### Mobilenet V2
```bash
cm run script --tags=run,mobilenet-models,_tflite,_mobilenet-v2 --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_mobilenet-v2 \
--adr.compiler.tags=gcc
```
=== "Mobilenets"
### Mobilenet V1,V2,V3
```bash
cm run script --tags=run,mobilenet-models,_tflite,_mobilenet --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_mobilenet \
--adr.compiler.tags=gcc
```
=== "Efficientnet"
### Efficientnet
```bash
cm run script --tags=run,mobilenet-models,_tflite,_efficientnet --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_efficientnet \
--adr.compiler.tags=gcc
```

## ARMNN Backend
=== "Mobilenet-V1"
### Mobilenet V1
```bash
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_mobilenet-v1 --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_mobilenet-v1 \
--adr.compiler.tags=gcc
```
=== "Mobilenet-V2"
### Mobilenet V2
```bash
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_mobilenet-v2 --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_mobilenet-v2 \
--adr.compiler.tags=gcc
```
=== "Mobilenet-V2"
### Mobilenet V2
```bash
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_mobilenet-v2 --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_mobilenet-v2 \
--adr.compiler.tags=gcc
```
=== "Mobilenets"
### Mobilenet V1,V2,V3
```bash
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_mobilenet --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_mobilenet \
--adr.compiler.tags=gcc
```
=== "Efficientnet"
### Efficientnet
```bash
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_efficientnet --adr.compiler.tags=gcc
cm run script --tags=run,mobilenet-models,_tflite,_armnn,_efficientnet \
--adr.compiler.tags=gcc
```

12 changes: 9 additions & 3 deletions docs/install/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Installation
We use MLCommons CM Automation framework to run MLPerf inference benchmarks.

Please follow the [official installation page](https://docs.mlcommons.org/ck/install) to install CM
CM needs `git`, `python3-pip` and `python3-venv` installed on your system. If any of these are absent, please follow the [official CM installation page](https://docs.mlcommons.org/ck/install) to install them. Once the dependencies are installed, do the following

## Download the CM MLOps Repository
## Activate a VENV for CM
```bash
python3 -m venv cm
source cm/bin/activate
```

## Install CM and pulls any needed repositories

```bash
cm pull repo gateoverflow@cm4mlops
pip install cm4mlops
```


Expand Down
14 changes: 14 additions & 0 deletions language/mixtral-8x7b/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,20 @@ Alternatively, you can simply cd into the folder where you want to place the dat
wget https://inference.mlcommons-storage.org/mixtral_8x7b%2F2024.06.06_mixtral_15k_v4.pkl
```

### Calibration dataset

#### Using Rclone
Rclone is installed, cd into the folder where you want to place the dataset and run:
```bash
rclone copyurl https://inference.mlcommons-storage.org/mixtral_8x7b%2F2024.06.06_mixtral_15k_calibration_v4.pkl ./ -a -P
```

#### Using wget

Alternatively, you can simply cd into the folder where you want to place the dataset and run
```bash
wget https://inference.mlcommons-storage.org/mixtral_8x7b%2F2024.06.06_mixtral_15k_calibration_v4.pkl
```
### Unprocessed

TODO: Share instructions and scripts
Expand Down

0 comments on commit 7b67559

Please sign in to comment.