huggingface / huggingface/diffusion-models-class

Compatibility and import errors

Open
#90 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
492
PR merge metrics
No merged PRs in 30d

Description

In the notebook Introdcution_to_diffusers

First this cell:
`%pip install -qq -U diffusers datasets transformers accelerate ftfy pyarrow==9.0.0`
it gives this error every other time it is run:

> ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
> bigframes 1.22.0 requires pyarrow>=10.0.1, but you have pyarrow 9.0.0 which is incompatible.
> cudf-cu12 24.10.1 requires pyarrow<18.0.0a0,>=14.0.0, but you have pyarrow 9.0.0 which is incompatible.
> pylibcudf-cu12 24.10.1 requires pyarrow<18.0.0a0,>=14.0.0, but you have pyarrow 9.0.0 which is incompatible.

Then by 'Step 2: Download a training dataset':
Specifically this line:
`from datasets import load_dataset`
it gives this error:

> cannot import name 'implements' from 'pyarrow.util'

and this same line generates this error instead:

> cannot import name 'SortingColumn' from 'pyarrow._parquet'

if I remove the specification of version 9.0.0 for pyarrow

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.