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

ENH: Disable 4-bit and 8-bit quantization on MacOS #507

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Bojun-Feng
Copy link
Contributor

@Bojun-Feng Bojun-Feng commented Oct 6, 2023

Resolve #483 at frontend level by filtering options on render if machine is Mac-like.

Tested locally, successfully removed 4-bit and 8-bit quantization on MacBook

@XprobeBot XprobeBot added the enhancement New feature or request label Oct 6, 2023
@XprobeBot XprobeBot added this to the v0.5.2 milestone Oct 6, 2023
@UranusSeven
Copy link
Contributor

For most models, 8-bit quant should work on macOS.

However, if the model uses bf16, it cannot run on macOS, even the non-quant model.

@Bojun-Feng
Copy link
Contributor Author

In this case, maybe we can add a field to the model json specifying whether model is bf16. Am I missing a easier way to distinguish bf16 models?

@XprobeBot XprobeBot modified the milestones: v0.5.2, v0.6.0 Oct 16, 2023
@XprobeBot XprobeBot modified the milestones: v0.6.0, v0.6.1, v0.6.2, v0.6.3 Nov 3, 2023
@XprobeBot XprobeBot modified the milestones: v0.6.3, v0.6.4, v0.6.5 Nov 21, 2023
@XprobeBot XprobeBot modified the milestones: v0.6.5, v0.6.6, v0.7.0 Dec 1, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.1, v0.7.2, v0.7.3 Dec 12, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.3, v0.7.4, v0.8.0, Temp Dec 22, 2023
@XprobeBot XprobeBot modified the milestones: v0.10.2, v0.10.3, v0.11.0 Apr 19, 2024
@XprobeBot XprobeBot modified the milestones: v0.11.0, v0.11.1, v0.11.2 May 11, 2024
@XprobeBot XprobeBot modified the milestones: v0.11.2, v0.11.3 May 24, 2024
@XprobeBot XprobeBot modified the milestones: v0.11.3, v0.11.4, v0.12.0, v0.12.1 May 31, 2024
@XprobeBot XprobeBot modified the milestones: v0.12.1, v0.12.2 Jun 14, 2024
@XprobeBot XprobeBot modified the milestones: v0.12.2, v0.12.4, v0.13.0, v0.13.1 Jun 28, 2024
@XprobeBot XprobeBot modified the milestones: v0.13.1, v0.13.2 Jul 12, 2024
@XprobeBot XprobeBot modified the milestones: v0.13.2, v0.13.4 Jul 26, 2024
@XprobeBot XprobeBot modified the milestones: v0.14, v0.15 Sep 3, 2024
@XprobeBot XprobeBot modified the milestones: v0.15, v0.16 Oct 30, 2024
@XprobeBot XprobeBot modified the milestones: v0.16, v1.x Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Disable 4-bit and 8-bit quantization on MacOS
3 participants