Skip to content

Commit 88f5394

Browse files
committed
Move timeout to colab
1 parent bd3c619 commit 88f5394

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/colab.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
colab:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-22.04
2020
env:
2121
COLAB_ALWAYS_INSTALL_XVFB: 1
2222
QLEARNING_NUM_TRAINING_STEPS: 5
@@ -54,7 +54,7 @@ jobs:
5454
python -m pip install --progress-bar=off -e ./ml-agents
5555
python -m pip install --progress-bar=off -r colab_requirements.txt
5656
- name: Execute notebook
57-
run: jupyter nbconvert --to notebook --execute --log-level=DEBUG --ExecutePreprocessor.kernel_name=python3 --ExecutePreprocessor.timeout=600 --output output-${{ matrix.notebook_path }} colab/${{ matrix.notebook_path }}
57+
run: jupyter nbconvert --to notebook --execute --log-level=DEBUG --ExecutePreprocessor.kernel_name=python3 --output output-${{ matrix.notebook_path }} colab/${{ matrix.notebook_path }}
5858
- name: Upload colab results
5959
uses: actions/upload-artifact@v4
6060
with:

colab/Colab_UnityEnvironment_1_Run.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
"\n",
218218
"from mlagents_envs.registry import default_registry\n",
219219
"\n",
220-
"env = default_registry[env_id].make()"
220+
"env = default_registry[env_id].make(timeout_wait=120)"
221221
],
222222
"execution_count": 3,
223223
"outputs": [

0 commit comments

Comments
 (0)