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.8.4, v0.8.5, v0.9.0 Feb 4, 2024
@XprobeBot XprobeBot modified the milestones: v0.9.0, v0.9.1 Feb 22, 2024
@XprobeBot XprobeBot modified the milestones: v0.9.1, v0.9.2, v0.9.3 Mar 1, 2024
@XprobeBot XprobeBot modified the milestones: v0.9.3, v0.9.4, v0.9.5 Mar 15, 2024
@XprobeBot XprobeBot modified the milestones: v0.10.0, v0.10.1 Mar 29, 2024
@XprobeBot XprobeBot modified the milestones: v0.10.1, v0.10.2 Apr 12, 2024
@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 May 31, 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