Remove dead top-level bitsandbytes import from models/_utils.py (#5875)

This commit is contained in:
Trishanu Das 2026-05-31 13:51:38 +05:30 committed by GitHub
commit a2d77fb0f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1216,8 +1216,6 @@ if is_openai_available():
# =============================================
# Get Flash Attention v2 if Ampere (RTX 30xx, A100)
import bitsandbytes as bnb
from transformers import AutoTokenizer
from transformers.utils.import_utils import _is_package_available