-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'CPU' object has no attribute 'panel' #103
Comments
What's
on your machine? |
This is a new processor with 8 power core (where hyper-threading is enabled), and with 4 efficiency core (where HT is not working):
|
Here is also the
|
I see. Yeah, tiptop can't handle this yet. |
In the meantime, you just need to comment (or delete) the assertion on 125 self.num_cores = psutil.cpu_count(logical=False)
126 num_threads = psutil.cpu_count(logical=True)
127
128 # 8 threads, 4 cores -> [[0, 4], [1, 5], [2, 6], [3, 7]]
- 129 assert num_threads % self.num_cores == 0
+ 129 #assert num_threads % self.num_cores == 0
130 self.core_threads = transpose(list(chunks(range(num_threads), self.num_cores)))
131
132 self.cpu_total_stream = BrailleStream(50, 7, 0.0, 100.0) And it works, until it is fixed in the code or merged. |
Checked it and it is working as you suggested. First time I got this exception (python cache proble?) but after that it was running properly.
|
Same error on Windows 11 in a freshly installed
|
Same here, 12th gen Intel i7-1265U on Windows 11. No errors raised after removing assertion. |
More hardware details for this issue:
|
Same problem here: Ubuntu 22.04
|
Same issue here, windows 11, CPU Intel i7-14700K 😥
|
Installed with pip and received this error on ArchLinux kernel 5.19, CPU Intel i7-12700K
The text was updated successfully, but these errors were encountered: