ppq icon indicating copy to clipboard operation
ppq copied to clipboard

ProgramEntrance_2.py 执行报错

Open zt706 opened this issue 1 year ago • 6 comments

环境使用 stephen222/ppq:ubuntu18.04_cuda11.4_cudnn8.4_trt8.4.1.5 容器, 代码使用最新master 分支

[Warning] Compling Kernels... Please wait (It will take a few minutes). Traceback (most recent call last): File "ProgramEntrance_2.py", line 293, in dispatching = PFL.Dispatcher(graph=graph).dispatch( File "/workspace/ppq/ppq/scheduler/dispatchers.py", line 202, in dispatch quant_operations = search_engine.opset_matching( File "/workspace/ppq/ppq/IR/search.py", line 610, in opset_matching partial_matchings = self._opset_matching( File "/workspace/ppq/ppq/IR/search.py", line 484, in _opset_matching if ep_expr is not None and ep_expr(op): File "/workspace/ppq/ppq/scheduler/dispatchers.py", line 205, in ep_expr = lambda x: (x.type not in quant_types) or x.is_boundary, TypeError: argument of type 'method' is not iterable

zt706 avatar Jun 05 '23 04:06 zt706