Tambayoyi masu alaƙa da jagora · Matsakaici Mataki

Tambayoyi na Dubawa na Gradient

Yayi bayanin sake kunnawa, ajiyar ƙwaƙwalwar ajiya, ƙididdige mai dogaro da jadawalin, da haɗuwa tare da sharding da gauraye daidai.

Hanyoyin jagora masu alaƙaDuban hankali na Gradient
Tambaya 1 na 8

Menene ma'aunin binciken gradient da farko yana kasuwanci don adana ƙwaƙwalwar ajiya?

Duba kowace tambaya8 tambayoyi

Amsoshi da bayani suna bayyana yayin da kuke ɗaukar tambayoyin.

  1. Menene ma'aunin binciken gradient da farko yana kasuwanci don adana ƙwaƙwalwar ajiya?
    • Ƙarin lissafi (sake ƙididdigewa) don ƙananan amfanin ƙwaƙwalwar ajiya
    • Samfurin daidaito don saurin gudu
    • Wurin diski don bandwidth na cibiyar sadarwa
    • Madaidaicin girman tsari
  2. Me yasa a kullum ake adana abubuwan kunnawa yayin wucewar gaba?
    • Don nuna su ga mai amfani
    • Domin yada baya yana buƙatar su don lissafta gradients
    • Don hanzarta loda bayanai
    • Ba a taɓa buƙatar su a zahiri ba
  3. In a simplified chain of N similarly sized layers, what can checkpoint boundaries spaced about sqrt(N) layers apart achieve in the textbook schedule?
    • It stores no activations and performs no recomputation
    • It guarantees constant memory for every model graph
    • Activation storage can scale on the order of sqrt(N) checkpoints
    • It makes optimizer-state memory scale as sqrt(N)
  4. What most determines gradient-checkpointing runtime overhead in a practical model?
    • Only the model’s file extension
    • A fixed 20–30% slowdown for every model
    • The number of labels in the dataset
    • Which operations are recomputed, checkpoint placement, graph structure, and hardware
  5. A cikin PyTorch, wanne kayan aiki ne aka saba amfani da shi don amfani da matakan bincike na gradient zuwa module?
    • torch.utils.checkpoint
    • tocila.optim.SGD
    • tocila.nn.Dropout
    • torch.cuda.empty_cache
  6. What happens to operations inside a checkpointed region during backward?
    • Their gradients are skipped entirely
    • Their forward computations are rerun to regenerate needed activations
    • Their weights are permanently discarded
    • They are executed only during inference
  7. Which training techniques can be combined with activation checkpointing to reduce different memory costs?
    • Only increasing the number of labels
    • Turning off backpropagation
    • FSDP for sharded model state and mixed precision for lower-precision tensors
    • Replacing the model with a tokenizer
  8. What is selective activation checkpointing intended to choose?
    • Which training labels are removed
    • Which model outputs are published
    • Which GPU becomes the tokenizer
    • Which operations to save and which to recompute based on their memory and runtime costs