Unverified Commit e5e0792f authored by Kelly Guo's avatar Kelly Guo Committed by GitHub

Updates ordering of instructions for installation (#590)

# Description

Updates ordering to first update pip then install torch in pip
installation workflows, as some users are running into issues when
installing torch on older pip versions.

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)
- This change requires a documentation update


## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
parent a6818593
...@@ -51,20 +51,6 @@ To learn about how to set up your own project on top of Isaac Lab, see :ref:`tem ...@@ -51,20 +51,6 @@ To learn about how to set up your own project on top of Isaac Lab, see :ref:`tem
env_isaaclab\Scripts\activate env_isaaclab\Scripts\activate
- Next, install a CUDA-enabled PyTorch 2.7.0 build for CUDA 12.8.
.. code-block:: bash
pip install torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu128
- If using rl_games for training and inferencing, install the following python 3.11 enabled rl_games fork.
.. code-block:: bash
pip install git+https://github.com/kellyguo11/rl_games.git@python3.11
- Before installing Isaac Lab, ensure the latest pip version is installed. To update pip, run - Before installing Isaac Lab, ensure the latest pip version is installed. To update pip, run
.. tab-set:: .. tab-set::
...@@ -84,6 +70,20 @@ To learn about how to set up your own project on top of Isaac Lab, see :ref:`tem ...@@ -84,6 +70,20 @@ To learn about how to set up your own project on top of Isaac Lab, see :ref:`tem
python -m pip install --upgrade pip python -m pip install --upgrade pip
- Next, install a CUDA-enabled PyTorch 2.7.0 build for CUDA 12.8.
.. code-block:: bash
pip install torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu128
- If using rl_games for training and inferencing, install the following python 3.11 enabled rl_games fork.
.. code-block:: bash
pip install git+https://github.com/isaac-sim/rl_games.git@python3.11
- Then, install the Isaac Lab packages, this will also install Isaac Sim. - Then, install the Isaac Lab packages, this will also install Isaac Sim.
.. code-block:: none .. code-block:: none
......
...@@ -73,12 +73,6 @@ If you encounter any issues, please report them to the ...@@ -73,12 +73,6 @@ If you encounter any issues, please report them to the
env_isaaclab\Scripts\activate env_isaaclab\Scripts\activate
- Next, install a CUDA-enabled PyTorch 2.7.0 build.
.. code-block:: bash
pip install torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu128
- Before installing Isaac Sim, ensure the latest pip version is installed. To update pip, run - Before installing Isaac Sim, ensure the latest pip version is installed. To update pip, run
.. tab-set:: .. tab-set::
...@@ -98,6 +92,14 @@ If you encounter any issues, please report them to the ...@@ -98,6 +92,14 @@ If you encounter any issues, please report them to the
python -m pip install --upgrade pip python -m pip install --upgrade pip
- Next, install a CUDA-enabled PyTorch 2.7.0 build.
.. code-block:: bash
pip install torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu128
- Then, install the Isaac Sim packages. - Then, install the Isaac Sim packages.
.. code-block:: none .. code-block:: none
......
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