-
Notifications
You must be signed in to change notification settings - Fork 747
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (31 loc) · 939 Bytes
/
pyproject.toml
File metadata and controls
36 lines (31 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[project]
name = "getting_started_with_intel_neural_compressor_for_quantization"
version = "0.1.0"
description = "This sample is a getting started guide for Intel® Neural Compressor to do INT8 quantization on a Huggingface BERT model. This allows us to achieve performance boosts on Intel hardware."
authors = [
{name = "Copyright © 2023 Intel Corporation"}
]
license = {text = "MIT"}
readme = "README.MD"
requires-python = ">=3.11.11,<3.12"
dependencies = [
"datasets>=3.3.2",
"intel-extension-for-pytorch==2.8.0",
"neural-compressor==3.4",
"torch==2.8.0",
"transformers==5.0.0rc3",
]
[tool.uv.sources]
torch = { index = "pytorch" }
[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"jupyter>=1.1.1",
]
[[tool.uv.index]]
url = "https://software.repos.intel.com/python/pypi"
[[tool.uv.index]]
name = "pytorch"
# Required URL for the index.
url = "https://download.pytorch.org/whl/cpu"
explicit = true