-
Notifications
You must be signed in to change notification settings - Fork 526
docs: update installation pages with legal-approved license notices #1322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -69,6 +69,8 @@ To install stable release packages for Model Optimizer with `pip` from [PyPI](ht | |
| pip install -U nvidia-modelopt[all] | ||
| ``` | ||
|
|
||
| Model Optimizer will download and install additional third-party open source software projects. Review the license terms of these open source projects before use. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hyphenate “open-source” in the legal notice. Use “third-party open-source software projects” for correct compound-modifier style. 🧰 Tools🪛 LanguageTool[grammar] ~72-~72: Use a hyphen to join words. (QB_NEW_EN_HYPHEN) [grammar] ~72-~72: Use a hyphen to join words. (QB_NEW_EN_HYPHEN) 🤖 Prompt for AI Agents |
||
|
|
||
| To install from source in editable mode with all development dependencies or to use the latest features, run: | ||
|
|
||
| ```bash | ||
|
|
@@ -79,8 +81,14 @@ cd Model-Optimizer | |
| pip install -e .[dev] | ||
| ``` | ||
|
|
||
| You can also directly use the [TensorRT-LLM docker images](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tensorrt-llm/containers/release/tags) | ||
| (e.g., `nvcr.io/nvidia/tensorrt-llm/release:<version>`), which have Model Optimizer pre-installed. | ||
| You can also directly use NVIDIA container images, which have Model Optimizer pre-installed: | ||
|
|
||
| - `nvcr.io/nvidia/pytorch:<version>-py3` | ||
| - `nvcr.io/nvidia/nemo:<version>` | ||
| - `nvcr.io/nvidia/tensorrt-llm/release:<version>` | ||
| - `nvcr.io/nvidia/tensorrt:<version>-py3` | ||
|
|
||
| Before pulling and using the container images, please review their respective license terms. | ||
| Make sure to upgrade Model Optimizer to the latest version as described above. | ||
| Visit our [installation guide](https://nvidia.github.io/Model-Optimizer/getting_started/2_installation.html) for | ||
| more fine-grained control on installed dependencies or for alternative docker images and environment variables to setup. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,11 +32,11 @@ Environment setup | |
|
|
||
| To use Model Optimizer with full dependencies (e.g. TensorRT/TensorRT-LLM deployment), we recommend using the | ||
| `TensorRT-LLM docker image <https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tensorrt-llm/containers/release/tags>`_, | ||
| e.g., ``nvcr.io/nvidia/tensorrt-llm/release:<version>``. | ||
| e.g., ``nvcr.io/nvidia/tensorrt-llm/release:<version>`` (Model Optimizer pre-installed). | ||
|
|
||
| Make sure to upgrade Model Optimizer to the latest version using ``pip`` as described in the next section. | ||
|
|
||
| You would also need to setup appropriate environment variables for the TensorRT binaries as follows: | ||
| If relevant, you would also need to setup appropriate environment variables for the TensorRT binaries as follows: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use “set up” (verb) instead of “setup”. Wording nit: “need to setup” should be “need to set up” for grammatical correctness. 🤖 Prompt for AI Agents |
||
|
|
||
| .. code-block:: shell | ||
|
|
||
|
|
@@ -48,11 +48,16 @@ Environment setup | |
| **Alternative NVIDIA docker images** | ||
|
|
||
| For PyTorch, you can also use `NVIDIA NGC PyTorch container <https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch/tags>`_ | ||
| and for NVIDIA Megatron-Bridge or Megatron-LM framework, you can use the `NeMo container <https://catalog.ngc.nvidia.com/orgs/nvidia/containers/nemo/tags>`_. | ||
| Both of these containers come with Model Optimizer pre-installed. Make sure to update the Model Optimizer to the latest version if not already. | ||
| (``nvcr.io/nvidia/pytorch:<version>-py3``, Model Optimizer pre-installed) | ||
| and for NVIDIA Megatron-Bridge or Megatron-LM framework, you can use the `NeMo container <https://catalog.ngc.nvidia.com/orgs/nvidia/containers/nemo/tags>`_ | ||
| (``nvcr.io/nvidia/nemo:<version>``, Model Optimizer pre-installed). | ||
| Make sure to update the Model Optimizer to the latest version if not already. | ||
|
|
||
| For ONNX / TensorRT use cases, you can also use the `TensorRT container <https://catalog.ngc.nvidia.com/orgs/nvidia/containers/tensorrt/tags>`_ | ||
| which provides superior performance to the PyTorch container. | ||
| (``nvcr.io/nvidia/tensorrt:<version>-py3``), which provides superior performance to the PyTorch container. | ||
|
|
||
| .. note:: | ||
| Before pulling and using the container images, please review their respective license terms. | ||
|
|
||
| .. tab:: Local environment (PIP / Conda) | ||
|
|
||
|
|
@@ -82,8 +87,8 @@ Environment setup | |
| Install Model Optimizer | ||
| ======================= | ||
|
|
||
| ModelOpt including its dependencies can be installed via ``pip``. Please review the license terms of ModelOpt and any | ||
| dependencies before use. | ||
| Model Optimizer will download and install additional third-party open source software projects. Review the license | ||
| terms of these open source projects before use. | ||
|
|
||
| If you build and use ModelOpt's docker image, you can skip this step as the image already contains ModelOpt and all | ||
| optional dependencies pre-installed. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we want to use the current year, there is a flag
that may automate it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but not a big deal