[MuseCoCo] models.ARCH_MODEL_REGISTRY[state["args"].arch]
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start with interactive_dict_v5_1billion.py at cli_main, attributes, and the checkpoint-loading call, then trace fairseq/checkpoint_utils.py through load_checkpoint_to_cpu and _upgrade_state_dict. Reproduce the failure with the MuseCoCo checkpoint and determine why linear_transformer_lm_1billion is absent from the registry. Done means the checkpoint loads without this KeyError; the issue names no test or proposed fix.
Written by the indexing model from the issue text.
Description
i get a error like this
Traceback (most recent call last):
File "interactive_dict_v5_1billion.py", line 430, in <module>
cli_main()
File "interactive_dict_v5_1billion.py", line 420, in cli_main
attributes(args)
File "interactive_dict_v5_1billion.py", line 199, in attributes
models, _model_args = checkpoint_utils.load_model_ensemble(
File "/home/disk2/wangjunhao01/anaconda3/envs/MuseCoco/lib/python3.8/site-packages/fairseq/checkpoint_utils.py", line 253, in load_model_ensemble
ensemble, args, _task = load_model_ensemble_and_task(
File "/home/disk2/wangjunhao01/anaconda3/envs/MuseCoco/lib/python3.8/site-packages/fairseq/checkpoint_utils.py", line 282, in load_model_ensemble_and_task
state = load_checkpoint_to_cpu(filename, arg_overrides)
File "/home/disk2/wangjunhao01/anaconda3/envs/MuseCoco/lib/python3.8/site-packages/fairseq/checkpoint_utils.py", line 235, in load_checkpoint_to_cpu
state = _upgrade_state_dict(state)
File "/home/disk2/wangjunhao01/anaconda3/envs/MuseCoco/lib/python3.8/site-packages/fairseq/checkpoint_utils.py", line 439, in _upgrade_state_dict
registry.set_defaults(state["args"], models.ARCH_MODEL_REGISTRY[state["args"].arch])
KeyError: 'linear_transformer_lm_1billion'
### Tasks
- Dominant language
- Python
- Stars
- 5k
- Forks
- 499
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/muzic
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100