Skip to content
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

The whl pacakge became so huge #7971

Closed
Yancey1989 opened this issue Jan 30, 2018 · 3 comments
Closed

The whl pacakge became so huge #7971

Yancey1989 opened this issue Jan 30, 2018 · 3 comments

Comments

@Yancey1989
Copy link
Contributor

The whl package size became 400+MB from 80MB, who knows what's happened?
2
1

@Yancey1989
Copy link
Contributor Author

After unizp the whl file, find that core.so increased to 400MB+,

[root@k8s-node3 fluid]# ls -lhat
total 432M
drwxr-xr-x 7 root root 4.0K Jan 30 15:16 ..
drwxr-xr-x 4 root root 4.0K Jan 30 15:16 .
drwxr-xr-x 2 root root  181 Jan 30 15:16 layers
drwxr-xr-x 2 root root   49 Jan 30 15:16 proto
-rwxr-xr-x 1 root root 431M Jan 29 18:27 core.so
-rw-r--r-- 1 root root 7.5K Jan 29 18:00 clip.py
-rw-r--r-- 1 root root  23K Jan 29 18:00 distribute_transpiler.py

@luotao1
Copy link
Contributor

luotao1 commented Jan 31, 2018

In my server, the core.so compiled with develop branch (onlycpu+openblas) is still 40M.

@Yancey1989
Copy link
Contributor Author

Yancey1989 commented Feb 1, 2018

The cmake flag BUILD_TYPE would be set to RelWithDebInfo if we don't specify any BUILD_TYPE argument, and I think there is a bug in https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/scripts/docker/build.sh#L35 , the scripts doen't set the default env BUILD_TYPE correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants