-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds sample_workloads for LitGPT, nccl-test, basic TCPX validation
- Loading branch information
Showing
30 changed files
with
1,831 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,4 @@ images: | |
timeout: 5400s | ||
|
||
substitutions: | ||
_VERSION: 'v1.4.1' | ||
_VERSION: 'v1.4.2' |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,22 @@ | ||
cluster: | ||
nNodes: 8 | ||
nodePool: np-1 | ||
network: | ||
useTcpx: "yes" | ||
ncclIfnames: 'eth0' | ||
ncclPlugin: us-docker.pkg.dev/gce-ai-infra/gpudirect-tcpx/nccl-plugin-gpudirecttcpx-dev:v3.1.6_2023_10_06 | ||
rxdmContainer: us-docker.pkg.dev/gce-ai-infra/gpudirect-tcpx/tcpgpudmarxd-dev:v2.0.9 | ||
disablePmtu: "yes" | ||
workload: | ||
jobTimestamp: # Must be defined | ||
gcsExperimentBucket: # Must be defined | ||
experimentDir: llama2-70b | ||
gcsDataBucket: litgpt-public-bucket | ||
dataDir: openwebtext_dataset | ||
image: us-docker.pkg.dev/gce-ai-infra/litgpt-full/litgpt | ||
modelName: Llama-2-70b-hf | ||
batchSize: 6 | ||
microBatchSize: 6 | ||
warmupIters: 10 | ||
maxIters: 1000 | ||
|
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
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,26 @@ | ||
MASTER_ADDR=$(scontrol show hostnames "$SLURM_JOB_NODELIST" | head -n 1) | ||
|
||
# Start the Lit-GPT training container | ||
docker run \ | ||
--privileged \ | ||
--gpus all --net="host" \ | ||
-v /var/lib/tcpx/lib64:/var/lib/tcpx/lib64 \ | ||
-v ${UDS_PATH}:${UDS_PATH} \ | ||
-u 0 \ | ||
-e LD_LIBRARY_PATH=/usr/local/nvidia/lib64:/var/lib/tcpx/lib64:/usr/lib/lib32:/usr/lib/x86_64-linux-gnu/ \ | ||
-e JOB_TIMESTAMP=$(date +%s) \ | ||
-e NNODES=$SLURM_NNODES \ | ||
-e NODE_RANK=$SLURM_NODEID \ | ||
-e MODEL_NAME='Llama-2-70b-hf' \ | ||
-e GCS_EXPERIMENT_BUCKET=litgpt-public-bucket \ | ||
-e GCS_DATA_BUCKET=litgpt-public-bucket \ | ||
-e USE_TCPX=yes \ | ||
-e CLUSTER_TYPE=SLURM \ | ||
-e EXPERIMENT_ROOT_DIR=llama-70b/training_logs \ | ||
-e DATA_DIR=openwebtext_dataset \ | ||
-e MASTER_ADDR=$MASTER_ADDR \ | ||
-e MASTER_PORT=20120 \ | ||
-e NCCL_GPUDIRECTTCPX_UNIX_CLIENT_PREFIX=${UDS_PATH} \ | ||
-e WARMUP_ITERS=10 \ | ||
-e MAX_ITERS=1000 \ | ||
us-docker.pkg.dev/gce-ai-infra/litgpt-full/litgpt:slurm |
Oops, something went wrong.