Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/ml/01_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def main():
want = attention(q, k, v)
want_grads = jax.grad(loss, argnums=(0, 1, 2))(q, k, v)

for host in hosts(args.hosts):
for host in hosts(args.hosts, args.memory):
for name, data in zip("qkv", (q, k, v)):
host.load(name, table(data))

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/ml/02_nanogpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def main():
)
)

for host in hosts(args.hosts):
for host in hosts(args.hosts, args.memory):
reference = dict(init)
moments = {
n: (np.zeros_like(w), np.zeros_like(w)) for n, w in init.items()
Expand Down
Loading
Loading