Skip to content

Commit

Permalink
Deprecate Pip wheel and Dockerfile (NVIDIA#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktangsali authored and NickGeneva committed Nov 22, 2023
1 parent fd72a07 commit 1d561a4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 94 deletions.
41 changes: 0 additions & 41 deletions Dockerfile

This file was deleted.

59 changes: 8 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Modulus Launch (Beta)
<!-- markdownlint-disable -->
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![Project Status: Moved](https://www.repostatus.org/badges/latest/moved.svg)](https://www.repostatus.org/#moved)
[![GitHub](https://img.shields.io/github/license/NVIDIA/modulus-launch)](https://github.com/NVIDIA/modulus-launch/blob/master/LICENSE.txt)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## :rotating_light: This repo has been upstreamed to [Modulus](https://github.com/NVIDIA/modulus) repository
<!-- markdownlint-enable -->

Modulus Launch is a PyTorch based deep-learning collection of training recipes and tools
Expand All @@ -20,56 +22,11 @@ Additional information can be found in the [Modulus documentation](https://docs.

## Installation

### PyPi

The recommended method for installing the latest version of Modulus Launch is using PyPi:

```bash
pip install nvidia-modulus.launch
```

### NVCR Container

The recommended Modulus docker image can be pulled from the [NVIDIA Container Registry](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/modulus/containers/modulus):

```bash
docker pull nvcr.io/nvidia/modulus/modulus:23.09
```

## From Source

### Package

For a local build of the Modulus Launch Python package from source use:

```bash
git clone [email protected]:NVIDIA/modulus-launch.git && cd modulus-launch

pip install --upgrade pip
pip install .
```

### Source Container

To build Modulus Launch docker image:

```bash
docker build -t modulus-launch:deploy --target deploy -f Dockerfile .
```

To build CI image:

```bash
docker build -t modulus-launch:ci --target ci -f Dockerfile .
```

To build any of these images on top of the Modulus base image, you can
`--build-arg BASE_CONTAINER=modulus:deploy` to the above commands as shown below:

```bash
docker build --build-arg BASE_CONTAINER=modulus:deploy \
-t modulus-launch:deploy --target deploy -f Dockerfile .
```
The PyPi wheel and Dockerfile for this project is being deprecated. The changes
are upstreamed to the main [Modulus](https://github.com/NVIDIA/modulus) repository.
Please refer the [Modulus](https://github.com/NVIDIA/modulus) repository and
[Getting Started Guide](https://docs.nvidia.com/deeplearning/modulus/getting-started/index.html)
for installation instructions.

## Contributing

Expand Down
9 changes: 8 additions & 1 deletion modulus/launch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.4.0a0"
__version__ = "0.3.1"

import warnings

warnings.warn(
"You are using a deprecated version of modulus launch. To get the latest version, please run `pip install nvidia-modulus[launch]`",
FutureWarning,
)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ readme = "README.md"
requires-python = ">=3.8"
license = {text = "Apache 2.0"}
dependencies = [
"nvidia-modulus>=0.2.1",
"nvidia-modulus==0.3.0",
"hydra-core>=1.2.0",
"termcolor>=2.1.1",
"wandb>=0.13.7",
Expand Down

0 comments on commit 1d561a4

Please sign in to comment.