Skip to content

Commit c898d13

Browse files
authored
rm triton from requirements.txt (#824)
1 parent d74f4bc commit c898d13

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AutoRound
55
===========================
66
<h3> Advanced Quantization Algorithm for LLMs</h3>
77

8-
[![python](https://img.shields.io/badge/python-3.9%2B-blue)](https://github.com/intel/auto-round)
8+
[![python](https://img.shields.io/badge/python-3.10%2B-blue)](https://github.com/intel/auto-round)
99
[![version](https://img.shields.io/badge/release-0.7.0-green)](https://github.com/intel/auto-round)
1010
[![license](https://img.shields.io/badge/license-Apache%202-9C27B0)](https://github.com/intel/auto-round/blob/main/LICENSE)
1111
<a href="https://huggingface.co/Intel">

auto_round/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import gc
1818
import importlib
1919
import json
20-
import logging
2120
import os
2221
import re
2322
import sys
@@ -66,7 +65,7 @@ def __contains__(self, key):
6665
return True if key in self._support_list else False
6766

6867
def __str__(self):
69-
##return "(%s)" % ', '.join(self._support_format + ("gguf:q*_0", "gguf:q*_1", "gguf:q*_k_s"))
68+
# Return "(%s)" % ', '.join(self._support_format + ("gguf:q*_0", "gguf:q*_1", "gguf:q*_k_s"))
7069
return "(%s)" % ", ".join(self._support_list)
7170

7271
def __getitem__(self, key):
@@ -77,7 +76,7 @@ def __getitem__(self, key):
7776
SUPPORTED_FORMATS = SupportedFormats()
7877
SUPPORTED_LAYER_TYPES = (torch.nn.Linear, transformers.pytorch_utils.Conv1D)
7978

80-
##changed to str as it relies triton or others lib to load this
79+
# Changed to str as it relies on triton or others lib to load this
8180
INNER_SUPPORTED_LAYER_TYPES = ("FP8Linear",)
8281
# INNER_SUPPORTED_LAYER_TYPES = (transformers.integrations.finegrained_fp8.FP8Linear,)
8382

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ packaging
88
pillow
99
numba
1010
tbb
11-
triton ## for fp8 model
1211
torch
1312
transformers>=4.38
1413
threadpoolctl

0 commit comments

Comments
 (0)