Defuser 0.0.24__tar.gz → 0.0.25__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.
- {defuser-0.0.24 → defuser-0.0.25}/Defuser.egg-info/PKG-INFO +1 -1
- {defuser-0.0.24 → defuser-0.0.25}/PKG-INFO +1 -1
- {defuser-0.0.24 → defuser-0.0.25}/defuser/model_registry.py +3 -0
- {defuser-0.0.24 → defuser-0.0.25}/pyproject.toml +2 -2
- {defuser-0.0.24 → defuser-0.0.25}/tests/test_meta_model_defusion.py +11 -0
- {defuser-0.0.24 → defuser-0.0.25}/Defuser.egg-info/SOURCES.txt +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/Defuser.egg-info/dependency_links.txt +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/Defuser.egg-info/requires.txt +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/Defuser.egg-info/top_level.txt +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/LICENSE +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/README.md +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/__init__.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/checkpoint_ops.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/defuser.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/__init__.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/glm4v.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/model_patches.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/moe_experts_interface.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/replace_modules.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/runtime_defusion.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/__init__.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/common.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/glm4_moe.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/glm4_moe_lite.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/mixtral.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/qwen2_moe.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/qwen3_moe.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/qwen3_next.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/unfused_moe/qwen3_omni_moe.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/modeling/update_module.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/utils/__init__.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/utils/common.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/utils/device.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/utils/hf.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/defuser/utils/model.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/setup.cfg +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/setup.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/tests/test_candidate_coverage.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/tests/test_convert_model.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/tests/test_device_utils.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/tests/test_filter_rules.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/tests/test_moe_experts_interface.py +0 -0
- {defuser-0.0.24 → defuser-0.0.25}/tests/test_replace_modules_tracker.py +0 -0
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
# Contact: qubitium@modelcloud.ai, x.com/qubitium
|
|
5
5
|
|
|
6
6
|
[build-system]
|
|
7
|
-
requires = ["setuptools>=77.0.1,<
|
|
7
|
+
requires = ["setuptools>=77.0.1,<84"]
|
|
8
8
|
build-backend = "setuptools.build_meta"
|
|
9
9
|
|
|
10
10
|
[project]
|
|
11
11
|
name = "Defuser"
|
|
12
|
-
version = "0.0.
|
|
12
|
+
version = "0.0.25"
|
|
13
13
|
description = "Model defuser helper for HF Transformers."
|
|
14
14
|
readme = "README.md"
|
|
15
15
|
requires-python = ">=3.9"
|
|
@@ -300,6 +300,17 @@ def _validate_defused_module(case: dict, module) -> None:
|
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
META_MODEL_CASES = [
|
|
303
|
+
{
|
|
304
|
+
"model_type": "axk2",
|
|
305
|
+
"mode": "convert",
|
|
306
|
+
"model_module": "transformers.models.axk2.modeling_axk2",
|
|
307
|
+
"model_class": "AXK2ForCausalLM",
|
|
308
|
+
"config_module": "transformers.models.axk2.configuration_axk2",
|
|
309
|
+
"config_class": "AXK2Config",
|
|
310
|
+
"target_class_paths": ("transformers.models.axk2.modeling_axk2.AXK2Experts",),
|
|
311
|
+
"validator": "experts",
|
|
312
|
+
"min_targets": 1,
|
|
313
|
+
},
|
|
303
314
|
{
|
|
304
315
|
"model_type": "dbrx",
|
|
305
316
|
"mode": "convert",
|
|
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
|