Skip to content

Commit 145ecf6

Browse files
Set 0.5.1 release with bumped dependencies (#96)
* Set `version` to 0.6.0 * Bump `transformers`, `huggingface_hub`, and extra dependencies - `transformers` 4.45.2 includes Llama 3.1, MLlama, and much more (see release notes at https://github.com/huggingface/transformers/releases/tag/v4.45.0) - `diffusers` 0.31.0 includes Stable Diffusion 3.5 and much more (see release notes at https://github.com/huggingface/diffusers/releases/tag/v0.31.0) - `huggingface_hub` 0.26.1 bumped to avoid issues with deprecated `cached_download` affecting older versions of `diffusers` i.e. 0.30.0 or below, so it was a sensible dependency - Also bumped `torch` 2.3.1, `peft` 0.13.2, `accelerate` 1.0.1 stable release, and `sentence-transformers` 3.2.1 * Bump `transformers` as of recent 4.46.0 release * Pin `huggingface_hub` to <0.26 to prevent issues with `diffusers` Previous `diffusers` versions shouldn't be installed, but since the `huggingface_hub` dependency below 0.26 is still compatible with the current and previous releases of `transformers`, `diffusers`, etc. then pining `huggingface_hub<0.26` makes the most sense atm * Set `version` to 0.5.1 instead According to SemVer, changes that do not affect the public-facing API and are just a maintenance update fall under the PATCH category, not the MINOR category * Revert and pin `huggingface_hub` to 0.26.2 instead Co-authored-by: Philipp Schmid <[email protected]> --------- Co-authored-by: Philipp Schmid <[email protected]>
1 parent 0d30670 commit 145ecf6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

setup.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
# We don't declare our dependency on transformers here because we build with
66
# different packages for different variants
77

8-
VERSION = "0.5.0"
8+
VERSION = "0.5.1"
99

1010
# Ubuntu packages
1111
# libsndfile1-dev: torchaudio requires the development version of the libsndfile package which can be installed via a system package manager. On Ubuntu it can be installed as follows: apt install libsndfile1-dev
1212
# ffmpeg: ffmpeg is required for audio processing. On Ubuntu it can be installed as follows: apt install ffmpeg
1313
# libavcodec-extra : libavcodec-extra includes additional codecs for ffmpeg
1414

1515
install_requires = [
16-
"transformers[sklearn,sentencepiece,audio,vision,sentencepiece]==4.44.0",
17-
"huggingface_hub[hf_transfer]==0.24.5",
16+
"transformers[sklearn,sentencepiece,audio,vision,sentencepiece]==4.46.0",
17+
"huggingface_hub[hf_transfer]==0.26.2",
1818
# vision
1919
"Pillow",
2020
"librosa",
@@ -31,11 +31,11 @@
3131

3232
extras = {}
3333

34-
extras["st"] = ["sentence_transformers==3.1.1"]
35-
extras["diffusers"] = ["diffusers==0.30.0", "accelerate==0.33.0"]
34+
extras["st"] = ["sentence_transformers==3.2.1"]
35+
extras["diffusers"] = ["diffusers==0.31.0", "accelerate==1.0.1"]
3636
# Includes `peft` as PEFT requires `torch` so having `peft` as a core dependency
3737
# means that `torch` will be installed even if the `torch` extra is not specified.
38-
extras["torch"] = ["torch==2.2.2", "torchvision", "torchaudio", "peft==0.12.0"]
38+
extras["torch"] = ["torch==2.3.1", "torchvision", "torchaudio", "peft==0.13.2"]
3939
extras["test"] = [
4040
"pytest==7.2.1",
4141
"pytest-xdist",

0 commit comments

Comments
 (0)