DickJC123 edited a comment on issue #20738:
URL: 
https://github.com/apache/incubator-mxnet/issues/20738#issuecomment-969216313


   It's possible the problem has gone away, since I've been able to get some 
clean CI runs on a side debug-PR I created 
(https://github.com/apache/incubator-mxnet/pull/20739).  The only improvement 
from that work I would suggest is the following line:
   
   
https://github.com/apache/incubator-mxnet/blob/705e3d87564a11308ec37c7d0ce07244e14f409c/ci/docker/Dockerfile.build.ubuntu#L103
   
   If there are some mirrors serving up the wrong files, the symptom is that 
every time one does an `apt-get update` with the repo in the apt repo list, 
there's a possibility of hitting a bad mirror server and getting the 
hash-mismatch error.  Thus, I recommend that the docker RUN command that adds 
the oneapi repo, then installs some packages, should then remove the repo from 
the apt repo list (seen as "step 5" in the log).  That way, when another docker 
RUN also does an `apt-get update` (e.g. "step 20" to install tensorrt and 
cudnn), it won't needlessly reach out to oneapi mirrors.
   
   FYI @josephevans .  If you add the line to a PR of yours, you will have to 
tweek the use of '&&' and '\\'  in the prior line.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to