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 error C2078: too many initializers with uint32x4_t for MSVC ARM64 #5404

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

Xarbirus
Copy link
Contributor

@Xarbirus Xarbirus commented Feb 8, 2024

While trying to build llama.cpp using msvc for ARM64 architecture (cross compile on x86_64 machine), I encountered the following error:

ggml-quants.c(8710,125): error C2078: too many initializers
ggml-quants.c(8711,125): error C2078: too many initializers 
ggml-quants.c(8712,125): error C2078: too many initializers 
ggml-quants.c(8713,125): error C2078: too many initializers

from uint32x4_t initialisation.

This fix is based on these pages (1, 2).

@Xarbirus Xarbirus changed the title ix error C2078: too many initializers with uint32x4_t for MSVC ARM64 Fix error C2078: too many initializers with uint32x4_t for MSVC ARM64 Feb 8, 2024
@ggerganov ggerganov merged commit b2f87cb into ggerganov:master Feb 9, 2024
53 checks passed
@Xarbirus Xarbirus deleted the fix-arm64-msvc-builds branch February 26, 2024 12:21
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
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.

3 participants