|
03/06 15:54:47 - OpenCompass - INFO - Task [my_api/siqa] |
|
/export/home/tanwentao1/anaconda3/envs/opencompass/lib/python3.10/site-packages/transformers/utils/generic.py:311: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. |
|
torch.utils._pytree._register_pytree_node( |
|
/export/home/tanwentao1/anaconda3/envs/opencompass/lib/python3.10/site-packages/transformers/utils/generic.py:311: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. |
|
torch.utils._pytree._register_pytree_node( |
|
Traceback (most recent call last): |
|
File "/export/home/tanwentao1/project2/opencompass/opencompass/tasks/openicl_infer.py", line 153, in <module> |
|
inferencer.run() |
|
File "/export/home/tanwentao1/project2/opencompass/opencompass/tasks/openicl_infer.py", line 65, in run |
|
self.model = build_model_from_cfg(model_cfg) |
|
File "/export/home/tanwentao1/project2/opencompass/opencompass/utils/build.py", line 25, in build_model_from_cfg |
|
return MODELS.build(model_cfg) |
|
File "/export/home/tanwentao1/anaconda3/envs/opencompass/lib/python3.10/site-packages/mmengine/registry/registry.py", line 570, in build |
|
return self.build_func(cfg, *args, **kwargs, registry=self) |
|
File "/export/home/tanwentao1/anaconda3/envs/opencompass/lib/python3.10/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg |
|
obj = obj_cls(**args) # type: ignore |
|
TypeError: 'module' object is not callable |
|
|