This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 38a3f219a5 [CI] Move conda config files to tests/conda and remove 
unused conda build infrastructure (#18456)
38a3f219a5 is described below

commit 38a3f219a5e85e4c34f9a18371badc89e7174194
Author: Shushi Hong <[email protected]>
AuthorDate: Wed Feb 11 16:06:35 2026 -0500

    [CI] Move conda config files to tests/conda and remove unused conda build 
infrastructure (#18456)
    
    ## Summary
    
    This PR reorganizes the conda-related files and removes unused conda
    build infrastructure.
    
    ## Changes
    
    ### Moved Files
    - `conda/build-environment.yaml` → `tests/conda/build-environment.yaml`
    - `conda/condarc` → `tests/conda/condarc`
    
    ### Removed Files
    - `conda/build_cpu.sh`, `conda/build_cuda.sh`, `conda/build_win.bat`
    (build scripts)
    - `conda/recipe/` (entire directory with conda package recipes)
    - `conda/Dockerfile.template`, `conda/render_cuda_dockerfiles.py`
    
    ### Updated References
    - `.github/actions/setup/action.yml` - Updated paths to reference
    `tests/conda/`
    - `tests/lint/blocklint.sh` - Removed reference to deleted
    `conda/recipe/meta.yaml`
    - `version.py` - Removed conda recipe version sync logic
    - `ci/scripts/jenkins/git_skip_ci_globs.py` - Removed `conda/*` from
    skip globs
    - `.github/CODEOWNERSHIP` - Updated ownership path to `tests/conda/**`
---
 .github/CODEOWNERSHIP                         |  2 +-
 .github/actions/setup/action.yml              | 10 +--
 ci/scripts/jenkins/git_skip_ci_globs.py       |  1 -
 conda/Dockerfile.template                     | 32 ---------
 conda/build_cpu.sh                            | 29 --------
 conda/build_cuda.sh                           | 29 --------
 conda/build_win.bat                           | 20 ------
 conda/recipe/bld.bat                          | 38 -----------
 conda/recipe/build.sh                         | 62 -----------------
 conda/recipe/conda_build_config.yaml          | 22 ------
 conda/recipe/cross-linux.cmake                | 38 -----------
 conda/recipe/install_libtvm.bat               | 24 -------
 conda/recipe/install_libtvm.sh                | 23 -------
 conda/recipe/install_tvm_python.bat           | 20 ------
 conda/recipe/install_tvm_python.sh            | 23 -------
 conda/recipe/meta.yaml                        | 97 ---------------------------
 conda/render_cuda_dockerfiles.py              | 60 -----------------
 {conda => tests/conda}/build-environment.yaml |  0
 {conda => tests/conda}/condarc                |  0
 tests/lint/blocklint.sh                       |  2 +-
 version.py                                    |  8 ---
 21 files changed, 7 insertions(+), 533 deletions(-)

diff --git a/.github/CODEOWNERSHIP b/.github/CODEOWNERSHIP
index 831b8a40f5..a325de8f04 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 8288c6f641..66ac3d8f96 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -6,29 +6,29 @@ runs:
       CACHE_NUMBER: 2
     with:
       path: ~/conda_pkgs_dir
-      key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ 
hashFiles('**/conda/build-environment.yaml') }}
+      key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ 
hashFiles('tests/conda/build-environment.yaml') }}
   - uses: conda-incubator/setup-miniconda@v3
     continue-on-error: true
     id: conda1
     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 c593291460..dd9577f816 100755
--- a/ci/scripts/jenkins/git_skip_ci_globs.py
+++ b/ci/scripts/jenkins/git_skip_ci_globs.py
@@ -25,7 +25,6 @@ from git_utils import git
 
 globs = [
     "*.md",
-    "conda/*",
     ".github/*",
     ".asf.yaml",
     ".gitignore",
diff --git a/conda/Dockerfile.template b/conda/Dockerfile.template
deleted file mode 100644
index 342d532bbf..0000000000
--- 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 48b93b23dc..0000000000
--- 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 ec4a144852..0000000000
--- 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 e37a06ce7c..0000000000
--- 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 4f217a0dbf..0000000000
--- 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 0131fd65a4..0000000000
--- 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 24dd466a09..0000000000
--- 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 360400267a..0000000000
--- 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 c56f83bfaa..0000000000
--- 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 b236c7dc27..0000000000
--- 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 635897266c..0000000000
--- 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 ca9f776717..0000000000
--- 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 998f16689c..0000000000
--- 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.24.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 d9d32f05fb..0000000000
--- 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 8ced0b1bc1..74afb9adad 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 8d5e6d1379..861c8f7679 100644
--- a/version.py
+++ b/version.py
@@ -23,7 +23,6 @@ List of affected files:
 - 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")

Reply via email to