Skip to content

Commit fb24597

Browse files
Develop sentis upgrade (#5979)
* Commiting changes. * Initial barracuda 4 upgrade. * Play mode tests passing. * Edit mode tests passing. * Training fixes. * Fixed performance issue with stacking sensor. * Fixed failing tests and issue with stacking sensor. * Updated examples for barracuda 4 upgrade. * Fixed issue with attention ONNX export w.r.t. dimensions. * Fixed issue with Buffer Sensor and Recurrent In/Out. * Retrained old policies and updated with ONNX policies. Deprecated old policy versions. * Saving work. * Saving work. * Updating to Sentis 1.1.1-exp.2 * Fixed more errors with Sentis upgrade. * Fixed tensor allocation issue in TensorUtils.ResizeTensor. Inference is working for 3DBall with Sentis. * Fixed broken Sentis model links for some example environments. * Fixed some broken edit mode tests. * Fixed some failing tests. * Fixing bugs with GPU inference on Sentis. * Updated packages lock and onnx meta files. * Refactoring all Barracuda related naming to Sentis. * Python max version bump. * Precommit fixes. * Pinned tensorboard version * Revert tensorboard version. * Fixed rpc tests. * Fixed failing python tests. * Fixed some more failing tests. Added six as an explicit dependency due to tensorboard requirements. * gha fix. * Updated environment registry for Sentis. * Fixed texture sensor test. * Develop python 3.10 (#5981) * Deprecated python 3.8.x and 3.9.x. * Updated colab gha test to 3.10.12 * Updated colabs for Sentis and python 3.10. * Test fix. * Minor update to colabs. * Develop torch 1.13.1 (#5982) * Bumped PyTorch version to 1.13.1 * Added potential fixes to model overrider TBD at a later date. * Updated changelog. * Updated protobufs. (#5983) * Updated training init tests to remove inference test temporarily. (#5984)
1 parent 8bcedab commit fb24597

File tree

262 files changed

+6843
-3047
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+6843
-3047
lines changed

.github/workflows/colab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Python
3232
uses: actions/setup-python@v2
3333
with:
34-
python-version: 3.9.x
34+
python-version: 3.10.12
3535
- uses: actions/setup-dotnet@v1
3636
with:
3737
dotnet-version: '6.0.x'

.github/workflows/nightly.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,10 @@ jobs:
3737
# If one test in the matrix fails we still want to run the others.
3838
fail-fast: false
3939
matrix:
40-
python-version: [3.8.x, 3.9.x, 3.10.x]
40+
python-version: [3.10.x]
4141
include:
42-
- python-version: 3.8.x
43-
pip_constraints: test_constraints_min_version.txt
44-
- python-version: 3.9.x
45-
pip_constraints: test_constraints_mid_version.txt
4642
- python-version: 3.10.x
47-
pip_constraints: test_constraints_max_version.txt
43+
pip_constraints: test_constraints_version.txt
4844
steps:
4945
- uses: actions/checkout@v2
5046
- name: Set up Python

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v2
1717
- uses: actions/setup-python@v2
1818
with:
19-
python-version: 3.8.x
19+
python-version: 3.10.x
2020
- uses: actions/setup-ruby@v1
2121
env:
2222
ImageOS: ubuntu20

.github/workflows/publish_docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
uses: actions/checkout@v2
1313
with:
1414
token: ${{ secrets.PUBLIC_GH_TOKEN }}
15-
- name: Setup Python 3.8
15+
- name: Setup Python 3.10
1616
uses: actions/setup-python@v2
1717
with:
18-
python-version: 3.8
18+
python-version: 3.10
1919
- name: Publish docs
2020
run: |
2121
pip install mkdocs

.github/workflows/publish_pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@main
21-
- name: Set up Python 3.8
21+
- name: Set up Python 3.10
2222
uses: actions/setup-python@v2
2323
with:
24-
python-version: 3.8
24+
python-version: 3.10
2525
- name: Install dependencies
2626
run: pip install setuptools wheel twine --user
2727
- name: verify git tag vs. version

.github/workflows/publish_pypi_python_api.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v2
21-
- name: Set up Python 3.8
21+
- name: Set up Python 3.10
2222
uses: actions/setup-python@v2
2323
with:
24-
python-version: 3.8
24+
python-version: 3.10
2525
- name: Install dependencies
2626
run: pip install setuptools wheel twine --user
2727
- name: verify git tag vs. version

.github/workflows/pytest.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,10 @@ jobs:
3737
# If one test in the matrix fails we still want to run the others.
3838
fail-fast: false
3939
matrix:
40-
python-version: [3.8.x, 3.9.x, 3.10.x]
40+
python-version: [3.10.12]
4141
include:
42-
- python-version: 3.8.x
43-
pip_constraints: test_constraints_min_version.txt
44-
- python-version: 3.9.x
45-
pip_constraints: test_constraints_mid_version.txt
46-
- python-version: 3.10.x
47-
pip_constraints: test_constraints_max_version.txt
42+
- python-version: 3.10.12
43+
pip_constraints: test_constraints_version.txt
4844
steps:
4945
- uses: actions/checkout@v2
5046
- name: Set up Python

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ repos:
135135
language: python
136136
entry: ./utils/generate_markdown_docs.py --package_dirs ml-agents-envs ml-agents
137137
pass_filenames: false
138-
additional_dependencies: [pyyaml, pydoc-markdown==3.10.1]
138+
additional_dependencies: [pyyaml==5.3, pydoc-markdown==3.10.1]

.yamato/com.unity.ml-agents-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test_coverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
1515
- npm install [email protected] -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1616
- upm-ci project test -u {{ editor.version }} --type project-tests --project-path {{ editor.testProject }} --package-filter {{ package.name }} {{ coverageOptions }} --extra-utr-arg "reruncount=2"
1717
- |
18-
conda activate python3.8
18+
conda activate python3.10
1919
python3 ml-agents/tests/yamato/check_coverage_percent.py upm-ci~/test-results/ {{ package.minCoveragePct }}
2020
artifacts:
2121
logs:

.yamato/com.unity.ml-agents-pack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pack:
77
commands:
88
- |
99
eval "$($HOME/anaconda/bin/conda shell.bash hook)"
10-
conda activate python3.8
10+
conda activate python3.10
1111
python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
1212
unity-downloader-cli -u 2022.3 -c editor --wait --fast
1313
./.Editor/Unity -projectPath Project -batchMode -executeMethod Unity.MLAgents.SampleExporter.ExportCuratedSamples -logFile -

0 commit comments

Comments
 (0)