You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the xfuse run my-config.toml --save-path my-run line, I ran into an error:
[2022-10-07 21:59:44,127] ℹ : Running xfuse version 0.2.1
[2022-10-07 21:59:44,146] ℹ : Using the following design table:
[2022-10-07 21:59:44,146] ℹ :
[2022-10-07 21:59:44,147] ℹ : | | section {1,2,3,4} |
[2022-10-07 21:59:44,147] ℹ : |----------+---------------------|
[2022-10-07 21:59:44,147] ℹ : | section1 | 1 |
[2022-10-07 21:59:44,147] ℹ : | section2 | 2 |
[2022-10-07 21:59:44,147] ℹ : | section3 | 3 |
[2022-10-07 21:59:44,147] ℹ : | section4 | 4 |
[2022-10-07 21:59:44,147] ℹ :
[2022-10-07 21:59:44,149] 🚨 ERROR : AttributeError: module 'os' has no attribute 'sched_getaffinity'
Traceback (most recent call last):
File "/Users/name/xfusestuff/xfusevenv/lib/python3.8/site-packages/xfuse/main.py", line 585, in run
_run(
File "/Users/name/xfusestuff/xfusevenv/lib/python3.8/site-packages/xfuse/run.py", line 64, in run
if (available_cores := len(os.sched_getaffinity(0))) < num_data_workers:
AttributeError: module 'os' has no attribute 'sched_getaffinity'
I searched this problem on stack overflow but it I didn't find a solution to it. Is there an alternative function to use in place of os.sched_getaffinity. I am using an M1 Macbook Air 2020, 16GB Ram.
The text was updated successfully, but these errors were encountered:
When I run the xfuse run my-config.toml --save-path my-run line, I ran into an error:
[2022-10-07 21:59:44,127] ℹ : Running xfuse version 0.2.1
[2022-10-07 21:59:44,146] ℹ : Using the following design table:
[2022-10-07 21:59:44,146] ℹ :
[2022-10-07 21:59:44,147] ℹ : | | section {1,2,3,4} |
[2022-10-07 21:59:44,147] ℹ : |----------+---------------------|
[2022-10-07 21:59:44,147] ℹ : | section1 | 1 |
[2022-10-07 21:59:44,147] ℹ : | section2 | 2 |
[2022-10-07 21:59:44,147] ℹ : | section3 | 3 |
[2022-10-07 21:59:44,147] ℹ : | section4 | 4 |
[2022-10-07 21:59:44,147] ℹ :
[2022-10-07 21:59:44,149] 🚨 ERROR : AttributeError: module 'os' has no attribute 'sched_getaffinity'
Traceback (most recent call last):
File "/Users/name/xfusestuff/xfusevenv/lib/python3.8/site-packages/xfuse/main.py", line 585, in run
_run(
File "/Users/name/xfusestuff/xfusevenv/lib/python3.8/site-packages/xfuse/run.py", line 64, in run
if (available_cores := len(os.sched_getaffinity(0))) < num_data_workers:
AttributeError: module 'os' has no attribute 'sched_getaffinity'
I searched this problem on stack overflow but it I didn't find a solution to it. Is there an alternative function to use in place of os.sched_getaffinity. I am using an M1 Macbook Air 2020, 16GB Ram.
The text was updated successfully, but these errors were encountered: