Skip to content

Commit a516950

Browse files
maryamhonariGitHub Enterprise
authored andcommitted
bump version to 0.29.0 (#42)
* bump version to 0.29.0 * remove dev tag * add checks for pytorch-gpu install * pin black version to 22.3.0
1 parent eff7542 commit a516950

File tree

13 files changed

+23
-19
lines changed

13 files changed

+23
-19
lines changed

.yamato/pytest-gpu.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ pytest_gpu:
1313
python3 -u -m ml-agents.tests.yamato.setup_venv
1414
python3 -m pip install --progress-bar=off -r test_requirements.txt --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1515
python3 -m pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
16+
if python -c "exec('import torch \nif not torch.cuda.is_available(): raise')" &> /dev/null; then
17+
echo 'all good'
18+
else
19+
exit 1
20+
fi
1621
python3 -m pytest -m "not slow" --junitxml=junit/test-results.xml -p no:warnings
1722
triggers:
1823
cancel_old_ci: true

colab/Colab_UnityEnvironment_1_Run.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
" import mlagents\n",
146146
" print(\"ml-agents already installed\")\n",
147147
"except ImportError:\n",
148-
" !python -m pip install -q mlagents==0.28.0\n",
148+
" !python -m pip install -q mlagents==0.29.0\n",
149149
" print(\"Installed ml-agents\")"
150150
],
151151
"execution_count": null,
@@ -500,4 +500,4 @@
500500
"outputs": []
501501
}
502502
]
503-
}
503+
}

colab/Colab_UnityEnvironment_2_Train.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
" import mlagents\n",
136136
" print(\"ml-agents already installed\")\n",
137137
"except ImportError:\n",
138-
" !python -m pip install -q mlagents==0.28.0\n",
138+
" !python -m pip install -q mlagents==0.29.0\n",
139139
" print(\"Installed ml-agents\")"
140140
],
141141
"execution_count": null,
@@ -686,4 +686,4 @@
686686
"outputs": []
687687
}
688688
]
689-
}
689+
}

colab/Colab_UnityEnvironment_3_SideChannel.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
" import mlagents\n",
137137
" print(\"ml-agents already installed\")\n",
138138
"except ImportError:\n",
139-
" !python -m pip install -q mlagents==0.28.0\n",
139+
" !python -m pip install -q mlagents==0.29.0\n",
140140
" print(\"Installed ml-agents\")"
141141
],
142142
"execution_count": null,
@@ -290,4 +290,4 @@
290290
]
291291
}
292292
]
293-
}
293+
}

colab/Colab_UnityEnvironment_4_SB3VectorEnv.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
" import mlagents\n",
128128
" print(\"ml-agents already installed\")\n",
129129
"except ImportError:\n",
130-
" !python -m pip install -q mlagents==0.28.0\n",
130+
" !python -m pip install -q mlagents==0.29.0\n",
131131
" print(\"Installed ml-agents\")"
132132
]
133133
},

docs/Installation-Anaconda-Windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ config files in this directory when running `mlagents-learn`. Make sure you are
151151
connected to the Internet and then type in the Anaconda Prompt:
152152

153153
```console
154-
python -m pip install mlagents==0.28.0
154+
python -m pip install mlagents==0.29.0
155155
```
156156

157157
This will complete the installation of all the required Python packages to run
@@ -162,7 +162,7 @@ pip will get stuck when trying to read the cache of the package. If you see
162162
this, you can try:
163163

164164
```console
165-
python -m pip install mlagents==0.28.0 --no-cache-dir
165+
python -m pip install mlagents==0.29.0 --no-cache-dir
166166
```
167167

168168
This `--no-cache-dir` tells the pip to disable the cache.

docs/Installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ To install the `mlagents` Python package, activate your virtual environment and
153153
run from the command line:
154154

155155
```sh
156-
python -m pip install mlagents==0.28.0
156+
python -m pip install mlagents==0.29.0
157157
```
158158

159159
Note that this will install `mlagents` from PyPi, _not_ from the cloned

docs/Migrating.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
<!---
55
TODO: update ml-agents-env package version before release
66
--->
7-
## Migrating to the ml-agents-envs 0.29.0.dev0 package
7+
## Migrating to the ml-agents-envs 0.29.0 package
88
- Python 3.7 is now the minimum version of python supported due to [python3.6 EOL](https://endoflife.date/python).
9-
Please update your python installation to 3.7.2 or higher. Note: Due to an issue with the typing system, the maximum
10-
version of python supported is python 3.9.9.
9+
Please update your python installation to 3.7.2 or higher.
1110
- The `gym-unity` package has been refactored into the `ml-agents-envs` package. Please update your imports accordingly.
1211
- Example:
1312
- Before

docs/Training-on-Microsoft-Azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ view the documentation for doing so [here](#custom-instances).
3333
instance, and set it as the working directory.
3434
2. Install the required packages:
3535
Torch: `pip3 install torch==1.7.0 -f https://download.pytorch.org/whl/torch_stable.html` and
36-
MLAgents: `python -m pip install mlagents==0.28.0`
36+
MLAgents: `python -m pip install mlagents==0.29.0`
3737

3838
## Testing
3939

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Version of the library that will be used to upload to pypi
2-
__version__ = "0.29.0.dev0"
2+
__version__ = "0.29.0"
33

44
# Git tag that will be checked to determine whether to trigger upload to pypi
55
__release_tag__ = None

0 commit comments

Comments
 (0)