"vscode:/vscode.git/clone" did not exist on "90bac96321e3f189f4b60074c1e4ad782dd3ceb6"
Unverified Commit e5a69d92 authored by Kirthi Shankar Sivamani's avatar Kirthi Shankar Sivamani Committed by GitHub
Browse files

Recursive submodule checkout (#176)



* Recursively checkout submodules
Signed-off-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>

* Fix
Signed-off-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>

---------
Signed-off-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>
parent 8adb1b1d
...@@ -77,9 +77,14 @@ Execute the following commands to install Transformer Engine from source: ...@@ -77,9 +77,14 @@ Execute the following commands to install Transformer Engine from source:
.. code-block:: bash .. code-block:: bash
git clone https://github.com/NVIDIA/TransformerEngine.git # Clone the repository/fork. git clone --recursive https://github.com/NVIDIA/TransformerEngine.git # Clone the repository/fork and checkout all submodules recursively.
cd TransformerEngine # Enter TE directory. cd TransformerEngine # Enter TE directory.
git checkout stable # Checkout the correct branch. git checkout stable # Checkout the correct branch.
git submodule init; git submodule update # Checkout the submodules. export NVTE_FRAMEWORK=pytorch # Optionally set the framework.
export NVTE_FRAMEWORK=pytorch # Optionally set the framework. pip install . # Build and install
pip install . # Build and install.
For already cloned repos, run the following command in TE directory:
.. code-block:: bash
git submodule update --init --recursive # Checkout all submodules recursively.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment