Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 824f2ff

Browse files
authored
Fix typo (#952)
1 parent 852d632 commit 824f2ff

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

alpa/device_mesh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,9 +1513,9 @@ class DistributedArray:
15131513
a normal numpy array.
15141514
15151515
Internally, it stores a pointer to all remote buffers.
1516-
The buffers are stored distributedly on remote workers' device memeory.
1516+
The buffers are stored distributedly on remote workers' device memory.
15171517
When users require the value of the array. These buffers will be gathered
1518-
to the dirver.
1518+
to the driver.
15191519
"""
15201520

15211521
def __init__(self,

alpa/pipeline_parallel/pipeshard_executable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""The dirver part and worker part of a pipeshard executable."""
1+
"""The driver part and worker part of a pipeshard executable."""
22
import logging
33
from functools import partial
44
import json

benchmark/alpa/benchmark_parallel_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def benchmark_training_executable(niter,
236236
executable.sync()
237237
e2e_latency = (time.time() - tic) / niter
238238
latencies = [e2e_latency]
239-
print(f"latency with dirver overhead: {e2e_latency:.3f}")
239+
print(f"latency with driver overhead: {e2e_latency:.3f}")
240240
else:
241241
# Benchmark latency without driver overhead
242242
for i in range(niter):

0 commit comments

Comments
 (0)