Skip to content

cmake build on windows completes, but quantize. exe is not built; advice? #6678

Closed
@jim-plus

Description

@jim-plus

I followed the instructions for building on Windows using cmake from the README.md file. cmake completes and builds a lot of stuff in the process, but not quantize.exe on my Windows 11 PC.

I have current Visual Studio Community, Nvidia CUDA Toolkit 12.1, torch 2.2.1+cu121, and cmake 3.28.3.

I would not be surprised if this is a "skill issue", possibly involving requirements, as I am not yet very experienced with cmake. I can run prebuilt quantize.exe from compiled releases without problem, so I have a workaround.

Activity

Jeximo

Jeximo commented on Apr 15, 2024

@Jeximo
Contributor

but not quantize.exe on my Windows 11 PC

#103 (comment) suggested

cmake -S . -B build/ -D CMAKE_BUILD_TYPE=Release

cmake --build build/ --config Release

Afterwards, the exe files should be in the build/Release folder.

jim-plus

jim-plus commented on Apr 15, 2024

@jim-plus
Author

That did the trick. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jim-plus@Jeximo

        Issue actions

          cmake build on windows completes, but quantize. exe is not built; advice? · Issue #6678 · ggml-org/llama.cpp