remove the unused readline dependency from the Qwen2 model implementa… (#4340)

This commit is contained in:
yych0745
2025-03-12 17:47:27 +08:00
committed by GitHub
parent 0540fef7a1
commit 6f43a9b9f4

View File

@@ -15,7 +15,6 @@
# Adapted from llama2.py
# Modify details for the adaptation of Qwen2 model.
"""Inference-only Qwen2 model compatible with HuggingFace weights."""
from readline import add_history
from typing import Any, Dict, Iterable, Optional, Tuple
import torch