PaddlePaddle / PaDiff

Paddle Automatically Diff Precision Toolkits.
46 stars 13 forks source link

fix bugs for import error #84

Closed littsk closed 1 year ago

littsk commented 1 year ago

PR types

Bug fixes

PR changes

Modify the setup.py

Description

This Pull Request addresses the following bug: After running python setup.py install, importing auto_diff from padiff results in the following error:

FileNotFoundError: [Errno 2] No such file or directory: '/root/paddlejob/workspace/work/taozewei/padiff/padiff_env/lib/python3.7/site-packages/padiff-0.3.0-py3.7.egg/padiff/datas/assign_weight.yaml'

The purpose of this PR is to fix the error by modifying the setup.py file.

Please review and merge this Pull Request when ready. Thank you!

paddle-bot[bot] commented 1 year ago

Thanks for your contribution!

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Zewei Tao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.