Skip to content

Commit e8ecd17

Browse files
authored
Merge branch 'main' into build-utils-cleanup
2 parents 74707b7 + 95ebcb8 commit e8ecd17

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

install/install_requirements.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PYTORCH_NIGHTLY_VERSION=dev20241002
5353
VISION_NIGHTLY_VERSION=dev20241002
5454

5555
# Nightly version for torchtune
56-
TUNE_NIGHTLY_VERSION=dev20240928
56+
TUNE_NIGHTLY_VERSION=dev20241010
5757

5858
# Uninstall triton, as nightly will depend on pytorch-triton, which is one and the same
5959
(
@@ -78,7 +78,7 @@ fi
7878
REQUIREMENTS_TO_INSTALL=(
7979
torch=="2.6.0.${PYTORCH_NIGHTLY_VERSION}"
8080
torchvision=="0.20.0.${VISION_NIGHTLY_VERSION}"
81-
torchtune=="0.3.0.${TUNE_NIGHTLY_VERSION}"
81+
torchtune=="0.4.0.${TUNE_NIGHTLY_VERSION}"
8282
)
8383

8484
# Install the requirements. --extra-index-url tells pip to look for package

install/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ tiktoken
1212
# Miscellaneous
1313
snakeviz
1414
sentencepiece
15-
numpy
15+
# numpy version range required by GGUF util
16+
numpy >= 1.17, < 2.0
1617
gguf
1718
blobfile
1819
tomli >= 1.1.0 ; python_version < "3.11"

torchchat/model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
from enum import Enum
1313
from pathlib import Path
1414

15-
import torchvision
16-
1715
from typing import Any, Callable, Dict, Optional, Union
1816
from collections.abc import Hashable
1917

0 commit comments

Comments
 (0)