[Fix] XGrammarGrammarBackend reset to clear inherited cache (#22054)
This commit is contained in:
@@ -313,6 +313,7 @@ class XGrammarGrammarBackend(BaseGrammarBackend):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
|
super().reset()
|
||||||
self.grammar_compiler.clear_cache()
|
self.grammar_compiler.clear_cache()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user