Skip to content

Conversation

kurisu6912
Copy link
Collaborator

wrongtest-intellif and others added 30 commits April 3, 2025 09:05
* fix reduce buffer allocation position

* fix test_tir_analysis_detect_buffer_access_lca.py::test_buffer_load_store
* fix test_flatten

* re-enable test_split

* fix test_to_copy

* re-enable test_batchnorm2d
* Update fx_translator.py

* Update base_fx_graph_translator.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* fix lint
…er (apache#17812)

* Update exported_program_translator.py

* Update test_frontend_from_exported_program.py

* Update test_frontend_from_exported_program.py

* Update test_frontend_from_exported_program.py
In this PR I have added jit support for sampling flashinfer kernel.
I have also added a unit test to test the jit compiled flashinfer kernel.
…ls (apache#17796)

In this PR I have made changes so that we can support CUBLAS
dispatch operations for bfloat16 data type.
…atten.int`, `hardtanh_.default`, `dropout_.default`, `silu_.default`, `add_.Tensor` and `relu_.default` (apache#17813)

* support `relu_.default`

* support `add_.Tensor`

* support `silu_.default`

* support `dropout_.default`

* support `hardswish_.default`

* support `hardtanh_.default`

* support `unflatten.int`

* fix lint error
…graph (apache#17806)

* add softplus op into exported program and fx graph frontend

* fixing trailing whitespace issue

* fixing lint issues

* fix lint issue on docs

* modify description to avoid cpplints issue

* update softplus function with threshold attr

* remove trailing spaces in softplus func

* fix lint issues in legalize func

* fixing cpp lints issue

* test script for both exported and fx graph

* trim trailing spaces iin test script

* fix lint issues in test script

* unit test script is added in test frontend op files

* fixing lint issues in test_op_nn file

* fixing attribute error in test script

* fixing lint issues in test script functions

* adding softplus wrapper function in op file

---------

Co-authored-by: deivanayakisankaralingam <deiva@Deivanayaki>
…7822)

* move gelu, relu, selu, sigmoid, silu tests to test_basic_unary_ops

* remove unused torchversion

* we don't need to manually call `test_*` functions

* remove unused variable
* Update fx_translator.py

* Update base_fx_graph_translator.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py
…ms translator (apache#17814)

* stack correct

* sum correct in side script

* all pass
This PR fixes a bug where running "pip install -e /path-to-tvm/python" fails
if installation files remain in python/tvm.

The fix includes:
- Preventing libraries from `python/tvm` from being appended to the library list,
resolving the shutil.SameFileError exception raised by shutil.copy()
- Adding cleanup logic earlier in case it was not executed due to a previous pip installation failure,
resolving the FileExistsError exception raised by shutil.copytree()
* enhance missing func types finding in exported program and fx graph frontend

* fix trailing space issue

* fix lint issues by formatting the code

* fix name error in fx frontend

---------

Co-authored-by: deivanayakisankaralingam <deiva@Deivanayaki>
…ram importer (apache#17830)

* Update exported_program_translator.py

* Update test_frontend_from_exported_program.py

* Update test_frontend_from_exported_program.py

* Update test_frontend_from_exported_program.py
…e#17832)

* unit test

* full.default

* linting

* ones ok

* tests for ones, full, and full like work
…pache#17838)

This PR fixes a bug in reverse-compute-inline of tir Schedule, which
generates incorrect TIR after inlining a transpose block into a
reduction block.
…ends (apache#17840)

* combine missing op logic of export and fx graph into common utilities

* move func call above builder and fix lint issue

* add type hint for nodes in helper function

---------

Co-authored-by: deivanayakisankaralingam <deiva@Deivanayaki>
* Update fx_translator.py

* Update base_fx_graph_translator.py

* Update test_frontend_from_fx.py

* Update base_fx_graph_translator.py

* Update test_frontend_from_fx.py

* Update base_fx_graph_translator.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py

* Update test_frontend_from_fx.py
…e#17803)

* Add support for logaddexp core operator

* Add test script for logaddexp

* Add fix for lint issues

* Adjust trailing spaces

* Adjust leading whitespace

* Add fix for lint inssues

* Add fix for logaddexp test script

* Fix lint issues

* decomposition at op level

* unity check

---------

Co-authored-by: Pratheesh <[email protected]>
Update upsampling.py

fix the incorrect docstring
* use `ubuntu-latest` for github ci

* use `ubuntu-22.04` for android build
…ph (apache#17816)

* prelu op support and test script added

* end-of-file issue fixed

* trailing whitespace issue fixed

* fixing lint issues

* fix assertion error in test_op_nn.py file

* add test script in test_frontend_nn_op.py

* include wrapper function for prelu in op.py

* fixing unity check issue by modifying test func

* conflicts resolved

* add doc for prelu op axis arg

* fixed failing checks issue

---------

Co-authored-by: deivanayakisankaralingam <deiva@Deivanayaki>
…e#17850)

* Add masked_fill support in exportedProgram

* Fix lint issues
apache#17849)

* add rsub op support into exported and fx graph frontend

* fix trailing whitespace issue

* fix lint issues in test scripts

---------

Co-authored-by: deivanayakisankaralingam <deiva@Deivanayaki>
* Update batch_to_space_nd.py

* Update bitserial_util.py
tqchen and others added 29 commits July 14, 2025 20:03
This PR modules reflection of ffi into registry.h and accessor.h
the dependent items are updated accordingly
…ef (apache#18148)

This PR migrates the remaining global def reg to use the new mechanism.
It also phases out the TVM_FFI_REGISTER_GLOBAL macro in favor of
the GlobalDef mechanism.
This PR changes the function global dup registration to log and throw
so we have clear error message about the function duplication.
* [COMMUNITY] Add new key for release signing

* [Misc] Update test_release_package.sh

Fix release script according tianqi advice (apache#17861 (comment)).
This PR decouples deep equal from structural equal implementation
by providing a more direct implementatio through functor.

DeepEqual is being used at heart of arith simplification as subroutine
and it performs more direct nested checking without doing var remapping
as structural equal for efficiency reasons. It also do not need to trace
the wrong comparison since the failed path is also expected to happen often.

This step likely will improve the deep equal efficiency
because of the more direct approach and gives us opportunity to
run simplify future refactor of structural equal to focus on struct path tracing.
This PR add initial support for structural equal and hash
via the new reflection mechanism.

It will helps us to streamline the structural equality/hash
with broader support and clean error reports via AccessPath.
It also gives us ability to unify all struct equal/hash
registration into the extra meta-data in reflection registration.
This PR fixes a build failure in nccl.cc due to the recent switch of
global function registration.
This PR introduces TypeAttr to reflection to bring extra
optional attribute registration that can be used to extend behaviors such
as structural equality. Also renames TypeExtraInfo to TypeMetadata for better clarity.
… details in the error message for better debugging context.
…ctRef> to Map<String, Any> for improved flexibility.
… Map<String, Any> for enhanced flexibility in handling annotations.
…ith various attributes for enhanced GPU compatibility (tile-ai#7)

Co-authored-by: xinyxiao <[email protected]>
@kurisu6912 kurisu6912 closed this Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.