From: Tianqi Chen Date: Sat, 29 Aug 2020 21:34:50 +0000 (-0700) Subject: [DOCKER] Use clear name that is separate from ASF brand for cache (#6360) X-Git-Tag: upstream/0.7.0~185 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c40a107f00a062b8e5b946f686170a834ba4f94b;p=platform%2Fupstream%2Ftvm.git [DOCKER] Use clear name that is separate from ASF brand for cache (#6360) --- diff --git a/Jenkinsfile b/Jenkinsfile index 49e73ff..3ce5b60 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,7 +31,7 @@ // // - Send PR to upgrade build script in the repo // - Build the new docker image -// - Tag the docker image with a new version and push to tvmai +// - Tag the docker image with a new version and push to a binary cache. // - Update the version in the Jenkinsfile, send a PR // - Fix any issues wrt to the new image version in the PR // - Merge the PR and now we are in new version @@ -44,11 +44,11 @@ // // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. --> -ci_lint = "tvmai/ci-lint:v0.61" -ci_gpu = "tvmai/ci-gpu:v0.64" -ci_cpu = "tvmai/ci-cpu:v0.65" -ci_wasm = "tvmai/ci-wasm:v0.60" -ci_i386 = "tvmai/ci-i386:v0.52" +ci_lint = "tlcpack/ci-lint:v0.61" +ci_gpu = "tlcpack/ci-gpu:v0.64" +ci_cpu = "tlcpack/ci-cpu:v0.65" +ci_wasm = "tlcpack/ci-wasm:v0.60" +ci_i386 = "tlcpack/ci-i386:v0.52" // <--- End of regex-scanned config. // tvm libraries @@ -288,13 +288,13 @@ stage('Integration Test') { stage('Build packages') { parallel 'conda CPU': { node('CPU') { - sh "${docker_run} tvmai/conda-cpu ./conda/build_cpu.sh + sh "${docker_run} tlcpack/conda-cpu ./conda/build_cpu.sh } }, 'conda cuda': { node('CPU') { - sh "${docker_run} tvmai/conda-cuda90 ./conda/build_cuda.sh - sh "${docker_run} tvmai/conda-cuda100 ./conda/build_cuda.sh + sh "${docker_run} tlcpack/conda-cuda90 ./conda/build_cuda.sh + sh "${docker_run} tlcpack/conda-cuda100 ./conda/build_cuda.sh } } // Here we could upload the packages to anaconda for releases diff --git a/docs/install/docker.rst b/docs/install/docker.rst index f49c75e..e1e6570 100644 --- a/docs/install/docker.rst +++ b/docs/install/docker.rst @@ -37,8 +37,7 @@ We can then use the following command to launch a docker image. /path/to/tvm/docker/bash.sh -Here the image-name can be a local docker image name, e.g. `tvm.ci_cpu` after you have done -the local build. Or a pre-built third party image (`tvmai/demo-cpu` or `tvmai/ci-gpu`). +Here the image-name can be a local docker image name, e.g. `tvm.ci_cpu` after you have done the local build. This auxiliary script does the following things: @@ -65,10 +64,22 @@ Note that on macOS, because we use bridge network, jupyter notebook will be repo at an URL like ``http://{container_hostname}:8888/?token=...``. You should replace the ``container_hostname`` with ``localhost`` when pasting it into browser. -You can find some un-official prebuilt images in ``_. -Note that these are convenience images and are not part of the ASF release. Docker Source ------------- Check out `The docker source `_ if you are interested in building your own docker images. + + +Run the following command to build the docker image. + +.. code:: bash + + /path/to/tvm/docker/build.sh + + +You can find some un-official thirdparty prebuilt images. +These images are used for test purposes and are NOT of the ASF release. + + +``_.