Skip to content

Commit

Permalink
reinstall pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Bojun-Feng committed Oct 13, 2023
1 parent 8319a65 commit a7cb426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xinference/model/llm/pytorch/rwkv.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(

def _load_model(self, kwargs: dict):
try:
from transformers import RwkvForCausalLM, AutoTokenizer
from transformers import AutoTokenizer, RwkvForCausalLM
except ImportError:
error_message = "Failed to import module 'transformers'"
installation_guide = [
Expand Down

0 comments on commit a7cb426

Please sign in to comment.