tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] tqchen commented on a change in pull request #5815: [CI] Limit number of threads in all jobs
Date Mon, 15 Jun 2020 17:19:28 GMT

tqchen commented on a change in pull request #5815:
URL: https://github.com/apache/incubator-tvm/pull/5815#discussion_r440328308



##########
File path: tests/scripts/task_python_vta_fsim.sh
##########
@@ -20,6 +20,10 @@ set -e
 set -u
 
 source tests/scripts/setup-pytest-env.sh
+# to avoid CI thread throttling.
+export TVM_BIND_THREADS=0
+export OMP_NUM_THREADS=1
+

Review comment:
       I meant https://docs.docker.com/config/containers/resource_constraints/, to directly
restrict the CPUs that a container can access physically. although we might need some experimentation
to see which option is the best, and how are they presented to the runtime.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message