fusion-bench 0.2.9__tar.gz → 0.2.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/PKG-INFO +1 -1
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/fer2013.py +1 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/__init__.py +12 -0
- fusion_bench-0.2.10/fusion_bench/method/isotropic_merging/__init__.py +15 -0
- fusion_bench-0.2.10/fusion_bench/method/isotropic_merging/iso.py +114 -0
- fusion_bench-0.2.10/fusion_bench/method/isotropic_merging/iso_utils.py +176 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/task_singular_vector/TSVM.py +22 -2
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench.egg-info/PKG-INFO +1 -1
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench.egg-info/SOURCES.txt +5 -0
- fusion_bench-0.2.10/fusion_bench_config/method/isotropic_merging/iso_c.yaml +4 -0
- fusion_bench-0.2.10/fusion_bench_config/method/isotropic_merging/iso_cts.yaml +5 -0
- fusion_bench-0.2.10/fusion_bench_config/method/task_singular_vector/TaskSingularVectorMerging.yaml +8 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/pyproject.toml +1 -1
- fusion_bench-0.2.9/fusion_bench_config/method/task_singular_vector/TaskSingularVectorMerging.yaml +0 -2
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/LICENSE +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/README.md +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/__main__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/method/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/method/base_algorithm.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/modelpool/AutoModelForSeq2SeqLM.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/modelpool/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/modelpool/base_pool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/modelpool/huggingface_clip_vision.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/taskpool/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/taskpool/base_pool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/taskpool/clip_image_classification.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/taskpool/flan_t5_glue_text_generation.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/constants/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/constants/paths.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/arc_agi/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/arc_agi/arc.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/arc_agi/arc_agi.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/arc_agi/augmenters.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/arc_agi/messagers.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/arc_agi/np_cache.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/arc_agi/preprocess.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/arc_agi/representers.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/clip_dataset.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/gpt2_glue.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/gsm8k.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/image_dataset.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/imdb.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/alpaca.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/collate.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/metamathqa.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/openai.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/preference_700k.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/sharegpt.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/squad.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/stanford_shp.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/ultrachat.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/utils/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/llama/wikitext.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/dataset/nyuv2.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/ada_svd/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/ada_svd/clip_vision.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/clip_layer_wise_adamerging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/clip_task_wise_adamerging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/entropy_loss.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/flan_t5_layer_wise_adamerging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/gpt2_layer_wise_adamerging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/layer_wise_adamerging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/llama_adamerging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/min_norm_solvers.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/task_wise_adamerging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/analysis/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/analysis/task_vector_cos_similarity.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/analysis/task_vector_violin_plot.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/base_algorithm.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/classification/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/classification/clip_finetune.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/classification/continual_clip_finetune.py +1 -1
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/concrete_subspace/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/concrete_subspace/clip_concrete_adamerging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/concrete_subspace/clip_concrete_task_arithmetic.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dare/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dare/simple_average.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dare/task_arithmetic.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dare/ties_merging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dare/utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dawe/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dawe/dawe_for_clip.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dawe/warppers/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dawe/warppers/dawe_model.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/depth_upscaling/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/depth_upscaling/depth_upscaling.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/depth_upscaling/depth_upscaling_for_llama.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/dummy.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/ensemble.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/fisher_merging/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/fisher_merging/clip_fisher_merging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/fisher_merging/fisher_merging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/fisher_merging/gpt2_fisher_merging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/linear/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/linear/expo.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/linear/linear_interpolation.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/linear/llama_expo.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/linear/simple_average_for_llama.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/linear/task_arithmetic_for_llama.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/lm_finetune/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/lm_finetune/bradley_terry_rm.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/lm_finetune/causal_lm_pretrain.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/lm_finetune/fullfinetune_sft.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/lm_finetune/peftfinetune_sft.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/mixture_of_experts/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/mixture_of_experts/mixtral_merging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/mixture_of_experts/mixtral_upcycling.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/model_recombination.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/opcm/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/opcm/opcm.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/opcm/task_arithmetic.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/opcm/ties_merging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/opcm/utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/opcm/weight_average.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/llama_magnitude_prune.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/llama_random_prune.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/llama_wanda_prune.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/magnitude_diff_pruning.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/prune_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/wanda_utils/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/wanda_utils/ablate.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/wanda_utils/data.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/wanda_utils/eval.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/wanda_utils/layerwrapper.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/wanda_utils/prune.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/wanda_utils/prune_opt.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pruning/wanda_utils/sparsegpt.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pwe_moe/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pwe_moe/clip_pwe_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pwe_moe/module.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pwe_moe/phn/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pwe_moe/phn/solvers.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/pwe_moe/utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/rankone_moe/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/rankone_moe/clip_rankone_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/rankone_moe/rankone_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/regmean/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/regmean/clip_regmean.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/regmean/gpt2_regmean.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/regmean/regmean.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/simple_average.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/slerp/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/slerp/slerp.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/slerp/slerp_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/smile_upscaling/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/smile_upscaling/singular_projection_merging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/smile_upscaling/smile_mistral_upscaling.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/smile_upscaling/smile_upscaling.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/sparse_we_moe/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/sparse_we_moe/sparse_clip_we_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/sparse_we_moe/sparse_we_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/sparselo/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/sparselo/sparselo.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/surgery/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/surgery/clip_layer_wise_adamerging_surgery.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/tall_mask/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/tall_mask/utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/task_arithmetic/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/task_arithmetic/task_arithmetic.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/task_singular_vector/TSVC.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/task_singular_vector/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/task_singular_vector/utils/TSVC_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/task_singular_vector/utils/TSVM_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/task_singular_vector/utils/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/ties_merging/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/ties_merging/ties_merging.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/ties_merging/ties_merging_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/trust_region/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/trust_region/clip_task_arithmetic.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/trust_region/utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/we_moe/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/we_moe/clip_we_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/we_moe/we_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/weighted_average/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/weighted_average/llama.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/weighted_average/weighted_average.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/continual_learning/backward_transfer.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/nyuv2/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/nyuv2/depth.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/nyuv2/loss.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/nyuv2/noise.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/nyuv2/normal.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/nyuv2/segmentation.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/text_to_image_generation/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/text_to_image_generation/aesthetic_scorer.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/text_to_image_generation/compressibility.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/metrics/text_to_image_generation/pickscore_scorer.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/clip_classification.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/fabric_training.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/lightning_fabric.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/optim/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/optim/adamw_with_warmup.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/rich_live.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/serialization.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/mixins/simple_profiler.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/PeftModelForSeq2SeqLM.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/base_pool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/causal_lm/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/causal_lm/causal_lm.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/clip_vision/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/clip_vision/modelpool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/huggingface_automodel.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/huggingface_gpt2_classification.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/nyuv2_modelpool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/seq2seq_lm/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/seq2seq_lm/modelpool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/seq_classification_lm/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/seq_classification_lm/reward_model.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/modelpool/seq_classification_lm/seq_classification_lm.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/chat_templates/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/chat_templates/llama_3_Instruct.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/chat_templates/load_tokenizer.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/hf_clip.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/linearized/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/linearized/linearized_model_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/linearized/vision_model.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/model_utils/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/model_utils/embedding.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/model_utils/liger_kernel.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/model_utils/misc.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/model_utils/mod.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/model_utils/visual.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/patcher.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/llama/tokenizer_loader.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/masks/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/masks/mask_model.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_losparse_llama/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_losparse_llama/configuration_losparse_llama.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_losparse_llama/losparse_linear.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_losparse_llama/modeling_losparse_llama.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_losparse_llama/register.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_losparse_llama/utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_smile_mistral/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_smile_mistral/configuration_smile_mistral.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_smile_mistral/modeling_smile_mistral.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/modeling_smile_mistral/register.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/nyuv2/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/nyuv2/aspp.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/nyuv2/lightning_module.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/nyuv2/resnet.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/nyuv2/resnet_dilated.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/parameter_dict.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/rankone_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/separate_io.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/smile_moe/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/smile_moe/linear.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/sparse_we_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/surgery/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/surgery/surgerymodelwrapper.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/we_moe.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/wrappers/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/wrappers/ensemble.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/wrappers/layer_wise_fusion.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/models/wrappers/task_wise_fusion.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/optim/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/optim/exception.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/optim/lr_scheduler/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/optim/lr_scheduler/linear_warmup.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/optim/lr_scheduler/utils/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/optim/lr_scheduler/utils/visualization.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/optim/mezo.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/programs/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/programs/base_program.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/programs/fabric_fusion_program.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/scripts/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/scripts/cli.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/scripts/clip/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/scripts/clip/convert_checkpoint.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/scripts/imgui.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/scripts/nyuv2_mtl_train.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/scripts/webui.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/base_pool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/clip_vision/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/clip_vision/clip_rankone_moe_taskpool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/clip_vision/clip_sparse_wemoe_taskpool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/clip_vision/taskpool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/dummy.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/gpt2_text_classification.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/llama/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/llama/reward_model.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/llama/test_generation.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/taskpool/nyuv2_taskpool.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/base_task.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/classification.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/cifar10.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/cifar100.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/clip_dataset.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/cub_200_2011.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/dtd.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/emnist_letters.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/emnist_mnist.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/eurosat.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/fashion_mnist.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/fer2013.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/flower102.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/food101.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/gtsrb.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/imagenet.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/kmnist.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/mnist.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/mongo_leaf_disease.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/oxford_iiit_pet.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/pcam.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/rendered_sst2.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/resisc45.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/stanford_cars.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/stl10.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/sun397.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/svhn.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/clip_classification/tiny_imagenet.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/flan_t5_text_generation/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/flan_t5_text_generation/datasets_preprocess.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/flan_t5_text_generation/glue_evaluation.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/flan_t5_text_generation/glue_load_dataset.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/flan_t5_text_generation/glue_preprocessors.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/tasks/flan_t5_text_generation/glue_prompt_templates.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/auto.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/cache_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/data.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/devices.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/dict.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/dtype.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/expr.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/fabric.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/functools.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/hydra_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/instantiate.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/json.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/lazy_imports.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/misc.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/packages.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/parameters.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/path.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/plot/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/plot/color_data.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/plot/token.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/plot/token_notebook.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/pylogger.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/rich_utils.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/set.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/state_dict_arithmetic.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/strenum/__init__.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/strenum/_name_mangler.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/strenum/_version.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/tensorboard.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/timer.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/utils/type.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench.egg-info/dependency_links.txt +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench.egg-info/entry_points.txt +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench.egg-info/requires.txt +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench.egg-info/top_level.txt +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/README.md +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/clip-vit-base-patch32_robustness_corrupted.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/README.md +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/cifar10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/cifar100.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/cub-200-2011.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/dtd.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/emnist_letters.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/emnist_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/eurosat.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/fashion_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/fer2013.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/food101.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/gtsrb.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/kmnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/mango-leaf-disease.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/oxford-iiit-pet.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/oxford_flowers102.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/pcam.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/rendered-sst2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/resisc45.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/stanford-cars.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/stl10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/sun397.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/svhn.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/the_eight_tasks.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/test/tiny-imagenet.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/cifar10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/cifar100.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/cub-200-2011.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/dtd.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/emnist_letters.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/emnist_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/eurosat.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/fashion_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/fer2013.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/food101.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/gtsrb.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/kmnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/mango-leaf-disease.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/oxford-iiit-pet.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/oxford_flowers102.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/pcam.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/rendered-sst2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/resisc45.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/stanford-cars.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/stl10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/sun397.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/svhn.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/the_eight_tasks.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/train/tiny-imagenet.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/dtd.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/eurosat.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/gtsrb.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/resisc45.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/stanford-cars.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/sun397.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/svhn.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/image_classification/val/the_eight_tasks.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/llm_sft/alpaca_cleaned.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/llm_sft/ultrachat_200k.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/question_answering/search_qa.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/question_answering/test/search_qa.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/question_answering/train/MetaMathQA.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/question_answering/train/search_qa.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/question_answering/val/search_qa.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/summarization/test/xsum.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/summarization/train/xsum.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/summarization/val/xsum.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/summarization/xsum.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/text_generation/test/gsm-hard.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/text_generation/test/gsm8k.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/text_generation/test/gsm8k_question_label.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/text_generation/train/CodeAlpaca-20k.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/text_generation/train/gsm8k.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/dataset/text_generation/train/gsm8k_question_label.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/auto.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/llama_ddp.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/llama_fsdp.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/llama_peft_fsdp.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/loggers/csv_logger.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/loggers/tensorboard_logger.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/loggers/wandb_logger.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/strategy/deepspeed.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/strategy/llama_fsdp.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric/strategy/llama_peft_fsdp.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/fabric_model_fusion.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/hydra/default.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/hydra/help/fusion_bench_help.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/hydra/job_logging/rich_logging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/llama_full_finetune.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/llama_magnitude_pruning.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/llama_model_fusion.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/ada_svd/clip_vision.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/adamerging/clip.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/adamerging/layer_wise_flan_t5.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/adamerging/layer_wise_gpt2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/adamerging/llama_sft.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/adamerging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/analysis/task_vector_cos_similarity.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/analysis/task_vector_violin_plot.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/classification/clip_continual_finetune.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/classification/clip_finetune.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/clip_finetune.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/concrete_subspace/clip_concrete_layer_wise_adamerging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/concrete_subspace/clip_concrete_task_arithmetic.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/concrete_subspace/clip_concrete_task_wise_adamerging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/dare/simple_average.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/dare/task_arithmetic.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/dare/ties_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/dawe/dawe_for_clip.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/depth_upscaling.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/dummy.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/ensemble/max_model_predictor.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/ensemble/simple_ensemble.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/ensemble/weighted_ensemble.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/fisher_merging/clip_fisher_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/fisher_merging/fisher_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/fisher_merging/gpt2_fisher_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/linear/expo.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/linear/linear_interpolation.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/linear/llama_expo.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/linear/llama_expo_with_dare.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/linear/simple_average_for_llama.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/linear/task_arithmetic_for_llama.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/linear/weighted_average.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/linear/weighted_average_for_llama.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/lm_finetune/bradley_terry_rm.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/lm_finetune/fullfinetune_sft.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/lm_finetune/peftfinetune_sft.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/mixtral_moe_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/mixtral_moe_upscaling.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/model_recombination.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/opcm/opcm.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/opcm/task_arithmetic.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/opcm/ties_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/opcm/weight_average.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/pruning/llama_magnitude_pruning.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/pruning/llama_random_pruning.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/pruning/llama_wanda_pruning.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/pruning/magnitude_diff_pruning.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/pwe_moe_ls_for_clip.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/rankone_moe/rankone_moe.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/regmean/clip_regmean.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/regmean/gpt2_regmean.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/regmean/regmean.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/simple_average.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/slerp/slerp.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/smile_upscaling/singular_projection_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/smile_upscaling/smile_mistral_upscaling.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/smile_upscaling/smile_upscaling.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/sparselo_pruning/llama_iterative_sparselo.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/sparselo_pruning/llama_pcp_sparselo.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/sparselo_pruning/llama_sparselo.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/surgery/adamerging_surgery.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/task_arithmetic.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/ties_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/trust_region/clip_task_arithmetic.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/wemoe/sparse_weight_ensembling_moe.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/method/wemoe/weight_ensembling_moe.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/README.md +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_cifar10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_cifar100.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_dtd.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_eight_tasks.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_emnist_letters.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_eurosat.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_fashion_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_fer2013.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_food101.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_gtsrb.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_kmnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_oxford-iiit-pet.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_oxford_flowers102.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_pcam.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_rendered-sst2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_resisc45.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_stanford-cars.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_stl10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_sun397.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch16_svhn.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_cifar10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_cifar100.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_dtd.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_eight_tasks.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_emnist_letters.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_eurosat.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_fashion_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_fer2013.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_food101.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_gtsrb.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_kmnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_oxford-iiit-pet.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_oxford_flowers102.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_pcam.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_rendered-sst2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_resisc45.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_stanford-cars.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_stl10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_sun397.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-base-patch32_svhn.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_cifar10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_cifar100.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_dtd.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_eight_tasks.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_emnist_letters.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_eurosat.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_fashion_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_fer2013.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_food101.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_gtsrb.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_kmnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_oxford-iiit-pet.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_oxford_flowers102.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_pcam.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_rendered-sst2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_resisc45.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_stanford-cars.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_stl10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_sun397.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/clip-vit-large-patch14_svhn.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/download_TALL20_models.sh +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/clip-vit/generate_vit_model_config.sh +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-cola.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-cola_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-mnli.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-mnli_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-mrpc.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-mrpc_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-qnli.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-qnli_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-qqp.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-qqp_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-rte.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-rte_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-sst2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-sst2_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-stsb.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-base_glue-stsb_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large_glue-cola_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large_glue-mnli_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large_glue-mrpc_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large_glue-qnli_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large_glue-qqp_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large_glue-rte_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large_glue-sst2_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/flan-t5-large_glue-stsb_lora-16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/model/flan-t5/generate_flan-t5.sh +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/_template.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_TA8.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_TA8_lora.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_TA8_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_TALL14_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_TALL20_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_individual.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch16_individual_lora.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_TA8.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_TA8_control_task.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_TA8_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_TALL14_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_TALL20_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_generalization_exp1.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_generalization_exp2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_individual.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_mtl.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_robustness_clean.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_robustness_corrupted.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_single_finetuned.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_single_task_projection.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_svhn_and_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-base-patch32_two_tasks_control_task.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-large-patch14_TA8.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-large-patch14_TA8_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-large-patch14_TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-large-patch14_TALL14_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-large-patch14_TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-large-patch14_TALL20_model_only.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CLIPVisionModelPool/clip-vit-large-patch14_individual.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CausalLMPool/llama_alpaca_cleaned.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CausalLMPool/llama_codealpaca.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CausalLMPool/llama_for_causallm.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CausalLMPool/llama_metamathqa.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CausalLMPool/llama_ultrachat.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CausalLMPool/simle_mixtral_exp_v4.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/CausalLMPool/single_llama_model.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/Seq2SeqLMPool/_template.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/Seq2SeqLMPool/flan-t5-base_glue.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/Seq2SeqLMPool/flan-t5-base_glue_lora16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/Seq2SeqLMPool/flan-t5-base_glue_lora16_tta.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/Seq2SeqLMPool/flan-t5-base_individual.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/Seq2SeqLMPool/flan-t5-large_glue_lora16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/SeqenceClassificationModelPool/llama_preference700k.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/SeqenceClassificationModelPool/single_reward_model.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/automodelpool.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/gpt-2_glue.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/mixtral_moe_merging.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/mixtral_moe_upscaling.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/nyuv2_modelpool.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/smile_mistral_exp_v1.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/smile_mistral_exp_v2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/smile_mistral_exp_v3.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/modelpool/smile_mistral_exp_v4.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/nyuv2_config.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/nyuv2_mtl_train.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/_template.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-base-patch32_robustness_corrupted.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-classification_TA8.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-classification_TA8_B16.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-classification_TA8_L14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-classification_TA8_val.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-classification_TA8_with_control_task.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-classification_TALL14.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-classification_TALL20.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_cifar10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_cifar100.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_dtd.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_emnist_letters.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_eurosat.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_fashion_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_fer2013.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_food101.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_gtsrb.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_kmnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_oxford-iiit-pet.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_oxford_flowers102.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_oxford_flowers102_val.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_pcam.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_rendered-sst2.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_resisc45.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_stanford-cars.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_stl10.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_sun397.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip-vit-single-task_svhn.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip_rankone_wemoe_clip-vit-classification_TA8.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/CLIPVisionModelTaskPool/clip_sparse_wemoe_clip-vit-classification_TA8.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/clip-vit-base-patch32_robustness_clean.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/clip-vit-base-patch32_robustness_corrupted.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/clip-vit-base-patch32_svhn_and_mnist.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/dummy.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/flan-t5_glue_text_generation.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/gpt-2_glue.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/nyuv2_taskpool.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench_config/taskpool/reward_model_evaluation.yaml +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/setup.cfg +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/tests/test_depth_upscaling.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/tests/test_simple_average.py +0 -0
- {fusion_bench-0.2.9 → fusion_bench-0.2.10}/tests/test_weighed_ensemble.py +0 -0
|
@@ -54,6 +54,12 @@ _import_structure = {
|
|
|
54
54
|
],
|
|
55
55
|
"ada_svd": ["AdaSVDMergingForCLIPVisionModel"],
|
|
56
56
|
"task_singular_vector": ["TaskSingularVectorMerging"],
|
|
57
|
+
"isotropic_merging": [
|
|
58
|
+
"ISO_C_Merge", # alias
|
|
59
|
+
"ISO_CTS_Merge", # alias
|
|
60
|
+
"IsotropicMergingInCommonAndTaskSubspace",
|
|
61
|
+
"IsotropicMergingInCommonSubspace",
|
|
62
|
+
],
|
|
57
63
|
"opcm": ["OPCMForCLIP"],
|
|
58
64
|
# plug-and-play model merging methods
|
|
59
65
|
"concrete_subspace": [
|
|
@@ -120,6 +126,12 @@ if TYPE_CHECKING:
|
|
|
120
126
|
WeightedEnsembleAlgorithm,
|
|
121
127
|
)
|
|
122
128
|
from .fisher_merging import FisherMergingForCLIPVisionModel
|
|
129
|
+
from .isotropic_merging import (
|
|
130
|
+
ISO_C_Merge,
|
|
131
|
+
ISO_CTS_Merge,
|
|
132
|
+
IsotropicMergingInCommonAndTaskSubspace,
|
|
133
|
+
IsotropicMergingInCommonSubspace,
|
|
134
|
+
)
|
|
123
135
|
from .linear import (
|
|
124
136
|
ExPOAlgorithm,
|
|
125
137
|
ExPOAlgorithmForLlama,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""
|
|
2
|
+
This module contains the implementation of the Isotropic Merging in Common Subspace (ISO-C) algorithm and Isotropic Merging in Common and Task-Specific Subspaces (Iso-CTS) algorithm.
|
|
3
|
+
Modified from the original implementation: https://github.com/danielm1405/iso-merging
|
|
4
|
+
|
|
5
|
+
Reference:
|
|
6
|
+
- Daniel Marczak, et al. No Task Left Behind: Isotropic Model Merging with Common and Task-Specific Subspaces. 2025.
|
|
7
|
+
https://arxiv.org/abs/2502.04959
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from .iso import (
|
|
11
|
+
ISO_C_Merge,
|
|
12
|
+
ISO_CTS_Merge,
|
|
13
|
+
IsotropicMergingInCommonSubspace,
|
|
14
|
+
IsotropicMergingInCommonAndTaskSubspace,
|
|
15
|
+
)
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
import torch
|
|
4
|
+
|
|
5
|
+
from fusion_bench import BaseAlgorithm, BaseModelPool
|
|
6
|
+
from fusion_bench.mixins import LightningFabricMixin
|
|
7
|
+
from fusion_bench.utils.state_dict_arithmetic import (
|
|
8
|
+
state_dict_add,
|
|
9
|
+
state_dict_sub,
|
|
10
|
+
state_dict_mul,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
from .iso_utils import iso_c, iso_cts, check_parameterNamesMatch
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class IsotropicMergingInCommonSubspace(BaseAlgorithm, LightningFabricMixin):
|
|
17
|
+
"""
|
|
18
|
+
Isotropic Merging in Common Subspace (Iso-C)
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
def __init__(
|
|
22
|
+
self,
|
|
23
|
+
scaling_factor: float,
|
|
24
|
+
exclude_keys: List[str] = None,
|
|
25
|
+
):
|
|
26
|
+
self.scaling_factor = scaling_factor
|
|
27
|
+
self.exclude_keys = exclude_keys
|
|
28
|
+
super().__init__()
|
|
29
|
+
|
|
30
|
+
def run(self, modelpool: BaseModelPool):
|
|
31
|
+
# load the pretrained model and the task vectors of all the finetuned models
|
|
32
|
+
with torch.no_grad():
|
|
33
|
+
pretrained_model = modelpool.load_pretrained_model()
|
|
34
|
+
task_vectors = []
|
|
35
|
+
for model_name in modelpool.model_names:
|
|
36
|
+
finetuned_model = modelpool.load_model(model_name)
|
|
37
|
+
task_vectors.append(
|
|
38
|
+
state_dict_sub(
|
|
39
|
+
finetuned_model.state_dict(), pretrained_model.state_dict()
|
|
40
|
+
)
|
|
41
|
+
)
|
|
42
|
+
del finetuned_model # free memory
|
|
43
|
+
check_parameterNamesMatch(task_vectors)
|
|
44
|
+
|
|
45
|
+
# compute the merged task vector
|
|
46
|
+
merged_tv = iso_c(
|
|
47
|
+
task_vectors,
|
|
48
|
+
accelerator=self.fabric.device,
|
|
49
|
+
exclude_keys=self.exclude_keys,
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
# merged_parameters = pretrained_parameters + scaling_factor * merged_task_vector
|
|
53
|
+
pretrained_model.load_state_dict(
|
|
54
|
+
state_dict_add(
|
|
55
|
+
pretrained_model.state_dict(),
|
|
56
|
+
state_dict_mul(merged_tv, self.scaling_factor),
|
|
57
|
+
)
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
return pretrained_model
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class IsotropicMergingInCommonAndTaskSubspace(BaseAlgorithm, LightningFabricMixin):
|
|
64
|
+
"""
|
|
65
|
+
Isotropic Merging in Common and Task-Specific Subspaces (Iso-CTS)
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
def __init__(
|
|
69
|
+
self,
|
|
70
|
+
scaling_factor: float,
|
|
71
|
+
common_space_fraction: float,
|
|
72
|
+
exclude_keys: List[str] = None,
|
|
73
|
+
):
|
|
74
|
+
self.common_space_fraction = common_space_fraction
|
|
75
|
+
self.scaling_factor = scaling_factor
|
|
76
|
+
self.exclude_keys = exclude_keys
|
|
77
|
+
super().__init__()
|
|
78
|
+
|
|
79
|
+
def run(self, modelpool: BaseModelPool):
|
|
80
|
+
# load the pretrained model and the task vectors of all the finetuned models
|
|
81
|
+
with torch.no_grad():
|
|
82
|
+
pretrained_model = modelpool.load_pretrained_model()
|
|
83
|
+
task_vectors = []
|
|
84
|
+
for model_name in modelpool.model_names:
|
|
85
|
+
finetuned_model = modelpool.load_model(model_name)
|
|
86
|
+
task_vectors.append(
|
|
87
|
+
state_dict_sub(
|
|
88
|
+
finetuned_model.state_dict(), pretrained_model.state_dict()
|
|
89
|
+
)
|
|
90
|
+
)
|
|
91
|
+
del finetuned_model # free memory
|
|
92
|
+
check_parameterNamesMatch(task_vectors)
|
|
93
|
+
|
|
94
|
+
# compute the merged task vector
|
|
95
|
+
merged_tv = iso_cts(
|
|
96
|
+
task_vectors,
|
|
97
|
+
common_space_fraction=self.common_space_fraction,
|
|
98
|
+
accelerator=self.fabric.device,
|
|
99
|
+
exclude_keys=self.exclude_keys,
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
# merged_parameters = pretrained_parameters + scaling_factor * merged_task_vector
|
|
103
|
+
pretrained_model.load_state_dict(
|
|
104
|
+
state_dict_add(
|
|
105
|
+
pretrained_model.state_dict(),
|
|
106
|
+
state_dict_mul(merged_tv, self.scaling_factor),
|
|
107
|
+
)
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
return pretrained_model
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
ISO_C_Merge = IsotropicMergingInCommonSubspace # alias
|
|
114
|
+
ISO_CTS_Merge = IsotropicMergingInCommonAndTaskSubspace # alias
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import math
|
|
2
|
+
from typing import List
|
|
3
|
+
|
|
4
|
+
import torch
|
|
5
|
+
|
|
6
|
+
from fusion_bench.utils import timeit_context
|
|
7
|
+
from fusion_bench.utils.type import StateDictType
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def iso_c(
|
|
11
|
+
task_vectors: List[StateDictType],
|
|
12
|
+
accelerator="cuda",
|
|
13
|
+
exclude_keys: List[str] = None,
|
|
14
|
+
) -> StateDictType:
|
|
15
|
+
exclude_keys = [] if exclude_keys is None else exclude_keys
|
|
16
|
+
|
|
17
|
+
with torch.no_grad(), timeit_context("ISO-C Merging"):
|
|
18
|
+
new_vector = {}
|
|
19
|
+
for key in task_vectors[0]:
|
|
20
|
+
print(f"Merging {key}...")
|
|
21
|
+
original_device = task_vectors[0][key].device
|
|
22
|
+
tvs = [
|
|
23
|
+
task_vector[key].to(device=accelerator, non_blocking=True)
|
|
24
|
+
for task_vector in task_vectors
|
|
25
|
+
]
|
|
26
|
+
num_tvs = len(tvs)
|
|
27
|
+
new_vector[key] = sum(tvs) / num_tvs
|
|
28
|
+
del tvs # free memory
|
|
29
|
+
|
|
30
|
+
if len(task_vectors[0][key].shape) == 2 and key not in exclude_keys:
|
|
31
|
+
# if the key is a 2D matrix, we need to merge the task vectors in the common space
|
|
32
|
+
new_vector[key] *= num_tvs
|
|
33
|
+
U, S, V = torch.linalg.svd(new_vector[key], full_matrices=False)
|
|
34
|
+
S_mean = torch.ones_like(S) * S.mean()
|
|
35
|
+
|
|
36
|
+
new_vector[key] = torch.linalg.multi_dot(
|
|
37
|
+
(
|
|
38
|
+
U,
|
|
39
|
+
torch.diag(S_mean),
|
|
40
|
+
V,
|
|
41
|
+
)
|
|
42
|
+
)
|
|
43
|
+
new_vector[key] = new_vector[key].to(
|
|
44
|
+
device=original_device, non_blocking=True
|
|
45
|
+
)
|
|
46
|
+
return new_vector
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@torch.no_grad()
|
|
50
|
+
def iso_cts(
|
|
51
|
+
task_vectors: List[StateDictType],
|
|
52
|
+
common_space_fraction: float,
|
|
53
|
+
accelerator: str = "cuda",
|
|
54
|
+
exclude_keys: List[str] = None,
|
|
55
|
+
):
|
|
56
|
+
exclude_keys = [] if exclude_keys is None else exclude_keys
|
|
57
|
+
new_vector = {}
|
|
58
|
+
|
|
59
|
+
print("ISO-CTS Merging")
|
|
60
|
+
for key in task_vectors[0]:
|
|
61
|
+
shape_ = task_vectors[0][key].shape
|
|
62
|
+
original_device = task_vectors[0][key].device
|
|
63
|
+
is_2d_matrix = (len(shape_) == 2) and (key not in exclude_keys)
|
|
64
|
+
if not is_2d_matrix:
|
|
65
|
+
print(f"Combining by avg {key}...")
|
|
66
|
+
for i, task_vector in enumerate(task_vectors):
|
|
67
|
+
vec = task_vector[key].to(device=accelerator, non_blocking=True)
|
|
68
|
+
if i == 0:
|
|
69
|
+
new_vector[key] = vec.clone()
|
|
70
|
+
else:
|
|
71
|
+
new_vector[key] += (vec - new_vector[key]) / (i + 1)
|
|
72
|
+
|
|
73
|
+
# move the new vector to the original device
|
|
74
|
+
new_vector[key] = new_vector[key].to(
|
|
75
|
+
device=original_device, non_blocking=True
|
|
76
|
+
)
|
|
77
|
+
continue
|
|
78
|
+
|
|
79
|
+
print(f"Computing common space using sum for {key}...")
|
|
80
|
+
combined_w = sum(
|
|
81
|
+
[
|
|
82
|
+
task_vector[key].to(device=accelerator, non_blocking=True)
|
|
83
|
+
for task_vector in task_vectors
|
|
84
|
+
]
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
### Calculate the common space size (making sure that task specific space is equally divisible) ###
|
|
88
|
+
common_space_index_s = int(min(shape_) * common_space_fraction)
|
|
89
|
+
_task_specific_total_space_index_s = round(
|
|
90
|
+
(min(shape_) - common_space_index_s) / len(task_vectors)
|
|
91
|
+
) * len(task_vectors)
|
|
92
|
+
common_space_index_s = min(shape_) - _task_specific_total_space_index_s
|
|
93
|
+
|
|
94
|
+
u, s, v = torch.linalg.svd(combined_w, full_matrices=False)
|
|
95
|
+
common_space_u = u[:, :common_space_index_s]
|
|
96
|
+
common_space_s = s[:common_space_index_s]
|
|
97
|
+
common_space_v = v[:common_space_index_s, :]
|
|
98
|
+
###################################################################
|
|
99
|
+
|
|
100
|
+
### Calculate task specific space ###
|
|
101
|
+
n_dims_per_task = int((min(shape_) - common_space_index_s) / len(task_vectors))
|
|
102
|
+
for i, task_vector in enumerate(task_vectors):
|
|
103
|
+
w = task_vector[key].to(device=accelerator)
|
|
104
|
+
|
|
105
|
+
# calculate the projection onto task specific space to remove the common space
|
|
106
|
+
w_ts = w - common_space_u @ common_space_u.T @ w
|
|
107
|
+
u_ts, s_ts, v_ts = torch.linalg.svd(w_ts, full_matrices=False)
|
|
108
|
+
|
|
109
|
+
if i == 0:
|
|
110
|
+
combined_space_u = torch.zeros_like(u_ts, device=accelerator)
|
|
111
|
+
combined_space_s = torch.zeros_like(s_ts, device=accelerator)
|
|
112
|
+
combined_space_v = torch.zeros_like(v_ts, device=accelerator)
|
|
113
|
+
|
|
114
|
+
combined_space_u[:, i * n_dims_per_task : (i + 1) * n_dims_per_task] = u_ts[
|
|
115
|
+
:, :n_dims_per_task
|
|
116
|
+
]
|
|
117
|
+
combined_space_s[i * n_dims_per_task : (i + 1) * n_dims_per_task] = s_ts[
|
|
118
|
+
:n_dims_per_task
|
|
119
|
+
]
|
|
120
|
+
combined_space_v[i * n_dims_per_task : (i + 1) * n_dims_per_task, :] = v_ts[
|
|
121
|
+
:n_dims_per_task, :
|
|
122
|
+
]
|
|
123
|
+
###################################################################
|
|
124
|
+
|
|
125
|
+
combined_space_u[
|
|
126
|
+
:,
|
|
127
|
+
len(task_vectors) * n_dims_per_task : len(task_vectors) * n_dims_per_task
|
|
128
|
+
+ common_space_index_s,
|
|
129
|
+
] = common_space_u
|
|
130
|
+
combined_space_s[
|
|
131
|
+
len(task_vectors) * n_dims_per_task : len(task_vectors) * n_dims_per_task
|
|
132
|
+
+ common_space_index_s
|
|
133
|
+
] = common_space_s
|
|
134
|
+
combined_space_v[
|
|
135
|
+
len(task_vectors) * n_dims_per_task : len(task_vectors) * n_dims_per_task
|
|
136
|
+
+ common_space_index_s,
|
|
137
|
+
:,
|
|
138
|
+
] = common_space_v
|
|
139
|
+
|
|
140
|
+
### Orthogonalize combined_space_u and combined_space_v ###
|
|
141
|
+
u_combined_space_u, s_combined_space_u, v_combined_space_u = torch.linalg.svd(
|
|
142
|
+
combined_space_u, full_matrices=False
|
|
143
|
+
)
|
|
144
|
+
u_combined_space_v, s_combined_space_v, v_combined_space_v = torch.linalg.svd(
|
|
145
|
+
combined_space_v, full_matrices=False
|
|
146
|
+
)
|
|
147
|
+
combined_space_u = u_combined_space_u @ v_combined_space_u
|
|
148
|
+
combined_space_v = u_combined_space_v @ v_combined_space_v
|
|
149
|
+
###################################################################
|
|
150
|
+
|
|
151
|
+
combined_space_s = torch.ones_like(combined_space_s) * combined_space_s.mean()
|
|
152
|
+
|
|
153
|
+
new_vector[key] = torch.linalg.multi_dot(
|
|
154
|
+
(
|
|
155
|
+
combined_space_u,
|
|
156
|
+
torch.diag(combined_space_s),
|
|
157
|
+
combined_space_v,
|
|
158
|
+
)
|
|
159
|
+
)
|
|
160
|
+
new_vector[key] = new_vector[key].to(device=original_device, non_blocking=True)
|
|
161
|
+
|
|
162
|
+
return new_vector
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
def check_parameterNamesMatch(checkpoints):
|
|
166
|
+
parameter_names = set(checkpoints[0].keys())
|
|
167
|
+
|
|
168
|
+
if len(checkpoints) >= 2:
|
|
169
|
+
# raise ValueError("Number of models is less than 2.")
|
|
170
|
+
for checkpoint in checkpoints[1:]:
|
|
171
|
+
current_parameterNames = set(checkpoint.keys())
|
|
172
|
+
if current_parameterNames != parameter_names:
|
|
173
|
+
raise ValueError(
|
|
174
|
+
"Differing parameter names in models. "
|
|
175
|
+
f"The different parameters are {parameter_names.symmetric_difference(current_parameterNames)}"
|
|
176
|
+
)
|
|
@@ -9,15 +9,20 @@ fusion_bench \
|
|
|
9
9
|
```
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
|
-
from typing import List, Optional
|
|
12
|
+
from typing import List, Optional, Union, Iterable
|
|
13
13
|
|
|
14
14
|
import torch
|
|
15
15
|
from torch import Tensor, nn
|
|
16
|
+
from omegaconf import ListConfig
|
|
16
17
|
|
|
17
18
|
from fusion_bench import BaseAlgorithm
|
|
18
19
|
from fusion_bench.mixins import LightningFabricMixin
|
|
19
20
|
from fusion_bench.utils import timeit_context
|
|
20
|
-
from fusion_bench.utils.state_dict_arithmetic import
|
|
21
|
+
from fusion_bench.utils.state_dict_arithmetic import (
|
|
22
|
+
state_dict_add,
|
|
23
|
+
state_dict_sub,
|
|
24
|
+
state_dict_mul,
|
|
25
|
+
)
|
|
21
26
|
from fusion_bench.utils.type import StateDictType
|
|
22
27
|
|
|
23
28
|
from .utils import (
|
|
@@ -33,9 +38,11 @@ class TaskSingularVectorMerging(BaseAlgorithm, LightningFabricMixin):
|
|
|
33
38
|
|
|
34
39
|
def __init__(
|
|
35
40
|
self,
|
|
41
|
+
alpha: Union[float, Iterable[float]] = None,
|
|
36
42
|
remove_keys: Optional[List[str]] = None,
|
|
37
43
|
**kwargs,
|
|
38
44
|
):
|
|
45
|
+
self.alpha = alpha
|
|
39
46
|
self.remove_keys = remove_keys if remove_keys is not None else []
|
|
40
47
|
super().__init__(**kwargs)
|
|
41
48
|
|
|
@@ -50,6 +57,14 @@ class TaskSingularVectorMerging(BaseAlgorithm, LightningFabricMixin):
|
|
|
50
57
|
|
|
51
58
|
with timeit_context("Flattening out Checkpoints"):
|
|
52
59
|
task_vectors = [state_dict_sub(check, ptm_check) for check in ft_checks]
|
|
60
|
+
if isinstance(self.alpha, Iterable):
|
|
61
|
+
assert len(self.alpha) == len(
|
|
62
|
+
task_vectors
|
|
63
|
+
), "Alpha and task vectors must have the same length"
|
|
64
|
+
task_vectors = [
|
|
65
|
+
state_dict_mul(state_dict=tv, scalar=alpha)
|
|
66
|
+
for alpha, tv in zip(self.alpha, task_vectors)
|
|
67
|
+
]
|
|
53
68
|
|
|
54
69
|
new_merged_tv = TSVM_utils.compute_and_sum_svd_mem_reduction(
|
|
55
70
|
task_vectors,
|
|
@@ -57,6 +72,11 @@ class TaskSingularVectorMerging(BaseAlgorithm, LightningFabricMixin):
|
|
|
57
72
|
accelerator=self.fabric.device,
|
|
58
73
|
)
|
|
59
74
|
|
|
75
|
+
# If alpha is a float, we need to scale the new merged task vector by alpha
|
|
76
|
+
if self.alpha is not None and isinstance(self.alpha, float):
|
|
77
|
+
print(f"Scaling new merged task vector by alpha: {self.alpha}")
|
|
78
|
+
new_merged_tv = state_dict_mul(state_dict=new_merged_tv, scalar=self.alpha)
|
|
79
|
+
|
|
60
80
|
pretrained_model.load_state_dict(
|
|
61
81
|
state_dict_add(new_merged_tv, pretrained_model.state_dict())
|
|
62
82
|
)
|
|
@@ -144,6 +144,8 @@ fusion_bench/../fusion_bench_config/method/ensemble/weighted_ensemble.yaml
|
|
|
144
144
|
fusion_bench/../fusion_bench_config/method/fisher_merging/clip_fisher_merging.yaml
|
|
145
145
|
fusion_bench/../fusion_bench_config/method/fisher_merging/fisher_merging.yaml
|
|
146
146
|
fusion_bench/../fusion_bench_config/method/fisher_merging/gpt2_fisher_merging.yaml
|
|
147
|
+
fusion_bench/../fusion_bench_config/method/isotropic_merging/iso_c.yaml
|
|
148
|
+
fusion_bench/../fusion_bench_config/method/isotropic_merging/iso_cts.yaml
|
|
147
149
|
fusion_bench/../fusion_bench_config/method/linear/expo.yaml
|
|
148
150
|
fusion_bench/../fusion_bench_config/method/linear/linear_interpolation.yaml
|
|
149
151
|
fusion_bench/../fusion_bench_config/method/linear/llama_expo.yaml
|
|
@@ -464,6 +466,9 @@ fusion_bench/method/fisher_merging/__init__.py
|
|
|
464
466
|
fusion_bench/method/fisher_merging/clip_fisher_merging.py
|
|
465
467
|
fusion_bench/method/fisher_merging/fisher_merging.py
|
|
466
468
|
fusion_bench/method/fisher_merging/gpt2_fisher_merging.py
|
|
469
|
+
fusion_bench/method/isotropic_merging/__init__.py
|
|
470
|
+
fusion_bench/method/isotropic_merging/iso.py
|
|
471
|
+
fusion_bench/method/isotropic_merging/iso_utils.py
|
|
467
472
|
fusion_bench/method/linear/__init__.py
|
|
468
473
|
fusion_bench/method/linear/expo.py
|
|
469
474
|
fusion_bench/method/linear/linear_interpolation.py
|
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
name = "fusion_bench"
|
|
7
7
|
description = "A Comprehensive Benchmark of Deep Model Fusion"
|
|
8
8
|
readme = "README.md"
|
|
9
|
-
version = "0.2.
|
|
9
|
+
version = "0.2.10"
|
|
10
10
|
authors = [{ name = "Anke Tang", email = "tang.anke@foxmail.com" }]
|
|
11
11
|
license = { file = 'LICENSE' }
|
|
12
12
|
requires-python = ">= 3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/modelpool/AutoModelForSeq2SeqLM.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/modelpool/huggingface_clip_vision.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/compat/taskpool/clip_image_classification.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/layer_wise_adamerging.py
RENAMED
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/llama_adamerging.py
RENAMED
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/min_norm_solvers.py
RENAMED
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/adamerging/task_wise_adamerging.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/analysis/task_vector_violin_plot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fusion_bench-0.2.9 → fusion_bench-0.2.10}/fusion_bench/method/classification/clip_finetune.py
RENAMED
|
File without changes
|