You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/06/29 19:26:55 UTC

[GitHub] [tvm] tkonolige opened a new pull request #8370: [FIX] Detect like cores by looking at scaling_max_freq instead of cpuinfo_max_freq

tkonolige opened a new pull request #8370:
URL: https://github.com/apache/tvm/pull/8370


   On my AMD 3950X, `/sys/devices/systen/cpu/cpu*/cpufreq/cpuinfo_max_freq` is not the same across all cores. If I look at `scaling_max_freq` instead, then I see that all cores are the same frequency (as expected). This probably still won't work correctly across all platforms, but I don't think there is an easier, quick way to do the detection. Maybe we should think about using pytorch's cpuinfo library (https://github.com/pytorch/cpuinfo).
   
   @tqchen @FrozenGene 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] tqchen merged pull request #8370: [FIX] Detect like cores by looking at scaling_max_freq instead of cpuinfo_max_freq

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #8370:
URL: https://github.com/apache/tvm/pull/8370


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] FrozenGene commented on pull request #8370: [FIX] Detect like cores by looking at scaling_max_freq instead of cpuinfo_max_freq

Posted by GitBox <gi...@apache.org>.
FrozenGene commented on pull request #8370:
URL: https://github.com/apache/tvm/pull/8370#issuecomment-871032849


   Yes. I agree PyTorch CPUInfo library is one good alternative. However, we will introduce one dependency and we should handle it carefully for cross compilation (because we are in the runtime component).


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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