diff --git a/.github/CODEOWNERSHIP b/.github/CODEOWNERSHIP index 831b8a40f530..a325de8f044a 100644 --- a/.github/CODEOWNERSHIP +++ b/.github/CODEOWNERSHIP @@ -66,7 +66,7 @@ web/** @tqchen @jroesch docker/** @areusch @leandron @jroesch # Conda -conda/** @tqchen @junrushao1994 @comaniac +tests/conda/** @tqchen @junrushao1994 @comaniac # CMake cmake/** @jroesch @tqchen @areusch @junrushao1994 @comaniac diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 8288c6f6418a..641411dcdcae 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -13,22 +13,22 @@ runs: with: activate-environment: tvm-build channel-priority: strict - environment-file: conda/build-environment.yaml + environment-file: tests/conda/build-environment.yaml auto-activate-base: false miniforge-version: latest python-version: 3.9 - condarc-file: conda/condarc + condarc-file: tests/conda/condarc - uses: conda-incubator/setup-miniconda@v3 if: steps.conda1.outcome == 'failure' with: activate-environment: tvm-build channel-priority: strict - environment-file: conda/build-environment.yaml + environment-file: tests/conda/build-environment.yaml auto-activate-base: false miniforge-version: latest use-only-tar-bz2: true python-version: 3.9 - condarc-file: conda/condarc + condarc-file: tests/conda/condarc - name: Conda info shell: pwsh run: | diff --git a/ci/scripts/jenkins/git_skip_ci_globs.py b/ci/scripts/jenkins/git_skip_ci_globs.py index c59329146017..dd9577f81635 100755 --- a/ci/scripts/jenkins/git_skip_ci_globs.py +++ b/ci/scripts/jenkins/git_skip_ci_globs.py @@ -25,7 +25,6 @@ globs = [ "*.md", - "conda/*", ".github/*", ".asf.yaml", ".gitignore", diff --git a/conda/Dockerfile.template b/conda/Dockerfile.template deleted file mode 100644 index 342d532bbff5..000000000000 --- a/conda/Dockerfile.template +++ /dev/null @@ -1,32 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -FROM nvidia/cuda:{{ cuda_version }}-devel-ubuntu16.04 - -RUN apt-get update --fix-missing && apt-get install -y bzip2 wget sudo binutils git - -RUN wget -q http://developer.download.nvidia.com/compute/redist/cudnn/v{{ cudnn_short_version }}/cudnn-{{ cuda_version }}-linux-x64-v{{ cudnn_version }}.tgz && \ - tar --no-same-owner -xzf cudnn-{{ cuda_version }}-linux-x64-v{{ cudnn_version }}.tgz -C /usr/local && \ - rm cudnn-{{ cuda_version }}-linux-x64-v{{ cudnn_version }}.tgz && \ - ldconfig - -COPY install/ubuntu_install_conda.sh /install/ubuntu_install_conda.sh -RUN bash /install/ubuntu_install_conda.sh - -ENV PATH /opt/conda/bin:$PATH -ENV LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64 -ENV CONDA_BLD_PATH /tmp diff --git a/conda/build_cpu.sh b/conda/build_cpu.sh deleted file mode 100755 index 48b93b23dc0f..000000000000 --- a/conda/build_cpu.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -set -e -set -u - -# This is a fix for a weird bug in conda that makes it think -# it can't write in /tmp -HOME=/tmp -mkdir -p /tmp/.conda/pkgs -touch /tmp/.conda/pkgs/urls.txt -touch /tmp/.conda/environments.txt - -conda build --output-folder=conda/pkg conda/recipe diff --git a/conda/build_cuda.sh b/conda/build_cuda.sh deleted file mode 100755 index ec4a144852b7..000000000000 --- a/conda/build_cuda.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -set -e -set -u - -# This is a fix for a weird bug in conda that makes it think -# it can't write in /tmp -HOME=/tmp -mkdir -p /tmp/.conda/pkgs -touch /tmp/.conda/pkgs/urls.txt -touch /tmp/.conda/environments.txt - -conda build --output-folder=conda/pkg --variants "{cuda: True, cuda_version: ${CUDA_VERSION%.*}}" conda/recipe diff --git a/conda/build_win.bat b/conda/build_win.bat deleted file mode 100644 index e37a06ce7c05..000000000000 --- a/conda/build_win.bat +++ /dev/null @@ -1,20 +0,0 @@ -:: Licensed to the Apache Software Foundation (ASF) under one -:: or more contributor license agreements. See the NOTICE file -:: distributed with this work for additional information -:: regarding copyright ownership. The ASF licenses this file -:: to you under the Apache License, Version 2.0 (the -:: "License"); you may not use this file except in compliance -:: with the License. You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, -:: software distributed under the License is distributed on an -:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -:: KIND, either express or implied. See the License for the -:: specific language governing permissions and limitations -:: under the License. - -echo on - -conda build --output-folder=conda/pkg conda/recipe || exit /b diff --git a/conda/recipe/bld.bat b/conda/recipe/bld.bat deleted file mode 100644 index 4f217a0dbf36..000000000000 --- a/conda/recipe/bld.bat +++ /dev/null @@ -1,38 +0,0 @@ -:: Licensed to the Apache Software Foundation (ASF) under one -:: or more contributor license agreements. See the NOTICE file -:: distributed with this work for additional information -:: regarding copyright ownership. The ASF licenses this file -:: to you under the Apache License, Version 2.0 (the -:: "License"); you may not use this file except in compliance -:: with the License. You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, -:: software distributed under the License is distributed on an -:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -:: KIND, either express or implied. See the License for the -:: specific language governing permissions and limitations -:: under the License. -echo on - -rd /s /q build -mkdir build -cd build - -cmake ^ - -G "Visual Studio 17 2022" ^ - -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^ - -DCMAKE_INSTALL_PREFIX:PATH=%LIBRARY_PREFIX% ^ - -DUSE_LLVM=ON ^ - -DUSE_RPC=ON ^ - -DUSE_CPP_RPC=ON ^ - -DUSE_SORT=ON ^ - -DUSE_RANDOM=ON ^ - -DINSTALL_DEV=ON ^ - %SRC_DIR% || exit /b - -cd .. -:: defer build to install stage to avoid rebuild. -:: sometimes windows msbuild is not very good at file -:: caching and install will results in a rebuild diff --git a/conda/recipe/build.sh b/conda/recipe/build.sh deleted file mode 100755 index 0131fd65a48e..000000000000 --- a/conda/recipe/build.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -set -e -set -u - -GPU_OPT="" -TOOLCHAIN_OPT="" -MACOS_OPT="" - -if [ "$target_platform" == "osx-64" ]; then - # macOS 64 bits - GPU_OPT="-DUSE_METAL=ON" - MACOS_OPT="-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13" -elif [ "$target_platform" == "linux-64" ]; then - TOOLCHAIN_OPT="-DCMAKE_TOOLCHAIN_FILE=${RECIPE_DIR}/cross-linux.cmake" -fi - -# When cuda is not set, we default to False -cuda=${cuda:-False} - -if [ "$cuda" == "True" ]; then - GPU_OPT="-DUSE_CUDA=ON -DUSE_CUBLAS=ON -DUSE_CUDNN=ON" - TOOLCHAIN_OPT="" -fi - -# remove touched cmake config -rm -f config.cmake -rm -rf build || true -mkdir -p build -cd build - -cmake -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ - -DCMAKE_BUILD_TYPE=Release \ - -DUSE_RPC=ON \ - -DUSE_CPP_RPC=OFF \ - -DUSE_SORT=ON \ - -DUSE_RANDOM=ON \ - -DUSE_PROFILER=ON \ - -DUSE_LLVM=ON \ - -DINSTALL_DEV=ON \ - -DUSE_LIBBACKTRACE=AUTO \ - ${GPU_OPT} ${TOOLCHAIN_OPT} ${MACOS_OPT} \ - ${SRC_DIR} - -make -j${CPU_COUNT} VERBOSE=1 -cd .. diff --git a/conda/recipe/conda_build_config.yaml b/conda/recipe/conda_build_config.yaml deleted file mode 100644 index 24dd466a0942..000000000000 --- a/conda/recipe/conda_build_config.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -python: - - 3.9 - -cuda: - - False diff --git a/conda/recipe/cross-linux.cmake b/conda/recipe/cross-linux.cmake deleted file mode 100644 index 360400267ae0..000000000000 --- a/conda/recipe/cross-linux.cmake +++ /dev/null @@ -1,38 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# this one is important -set(CMAKE_SYSTEM_NAME Linux) -set(CMAKE_PLATFORM Linux) -#this one not so much -set(CMAKE_SYSTEM_VERSION 1) - -# specify the cross compiler -set(CMAKE_C_COMPILER $ENV{CC}) - -# where is the target environment -set(CMAKE_FIND_ROOT_PATH $ENV{PREFIX} $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot) - -# search for programs in the build host directories -set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) - -# for libraries and headers in the target directories -set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) - -# god-awful hack because it seems to not run correct tests to determine this: -set(__CHAR_UNSIGNED___EXITCODE 1) diff --git a/conda/recipe/install_libtvm.bat b/conda/recipe/install_libtvm.bat deleted file mode 100644 index c56f83bfaaef..000000000000 --- a/conda/recipe/install_libtvm.bat +++ /dev/null @@ -1,24 +0,0 @@ -:: Licensed to the Apache Software Foundation (ASF) under one -:: or more contributor license agreements. See the NOTICE file -:: distributed with this work for additional information -:: regarding copyright ownership. The ASF licenses this file -:: to you under the Apache License, Version 2.0 (the -:: "License"); you may not use this file except in compliance -:: with the License. You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, -:: software distributed under the License is distributed on an -:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -:: KIND, either express or implied. See the License for the -:: specific language governing permissions and limitations -:: under the License. - -echo on - -cmake --build build --config Release --target install || exit /b - -:: Copy files into library bin so that they can be found -cp %LIBRARY_LIB%\tvm.dll %LIBRARY_BIN%\tvm.dll || exit /b -cp %LIBRARY_LIB%\tvm_runtime.dll %LIBRARY_BIN%\tvm_runtime.dll || exit /b diff --git a/conda/recipe/install_libtvm.sh b/conda/recipe/install_libtvm.sh deleted file mode 100755 index b236c7dc2720..000000000000 --- a/conda/recipe/install_libtvm.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -set -e -set -u - -cd build -make install diff --git a/conda/recipe/install_tvm_python.bat b/conda/recipe/install_tvm_python.bat deleted file mode 100644 index 635897266cf6..000000000000 --- a/conda/recipe/install_tvm_python.bat +++ /dev/null @@ -1,20 +0,0 @@ -:: Licensed to the Apache Software Foundation (ASF) under one -:: or more contributor license agreements. See the NOTICE file -:: distributed with this work for additional information -:: regarding copyright ownership. The ASF licenses this file -:: to you under the Apache License, Version 2.0 (the -:: "License"); you may not use this file except in compliance -:: with the License. You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, -:: software distributed under the License is distributed on an -:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -:: KIND, either express or implied. See the License for the -:: specific language governing permissions and limitations -:: under the License. -echo on - -cd %SRC_DIR% || exit /b -%PYTHON% -m pip install . --no-deps --no-build-isolation --record=%SRC_DIR%\record.txt || exit /b diff --git a/conda/recipe/install_tvm_python.sh b/conda/recipe/install_tvm_python.sh deleted file mode 100755 index ca9f7767173f..000000000000 --- a/conda/recipe/install_tvm_python.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -set -e -set -u - -cd ${SRC_DIR} -${PYTHON} -m pip install . --no-deps --no-build-isolation --record=/tmp/record.txt diff --git a/conda/recipe/meta.yaml b/conda/recipe/meta.yaml deleted file mode 100644 index 4a5602b4daa9..000000000000 --- a/conda/recipe/meta.yaml +++ /dev/null @@ -1,97 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -{% set version = '0.23.dev0' %} -{% set pkg_name = 'tvm' %} -{% set cuda_tag = cuda_version | replace('.', '') %} # [cuda] -{% set pkg_name = pkg_name + '-cu' + cuda_tag %} # [cuda] -{% set build_tag = environ.get('GIT_BUILD_STR', 'unknown') %} -{% set build_tag = build_tag + '_h' + PKG_HASH + '_' + PKG_BUILDNUM %} - -package: - name: {{ pkg_name }}-package - version: {{ version }} - -source: - path: '../..' - -build: - number: 0 - include_recipe: False - missing_dso_whitelist: - - "*libcuda.*" # [linux] - -requirements: - build: - # The anaconda compilers for OS X are old an annoying - # so we rely on the platform ones for now - - {{ compiler('cxx') }} # [not osx] - - cmake - - make # [not win] - host: - - zlib - - llvmdev >=11 - -outputs: - - name: {{ pkg_name }}-libs - script: install_libtvm.bat # [win] - script: install_libtvm.sh # [not win] - string: {{ build_tag }} - requirements: - build: - - {{ compiler('cxx') }} - - cmake - - git - - make # [not win] - host: - - zlib - - llvmdev >=11 - - {{ pin_compatible('cudatoolkit', lower_bound=cuda_version, max_pin='x.x') }} # [cuda] - - cudnn >=7.6.0 # [cuda] - run: - - llvmdev >=11 - - {{ pin_compatible('cudatoolkit', lower_bound=cuda_version, max_pin='x.x') }} # [cuda] - - cudnn >=7.6.0 # [cuda] - - - name: {{ pkg_name }} - script: install_tvm_python.sh # [not win] - script: install_tvm_python.bat # [win] - string: {{ build_tag }}_py{{ PY_VER | replace('.', '')}} - # skip bytecompile pyc to speedup CI speed - skip_compile_pyc: - - "*/**/*.py" - requirements: - host: - - python - - setuptools - - cython - - {{ pin_subpackage(pkg_name + '-libs', exact=True) }} - run: - - python - - psutil - - scipy - - typing_extensions - - ml_dtypes - - tornado - - cloudpickle - - {{ pin_compatible('numpy') }} - - {{ pin_subpackage(pkg_name + '-libs', exact=True) }} - -about: - home: https://tvm.apache.org - license: Apache2 - summary: An End to End Deep Learning Compiler Stack for CPUs, GPUs and accelerators. diff --git a/conda/render_cuda_dockerfiles.py b/conda/render_cuda_dockerfiles.py deleted file mode 100644 index d9d32f05fb5e..000000000000 --- a/conda/render_cuda_dockerfiles.py +++ /dev/null @@ -1,60 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -import os -import sys -import subprocess - -from jinja2 import Template - -CUDA_VERSIONS = ["10.0", "9.0"] - - -# Make sure that the cudnn version you set here is available -# for all the cuda versions that you want both from nvidia -# and from conda. - -# These two must be in sync -CUDNN_FULL_VERSION = "7.6.0.64" -CUDNN_VERSION = "7.6.0" - - -condadir = os.path.dirname(sys.argv[0]) -condadir = os.path.abspath(condadir) -srcdir = os.path.dirname(condadir) - - -with open(os.path.join(condadir, "Dockerfile.template")) as f: - docker_template = Template(f.read()) - - -def render_dockerfile(version): - txt = docker_template.render( - cuda_version=version, cudnn_short_version=CUDNN_VERSION, cudnn_version=CUDNN_FULL_VERSION - ) - fname = os.path.join(condadir, "../docker/Dockerfile.conda_cuda" + version.replace(".", "")) - with open(fname, "w") as f: - f.write(txt + "\n") - return fname - - -if __name__ == "__main__": - build_versions = CUDA_VERSIONS - if len(sys.argv) > 1: - build_versions = sys.argv[1:] - for version in build_versions: - render_dockerfile(version) diff --git a/conda/build-environment.yaml b/tests/conda/build-environment.yaml similarity index 100% rename from conda/build-environment.yaml rename to tests/conda/build-environment.yaml diff --git a/conda/condarc b/tests/conda/condarc similarity index 100% rename from conda/condarc rename to tests/conda/condarc diff --git a/tests/lint/blocklint.sh b/tests/lint/blocklint.sh index 8ced0b1bc189..74afb9adad47 100755 --- a/tests/lint/blocklint.sh +++ b/tests/lint/blocklint.sh @@ -26,7 +26,7 @@ do for subdir in $(find $dir -type d -print) do blocklint --blocklist blacklist,whitelist,white\ box,master\ ,\ master,master_,_master,slave $subdir \ - --skip-files tests/lint/blocklint.sh,tests/lint/pylintrc,conda/recipe/meta.yaml,rust/tvm-sys/build.rs,src/target/source/codegen_vhls.cc,tests/micro/zephyr/test_utils.py + --skip-files tests/lint/blocklint.sh,tests/lint/pylintrc,rust/tvm-sys/build.rs,src/target/source/codegen_vhls.cc,tests/micro/zephyr/test_utils.py done fi done diff --git a/version.py b/version.py index a5bc19164c70..e031e2cb5781 100644 --- a/version.py +++ b/version.py @@ -23,7 +23,6 @@ - tvm-root/python/tvm/libinfo.py - tvm-root/pyproject.toml - tvm-root/include/tvm/runtime/base.h -- tvm-root/conda/recipe/meta.yaml - tvm-root/web/package.json """ import os @@ -192,13 +191,6 @@ def sync_version(pub_ver, local_ver, dry_run): pub_ver, dry_run, ) - # conda - update( - os.path.join(PROJ_ROOT, "conda", "recipe", "meta.yaml"), - r"(?<=version = ')[.0-9a-z\+]+", - pub_ver, - dry_run, - ) # web # change to pre-release convention by npm dev_pos = pub_ver.find(".dev")