Added Mergekit tasks#26
Open
ParamThakkar123 wants to merge 3 commits into
Open
Conversation
Set output_dir to a fixed value instead of config.
deep1401
requested changes
Apr 17, 2026
Member
deep1401
left a comment
There was a problem hiding this comment.
This fails for me with this error:
(task, pid=1479) {'status': 'error', 'error': 'Merge failed: `torch_dtype` is deprecated! Use `dtype` instead!\n\nWarmup loader cache: 0%| | 0/2 [00:00<?, ?it/s]\n\nFetching 8 files: 0%| | 0/8 [00:00<?, ?it/s]\x1b[A\n\nFetching 8 files: 25%|██▌ | 2/8 [00:00<00:00, 11.90it/s]\x1b[A\n\nFetching 8 files: 62%|██████▎ | 5/8 [00:03<00:02, 1.27it/s]\x1b[A\nFetching 8 files: 100%|██████████| 8/8 [00:03<00:00, 2.28it/s]\n\nWarmup loader cache: 50%|█████ | 1/2 [00:03<00:03, 3.69s/it]\n\nFetching 12 files: 0%| | 0/12 [00:00<?, ?it/s]\x1b[A\n\nFetching 12 files: 25%|██▌ | 3/12 [00:04<00:14, 1.57s/it]\x1b[A\nFetching 12 files: 100%|██████████| 12/12 [00:04<00:00, 2.55it/s]\n\nWarmup loader cache: 100%|██████████| 2/2 [00:08<00:00, 4.38s/it]\nWarmup loader cache: 100%|██████████| 2/2 [00:08<00:00, 4.28s/it]\nTraceback (most recent call last):\n File "/opt/conda/bin/mergekit-yaml", line 10, in <module>\n sys.exit(main())\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1442, in __call__\n return self.main(*args, **kwargs)\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1363, in main\n rv = self.invoke(ctx)\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1226, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 794, in invoke\n return callback(*args, **kwargs)\n File "/home/sky/mergekit/mergekit/options.py", line 166, in wrapper\n return f(*args, **kwargs)\n File "/home/sky/mergekit/mergekit/scripts/run_yaml.py", line 30, in main\n run_merge(\n File "/home/sky/mergekit/mergekit/merge.py", line 64, in run_merge\n targets = MergePlanner(\n File "/home/sky/mergekit/mergekit/plan.py", line 335, in plan_to_disk\n self._plan()\n File "/home/sky/mergekit/mergekit/plan.py", line 382, in _plan\n self.plan_module(module_name, self.config.modules[module_name])\n File "/home/sky/mergekit/mergekit/plan.py", line 303, in plan_module\n module_arch = self._out_module_arch(module_name)\n File "/home/sky/mergekit/mergekit/plan.py", line 77, in _out_module_arch\n return ConfiguredModuleArchitecture(\n File "/opt/conda/lib/python3.10/site-packages/pydantic/main.py", line 214, in __init__\n validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)\n File "/opt/conda/lib/python3.10/site-packages/pydantic/_internal/_mock_val_ser.py", line 100, in __getattr__\n raise PydanticUserError(self._error_message, code=self._code)\npydantic.errors.PydanticUserError: `ConfiguredModuleArchitecture` is not fully defined; you should define `torch`, then call `ConfiguredModuleArchitecture.model_rebuild()`.\n\nFor further information visit https://errors.pydantic.dev/2.10/u/class-not-fully-defined\n'}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Testing
Locally
In App