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 908c611 commit 71977cbCopy full SHA for 71977cb
DeepQuant/__init__.py
@@ -4,6 +4,12 @@
4
#
5
# Federico Brancasi <[email protected]>
6
7
+# FBRANCASI: Workaround for PyTorch/FX API change: ensure private alias exists
8
+import torch.fx.node as _fx_node
9
+
10
+if not hasattr(_fx_node.Node, "_Node__update_args_kwargs"):
11
+ _fx_node.Node._Node__update_args_kwargs = _fx_node.Node._update_args_kwargs
12
13
from DeepQuant.Export import brevitasToTrueQuant
14
15
__all__ = ["brevitasToTrueQuant"]
pyproject.toml
@@ -33,6 +33,7 @@ dependencies = [
33
"onnx",
34
"onnxoptimizer",
35
"onnxruntime",
36
+ "ultralytics",
37
]
38
39
[tool.setuptools]
0 commit comments