↓ 15 callersFunctionexport_dataset_shard_idx_to_tar(
hf_datasets_paths: List[Union[str, Path]],
saving_dir: Union[str, Path],
ds_type: DatasetTypes,
vision/m4/utils/datasets/create_webdataset_tar.py:361
↓ 10 callersFunctioncompute_tflops_per_batch_per_gpu(
num_layers,
batch_size,
q_seq_len,
k_seq_len,
hidden_size,
kv_in_dim,
ff_exp_fac
vision/m4/training/utils.py:592
↓ 6 callersFunctionexport_dataset_all_shard_idx_to_tar(
hf_datasets_paths: List[Union[str, Path]],
saving_dir: Union[str, Path],
ds_type: DatasetTypes,
vision/m4/utils/datasets/create_webdataset_tar.py:226
↓ 4 callersFunctioncompute_perceiver_tflops_per_batch_per_gpu(
num_layers,
batch_size,
q_seq_len,
vision_embed_seq_len,
q_k_v_input_dim,
attention_
vision/m4/training/utils.py:674
↓ 4 callersMethoddisplay_distribution_plot(
self, list_extraction_methods, list_metric_to_compare, title=None, bin_size=[1, 1], max_value=None
vision/m4/sourcing/data_collection/visualization/pair_stat_dashboard.py:392
↓ 4 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
vision/m4/models/perceiver/perceiver.py:47
↓ 4 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
vision/m4/models/vmistral/modeling_vmistral.py:325