File tree Expand file tree Collapse file tree 6 files changed +12
-23
lines changed Expand file tree Collapse file tree 6 files changed +12
-23
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,14 @@ jobs:
21
21
pip_constraints :
22
22
type : string
23
23
description : Constraints file that is passed to "pip install". We constraint older versions of libraries for older python runtime, in order to help ensure compatibility.
24
- enforce_onnx_conversion :
25
- type : integer
26
- default : 0
27
- description : Whether to raise an exception if ONNX models couldn't be saved.
28
24
executor : << parameters.executor >>
29
25
working_directory : ~/repo
30
26
31
27
# Run additional numpy checks on unit tests
32
28
environment :
33
29
TEST_ENFORCE_NUMPY_FLOAT32 : 1
34
- TEST_ENFORCE_ONNX_CONVERSION : << parameters.enforce_onnx_conversion >>
30
+ # Whether to raise an exception if ONNX models couldn't be saved.
31
+ TEST_ENFORCE_ONNX_CONVERSION : 1
35
32
36
33
steps :
37
34
- checkout
@@ -252,16 +249,8 @@ workflows:
252
249
name : python_3.7.3
253
250
executor : python373
254
251
pyversion : 3.7.3
255
- # Test python 3.7 with the newest supported versions
252
+ # Test python 3.7 with the newest supported versions of 1.x
256
253
pip_constraints : test_constraints_max_tf1_version.txt
257
- # Make sure ONNX conversion passes here (recent version of tensorflow 1.x)
258
- enforce_onnx_conversion : 1
259
- - build_python :
260
- name : python_3.7.3+tf2
261
- executor : python373
262
- pyversion : 3.7.3
263
- # Test python 3.7 with the newest supported versions
264
- pip_constraints : test_constraints_max_tf2_version.txt
265
254
- build_python :
266
255
name : python_3.8.2+tf2.2
267
256
executor : python382
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ and this project adheres to
17
17
- Update Barracuda to 1.0.2.
18
18
- Enabled C# formatting using ` dotnet-format ` .
19
19
#### ml-agents / ml-agents-envs / gym-unity (Python)
20
+ - Experimental PyTorch support has been added. Use ` --torch ` when running ` mlagents-learn ` , or add
21
+ ` framework: pytorch ` to your trainer configuration (under the behavior name) to enable it.
22
+ Note that PyTorch 1.6.0 or greater should be installed to use this feature; see
23
+ [ the PyTorch website] ( https://pytorch.org/ ) for installation instructions. (#4335 )
24
+ - The minimum supported version of TensorFlow was increased to 1.14.0. (#4411 )
20
25
21
26
### Bug Fixes
22
27
#### com.unity.ml-agents (C#)
@@ -32,10 +37,6 @@ and this project adheres to
32
37
- The interaction between EnvManager and TrainerController was changed; EnvManager.advance() was split into to stages,
33
38
and TrainerController now uses the results from the first stage to handle new behavior names. This change speeds up
34
39
Python training by approximately 5-10%. (#4259 )
35
- - Experimental PyTorch support has been added. Use ` --torch ` when running ` mlagents-learn ` , or add
36
- ` framework: pytorch ` to your trainer configuration (under the behavior name) to enable it.
37
- Note that PyTorch 1.6.0 or greater should be installed to use this feature; see
38
- [ the PyTorch website] ( https://pytorch.org/ ) for installation instructions. (#4335 )
39
40
40
41
### Minor Changes
41
42
#### com.unity.ml-agents (C#)
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def run(self):
63
63
"Pillow>=4.2.1" ,
64
64
"protobuf>=3.6" ,
65
65
"pyyaml>=3.1.0" ,
66
- "tensorflow>=1.7 ,<3.0" ,
66
+ "tensorflow>=1.14 ,<3.0" ,
67
67
"cattrs>=1.0.0" ,
68
68
"attrs>=19.3.0" ,
69
69
'pypiwin32==223;platform_system=="Windows"' ,
Original file line number Diff line number Diff line change 2
2
# For projects with upper bounds, we should periodically update this list to the latest release version
3
3
grpcio>=1.23.0
4
4
numpy>=1.17.2
5
- tensorflow==2.2.0rc3
5
+ tensorflow==2.3.0
6
6
h5py>=2.10.0
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ grpcio==1.11.0
3
3
numpy==1.14.1
4
4
Pillow==4.2.1
5
5
protobuf==3.6
6
- tensorflow==1.7 .0
6
+ tensorflow==1.14 .0
7
7
h5py==2.9.0
Original file line number Diff line number Diff line change @@ -6,5 +6,4 @@ pytest-xdist==1.34.0
6
6
# PyTorch tests are here for the time being, before they are used in the codebase.
7
7
torch>=1.5.0
8
8
9
- # onnx doesn't currently have a wheel for 3.8
10
- tf2onnx>=1.5.5;python_version<'3.8'
9
+ tf2onnx>=1.5.5
You can’t perform that action at this time.
0 commit comments