Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

【Hackathon 6th No.52】move quantize、dequantize op to phi -part

Open enkilee opened this issue 10 months ago • 5 comments

PR Category

Others

PR Types

Others

Description

move quantize、deqantize op to phi - part

enkilee avatar Apr 23 '24 05:04 enkilee

你的PR提交成功,感谢你对开源项目的贡献! 请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。 Your PR has been submitted. Thanks for your contribution! Please wait for the result of CI firstly. See Paddle CI Manual for details.

paddle-bot[bot] avatar Apr 23 '24 05:04 paddle-bot[bot]

好像,quantize和dequantize无法全部迁移到phi?fliud还是要保留部分? @yuanlehome

enkilee avatar Apr 26 '24 09:04 enkilee

Sorry to inform you that 6f7b016's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

paddle-ci-bot[bot] avatar May 08 '24 03:05 paddle-ci-bot[bot]

2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\test\mkldnn\test_quantize_mkldnn_op.py", line 68, in test_check_output
2024-05-09 13:41:17       self.check_output(check_dygraph=False, check_pir_onednn=True)
2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\test\legacy_test\op_test.py", line 2784, in check_output
2024-05-09 13:41:17       res = self.check_output_with_place(
2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\test\legacy_test\op_test.py", line 2634, in check_output_with_place
2024-05-09 13:41:17       static_checker.check()
2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\test\legacy_test\op_test.py", line 2207, in check
2024-05-09 13:41:17       self.calculate_output()
2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\test\legacy_test\op_test.py", line 2215, in calculate_output
2024-05-09 13:41:17       outs, fetch_list = self.op_test._calc_output(
2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\test\legacy_test\op_test.py", line 1531, in _calc_output
2024-05-09 13:41:17       op = self._append_ops(block)
2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\test\legacy_test\op_test.py", line 858, in _append_ops
2024-05-09 13:41:17       op = block.append_op(
2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\python\paddle\base\framework.py", line 4579, in append_op
2024-05-09 13:41:17       op = Operator(
2024-05-09 13:41:17     File "C:\home\workspace\Paddle\build\python\paddle\base\framework.py", line 3133, in __init__
2024-05-09 13:41:17       for frame in traceback.extract_stack():
2024-05-09 13:41:17 --------------------------------------
2024-05-09 13:41:17 C++ Traceback (most recent call last):
2024-05-09 13:41:17 --------------------------------------
2024-05-09 13:41:17 Not support stack backtrace yet.
2024-05-09 13:41:17 ----------------------
2024-05-09 13:41:17 Error Message Summary:
2024-05-09 13:41:17 ----------------------
2024-05-09 13:41:17 NotFoundError: (scale) is not found in AttributeMap when building static KernelContext.
2024-05-09 13:41:17   [Hint: Expected attr_iter != RuntimeAttrs().end(), but received attr_iter == RuntimeAttrs().end().] (at ..\paddle\fluid\framework\operator.cc:3500)
2024-05-09 13:41:17   [operator < quantize > error]

@yuanlehome 麻烦有空看下,是我改的有问题吗,还是哪的问题。

enkilee avatar May 10 '24 08:05 enkilee

Screenshot from 2024-05-14 08-43-01 看截图的话,跑单测的时候,没有找到dequantize和quantize对应的op,没法全部迁移到phi下面的吧?

enkilee avatar May 14 '24 01:05 enkilee

can't solve the conflicts. so close this pr, sorry.

enkilee avatar May 21 '24 09:05 enkilee