Minimal OS Linux requirements to run transformers
Hello!I tried running the library on macOS (Everything works). The problems started when I tried to install the library in the container onplatform=linux/amd64 python container:3.11-slim. An error occurs:Traceback (most recent call last):
   File "/usr/local/lib/python3.11/site-packages/setfit/trainer.py", line 410, in train
     self.train_embeddings(*full_parameters, args=args)
   File "/usr/local/lib/python3.11/site-packages/setfit/trainer.py", line 462, in train_embeddings
     self._train_sentence_transformer(
   File "/usr/local/lib/python3.11/site-packages/setfit/trainer.py", line 570, in _train_sentence_transformer
     self.control = self.callback_handler.on_train_begin(args, self.state, self.control)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/local/lib/python3.11/site-packages/transformers/trainer_callback.py", line 370, in on_train_begin
     return self.call_event("on_train_begin", args, state, control)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/local/lib/python3.11/site-packages/transformers/trainer_callback.py", line 414, in call_event
     result = getattr(callback, event)(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/local/lib/python3.11/site-packages/transformers/integrations/integration_utils.py", line 1035, in on_train_begin
     self.setup(args, state, model)
   File "/usr/local/lib/python3.11/site-packages/transformers/integrations/integration_utils.py", line 1009, in setup
     model_config = model.config.to_dict()
                    ^^^^^^^^^^^^^^^^^^^^
 AttributeError: 'dict' object has no attribute 'to_dict'I found some solution – need to usedebian 12container not genericlinux/amd64. But still interested, what need to install on simple linux to avoid this or another errors?