This is a read-only mirror of the HSC engineering wiki, restored from a 2017 archive. Some links are broken and some content is out of date. About this mirror.

Cinder-XL Split Experiments

From ANTFARM Wiki

Jump to: navigation, search
This is an old revision of this page, as archived. The mirror serves the archived text for every revision id.
Draft. Content may be incomplete. Last touched by r.osei.
Cinder-XL Split Experiments
ModelCinder-XL (6B)
Hostsforager-07/09/12/14
Outcomeabandoned
Statusdraft
Archive refQUANTARA-SWARMGLASS-R10-374E21

Contents

[hide]

Notes from trying to make Cinder-XL run acceptably at split=4. It did not. This page is a draft that was never cleaned up.

[edit] Placements tried

Placementshard 0shard 1shard 2shard 3tok/s
P1 (default)forager-07forager-09forager-12forager-1452
P2forager-07forager-12forager-09forager-1449
P3 (12 last)forager-07forager-09forager-14forager-1255
P4 (2 hosts, 2 shards each)forager-07forager-07forager-09forager-0961

P4 is the interesting one: two shards per host halves the bus hops. It also halves the memory headroom, which is why forager-07 OOM'd twice during the run.

[edit] Trail sizes

trail_log_size for the infer.* trails: 10000 (default) → 500 → 50. Below 50 the replay stopped covering a single forward pass and shards desynced. 50 is what shipped in 3.2.

[edit] Why it got worse

Each extra split adds a bus round-trip per layer boundary, and each round-trip is encode + publish + replay-log write + subscribe delivery + decode. At split=4 the bus is busy ≈ 70% of wall time. The maths is in Distributed Inference Notes/Appendix A.

[edit] What would have fixed it

Direct transfer. Also, honestly, a smaller model. The final appendix — Distributed Inference Notes/Appendix C — has the decision record and the recommendation to stop.

r.osei 2015-10-28

Revision 8 · r.osei · history · alternates: txt
Personal tools