Files
sglang/python/sglang/srt/models/mistral.py
Cody Yu cd6872334e Fix Mistral model loading (#108)
Co-authored-by: johndun <dunavent.jm@gmail.com>
2024-01-26 09:38:43 -08:00

11 lines
253 B
Python

"""Inference-only Mistral model."""
from sglang.srt.models.llama2 import LlamaForCausalLM
class MistralForCausalLM(LlamaForCausalLM):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
EntryClass = MistralForCausalLM