-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine the sources in utils directory #956
Comments
Good to see this issue! Are we going to create some sub-tasks and assign them to our team members? Thansk! @gangliao |
@wangkuiyi The continued follow-up development works and even the future C API will benefit a lot from this start point. Thanks a lot. |
For |
* fix write file * add share folder support * don't delete train log * don't use inplace random mask. Co-authored-by: Zeyu Chen <[email protected]>
Currently,
paddle/utils
includes miscellaneous, irrelevant source code, which should be deleted or moved to other places.For instance, dependency relationships:
[utils <- cuda], [cuda <- utils]
initMain()
inutils
dir depends onhl_start()
incuda
dir, and vice versa .After discussing with @reyoung @wangkuiyi, we reached a preliminary consensus to revise sources.
runtime check flags for AVX
@gangliaomac_os_x
Move Execepts into arch/osx dir #1075 @gangliaoall global flags definitions, need to be removed.
we do new API implementation. PassType -> Trainer.h,
ParameterType -> Parameter.h
some locks can be removed.
use gflags.h, Keep debug logging level
/paddle/python
ThreadSafeQueue.h
move registerTimer to paddle/stats
delete if not necessary
seems necessary, how about c++11 thread library?
FloatType.h
Add common.h and remove DisableCopy and TypeDefs #994 move into common.h @gangliaosplit into several pieces
delete or split
├── arch
│ ├── linux
│ │ └── Locks.cpp
│ └── osx
│ └── Locks.cpp
├── enable_virtualenv.c
├── enable_virtualenv.py
└── tests
The text was updated successfully, but these errors were encountered: