摘要: # docker 容器中 os.cpu_count() , multiprocessing.cpu_count() 都为物理机cpu 数 不论起容器的时候 是否加 --cpus 1 --cpuset-cpus 0 docker 容器中 os.cpu_count() , multiprocessing 阅读全文
posted @ 2023-06-01 20:21 michaelchengjl 阅读(185) 评论(0) 推荐(0) 编辑