Skip to content

Derive compatible compute type in the case of CPU use#383

Merged
yuantuo666 merged 3 commits intoopen-mmlab:mainfrom
3manifold:compute-type-CPU-fix
Mar 3, 2025
Merged

Derive compatible compute type in the case of CPU use#383
yuantuo666 merged 3 commits intoopen-mmlab:mainfrom
3manifold:compute-type-CPU-fix

Conversation

@3manifold
Copy link
Contributor

@3manifold 3manifold commented Jan 13, 2025

Description

Fix error occurring because of the unsupported default compute type (float16) in the case of CPU use. Furthermore, automatically derive the compatible compute type (int8) on a CPU-only system.

See relevant issue for further details. resolves #384

@3manifold 3manifold marked this pull request as ready for review January 13, 2025 09:28
@3manifold 3manifold changed the title Derive the compatible compute type in the case of CPU use Derive compatible compute type in the case of CPU use Jan 13, 2025
@yuantuo666
Copy link
Collaborator

Hi, please install "black" package and format your code.

@3manifold
Copy link
Contributor Author

Hi, please install "black" package and format your code.

Updated

@3manifold 3manifold force-pushed the compute-type-CPU-fix branch from 0df807b to 1de9aa7 Compare March 3, 2025 10:15
@yuantuo666 yuantuo666 requested a review from HarryHe11 March 3, 2025 12:24
Copy link
Collaborator

@yuantuo666 yuantuo666 left a comment

Choose a reason for hiding this comment

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

LGTM

@yuantuo666 yuantuo666 merged commit f25ba32 into open-mmlab:main Mar 3, 2025
1 check passed
KhryptorGraphics pushed a commit to KhryptorGraphics/Amphion that referenced this pull request Feb 2, 2026
* Fix default compute type for CPU

* Update main.py

* Rerun code formatter
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.

[Feature]: Fix unsupported default compute type in the case of CPU use

2 participants