We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b71341 commit 3b4df57Copy full SHA for 3b4df57
1 file changed
scripts/vsmlrt.py
@@ -1,4 +1,4 @@
1
-__version__ = "3.22.27"
+__version__ = "3.22.28"
2
3
__all__ = [
4
"Backend", "BackendV2",
@@ -29,6 +29,7 @@
29
import tempfile
30
import time
31
import typing
32
+import warnings
33
import zlib
34
35
import vapoursynth as vs
@@ -2388,7 +2389,9 @@ def tensorrt_rtx(
2388
2389
import onnx
2390
from onnxconverter_common.float16 import convert_float_to_float16
2391
model = onnx.load(network_path)
- model = convert_float_to_float16(model, keep_io_types=not fp16_io)
2392
+ with warnings.catch_warnings():
2393
+ warnings.simplefilter("ignore")
2394
+ model = convert_float_to_float16(model, keep_io_types=not fp16_io)
2395
onnx.save(model, fp16_network_path)
2396
network_path = fp16_network_path
2397
elif fp16_io:
0 commit comments