Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tvm for openSUSE:Factory checked in at 2023-03-09 17:46:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tvm (Old) and /work/SRC/openSUSE:Factory/.tvm.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tvm" Thu Mar 9 17:46:42 2023 rev:19 rq:1070356 version:0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tvm/tvm.changes 2022-11-22 16:10:50.206229021 +0100 +++ /work/SRC/openSUSE:Factory/.tvm.new.31432/tvm.changes 2023-03-09 17:46:45.731234364 +0100 @@ -1,0 +2,17 @@ +Tue Mar 7 07:46:44 UTC 2023 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update _constraints to match current needs +- Update to 0.11.0: + * Release notes: https://github.com/apache/tvm/releases/tag/v0.11.0 +- Refresh patches : + * tvm-do-not-force-synr-version.patch + * tvm-disable-vulkan-test-check.patch +- Disable tests until fixed + +------------------------------------------------------------------- +Tue Dec 20 07:51:31 UTC 2022 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to 0.10.0: + * Release notes: https://github.com/apache/tvm/releases/tag/v0.10.0 + +------------------------------------------------------------------- @@ -11,0 +29,8 @@ + +------------------------------------------------------------------- +Wed Aug 31 13:13:10 UTC 2022 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to 0.9.0: + * Release notes: https://github.com/apache/tvm/releases/tag/v0.9.0 +- Drop upstream patch: + * tvm-fix-relay-test.patch Old: ---- tvm-0.8.0.tar.gz tvm-fix-relay-test.patch New: ---- tvm-0.11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tvm.spec ++++++ --- /var/tmp/diff_new_pack.uJ4OO5/_old 2023-03-09 17:46:46.691239474 +0100 +++ /var/tmp/diff_new_pack.uJ4OO5/_new 2023-03-09 17:46:46.695239495 +0100 @@ -1,7 +1,7 @@ # # spec file for package tvm # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,8 @@ %else %bcond_with onednn %endif -%bcond_without pytest +# Disable pytest until python3-xgboost is available +%bcond_with pytest %ifarch aarch64 %bcond_without arm_compute_lib %else @@ -37,14 +38,12 @@ # regular cmake builddir conflicts with the python singlespec %global __builddir build_cmake Name: tvm -Version: 0.8.0 +Version: 0.11.0 Release: 0 Summary: An end-to-end Deep Learning Compiler Stack License: Apache-2.0 URL: https://tvm.apache.org/ -Source: https://github.com/apache/tvm/archive/v%{version}.tar.gz#/tvm-%{version}.tar.gz -# PATCH-FIX-UPSTREAM tvm-fix-relay-test.patch -- gh#apache/tvm#10402 -Patch0: tvm-fix-relay-test.patch +Source: https://github.com/apache/tvm/archive/refs/tags/v%{version}.tar.gz#/tvm-%{version}.tar.gz # PATCH-FIX-OPENSUSE lib-finder-python-cmake.patch -- custom cmake path Patch1: lib-finder-python-cmake.patch # PATCH-FIX-OPENSUSE tvm-fix-openblas.patch -- We use openblas headers instead of netlib cblas @@ -64,12 +63,15 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module synr} BuildRequires: %{python_module tornado} +%if %{with pytest} +BuildRequires: %{python_module typing_extensions} +%endif %if %{with arm_compute_lib} BuildRequires: ComputeLibrary-devel %endif BuildRequires: antlr4-java BuildRequires: cmake -BuildRequires: dlpack-devel +BuildRequires: dlpack-devel >= 0.7 BuildRequires: dmlc-core-devel BuildRequires: fdupes BuildRequires: gcc-c++ @@ -158,6 +160,14 @@ # Workaround - https://discuss.tvm.ai/t/build-fails-on-tvm-0-6-0-0-6-1-with-gcc10-and-gcc7/7462/5?u=ggardet ln -s %{_includedir}/endian.h include/endian.h +# Workaround for tests/cpp/relay/ir/indexed_graph_test.cc:20:10: fatal error: ../../../src/relay/ir/indexed_graph.h: No such file or directory +pushd tests/ +ln -s ../src +popd +# Workaround for tests/cpp/target_test.cc:29:10: fatal error: ../../../src/target/llvm/llvm_instance.h: No such file or directory +pushd ../ +ln -s tvm-%{version}/src +popd %build %limit_build -m 800 @@ -247,6 +257,10 @@ donttest="$donttest or test_sketch_search_policy_custom_sketch" donttest="$donttest or test_task_tuner_without_measurement" donttest="$donttest or test_autotvm_xgboost_mode" +donttest="$donttest or test_meta_schedule_xgb_model" +donttest="$donttest or test_meta_schedule_xgb_model_reload" +donttest="$donttest or test_meta_schedule_xgb_model_reupdate" +donttest="$donttest or test_tune_matmul" # No OpenCL device donttest="$donttest or test_simplex_data_transferring" donttest="$donttest or test_duplex_data_transferring" @@ -266,6 +280,9 @@ # probes vulkan on test collection ignorefiles="--ignore tests/python/unittest/test_target_codegen_vulkan.py" ignorefiles="$ignorefiles --ignore tests/python/unittest/test_tir_intrin.py" +ignorefiles="$ignorefiles --ignore tests/python/unittest/test_tvm_testing_features.py" +# No python module for XGBoost +ignorefiles="$ignorefiles --ignore tests/python/unittest/test_meta_schedule_cost_model.py" %if 0%{?suse_version} <= 1500 # Skip some tests on Leap/SLE (some tests would need python 3.7+) donttest="$donttest or test_meta_schedule_local_runner_time_out or test_meta_schedule_local_runner_exception" @@ -286,9 +303,12 @@ %files -n %{name}-devel %{_includedir}/tvm +%dir %{_libdir}/cmake/tvm/ +%{_libdir}/cmake/tvm/*.cmake %files %{python_files} %{python_sitearch}/tvm -%{python_sitearch}/tvm-%{version}*-info +%dir %{python_sitearch}/tvm*.egg-info/ +%{python_sitearch}/tvm*.egg-info/* %changelog ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.uJ4OO5/_old 2023-03-09 17:46:46.723239644 +0100 +++ /var/tmp/diff_new_pack.uJ4OO5/_new 2023-03-09 17:46:46.727239665 +0100 @@ -1,8 +1,11 @@ <constraints> <hardware> <disk> - <size unit="G">4</size> + <size unit="G">14</size> </disk> + <memory> + <size unit="G">7</size> + </memory> </hardware> </constraints> ++++++ tvm-0.8.0.tar.gz -> tvm-0.11.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/tvm/tvm-0.8.0.tar.gz /work/SRC/openSUSE:Factory/.tvm.new.31432/tvm-0.11.0.tar.gz differ: char 13, line 1 ++++++ tvm-disable-vulkan-test-check.patch ++++++ --- /var/tmp/diff_new_pack.uJ4OO5/_old 2023-03-09 17:46:46.755239815 +0100 +++ /var/tmp/diff_new_pack.uJ4OO5/_new 2023-03-09 17:46:46.759239835 +0100 @@ -1,35 +1,18 @@ -diff -ur tvm-0.8.0.orig/python/tvm/testing/utils.py tvm-0.8.0/python/tvm/testing/utils.py ---- tvm-0.8.0.orig/python/tvm/testing/utils.py 2022-02-27 19:26:51.985686775 +0100 -+++ tvm-0.8.0/python/tvm/testing/utils.py 2022-02-28 03:09:32.457757673 +0100 -@@ -545,14 +545,6 @@ - Function to mark - """ - _requires_gpu = [ -- pytest.mark.skipif( -- not tvm.cuda().exist -- and not tvm.rocm().exist -- and not tvm.opencl().exist -- and not tvm.metal().exist -- and not tvm.vulkan().exist, -- reason="No GPU present", -- ), - *uses_gpu(), - ] - return _compose(args, _requires_gpu) -@@ -570,7 +562,6 @@ - """ - _requires_cuda = [ - pytest.mark.cuda, -- pytest.mark.skipif(not device_enabled("cuda"), reason="CUDA support not enabled"), - *requires_gpu(), - ] - return _compose(args, _requires_cuda) -@@ -722,7 +713,6 @@ - """ - _requires_vulkan = [ - pytest.mark.vulkan, -- pytest.mark.skipif(not device_enabled("vulkan"), reason="vulkan support not enabled"), - *requires_gpu(), - ] - return _compose(args, _requires_vulkan) +--- tvm-0.11.0/python/tvm/testing/utils.py.orig 2023-03-07 09:40:58.121602504 +0100 ++++ tvm-0.11.0/python/tvm/testing/utils.py 2023-03-07 09:45:47.652819665 +0100 +@@ -823,13 +823,7 @@ class Feature: + + + def _any_gpu_exists(): +- return ( +- tvm.cuda().exist +- or tvm.rocm().exist +- or tvm.opencl().exist +- or tvm.metal().exist +- or tvm.vulkan().exist +- ) ++ return (False) + + + # Mark a test as requiring llvm to run ++++++ tvm-do-not-force-synr-version.patch ++++++ --- /var/tmp/diff_new_pack.uJ4OO5/_old 2023-03-09 17:46:46.771239899 +0100 +++ /var/tmp/diff_new_pack.uJ4OO5/_new 2023-03-09 17:46:46.771239899 +0100 @@ -1,10 +1,10 @@ ---- tvm-0.8.0.orig/python/gen_requirements.py 2022-04-06 09:59:13.271853015 +0200 -+++ tvm-0.8.0/python/gen_requirements.py 2022-04-06 09:59:35.912108846 +0200 -@@ -251,7 +251,7 @@ CONSTRAINTS = [ +--- tvm-0.11.0/python/gen_requirements.py.orig 2023-03-07 10:45:01.380359638 +0100 ++++ tvm-0.11.0/python/gen_requirements.py 2023-03-07 10:45:20.964577547 +0100 +@@ -270,7 +270,7 @@ CONSTRAINTS = [ ("sphinx_autodoc_annotation", None), ("sphinx_gallery", None), ("sphinx_rtd_theme", None), -- ("synr", "==0.5.0"), +- ("synr", "==0.6.0"), + ("synr", None), ("tensorflow", None), ("tensorflow-estimator", None),