NVIDIA-Merlin / Transformers4Rec

Transformers4Rec is a flexible and efficient library for sequential and session-based recommendation and works with PyTorch.
https://nvidia-merlin.github.io/Transformers4Rec/main
Apache License 2.0
1.08k stars 142 forks source link

Pin the HuggingFace version as latest release is breaking T4Rec #697

Closed sararb closed 1 year ago

sararb commented 1 year ago

The recent release 4.29.0 of HuggingFace (released yesterday) is breaking T4Rec tests with the following error:

                "Using the `Trainer` with `PyTorch` requires `accelerate`: Run `pip install --upgrade accelerate`"
            )

The current T4Rec is not making use of accelarate, so this PR suggests pinning the version to <4.28