mirror of
https://github.com/karpathy/llm.c.git
synced 2026-07-28 20:35:09 -04:00
build changes
This commit is contained in:
parent
de1f17078e
commit
a786d876db
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -303,8 +303,8 @@ test_nvshmem: test_nvshmem_basic.cu
|
|||
# NVSHMEM Pipeline Training Target (Phase 1)
|
||||
# Run with: NVSHMEM_BOOTSTRAP=MPI mpirun -np 2 ./nvshmem_train_gpt2 -b 4 -t 128
|
||||
nvshmem_train_gpt2: nvshmem_train_gpt2.cu
|
||||
$(NVCC) --threads=0 -t=0 --use_fast_math -std=c++17 -O3 \
|
||||
-arch=sm_80 -rdc=true --extended-lambda --expt-relaxed-constexpr \
|
||||
$(NVCC) --threads=0 -t=0 --use_fast_math -std=c++14 -O3 \
|
||||
-arch=sm_80 \
|
||||
-I$(NVSHMEM_HOME)/include -L$(NVSHMEM_HOME)/lib \
|
||||
-I$(OPENMPI_INCLUDE_PATH) -L$(OPENMPI_LIB_PATH) \
|
||||
$^ -lnvshmem_host -lnvshmem_device -lcublas -lcublasLt -lcuda -lcudart -lnvidia-ml -lmpi $(CUDA_OUTPUT_FILE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue