Skip to content
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

Unable to build on Windows #17

Open
idontcare999a opened this issue Jun 5, 2023 · 2 comments
Open

Unable to build on Windows #17

idontcare999a opened this issue Jun 5, 2023 · 2 comments

Comments

@idontcare999a
Copy link

idontcare999a commented Jun 5, 2023

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
@NouamaneTazi
Copy link
Collaborator

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

I was able to build and run the starcoder.exe from ggml repo.

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

2 participants