Skip to content

Move content in the buildtools repo into paddle repo#7326

Merged
wangkuiyi merged 4 commits intoPaddlePaddle:developfrom
wangkuiyi:add_manylinux_build
Jan 11, 2018
Merged

Move content in the buildtools repo into paddle repo#7326
wangkuiyi merged 4 commits intoPaddlePaddle:developfrom
wangkuiyi:add_manylinux_build

Conversation

@wangkuiyi wangkuiyi requested a review from typhoonzero January 8, 2018 20:26
@wangkuiyi
Copy link
Collaborator Author

@typhoonzero Do we really need the root subdirectory? According to

https://github.com/PaddlePaddle/buildtools/blob/6839c22073076f3f5ad7a9f8b9e54c51ba4e82f6/manylinux/Dockerfile-x86_64#L42

it seems that this directory is to add a development environment into the releasing Docker image. But we are not supposed to use these images for development, right?

@wangkuiyi
Copy link
Collaborator Author

I didn't change any source code, but a unit test failed during CI:

[13:07:38]	276/316 Test #276: test_detection_output_op ....................***Failed 1.63 sec
[13:07:38]	F
[13:07:38]	======================================================================
[13:07:38]	FAIL: test_check_output (__main__.TestUnpoolOp)
[13:07:38]	----------------------------------------------------------------------
[13:07:38]	Traceback (most recent call last):
[13:07:38]	File "test_detection_output_op.py", line 45, in test_check_output
[13:07:38]	self.check_output()
[13:07:38]	File "/paddle/python/paddle/v2/fluid/tests/op_test.py", line 321, in check_output
[13:07:38]	self.check_output_with_place(place, atol)
[13:07:38]	File "/paddle/python/paddle/v2/fluid/tests/op_test.py", line 310, in check_output_with_place
[13:07:38]	"Output (" + out_name + ") has diff at " + str(place))
[13:07:38]	AssertionError: Output (Out) has diff at CUDAPlace(0)
[13:07:38]	
[13:07:38]	----------------------------------------------------------------------
[13:07:38]	Ran 1 test in 0.006s
[13:07:38]	
[13:07:38]	FAILED (failures=1)
@typhoonzero
Copy link
Contributor

@wangkuiyi

it seems that this directory is to add a development environment into the releasing Docker image. But we are not supposed to use these images for development, right?

Yes, root directory is not needed any more, we should use Dockerfile under Paddle repo as development environment.

@typhoonzero
Copy link
Contributor

Seems style check has error, original python code under buildtools repo didn't use pre-commit to check the style.

Copy link
Contributor

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@wangkuiyi wangkuiyi merged commit 1baca7f into PaddlePaddle:develop Jan 11, 2018
@wangkuiyi wangkuiyi deleted the add_manylinux_build branch January 16, 2018 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants