Skip to content

Commit f919b29

Browse files
committed
Refactor env exporting due to xpk jobset duplication
1 parent 4a41013 commit f919b29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/jax-vllm-offloading-gke-grpo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ jobs:
7171
GATEWAY_PORT=50051;
7272
GATEWAY_URL=\$(JOBSET_NAME):\$(GATEWAY_PORT);
7373
OUTPUT_DIR=/opt/output;
74-
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/cuda-12.9/compat/lib.real:/usr/local/nvidia/lib64;
7574
7675
COMMAND: |
7776
set -x;
7877
79-
pip install jax[k8s];
78+
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/cuda-12.9/compat/lib.real:\${LD_LIBRARY_PATH};
79+
8080
python -c 'import jax; jax.distributed.initialize(); print(jax.devices()); print(jax.local_devices()); assert jax.process_count() > 1; assert len(jax.devices()) > len(jax.local_devices());';
8181
8282
PIDS=();

.github/workflows/jax-vllm-offloading-gke-transfer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ jobs:
7171
GATEWAY_PORT=50051;
7272
GATEWAY_URL=\$(JOBSET_NAME):\$(GATEWAY_PORT);
7373
OUTPUT_DIR=/opt/output;
74-
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/cuda-12.9/compat/lib.real:/usr/local/nvidia/lib64;
7574
COMMAND: |
7675
set -x;
7776
78-
pip install jax[k8s];
77+
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/cuda-12.9/compat/lib.real:\${LD_LIBRARY_PATH};
78+
7979
python -c 'import jax; jax.distributed.initialize(); print(jax.devices()); print(jax.local_devices()); assert jax.process_count() > 1; assert len(jax.devices()) > len(jax.local_devices());';
8080
8181
PIDS=();

0 commit comments

Comments
 (0)