Hello, I am trying to build this on Windows using CMake (Visual Studio / VSCode). Line 15 on main.cpp ``` cannot open source file "unistd.h" ``` If I comment it out and compile again, I get a few more: Line 207 and 441 on main.cpp: ``` use of designated initializers requires at least '/std:c++20' ``` Line 745 on main.cpp: ``` identifier "isatty" is undefined identifier "STDIN_FILENO" is undefined ```
Activity
nmntz commentedon Jun 8, 2023
Interesting. Unfortunately I don't currenly use Windows to debug this.
Can you try running the GPT2 example in the ggml library? https://github.com/ggerganov/ggml#gpt-inference-example
idontcare999a commentedon Jun 22, 2023
I was able to build and run the starcoder.exe from ggml repo.