runtime error
Exit code: 1. Reason: sformers/models/auto/configuration_auto.py", line 958, in from_pretrained return config_class.from_dict(config_dict, **unused_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 768, in from_dict config = cls(**config_dict) File "/usr/local/lib/python3.10/site-packages/transformers/models/phi3/configuration_phi3.py", line 159, in __init__ self._rope_scaling_validation() File "/usr/local/lib/python3.10/site-packages/transformers/models/phi3/configuration_phi3.py", line 186, in _rope_scaling_validation raise ValueError(f"`rope_scaling`'s type field must be one of ['su', 'yarn'], got {rope_scaling_type}") ValueError: `rope_scaling`'s type field must be one of ['su', 'yarn'], got longrope During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 39, in <module> tokenizer, llm = load_llm(); llm.eval() File "/home/user/app/app.py", line 25, in load_llm model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 523, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 958, in from_pretrained return config_class.from_dict(config_dict, **unused_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 768, in from_dict config = cls(**config_dict) File "/usr/local/lib/python3.10/site-packages/transformers/models/phi3/configuration_phi3.py", line 159, in __init__ self._rope_scaling_validation() File "/usr/local/lib/python3.10/site-packages/transformers/models/phi3/configuration_phi3.py", line 186, in _rope_scaling_validation raise ValueError(f"`rope_scaling`'s type field must be one of ['su', 'yarn'], got {rope_scaling_type}") ValueError: `rope_scaling`'s type field must be one of ['su', 'yarn'], got longrope
Container logs:
Fetching error logs...