Skip to content

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

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
jim-plus opened this issue Apr 15, 2024 · 2 comments
Closed

Comments

@jim-plus
Copy link

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.

@Jeximo
Copy link
Contributor

Jeximo commented Apr 15, 2024

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
Copy link
Author

That did the trick. Thanks!

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

No branches or pull requests

2 participants