mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
chore: update to torch 2.4
This commit is contained in:
parent
bc9593a5b1
commit
0e527ae106
@ -41,7 +41,7 @@ RUN cargo build --profile release-opt
|
|||||||
FROM nvidia/cuda:12.1.0-devel-ubuntu22.04 AS pytorch-install
|
FROM nvidia/cuda:12.1.0-devel-ubuntu22.04 AS pytorch-install
|
||||||
|
|
||||||
# NOTE: When updating PyTorch version, beware to remove `pip install nvidia-nccl-cu12==2.22.3` below in the Dockerfile. Context: https://github.com/huggingface/text-generation-inference/pull/2099
|
# NOTE: When updating PyTorch version, beware to remove `pip install nvidia-nccl-cu12==2.22.3` below in the Dockerfile. Context: https://github.com/huggingface/text-generation-inference/pull/2099
|
||||||
ARG PYTORCH_VERSION=2.3.0
|
ARG PYTORCH_VERSION=2.4.0
|
||||||
|
|
||||||
ARG PYTHON_VERSION=3.10
|
ARG PYTHON_VERSION=3.10
|
||||||
# Keep in sync with `server/pyproject.toml
|
# Keep in sync with `server/pyproject.toml
|
||||||
|
@ -31,7 +31,7 @@ einops = "^0.6.1"
|
|||||||
texttable = { version = "^1.6.7", optional = true }
|
texttable = { version = "^1.6.7", optional = true }
|
||||||
datasets = { version = "^2.14.0", optional = true }
|
datasets = { version = "^2.14.0", optional = true }
|
||||||
peft = { version = "^0.10", optional = true }
|
peft = { version = "^0.10", optional = true }
|
||||||
torch = { version = "^2.3.0", optional = true }
|
torch = { version = "^2.4.0", optional = true }
|
||||||
scipy = "^1.11.1"
|
scipy = "^1.11.1"
|
||||||
pillow = "^10.0.0"
|
pillow = "^10.0.0"
|
||||||
outlines= { version = "^0.0.34", optional = true }
|
outlines= { version = "^0.0.34", optional = true }
|
||||||
|
Loading…
Reference in New Issue
Block a user