IntelligentSynthesis
IntelligentSynthesis
**Code** `self.to_match = re.sub(r'([]()[{}.*+^$?|\/])', r'\\\g', self.to_match)` Only add one line to operators.py.  **Code** `self.to_match = re.escape(self.to_match)` I also found a solution in #620. This is a more simple way!...
It appears that this issue could be associated with the use of dynamo=True during model export. When exporting without dynamo=True, the resulting ONNX model can be simplified normally. However, when...
参考 https://huggingface.co/THUDM/LongWriter-glm4-9b/commit/778b5712634889f5123d6c463ca383bc6dd5c621 在def _pad这里修改即可解决。