Guide-yakabatana mibvunzo · Zvakaoma Nhanho
Sequence Parallelism uye Ring Attention Quiz
Dzidzira Ring Attention block kutamiswa, online softmax, uye causal mutoro kuenzanisa, kusanganisira iyo miganho yekutaurirana inopindirana pamidziyo yese.
Mubvunzo 1 ye 8
Ndeapi dimension iyo kutevedzana kufanana kunopatsanura iyo data?
Tarisa mubvunzo wese8 mibvunzo
Mhinduro uye tsananguro zvinoonekwa paunenge uchitora bvunzo.
- Ndeapi dimension iyo kutevedzana kufanana kunopatsanura iyo data?
- Iyo yakavanzika / chimiro chimiro
- Chiratidzo (sequence) dimension
- Iyo batch dimension chete
- Nhamba yezvikamu
- Chii chinonzi Ring Attention inopfuura pakati peGPUs dzakarongwa mumhete?
- Uremu hwemhando yakazara
- Optimizer inoti
- Final logits
- Makiyi / kukosha mabhuroko
- How can Ring Attention combine partial attention blocks without approximating the full attention pattern?
- Online softmax with a running maximum and normalizer
- Randomly dropping unseen key blocks
- Truncating every distant key
- Replacing all attention scores with zeros
- Nei Ring Attention isingade chero GPU imwe chete kuchengetedza iyo yakazara K/V?
- Inorasa makiyi mazhinji
- Inoshandisa modhi diki
- K/V inofambiswa mumabhuroko uye zvikamu zvishoma chete ndizvo zvinounganidzwa
- Attention inofungidzirwa, kwete chaiyo
- When can Ring Attention reduce the exposed time spent transferring K/V blocks?
- Whenever the model has any number of parameters
- Only when every device stores the full sequence
- By eliminating all transfers between devices
- When useful block computation overlaps those transfers
- Ndeipi dambudziko rinounzwa necausal masking yeRing Attention load balancing?
- Inoita kuti modhi isasiyane
- Gare gare ma tokeni anoenda kune mamwe makiyi, zvichikonzera kusaenzana kwekushanda paGPU
- Inobvisa kudiwa kwemhete
- Inowedzera kaviri parameter count
- A new Ring Attention block has larger attention scores than previous blocks. Why rescale the earlier softmax sums?
- To discard the earlier keys permanently
- To replace all token embeddings
- To keep accumulated terms consistent with the updated running maximum
- Kuderedza saizi yemazwi
- Under causal masking with contiguous sequence shards, which tokens can require more attention work?
- Later tokens that can attend to more preceding positions
- All tokens require exactly one key
- Only padding tokens at the start
- Earlier tokens because they can see the future