From f9ade11d77eb1e1ce0860c5d7b39e1c909e18499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=9D=CE=B1=CF=81=CE=BF=CF=85=CF=83=CE=AD=C2=B7=CE=BC?= =?UTF-8?q?=C2=B7=CE=B3=CE=B9=CE=BF=CF=85=CE=BC=CE=B5=CE=BC=CE=AF=C2=B7?= =?UTF-8?q?=CE=A7=CE=B9=CE=BD=CE=B1=CE=BA=CE=AC=CE=BD=CE=BD=CE=B1?= <40709280+NaruseMioShirakana@users.noreply.github.com> Date: Sun, 24 Nov 2024 15:18:09 +0800 Subject: [PATCH] Update attentions_onnx.py --- infer/lib/infer_pack/attentions_onnx.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/infer/lib/infer_pack/attentions_onnx.py b/infer/lib/infer_pack/attentions_onnx.py index c9f588c..a32abc1 100644 --- a/infer/lib/infer_pack/attentions_onnx.py +++ b/infer/lib/infer_pack/attentions_onnx.py @@ -1,3 +1,11 @@ +############################## Warning! ############################## +# # +# Onnx Export Not Support All Of Non-Torch Types # +# Include Python Built-in Types!!!!!!!!!!!!!!!!! # +# If You Want TO Change This File # +# Do Not Use All Of Non-Torch Types! # +# # +############################## Warning! ############################## import copy import math from typing import Optional