Open LianShuaiLong opened 2 years ago
follow the (inference pipeline notebook](https://github.com/borisdayma/dalle-mini/blob/main/tools/inference/inference_pipeline.ipynb) i setup dependencies and libraries: git clone https://github.com/huggingface/transformers.git cd transformers python setup.py build python setup.py install
git clone https://github.com/huggingface/transformers.git
cd transformers
python setup.py build
python setup.py install
git clone https://github.com/borisdayma/dalle-mini.git cd dalle-mini python setup.py build python setup.py install
git clone https://github.com/borisdayma/dalle-mini.git
cd dalle-mini
git clone https://github.com/patil-suraj/vqgan-jax.git cd vqgan-jax python setup.py build python setup.py install
git clone https://github.com/patil-suraj/vqgan-jax.git
cd vqgan-jax
when i run the demo the following error: AttributeError: module 'jax' has no attribute 'load_device_count' ImportError: cannot import name 'dataclass_transform' from 'typing_extensions'
AttributeError: module 'jax' has no attribute 'load_device_count'
ImportError: cannot import name 'dataclass_transform' from 'typing_extensions'
Try reinstall jax with this !pip install --upgrade jax jaxlib==0.3.7+cuda11.cudnn805 -f https://storage.googleapis.com/jax-releases/jax_releases.html
!pip install --upgrade jax jaxlib==0.3.7+cuda11.cudnn805 -f https://storage.googleapis.com/jax-releases/jax_releases.html
follow the (inference pipeline notebook](https://github.com/borisdayma/dalle-mini/blob/main/tools/inference/inference_pipeline.ipynb) i setup dependencies and libraries:
git clone https://github.com/huggingface/transformers.git
cd transformers
python setup.py build
python setup.py install
git clone https://github.com/borisdayma/dalle-mini.git
cd dalle-mini
python setup.py build
python setup.py install
git clone https://github.com/patil-suraj/vqgan-jax.git
cd vqgan-jax
python setup.py build
python setup.py install
when i run the demo the following error:
AttributeError: module 'jax' has no attribute 'load_device_count'
ImportError: cannot import name 'dataclass_transform' from 'typing_extensions'