Skip to content

Commit

Permalink
Update version to 0.15 (#2315)
Browse files Browse the repository at this point in the history
* update version

* add packaging

* add no build isolation

* flit core

* move packaging
  • Loading branch information
mvpatel2000 committed Jun 18, 2023
1 parent ccb4729 commit 9983bcd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

"""The Composer Version."""

__version__ = '0.14.1'
__version__ = '0.15.0'
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ RUN if [ -n "$CUDA_VERSION" ] ; then \
cd /tmp/apex && \
git clone https://github.com/NVIDIA/apex && \
cd apex && \
pip${PYTHON_VERSION} install --no-cache-dir -r requirements.txt && \
pip${PYTHON_VERSION} install --no-cache-dir \
pip${PYTHON_VERSION} install --no-cache-dir packaging flit-core && \
pip${PYTHON_VERSION} install --no-cache-dir --no-build-isolation -r requirements.txt && \
pip${PYTHON_VERSION} install --no-cache-dir --no-build-isolation \
--global-option="--cpp_ext" \
--global-option="--cuda_ext" \
--target /usr/local/lib/python${PYTHON_VERSION}/dist-packages \
Expand Down
4 changes: 2 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ all dependencies for both NLP and Vision models. They are built on top of the
<!-- BEGIN_COMPOSER_BUILD_MATRIX -->
| Composer Version | CUDA Support | Docker Tag |
|--------------------|----------------|----------------------------------------------------------------|
| 0.14.1 | Yes | `mosaicml/composer:latest`, `mosaicml/composer:0.14.1` |
| 0.14.1 | No | `mosaicml/composer:latest_cpu`, `mosaicml/composer:0.14.1_cpu` |
| 0.15.0 | Yes | `mosaicml/composer:latest`, `mosaicml/composer:0.15.0` |
| 0.15.0 | No | `mosaicml/composer:latest_cpu`, `mosaicml/composer:0.15.0_cpu` |
<!-- END_COMPOSER_BUILD_MATRIX -->

**Note**: For a lightweight installation, we recommended using a [MosaicML PyTorch Image](#pytorch-images) and manually
Expand Down
12 changes: 6 additions & 6 deletions docker/build_matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,28 +126,28 @@
TORCHVISION_VERSION: 0.14.1
- AWS_OFI_NCCL_VERSION: ''
BASE_IMAGE: nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04
COMPOSER_INSTALL_COMMAND: mosaicml[all]==0.14.1
COMPOSER_INSTALL_COMMAND: mosaicml[all]==0.15.0
CUDA_VERSION: 11.7.1
IMAGE_NAME: composer-0-14-1
IMAGE_NAME: composer-0-15-0
MOFED_VERSION: 5.5-1.0.3.2
PYTHON_VERSION: '3.10'
PYTORCH_VERSION: 1.13.1
TAGS:
- mosaicml/composer:0.14.1
- mosaicml/composer:0.15.0
- mosaicml/composer:latest
TARGET: composer_stage
TORCHTEXT_VERSION: 0.14.1
TORCHVISION_VERSION: 0.14.1
- AWS_OFI_NCCL_VERSION: ''
BASE_IMAGE: ubuntu:20.04
COMPOSER_INSTALL_COMMAND: mosaicml[all]==0.14.1
COMPOSER_INSTALL_COMMAND: mosaicml[all]==0.15.0
CUDA_VERSION: ''
IMAGE_NAME: composer-0-14-1-cpu
IMAGE_NAME: composer-0-15-0-cpu
MOFED_VERSION: 5.5-1.0.3.2
PYTHON_VERSION: '3.10'
PYTORCH_VERSION: 1.13.1
TAGS:
- mosaicml/composer:0.14.1_cpu
- mosaicml/composer:0.15.0_cpu
- mosaicml/composer:latest_cpu
TARGET: composer_stage
TORCHTEXT_VERSION: 0.14.1
Expand Down
2 changes: 1 addition & 1 deletion docker/generate_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _main():
composer_entries = []

# The `GIT_COMMIT` is a placeholder and Jenkins will substitute it with the actual git commit for the `composer_staging` images
composer_versions = ['0.14.1'] # Only build images for the latest composer version
composer_versions = ['0.15.0'] # Only build images for the latest composer version
composer_python_versions = [LATEST_PYTHON_VERSION] # just build composer against the latest

for product in itertools.product(composer_python_versions, composer_versions, cuda_options):
Expand Down

0 comments on commit 9983bcd

Please sign in to comment.