Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ BSD 2-clause License

3rdparty/picojson
3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
python/tvm/_ffi/decorator.py


BSD 2-clause License + zlib License
Expand Down
16 changes: 16 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,19 @@ Copyright 2019-2023 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

This product includes software from the decorator project
(https://github.com/micheles/decorator)
Copyright (c) 2005-2021, Michele Simionato
Licensed under the BSD license.

The text of the BSD license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in bytecode form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
1 change: 0 additions & 1 deletion conda/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ outputs:
- {{ pin_subpackage(pkg_name + '-libs', exact=True) }}
run:
- python
- decorator
- psutil
- scipy
- typing_extensions
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.demo_opencl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN apt-install-and-clear -y apt-utils sudo cmake g++ llvm git libopenblas-dev

RUN echo "Installing Python"
RUN apt-install-and-clear -y python3-dev python3-pip
RUN pip3 install setuptools numpy pytest cython decorator scipy tornado psutil xgboost
RUN pip3 install setuptools numpy pytest cython scipy tornado psutil xgboost

RUN echo "Installing Jupyter notebook"
RUN pip3 install matplotlib Image "Pillow<7" jupyter[notebook]
Expand Down
1 change: 0 additions & 1 deletion docker/install/ubuntu2004_install_python_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pip3 install --upgrade \
"Pygments>=2.4.0" \
cloudpickle \
cython \
decorator \
mypy \
numpy==1.21.* \
orderedset \
Expand Down
1 change: 0 additions & 1 deletion docker/install/ubuntu_install_python_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pip3 install --upgrade \
"Pygments>=2.4.0" \
cloudpickle \
cython \
decorator \
mypy \
numpy==1.21.* \
orderedset \
Expand Down
2 changes: 1 addition & 1 deletion docs/install/from_source.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ The following commands can be used to install the extra Python dependencies:

.. code:: bash

pip3 install numpy decorator
pip3 install numpy

* If you want to use RPC Tracker

Expand Down
2 changes: 0 additions & 2 deletions python/gen_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"Base requirements needed to install tvm",
[
"cloudpickle",
"decorator",
"ml_dtypes",
"numpy",
"packaging",
Expand Down Expand Up @@ -241,7 +240,6 @@
("commonmark", ">=0.7.3"), # From PR #213.
("coremltools", None),
("cpplint", None),
("decorator", None),
(
"docutils",
"<0.17",
Expand Down
4 changes: 2 additions & 2 deletions python/tvm/_ffi/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ def decorate(func, fwrapped):
fwrapped : function
The wrapped function
"""
import decorator
from .decorator import decorate as _decorate

return decorator.decorate(func, fwrapped)
return _decorate(func, fwrapped)


# -----------------------------------------
Expand Down
Loading