accelerate
accelerate copied to clipboard
Error with transformers 4.28.1
System Info
This is the error
RuntimeError: Failed to import transformers.modeling_utils because of the following error (look up to see its traceback):
/usr/local/lib/python3.8/dist-packages/transformer_engine_extensions.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] One of the scripts in the examples/ folder of Accelerate or an officially supported `no_trainer` script in the `examples` folder of the `transformers` repo (such as `run_no_trainer_glue.py`)
- [ ] My own task or dataset (give details below)
### Reproduction
1. Install transformers==4.28.1
2. Install accelerate
3. Try import accelerate
### Expected behavior
No error
That error usually comes from a borked install of PyTorch. You should try to re-install it.
I am using torch==2.0.0+cu11.8 and installed from wheels
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.