-
Notifications
You must be signed in to change notification settings - Fork 280
Add missing integration tests, clean up dockerfiles, and remove Anaconda dependencies #435
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
Add missing integration tests, clean up dockerfiles, and remove Anaconda dependencies #435
Conversation
Test FAILed. |
@chester-leung Can you look into why the mxnet test is failing? |
Just figured out the problem. I've committed (but not pushed) changes. Will
also need to update documentation a little bit. I'll push changes by this
week's meeting.
…On Mon, Mar 12, 2018 at 11:51 PM Dan Crankshaw ***@***.***> wrote:
@chester-leung <https://github.com/chester-leung> Can you look into why
the mxnet test is failing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#435 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ARrkCijkppHPYItBv-Pt1VKae2p_qPuHks5td2xggaJpZM4SoDK1>
.
|
Test FAILed. |
Test FAILed. |
c6245d4
to
ab88806
Compare
Test FAILed. |
Test FAILed. |
…_data, a DataDesc object
Test FAILed. |
bd34214
to
7cb6620
Compare
Test FAILed. |
Test FAILed. |
Test FAILed. |
Jenkins test this please |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
jenkins test this please |
Test FAILed. |
Test FAILed. |
we're experiencing some network issues from campus to the outside world. i just ran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just a nit and a question
dockerfiles/Py2RPCDockerfile
Outdated
numpy==1.14.* | ||
|
||
|
||
# RUN conda install -y pyzmq libsodium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented code
&& conda install -y --file /lib/python_container_conda_deps.txt \ | ||
&& pip install mxnet==1.0.0 \ | ||
&& apt-get install -y graphviz \ | ||
&& pip install graphviz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this graphviz
package no longer required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graphviz was never required. It just got spuriously added.
@@ -131,7 +126,7 @@ def get_test_point(): | |||
mxnet_model = mx.mod.Module(softmax) | |||
mxnet_model.fit(data_iter, num_epoch=0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: data_iter
isn't defined anywhere in this example. Consider defining it in the same fashion as the MXNet test case: data_iter = mx.io.CSVIter(data_csv=train_path, data_shape=(785, ), batch_size=1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what you're referring to here? data_iter
is defined on line 100/95 of this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake. I was referring to the "example" subsections of the documentation for the mxnet container. These sections don't define data_iter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh I see. Yeah good call, I'll add that.
dockerfiles/Caffe2OnnxDockerfile
Outdated
RUN cd ~ && python -c 'from caffe2.python import core' | ||
|
||
RUN pip install onnx | ||
RUN python -c "import onnx" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just confirming that this isn't a piece of test code that should be removed (same for line 16); for debugging purposes, it seems helpful to verify correct import functionality for critical packages when the docker container is being built.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's intentional
jenkins test this please |
test this please |
Test PASSed. |
This is a catch all maintenance PR that does a few things:
debian:stretch-slim
Docker image as our base image. For the Python-based images that were previously using an Anaconda image as the base image, this hugely reduces image sizes and speeds up Docker build times.