runtime error
Exit code: 1. Reason: :00<00:00, 2210.17it/s, Materializing param=linear.weight][A Loading weights: 100%|ββββββββββ| 245/245 [00:00<00:00, 2216.43it/s, Materializing param=pooling.p] [A Loading weights: 100%|ββββββββββ| 245/245 [00:00<00:00, 2214.61it/s, Materializing param=pooling.p][A Loading weights: 100%|ββββββββββ| 245/245 [00:00<00:00, 2211.15it/s, Materializing param=pooling.p] Traceback (most recent call last): File "/app/app.py", line 157, in <module> crop_model = AutoModel.from_pretrained( "ianpan/bone-age-crop", trust_remote_code=True ) File "/usr/local/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 367, in from_pretrained return model_class.from_pretrained( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ pretrained_model_name_or_path, *model_args, config=config, **hub_kwargs, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4073, in from_pretrained loading_info = cls._finalize_model_loading(model, load_config, loading_info) File "/usr/local/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4214, in _finalize_model_loading model._adjust_tied_keys_with_tied_pointers(loading_info.missing_and_mismatched()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4458, in _adjust_tied_keys_with_tied_pointers self.all_tied_weights_keys.update(tied_weights_keys_by_pointers) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1965, in __getattr__ raise AttributeError( f"'{type(self).__name__}' object has no attribute '{name}'" ) AttributeError: 'BoneAgeCropModel' object has no attribute 'all_tied_weights_keys'. Did you mean: '_tied_weights_keys'?
Container logs:
Fetching error logs...