Docs - Update README and version for v0.2.0 release (#111)

Update README and version for v0.2 release.
This commit is contained in:
Yifan Xiong 2021-07-03 00:18:30 +08:00 коммит произвёл GitHub
Родитель fb7d4a7396
Коммит 43620c3f46
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
14 изменённых файлов: 58 добавлений и 26 удалений

Просмотреть файл

@ -1,17 +1,23 @@
# SuperBench
[![MIT licensed](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
[![Lint](https://github.com/microsoft/superbenchmark/workflows/Lint/badge.svg)](https://github.com/microsoft/superbenchmark/actions?query=workflow%3ALint)
[![Build Image](https://github.com/microsoft/superbenchmark/workflows/Build%20Image/badge.svg)](https://github.com/microsoft/superbenchmark/actions/workflows/build-image.yml)
[![Codecov](https://codecov.io/gh/microsoft/superbenchmark/branch/main/graph/badge.svg?token=DDiDLW7pSd)](https://codecov.io/gh/microsoft/superbenchmark)
[![Website](https://img.shields.io/website?down_color=lightgrey&url=https%3A%2F%2Faka.ms%2Fsuperbench)](https://aka.ms/superbench)
[![Latest Release](https://img.shields.io/github/release/microsoft/superbenchmark.svg)](https://github.com/microsoft/superbenchmark/releases/latest)
[![Docker Pulls](https://img.shields.io/docker/pulls/superbench/superbench.svg)](https://hub.docker.com/r/superbench/superbench/tags)
[![License](https://img.shields.io/github/license/microsoft/superbenchmark.svg)](LICENSE)
| Azure Pipelines | Build Status |
| :---: | :---: |
| cpu-unit-test | [![Build Status](https://dev.azure.com/msrasrg/SuperBenchmark/_apis/build/status/microsoft.superbenchmark?branchName=main)](https://dev.azure.com/msrasrg/SuperBenchmark/_build/latest?definitionId=77&branchName=main) |
| gpu-unit-test | [![Build Status](https://dev.azure.com/msrasrg/SuperBenchmark/_apis/build/status/cuda-unit-test?branchName=main)](https://dev.azure.com/msrasrg/SuperBenchmark/_build/latest?definitionId=80&branchName=main) |
| cpu-unit-test | [![Build Status](https://dev.azure.com/msrasrg/SuperBenchmark/_apis/build/status/cpu-unit-test?branchName=main)](https://dev.azure.com/msrasrg/SuperBenchmark/_build/latest?definitionId=77&branchName=main) |
| cuda-unit-test | [![Build Status](https://dev.azure.com/msrasrg/SuperBenchmark/_apis/build/status/cuda-unit-test?branchName=main)](https://dev.azure.com/msrasrg/SuperBenchmark/_build/latest?definitionId=80&branchName=main) |
| ansible-integration-test | [![Build Status](https://dev.azure.com/msrasrg/SuperBenchmark/_apis/build/status/ansible-integration-test?branchName=main)](https://dev.azure.com/msrasrg/SuperBenchmark/_build/latest?definitionId=82&branchName=main) |
__SuperBench__ is a validation and profiling tool for AI infrastructure.
_Check SuperBench website for more details._
📢 [v0.2.0](https://github.com/microsoft/superbenchmark/releases/tag/v0.2.0) has been released!
## _Check [aka.ms/superbench](https://aka.ms/superbench) for more details._
## Trademarks

Двоичные данные
docs/assets/architecture.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 108 KiB

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

После

Ширина:  |  Высота:  |  Размер: 23 KiB

Просмотреть файл

@ -80,14 +80,26 @@ superbench:
parameters:
<<: *common_model_config
batch_size: 128
cnn_models:
resnet_models:
<<: *default_pytorch_mode
models:
- resnet50
- resnet101
- resnet152
parameters:
<<: *common_model_config
batch_size: 128
densenet_models:
<<: *default_pytorch_mode
models:
- densenet169
- densenet201
parameters:
<<: *common_model_config
batch_size: 128
vgg_models:
<<: *default_pytorch_mode
models:
- vgg11
- vgg13
- vgg16
@ -99,26 +111,24 @@ superbench:
By default, all benchmarks in default configuration will be run if you don't specify customized configuration.
If you want to have a quick try, you can modify this config a little bit. For example, only run resnet models.
If you want to have a quick try, you can modify this config a little bit. For example, only run resnet101 model.
1. copy the default config to a file named `resnet.yaml` in current path.
```bash
cp superbench/config/default.yaml resnet.yaml
```
2. enable only `cnn_models` in the config and remove other models except resnet under `benchmarks.cnn_models.models`.
```yaml {3,10-13} title="resnet.yaml"
2. enable only `resnet_models` in the config and remove other models except resnet101 under `benchmarks.resnet_models.models`.
```yaml {3,11} title="resnet.yaml"
# SuperBench Config
superbench:
enable: ['cnn_models']
enable: ['resnet_models']
var:
# ...
# omit the middle part
# ...
cnn_models:
resnet_models:
<<: *default_pytorch_mode
models:
- resnet50
- resnet101
- resnet152
parameters:
<<: *common_model_config
batch_size: 128

Просмотреть файл

@ -54,6 +54,12 @@ deactivate
You can clone the source from GitHub and build it.
:::note Note
You should checkout corresponding tag to use release version, for example,
`git clone -b v0.2.0 https://github.com/microsoft/superbenchmark`
:::
```bash
git clone https://github.com/microsoft/superbenchmark
cd superbenchmark

Просмотреть файл

@ -24,6 +24,12 @@ or your private key requires a passphase before use, you can do
sb deploy -f remote.ini --host-password [password]
```
:::note Note
You should deploy corresponding Docker image to use release version, for example,
`sb deploy -f local.ini -i superbench/superbench:v0.2.0-cuda11.1.1`
:::
## Run
After deployment, you can start to run the SuperBench benchmarks on all managed nodes using `sb run` command.

Просмотреть файл

@ -26,4 +26,4 @@ as well as model-benchmark to measure domain-aware end-to-end deep learning work
The following figure shows the capabilities provided by SuperBench core framework and its extension.
![SuperBench Structure](./assets/architecture.png)
![SuperBench Structure](./assets/architecture.svg)

Просмотреть файл

@ -6,5 +6,5 @@
Provide hardware and software benchmarks for AI systems.
"""
__version__ = '0.0.0'
__version__ = '0.2.0'
__author__ = 'Microsoft'

Просмотреть файл

@ -1,4 +1,5 @@
# SuperBench Config
version: v0.2
superbench:
enable: null
var:

Просмотреть файл

@ -1,4 +1,5 @@
# SuperBench Config
version: v0.2
superbench:
enable: null
var:

Просмотреть файл

@ -96,7 +96,7 @@ and [model-benchmarks](https://microsoft.github.io/superbenchmark/docs/benchmark
We want to extend SuperBench capability to distributed validation and auto-diagnosis, to build a benchmarking eco-system.
The following figure shows the whole picture.
![SuperBench Capabilities and Extension](../../docs/assets/architecture.png)
![SuperBench Capabilities and Extension](../../docs/assets/architecture.svg)
With SuperBench and its extensions, we can support:

Просмотреть файл

@ -101,6 +101,7 @@ module.exports = {
announcementBar: {
id: 'supportus',
content:
'📢 <a href="https://microsoft.github.io/superbenchmark/blog/release-sb-v0.2">v0.2</a> has been released! ' +
'⭐️ If you like SuperBench, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/microsoft/superbenchmark">GitHub</a>! ⭐️',
},
prism: {

2
website/package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "superbench-website",
"version": "0.0.0",
"version": "0.2.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "superbench-website",
"version": "0.0.0",
"version": "0.2.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",