BitNet
BitNet copied to clipboard
can't setup
(bitnet-cpp) PS C:\Users\hoofcushion\Projects\BitNet> python setup_env.py -md models/BitNet-b1.58-2B-4T -q i2_s
INFO:root:Compiling the code using CMake.
ERROR:root:Error occurred while running command: Command '['cmake', '-B', 'build', '-DBITNET_X86_TL2=ON', '-T', 'ClangCL', '-DCMAKE_C_COMPILER=clang', '-DCMAKE_CXX_COMPILER=clang++']' returned non-zero exit status 1., check details in logs\generate_build_files.log
logs\generate_build_files.log
CMake Error at CMakeLists.txt:2 (project):
Generator
NMake Makefiles
does not support toolset specification, but toolset
ClangCL
was specified.
-- Configuring incomplete, errors occurred!
did you use Deceloper PowerShell for VS 2022 if used, check your VS Installer if the C++-CMake Tools for Windows, C++-Clang Compiler for Windows and MS-Build Support for LLVM-Toolset (clang) was available
try see issue #180