runtime error
Exit code: 1. Reason: .1M/89.1M [00:02<00:00, 35.1MB/s] Loading weights: 0%| | 0/838 [00:00<?, ?it/s][A Loading weights: 100%|██████████| 838/838 [00:00<00:00, 6060.76it/s] Traceback (most recent call last): File "/app/app.py", line 163, in <module> cxr_info_model = AutoModel.from_pretrained("ianpan/chest-x-ray-basic", trust_remote_code=True).eval().to(device) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 380, 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 4136, 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 4282, in _finalize_model_loading model._move_missing_keys_from_meta_to_device( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ loading_info.missing_and_mismatched(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... load_config.hf_quantizer, ^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4529, in _move_missing_keys_from_meta_to_device for key in missing_keys - self.all_tied_weights_keys.keys(): ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1968, in __getattr__ raise AttributeError( f"'{type(self).__name__}' object has no attribute '{name}'" ) AttributeError: 'CXRModel' object has no attribute 'all_tied_weights_keys'. Did you mean: '_tied_weights_keys'?
Container logs:
Fetching error logs...