Skip to content

Conversation

@alvarobartt
Copy link
Member

@alvarobartt alvarobartt commented Aug 12, 2024

Description

This PR updates the version identifier within the setup.py to 0.4.3 to be immediately released, as due to the addition of the HF_TRUST_REMOTE_CODE environment variable, the sentence-transformers integration was broken as the kwargs handling was not done as expected.

Additionally, within this PR also the unit tests for the Google Cloud Storage (GCS) functions are solved since now the anonymous client is used instead. Also this PR temporarily does move the peft dependency into the torch extra instead of as a core dependency, as otherwise torch was being installed as it's a dependency of peft which was leading to slow installation times when running e.g. pip install -e ".[quality]".

@alvarobartt alvarobartt requested a review from oOraph August 12, 2024 11:03
@alvarobartt alvarobartt self-assigned this Aug 12, 2024
`peft` requires `torch` as a mandatory dependency, so adding `peft` as a
core dependency means that `torch` will be installed i.e. even when `pip
install -e ".[quality]"` which slows things a bit, since `torch`
installation takes time; and in some cases is not needed, so moving
`peft` into the `torch` extra makes the most sense for the moment (not
final).
@alvarobartt alvarobartt changed the title Pin 0.4.3dev0 version for upcoming release Pin 0.4.3dev0 version and fix broken tests Aug 12, 2024
@alvarobartt alvarobartt changed the title Pin 0.4.3dev0 version and fix broken tests Release 0.4.3 version with sentence-transformers fixes Aug 13, 2024
@alvarobartt alvarobartt merged commit e70adff into main Aug 13, 2024
@alvarobartt alvarobartt deleted the bump-dev-version branch August 13, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants