Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion auto_round/export/export_to_itrex/bit_packer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

from typing import Callable, Dict, Tuple

import numba
try:
import numba
except ImportError:
raise ImportError("Numba is required to use bit_packer module. Please install numba with `pip install numba`.")
import numpy as np

# key: (bits, compress_bits), value: pack function
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ numpy < 2.0
tqdm
packaging
pillow
numba
tbb
torch
transformers>=4.38
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def fetch_requirements(path):
packages=include_packages,
install_requires=install_requires,
extras_require=extras_require,
python_requires=">=3.7.0",
python_requires=">=3.10.0",
classifiers=[
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
Expand Down
1 change: 1 addition & 0 deletions test/test_cpu/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ gguf
torchvision
compressed-tensors
parameterized
numba
1 change: 1 addition & 0 deletions test/test_cuda/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ py-cpuinfo
torch
torchvision
tqdm
numba
transformers
vllm>=0.8.5.post1
compressed-tensors
Expand Down