File tree 4 files changed +12
-0
lines changed
tutorials/sphinx-tutorials
4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,8 @@ jobs:
107
107
cd ..
108
108
109
109
# 11. Build doc
110
+ export MAX_IDLE_COUNT=180 # Max 180 secs before killing an unresponsive collector
111
+ export BATCHED_PIPE_TIMEOUT=180
110
112
cd ./docs
111
113
# timeout 7m bash -ic "MUJOCO_GL=egl sphinx-build ./source _local_build" || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi
112
114
# bash -ic "PYOPENGL_PLATFORM=egl MUJOCO_GL=egl sphinx-build ./source _local_build" || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi
Original file line number Diff line number Diff line change 97
97
"abort_on_example_error" : True ,
98
98
"show_memory" : True ,
99
99
"capture_repr" : ("_repr_html_" , "__repr__" ), # capture representations
100
+ "write_computation_times" : True ,
100
101
}
101
102
102
103
napoleon_use_ivar = True
Original file line number Diff line number Diff line change @@ -1185,6 +1185,12 @@ def ceil_div(x, y):
1185
1185
collector .shutdown ()
1186
1186
del collector
1187
1187
1188
+ try :
1189
+ parallel_env .close ()
1190
+ del parallel_env
1191
+ except Exception :
1192
+ pass
1193
+
1188
1194
###############################################################################
1189
1195
# Experiment results
1190
1196
# ------------------
Original file line number Diff line number Diff line change @@ -751,6 +751,9 @@ def print_csv_files_in_folder(folder_path):
751
751
752
752
print_csv_files_in_folder (logger .experiment .log_dir )
753
753
754
+ trainer .shutdown ()
755
+ del trainer
756
+
754
757
###############################################################################
755
758
# Conclusion and possible improvements
756
759
# ------------------------------------
You can’t perform that action at this time.
0 commit comments