-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a5b889
commit 1bebd09
Showing
2 changed files
with
54 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: GPU Train and Test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
train-and-test-gpu: | ||
runs-on: devcloud # self-hosted GPU runner on Intel devcloud | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download starter pack (initial weights) | ||
run: | | ||
chmod u+x ./download_starter_pack.sh | ||
./download_starter_pack.sh | ||
- name: Compile training and testing program | ||
run: | | ||
make train_gpt2_fp32 test_gpt2_fp32 | ||
- name: Train model fp32 | ||
run: | | ||
./train_gpt2_fp32 | ||
- name: Test model fp32 | ||
run: | | ||
./test_gpt2_fp32 |