Skip to content

Illegal instruction in Windows 7 #1634

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

Closed
JerryYao80 opened this issue May 29, 2023 · 0 comments
Closed

Illegal instruction in Windows 7 #1634

JerryYao80 opened this issue May 29, 2023 · 0 comments

Comments

@JerryYao80
Copy link

JerryYao80 commented May 29, 2023

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [√] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
  • [√] I carefully followed the README.md.
  • [√] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • [√] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Expected Behavior

I just wanna running ggml-model-q4_0.bin on my Windows 7.

Environment and Context

Docker Toolbox 1.13.1
docker client: 1.13.1 os/arch: windows 7 /amd64
docker server:19.03.12 os/arch:ubuntu 22.04 /amd64
CPU type: Intel Core i7 6700 , supported command set: MMX, SSE, SSE2, ......, AVX, AVX2, FMA3, TSX

Failure Information (for bugs)

Error occurs:

ERROR: /app/.devops/tools.sh: line 40: 6 Illegal instruction ./quantize $arg2

Steps to Reproduce

I alread got ggml-model-f16.bin successfuly after executing --convert "/models/7B/" 1

but when I executed :

--quantize "/models/7B/ggml-model-f16.bin" "/models/7B/ggml-model-q4_0.bin" 2

in the same environment , and I checked my quantize file:

quantize: ELF 64-bit LSB shared object, x86-64, version 1 <GNU/Linux> ...... for GNU/Linux 3.2.0, not stripped

But the architecture of docker image named ghcr.io/ggerganov/llama.cpp:full is amd64:

docker image ghcr.io/ggerganov/llama.cpp:full|grep Architecture
"Architecture": "amd64"

I just wanna know that the reason is the difference between x86-64 and amd64? Must I recompile quantize to amd64? or any other solution?

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

No branches or pull requests

1 participant