IBM / mi-prometheus

Enabling reproducible Machine Learning research
http://mi-prometheus.rtfd.io/
Apache License 2.0
42 stars 18 forks source link

grid_*_cpu not working on MAC/OSX #52

Closed tkornuta-ibm closed 5 years ago

tkornuta-ibm commented 6 years ago

Describe the bug Running grid_trainer_cpu on MAC results in:

max_processes = min(len(os.sched_getaffinity(0)), self.max_concurrent_runs) AttributeError: module 'os' has no attribute 'sched_getaffinity'

It seems that OSX doesn't support this :] https://stackoverflow.com/questions/42538153/python-3-6-0-os-module-does-not-have-sched-getaffinity-method Desktop (please complete the following information):

tkornuta-ibm commented 6 years ago

https://stackoverflow.com/questions/1006289/how-to-find-out-the-number-of-cpus-using-python

tkornuta-ibm commented 6 years ago

grid_tester_cpu and grid_analyser are also not working :]