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

feat: windows support #63

Merged
merged 34 commits into from
May 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
844d084
Windows support!
May 24, 2024
835b639
Fixed linux build
May 24, 2024
d059217
Small fix
May 24, 2024
90e7a6d
Removed bin dir output from makefile
May 24, 2024
84e19db
Update .gitignore
DifferentialityDevelopment May 25, 2024
0499f95
Update .gitignore
DifferentialityDevelopment May 25, 2024
0c2a849
refactor: Added isEagainError function to socket.cpp
May 25, 2024
48fa75f
Refactored some more code in socket.cpp
May 25, 2024
7ef3eeb
Refactored makefile
May 25, 2024
5201f57
Trying to resolve .gitignore conflict?
May 25, 2024
ea175d5
Some more refactoring
May 25, 2024
dbde6ca
Refactored utils.cpp
May 25, 2024
6f960a6
Updated readme
May 27, 2024
92860f2
Add windows build to workflow file
May 27, 2024
618a33e
Updated main.yml
May 27, 2024
daea68f
Another attempt
May 27, 2024
044ca10
Fix syntax
May 27, 2024
4630f9b
Small tweak
May 27, 2024
44448ca
Trying to get it work
May 27, 2024
4fb52ca
Testing
May 27, 2024
093e1b8
Trying to correct script path
May 27, 2024
094c8da
Moved scripts to scripts folder and made dependencies.sh executable
May 27, 2024
3d188ce
Removed old path
May 27, 2024
b16804f
Another fix
May 27, 2024
fc729a1
install_dependencies.
b4rtaz May 27, 2024
0efc59e
install_dependencies.
b4rtaz May 27, 2024
596121e
newBuffer & freeBuffer.
b4rtaz May 27, 2024
1248d2b
mmap file.
b4rtaz May 27, 2024
c15d643
fix: include.
b4rtaz May 27, 2024
ab06abe
polishing.
b4rtaz May 27, 2024
8e16486
main.yml.
b4rtaz May 27, 2024
2afbede
main.yml.
b4rtaz May 27, 2024
5e84e46
cleaning.
b4rtaz May 27, 2024
589519b
polishing.
b4rtaz May 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions .github/workflows/main.yml
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know how I swapped those two around! Must have been by accident..

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches:
- main
jobs:
build:
name: Build
build-linux:
name: Linux Build
runs-on: ${{matrix.os}}
strategy:
matrix:
Expand Down Expand Up @@ -45,3 +45,39 @@ jobs:
run: ./llama2-tasks-test
- name: grok1-tasks-test
run: ./grok1-tasks-test

build-windows:
name: Windows Build
runs-on: windows-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Set up Dependencies
run: |
choco install make

- name: Build
run: |
make dllama
make dllama-api
make funcs-test
make quants-test
make transformer-test
make llama2-tasks-test
make grok1-tasks-test

- name: Run funcs-test
run: .\funcs-test.exe

- name: Run quants-test
run: .\quants-test.exe

- name: Run transformer-test
DifferentialityDevelopment marked this conversation as resolved.
Show resolved Hide resolved
run: .\transformer-test.exe

- name: Run llama2-tasks-test
run: .\llama2-tasks-test.exe

- name: Run grok1-tasks-test
run: .\grok1-tasks-test.exe
Loading