Hi All,

I have a PC with 4 cores. I want to use 2 cores for the TVM inference and other 
two cores for another tasks in my application. 

Example: 
core 1 and core 2 == > TVM
core 3 and core 4 ==> My own task in my App.

I was able to set the to tell TVM to use 2 cores, but I was not able to figure 
out to explicitly bind specific cores to TVM. For example, I want TVM to use 
core 1 and core 2. However, it looks like TVM randomly allocates 2 cores among 
four cores when I start the inference. I have noticed that TVM inference 
sometimes chooses core 1 and core 2 and sometimes core 1 and core 3 ..etc. 

Any suggestions how to explicitly bind TVM inference to core 1 and core 2? 

I also read that "TVM_BIND_THREADS =1" sets the CPU affinity, however, it seems 
it does not have any impact when I set it (TVM_BIND_THREADS=1) or unset it 
(TVM_BIND_THREADS=0).





---
[Visit 
Topic](http://tracking.discuss.tvm.ai/tracking/click?d=5VgaD-0OUPPJ_QJqKklrEHdKdRFMYKi8czEB7FZtLp_mDVDKKXCNfLkx7hU3Hpqo-codhUM-i4l_M6WOSWqVpjX9xNJB83WzpK3_Rlcmi07-Pv1c1gL7z5S_WDMEFzkut-G9ItE_Q6tYJIrHjzjMr7fdVNETAssMI9kgLv3_eSbxMaDWWQa9ayrgiV-Jc2cegw2)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](http://tracking.discuss.tvm.ai/tracking/click?d=7cFgOaAA4XIBVlVKt_oyC07uihTjg4Q6cjeBRNRTiPoV7ZhbamCFgDNSUFxUSy5ZFl5sdMQmKwus0y65GTQ967CQTx3EZ3m0-UfEiF8xv6NrTRK16TWFyWGCDPutq9xYjXsBT8yCSfRkFCvkK2nnbLVUFHq3F2fdPpkmZfnNFpbP6j0z5WqFHk0BEmvKly1P-gXkyLEpzxAV9nXrzSJvhkdIOrAkpou2n4MmiqekUrpx0).

Tianqi Chen, UW, Seattle, WA, 98105, United States
http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=uU6gSlY9vYwYSVdn0Mj5DA2

Reply via email to