Closed bobo0810 closed 1 year ago
diffusers 0.16.0 transformers 4.22.1
please update transformers: such as pip install transformers==4.27.4
@bobo0810
Closing this issue since the bug has been fixed in a merged pull request. Please feel free to reopen it if it has not been fixed.
@Z-Fran Hello,the same error is reported after installing the following dependencies
pip install accelerate
An error occurs after the accelerate package is installed. The system runs normally after uninstallation
This warning means it can't import diffusers, please check it. @bobo0810
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmagic
Environment
sys.platform: linux Python: 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:59:51) [GCC 9.4.0] CUDA available: True numpy_random_seed: 2147483648 GPU 0,1: NVIDIA GeForce RTX 2080 Ti CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 11.6, V11.6.55 GCC: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 PyTorch: 1.11.0a0+17540c5 PyTorch compiling details: PyTorch built with:
TorchVision: 0.12.0a0 OpenCV: 4.2.0 MMEngine: 0.7.2 MMCV: 2.0.0 MMCV Compiler: GCC 9.3 MMCV CUDA Compiler: 11.6 MMagic: 1.0.0+c24769f
Reproduces the problem - code sample
Reproduces the problem - command or script
Reproduces the problem - error message
Additional information
No response