Andrej Karpathy
|
882a214ad4
|
Merge branch 'move-to-zero' of https://github.com/ngc92/llm.c into ngc92-move-to-zero
|
2024-07-15 18:59:22 +00:00 |
|
Andrej Karpathy
|
faf8d159a3
|
use int instead of bool
|
2024-07-15 18:01:01 +00:00 |
|
Andrej Karpathy
|
64db3ded85
|
refactor gpt2 gpt3 descriptor to keep legacy behavior of -e, be strict everywhere, remove interpolation for now
|
2024-07-15 17:51:27 +00:00 |
|
indianspeedster
|
6bb562bd88
|
added cudaCheck where missing for proper error checking.
|
2024-07-13 13:20:39 -04:00 |
|
Erik Schultheis
|
39a41fa701
|
move cpu float reduction to zero
|
2024-07-12 11:12:58 +02:00 |
|
Erik Schultheis
|
4d1ec6832a
|
rename parameters to avoid name clashes with global variable
|
2024-07-11 19:04:02 +02:00 |
|
Erik Schultheis
|
09b78bc902
|
move set_zero_configs into zero.cuh
|
2024-07-11 09:55:31 +02:00 |
|
Aleksa Gordic
|
6b62f3b9ae
|
Fix linker issue
|
2024-07-02 21:54:50 +02:00 |
|
Aleksa Gordic
|
d27331cced
|
Move socket header to utils.h
|
2024-07-02 21:17:28 +02:00 |
|
Aleksa Gordic
|
5645bd18b1
|
CI fix - add sockets header
|
2024-07-02 21:17:28 +02:00 |
|
Aleksa Gordic
|
1ae3243185
|
Add check versions of socket close
|
2024-07-02 21:17:28 +02:00 |
|
ademeure
|
6e29dd000d
|
fix default for test_gpt2cu
|
2024-06-30 20:45:37 +01:00 |
|
ademeure
|
0f11a4ec49
|
Make GELU fusion default 2 for H100+ and 0 on older GPUs for now
|
2024-06-30 20:45:37 +01:00 |
|
ademeure
|
fa5a196be0
|
Refactor matmul to only use cuBLASLt and optionally use fused GELU
|
2024-06-30 20:45:37 +01:00 |
|
Andrej
|
2daaf6ab83
|
Merge pull request #629 from rosslwheeler/feature/tests
CI Dataloader test and ptx/sass file generator
|
2024-06-29 15:17:31 -07:00 |
|
Andrej Karpathy
|
2cf7c5b7d3
|
Merge branch 'ngc92-mixed-dtypes-2'
|
2024-06-27 17:47:22 +00:00 |
|
ademeure
|
29a067f916
|
Make cuDNN deterministic for Flash Attention backward (requires frontend >=1.5)
|
2024-06-27 13:33:02 +00:00 |
|
rosslwheeler
|
267efc9a0e
|
Merge branch 'karpathy:master' into feature/tests
|
2024-06-26 22:38:21 -07:00 |
|
Erik Schultheis
|
7beaa1ed96
|
keep layernorm stats in fp32
|
2024-06-26 20:48:11 +03:00 |
|
Erik Schultheis
|
f0c3e35de8
|
switch losses to fp32
|
2024-06-26 20:48:08 +03:00 |
|
Andrej Karpathy
|
e12d090483
|
resolve merge conflicts
|
2024-06-26 04:05:46 +00:00 |
|
Erik Schultheis
|
6c24f13b55
|
check token validity
|
2024-06-26 02:01:24 +03:00 |
|
Erik Schultheis
|
09503dea4f
|
make windows happy
|
2024-06-25 21:28:52 +03:00 |
|
Erik Schultheis
|
8b36c2f60b
|
fix loss accumulation
|
2024-06-25 21:28:52 +03:00 |
|
Erik Schultheis
|
75d4610442
|
update norm computation: multi-process reduce on GPU
|
2024-06-25 21:28:52 +03:00 |
|
Erik Schultheis
|
8d994782cf
|
moved loss calculation to backward
|
2024-06-25 21:28:52 +03:00 |
|
Erik Schultheis
|
4745f53589
|
boolean_constant utilities
|
2024-06-25 21:28:52 +03:00 |
|
Ross Wheeler
|
2e6fd9b150
|
Add unistd.h for Windows cuDNN build
Small fix - move WIN32 change into dev.unistd.h
Add USE_CUDNN=1 build for Windows for CI
|
2024-06-25 10:36:59 -07:00 |
|
rosslwheeler
|
2e32e25e37
|
Merge branch 'karpathy:master' into feature/tests
|
2024-06-24 23:05:55 -07:00 |
|
Andrej Karpathy
|
7a0d864f37
|
oops i was only using window size 16 for testing let's make it 128 or something
|
2024-06-25 01:56:04 +00:00 |
|
Andrej Karpathy
|
569f9f16f9
|
add outlier detector, test for it, and start tracking z score of the loss, for now only print it
|
2024-06-25 01:37:31 +00:00 |
|
Andrej
|
3a986bc81b
|
Merge pull request #619 from gordicaleksa/cast_2d_noise
Cast Get2dNoiseUint computation to uint
|
2024-06-24 14:43:20 -07:00 |
|
Aleksa Gordic
|
2667aa1e3e
|
Fix windows include issue
|
2024-06-24 23:18:38 +02:00 |
|
Aleksa Gordic
|
ac1e37b659
|
Remove linux socket funcs when windows
|
2024-06-24 18:56:48 +00:00 |
|
Aleksa Gordic
|
f9d0e8b67a
|
Add socket logic for Windows
|
2024-06-24 18:26:53 +00:00 |
|
Aleksa Gordic
|
fbf4f59c8f
|
Add MPI under multi gpu guard
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
3abdf9a3e4
|
Add gpus per node arg
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
bfdea887eb
|
Add launch scripts - tested
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
1bc3a5ef6e
|
Add all 3 init methods
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
1c6c5ff0b7
|
TCP working
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
5500b61da5
|
fs working
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
08c055cd72
|
Free up unified buffer mem
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
1bd737546c
|
Mini refactor
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
52db158367
|
Can not call set device after NCCL init
|
2024-06-24 16:26:12 +02:00 |
|
Aleksa Gordic
|
0addb503ef
|
Use NCCL where possible
|
2024-06-24 16:26:12 +02:00 |
|
Andrej Karpathy
|
98e928f1d8
|
minor fixes for disk device io
|
2024-06-23 01:14:42 +00:00 |
|
Andrej Karpathy
|
2543b62b88
|
Merge branch 'streams-io' of https://github.com/ngc92/llm.c into ngc92-streams-io
|
2024-06-23 00:48:05 +00:00 |
|
Ross Wheeler
|
5b95bff118
|
Dataloader test and ptx/sass file generator
Setup new test infrastructure
|
2024-06-21 17:23:03 -07:00 |
|
Andrej Karpathy
|
4b5fecc8b2
|
small touchups and add the wsd schedule
|
2024-06-21 00:49:01 +00:00 |
|
Andrej Karpathy
|
96ebb16298
|
simplify lr schedulers
|
2024-06-21 00:29:47 +00:00 |
|