Skip to content

Commit

Permalink
Merge pull request #57 from NVIDIA/update-version
Browse files Browse the repository at this point in the history
Release version 6.2.0
  • Loading branch information
roclark authored May 18, 2021
2 parents bac0eb3 + 6f9f4a1 commit 3cc4010
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ The installation can be verified with `pip3 freeze` after completion:

```bash
$ pip3 freeze | grep bobber
nvidia-bobber==6.1.1
nvidia-bobber==6.2.0
```

Bobber can also be verified by printing the usage statement:

```
$ bobber --help
usage: Bobber Version: 6.1.1 [-h] command ...
usage: Bobber Version: 6.2.0 [-h] command ...
positional arguments:
command
Expand All @@ -88,19 +88,19 @@ optional arguments:
-h, --help show this help message and exit
```

### Installing the binary directly (optional)
### Installing the wheel directly (optional)
`nvidia-pyindex` is updated monthly to include the latest version of all wheels.
In some scenarios, Bobber could be updated well before the next `nvidia-pyindex`
release. To install the latest release directly, go to the
[releases](https://github.com/NVIDIA/Bobber/releases) page on the repository and
find the latest release. Look for the "Binary" section in the release notes and
find the latest release. Look for the "Assets" section in the release notes and
copy the link to the latest wheel.

Using `pip3`, install the binary using the address from the previous step to all
Using `pip3`, install the wheel using the address from the previous step to all
remote machines which will be tested, for example:

```bash
pip3 install https://github.com/NVIDIA/Bobber/releases/download/v6.1.1/nvidia_bobber-6.1.1-py3-none-any.whl
pip3 install https://github.com/NVIDIA/Bobber/releases/download/v6.2.0/nvidia_bobber-6.2.0-py3-none-any.whl
```

## Build Bobber container (includes OSU Tests, NCCL Tests, fio, mdtest, DALI RN50 Pipeline, and the base NGC TensorFlow container)
Expand All @@ -113,14 +113,14 @@ tests, run the command on the node to be tested.
$ bobber build
Building a new image. This may take a while...
...
nvidia/bobber:6.1.1 successfully built
nvidia/bobber:6.2.0 successfully built
```

After building, verify the image is accessible in Docker:

```bash
$ docker images | grep nvidia/bobber
nvidia/bobber 6.1.1 c697a75ee482 36 minutes ago 12.4GB
nvidia/bobber 6.2.0 c697a75ee482 36 minutes ago 12.4GB
```

## Save container
Expand All @@ -135,10 +135,10 @@ If running on a single node, this step is not required.

```bash
$ bobber export
Exporting nvidia/bobber:6.1.1 to "nvidia_bobber_6.1.1.tar". This may take a while...
nvidia/bobber:6.1.1 saved to nvidia_bobber_6.1.1.tar
Exporting nvidia/bobber:6.2.0 to "nvidia_bobber_6.2.0.tar". This may take a while...
nvidia/bobber:6.2.0 saved to nvidia_bobber_6.2.0.tar
$ ls
nvidia_bobber_6.1.1.tar
nvidia_bobber_6.2.0.tar
```

## Copy container to other nodes
Expand Down Expand Up @@ -170,7 +170,7 @@ On all other nodes, load the copied Docker image.
```bash
$ docker load < nvidia_bobber_{version}.tar
$ docker images | grep bobber
nvidia/bobber 6.1.1 c697a75ee482 36 minutes ago 12.4GB
nvidia/bobber 6.2.0 c697a75ee482 36 minutes ago 12.4GB
```

## Ensure shared filesystem is mounted, if necessary
Expand Down
2 changes: 1 addition & 1 deletion bobber/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# SPDX-License-Identifier: MIT
__version__ = '6.1.1'
__version__ = '6.2.0'
4 changes: 2 additions & 2 deletions bobber/lib/analysis/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def num_systems(log: str) -> int:
def _bobber_version(log: str) -> str:
"""
Returns a ``string`` representation of the Bobber version tested, such as
'6.1.1'.
'6.2.0'.
Parameters
----------
Expand All @@ -52,7 +52,7 @@ def _bobber_version(log: str) -> str:
Returns
-------
str
Returns a ``string`` of the Bobber version tested, such as '6.1.1'.
Returns a ``string`` of the Bobber version tested, such as '6.2.0'.
Raises
------
Expand Down
8 changes: 4 additions & 4 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ run:
./build-dev-wheel
```

If the current version of the package is `6.1.1`, this will generated a new
If the current version of the package is `6.2.0`, this will generated a new
wheel in the local `dist/` directory (which will be created if not already done)
with the version `6.1.1.dev20210222113637` depending on the time the script was
with the version `6.2.0.dev20210323084016` depending on the time the script was
run.

Likewise, running
Expand All @@ -71,13 +71,13 @@ Likewise, running
./build-dev-wheel patch
```

will generate a wheel in `dist/` with version `6.1.2.dev20210222113637` and
will generate a wheel in `dist/` with version `6.2.1.dev20210323084016` and

```
./build-dev-wheel minor
```

will generate a wheel in `dist/` with version `6.2.0.dev20210222113637`.
will generate a wheel in `dist/` with version `6.3.0.dev20210323084016`.

To generate a wheel manually without altering the version number, run

Expand Down
8 changes: 4 additions & 4 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ and matches the version of the Bobber wheel. Check the Bobber version with:

```
$ bobber --version
6.1.1
6.2.0
```

The version number is listed in the first line. Check the Bobber image is built
and matches the version above with:

```
$ docker images | grep nvidia/bobber
nvidia/bobber 6.1.1 c697a75ee482 36 minutes ago 12.4GB
nvidia/bobber 6.2.0 c697a75ee482 36 minutes ago 12.4GB
```

If the above command does not contain output or the second column (`6.1.1` in
If the above command does not contain output or the second column (`6.2.0` in
the example) does not match the version of Bobber from the first step, the image
needs to be built. Run `bobber build` to build the image and verify using the
steps above once complete.
Expand All @@ -30,7 +30,7 @@ This can be verified with:

```
$ docker ps | grep bobber
1ab2b10f8eb1 nvidia/bobber:6.1.1 "/usr/local/bin/nvid..." 4 days ago Up 4 days bobber
1ab2b10f8eb1 nvidia/bobber:6.2.0 "/usr/local/bin/nvid..." 4 days ago Up 4 days bobber
```

If the above command does not contain output, the container needs to be launched
Expand Down

0 comments on commit 3cc4010

Please sign in to comment.