Skip to content

Paddle docker build readme need to illustrate how to test paddle. Current implementation of test is not correct. #1674

@helinwang

Description

@helinwang

Currently readme only mentioned "test" in this command

docker run -v $PWD:/paddle -e "GPU=OFF" -e "AVX=ON" -e "TEST=ON" paddle:dev

But there is no explanation about how will the test be performed. E.g., will the test run during building docker image paddle:dev, or later when paddle is building the final output image.

Current implementation is paddle will run test inside paddle:dev image, which is incorrect. Since the environment maybe different from the final image. Actually I encountered this problem: the test fails in paddle:dev since the numpy version for paddle:dev is too old, but the numpy version is good in the final produced image.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions