text: Title: [Bug]: New PyTorch version (2.6.0) breaks existing code
  Body: ### Describe the bug
  
  After upgrading PyTorch to v2.6.0, our code started breaking with:
  
  ```
  ValueError: Could not find any model with name 'ner-multi'
  ```
  
  After downgrading to v2.5.1, everything works as expected.
  
  ### To Reproduce
  
  ```python
  from flair.data import Sentence
  from flair.nn import Classifier
  
  value = "Acme Inc"
  
  ner_tagger = Classifier.load("ner-multi")
  sentence = Sentence(value)
  ner_tagger.predict(sentence)
  ```
  
  ### Expected behavior
  
  Model is loaded without an error.
  
  ### Logs and Stack traces
  
  ```stacktrace
  2025-01-31 12:21:28,416 --------------------------------------------------------------------------------
  2025-01-31 12:21:28,417 ERROR: The key 'ner-multi' was neither found on the ModelHub nor is this a valid path to a file on your system!
  2025-01-31 12:21:28,417  -> Please check https://huggingface.co/models?filter=flair for all available models.
  2025-01-31 12:21:28,417  -> Alternatively, point to a model file on your local drive.
  2025-01-31 12:21:28,417 --------------------------------------------------------------------------------
  ```
  
  ### Screenshots
  
  _No response_
  
  ### Additional Context
  
  _No response_
  
  ### Environment
  
  ```
  #### Versions:
  ##### Flair
  0.15.0
  ##### Pytorch
  2.6.0
  ##### Transformers
  4.48.2
  #### GPU
  False
  ```