Not compatible with HF transformers >=5.0.0

Open Beginner friendly
#979 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
huggingface, python

Research direction

Start at setup.py line 55, where the transformers upper bound is defined. Test the project with transformers 5.2.0 or newer, then remove the upper limit only if compatibility checks pass; done means the dependency installs and the relevant project tests succeed.

Written by the indexing model from the issue text.

Description

In our environment we use mosaic streaming and hugging face transformers libraries.

In order to run latest qwen models I need transformers >= 5.2.0
https://github.com/huggingface/transformers/releases/tag/v5.2.0

However, mosaic requires transformers<5 here
https://github.com/mosaicml/streaming/blame/6a4e12f66ee64d28bd4c5b308cec7fd825222205/setup.py#L55

This was set 4 years ago but probably is not a strict requirement.

Could you do some testing with newer transformers version and if it works remove the upper limit on the transformers version?

Thank you!

Dominant language
Python
Stars
1.6k
Forks
206
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mosaicml/streaming

All issues in mosaicml/streaming

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.