↓ 1 callersFunctionall_to_all_5D all-to-all for QKV forward (bs, seqlen/N, 3, hc, hs) -> (bs, seqlen, 3, hc/N, hs) Args: input (torch.tensor): a tensor sharded a
olmo/nn/ulysses.py:151
↓ 1 callersFunctionbatch_pixels_to_patchesReshape images of [n_images, h, w, 3] -> [n_images, n_patches, pixels_per_patch]
olmo/hf_model/image_processing_molmo2.py:218
↓ 1 callersFunctionbatch_pixels_to_patchesReshape images of [n_images, h, w, 3] -> [n_images, n_patches, pixels_per_patch]
olmo/hf_model/video_processing_molmo2.py:124