Skip to content
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

Fix arm system cpu frequency retrieval #385

Merged
merged 6 commits into from
Aug 21, 2024

Conversation

yshan2028
Copy link
Contributor

Fix: Disable CPU frequency retrieval on macOS systems with Apple Silicon (closes #384)

@wu-clan wu-clan self-requested a review August 20, 2024 01:36
Copy link
Member

@wu-clan wu-clan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM.

backend/utils/server_info.py Outdated Show resolved Hide resolved
backend/utils/server_info.py Outdated Show resolved Hide resolved
backend/utils/server_info.py Outdated Show resolved Hide resolved
liuyue added 4 commits August 20, 2024 10:07
# Conflicts:
#	backend/utils/server_info.py
# Conflicts:
#	backend/utils/server_info.py
# Conflicts:
#	backend/utils/server_info.py
@yshan2028
Copy link
Contributor Author

yshan2028 commented Aug 20, 2024

macOS 问题已经解决了,两个应该都支持的,请测试 window 和 Linux 系统是否正常
image

@wu-clan wu-clan self-requested a review August 21, 2024 12:54
@wu-clan wu-clan changed the title Fix: Disable CPU frequency retrieval on macOS systems with Apple Sili… Fix arm system cpu frequency retrieval Aug 21, 2024
@wu-clan wu-clan merged commit bb0d7f3 into fastapi-practices:master Aug 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macOS 系统不支持获取频率信息
2 participants