Unverified Commit 37963a3d authored by AutonomousHansen's avatar AutonomousHansen Committed by GitHub

Specifies the torch version dependency explicitly as 2.0.1 (#376)

# Description

This MR pins the torch version to 2.0.1 in installing the `orbit` and
`orbit_tasks` extensions. This helps fix the torch and typing_extensions
version incompatibility reported in #373.

Previously, torch version 2.2 was getting downloaded on a fresh
installation, which caused an error when trying to import it after
launching Isaac Sim: `NameError: name '_C' is not defined. Did you mean:
'_'?`

Fixes #373 

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./orbit.sh --format`
- [ ] 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
- [x] I have run all the tests with `./orbit.sh --test` and they pass
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
parent af4e8014
[package]
# Note: Semantic Versioning is used: https://semver.org/
version = "0.10.17"
version = "0.10.18"
# Description
title = "ORBIT framework for Robot Learning"
......
Changelog
---------
0.10.18 (2024-02-05)
~~~~~~~~~~~~~~~~~~~~
Fixed
^^^^^
* Pinned :mod:`torch` version to 2.0.1 in the setup.py to keep parity version of :mod:`torch` supplied by
Isaac 2023.1.1, and prevent version incompatibility between :mod:`torch` ==2.2 and
:mod:`typing-extensions` ==3.7.4.3
0.10.17 (2024-02-02)
~~~~~~~~~~~~~~~~~~~~
......
......@@ -19,7 +19,7 @@ EXTENSION_TOML_DATA = toml.load(os.path.join(EXTENSION_PATH, "config", "extensio
INSTALL_REQUIRES = [
# generic
"numpy",
"torch",
"torch==2.0.1",
"prettytable==3.3.0",
"tensordict",
# devices
......
Changelog
---------
0.5.5 (2024-02-05)
~~~~~~~~~~~~~~~~~~~~
Fixed
^^^^^
* Pinned :mod:`torch` version to 2.0.1 in the setup.py to keep parity version of :mod:`torch` supplied by
Isaac 2023.1.1, and prevent version incompatibility between :mod:`torch` ==2.2 and
:mod:`typing-extensions` ==3.7.4.3
0.5.4 (2024-02-06)
~~~~~~~~~~~~~~~~~~
......
......@@ -20,7 +20,7 @@ EXTENSION_TOML_DATA = toml.load(os.path.join(EXTENSION_PATH, "config", "extensio
INSTALL_REQUIRES = [
# generic
"numpy",
"torch",
"torch==2.0.1",
"torchvision>=0.14.1", # ensure compatibility with torch 1.13.1
"protobuf>=3.20.2",
# data collection
......
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