How can i use all 16cpu in 4 process, set TVM_NUM_THREADS=4, or cancel cpu affinity in multi threads?


#1

my pc have 16cpu, and set TVM_NUM_THREADS=4,I run 4 process program . TVM program only use the the first four cpu,and all process share 4 cpu . How can i use all 16 cpu ,and each tvm process use 4 threads,and not share ? How to set the parameter? please help me,thankyou @tqchen


#2

set TVM_NUM_THREADS=4 TVM_BIND_THREADS=0, then run your run 4 processes please.