This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch refactor-s2
in repository https://gitbox.apache.org/repos/asf/tvm.git
discard 7126c65695 Update to enable explicit Any cast
discard 25772b0c97 [FFI] Refactor to make Any require explicit cast to value
discard 184a813e77 [WIN] Initial stab to make win ffi compile
discard d5e4fa026a [MACOS] enable backtrace for macos
discard 51c1540d24 [CYTHON] better traceback with cython func
discard 019e1f7879 [FFI] Cython update map to conforms to abc
discard ea5e76c7f5 [FFI] Fix the range based child slot checking
discard cfd80287bb [FFI] Enable Map to preserve insertion order
discard e2475faf11 Update to fix gpu and ffi
discard 27c21e713e Cython FFI module cleanup
discard 76a0ab26fe Swap global registry to use ffi::Function
discard 21fa6e5a9b [FFI] More global function access utils
discard 811a5b7a94 Update code to reflect latest changes
discard 2bf7d9f85c [FFI] Isolate reflection as submodule
discard eb8035b299 [FFI] Enable set_body_method
discard 64a86685bd Add check signal support
discard d46686fae8 [FFI] Add CheckSignal support for long running fn
discard ae2cd5b44c Cython migrate to new error handling
discard d3acd9d4f7 [FFI] update error handling
discard 232a7e12d1 Cython some improvement of convention
discard 85f5e06f0a Cython all container ready
discard 24eb79c29f [FFI] Add container registered funcs
discard cd47661b66 Cython DLPack and NDArray support
discard b6dcfe90e6 [FFI] Fix DLPack
discard 94232ad988 Cython Device support
discard e5a6fa36b6 [FFI] Device support
discard f6a86de4cd Cython func call with error handling
discard 74eab89ba9 upgrade to latest erorr abi
discard c8c87b1a65 [FFI] Introduce Formal ErrorInfo
discard 8726b73723 [FFI] Clarify more on safe call
discard 75c34c7702 [FFI] Add testing
discard a12bbef61d Setup cython basic items for new FFI
discard 40dd314040 upgrade to dtype changes
discard 73d434b7c0 [FFI] Create DataType helper function
discard d6876abbec run node reflection
discard 09d73b4a9e [FFI] Rename GetTypeKey2Index
discard ad00ba96b6 Upragde to keep name FFI Module
discard f440ebf362 [FFI] Keep name FFIModule
discard 16fabcb68b update code after array/map node to obj rename
discard 64e631c8a0 [FFI] Rename ArrayNode to ArrayObj, MapNode to MapObj
discard cb9b29ccef Upgrade GetDataSize
discard 88b305c4dd [FFI] bool compact
discard 302e3209d7 NDArray migrate to new mechanism
discard dc8d556b8a [FFI] Introduce NDArray with DLPack support
discard 751b807174 fix structural hash and relax tir codegen
discard bb59acb834 Upgrade FFI to accept ndarray as handle
discard 53cd6e1b01 fix python shape obj reg
discard 3b442fa7ad Update string to make use of the new ffi::String convention
discard 545a076854 [FFI] Make the data/size fields of ByteObjBase inline
discard 6401b7ac7c migrate shape to use ffi::Shape
discard 1c72bff752 [FFI] Introduce Shape
discard 2d359eab02 Fix lower call packed
discard 625d3c5dc3 [FFI] improve traceback
discard 5a0471b21c Fix packed api testcases
discard a5f0135bbd Fix chost caller
discard 85a32677ee Introduce a new ffi path for dev
discard 5bcabc7ccf Cleanup boxed primitive
discard 1cd236d7fe [FFI] DType support for dlpack v1.1
discard abfb00b093 [FFI] upgrade dlpack to v1.1
discard 072fee3935 Upgrade error reporting mechanism ABI to new FFI.
discard 5d9f1a2dcb Upgrade the caller side of ABI to make use of the latest FII
discard e396ed2427 Upragde codegen callee side PackedAPI to use the latest FFI
ABI
discard 72e705a4cf [FFI] Enhance FFI error handling
discard 81c7e6d779 fix lin and MS
discard d16ae9a6f1 Fix hexagon build
discard f166c8eaac Fix hexagon flags
discard 645ed673b9 [FFI] Fix flag
discard b30196314d skip msc plugin
discard 5fce12f472 pylint
discard d2ef7f9dea Fix MS trace
discard 1d6c204916 [CODEGEN] handle_byte_offset
discard e42fda5d36 [CODEGEN] TVMFFIAny support in struct get/set/alloca
discard cbe5a3a369 add handle add by byteoffset
discard 0201c51b2c [FFI] reverts DLtensor align assert
discard 977dd0e506 Fixup MS to ensure concrete value
discard 13ac7dab8b [FFI] consistent header size and alignment across platforms
discard 8f8757a64b fix load params
discard 92c9d708d1 [FFI] Add up more object info
discard c896f58a14 [FFI] Fix backtrace when symbol needs to be detected from
env
discard c2097a2b07 lint
discard bbe6a47a4a [FFI] clarify enabled into two categories
discard f3558bfebd fix contrib items
discard aeec88d905 lint
discard b214219f93 minor runtime fix
discard 717153c83f [FFI] 32bit compact
discard 5727730c06 Update
discard cd8f127022 fix web runtime
discard a3b0072143 [FFI] 32bit robustness
discard b3069f0203 [FFI] Move ByteArray to be consistent on 32bit for now
discard 63659d8a66 Legacy always returns raw string to keep things simple
discard 3f154d772f Always return str in ffi
discard d56fa100de fix through web
discard 02a5796eff [FFI] minor update
discard 6e2ebc89a6 update contrib
discard a76f093a6f fix lint
discard 712d47b075 fix msc and cpptests
discard b1ac26d267 black
discard e807090c55 fix te
discard 3da14e6c90 Fix vm setinput
discard 1071b561ba Fix adjust matmul order
discard 10a8b52641 fix instrument
discard d4020d90e7 Fix vm codegen only
discard 55cad49c07 fix onnx
discard 30a50b23a0 cpplint
discard ea195687eb support legacy export dll
discard 208e3e5fc8 fix layout free buffers
discard 324ed87d28 fix alteroplayout
discard c351cf560d Fix MS JSON parser
discard 45bdb2b34d fix parser
discard 347c1c63b4 fix tuning
discard ceb2bec2d1 fix memplan
discard 36c16042ef Fix reflection
discard dc37e430ff fix legalize ops
discard 231a5d1b30 fix transform params
discard 02e56bf34f fix fuse tir
discard 525522b971 fix topi reduction
discard 20c1e23b42 Fix fuse
discard e9013edf8a fix through fuse ops
discard b21fa86ca2 Fix full
discard 746a250657 Fix dynamo
discard c04e3ea7a5 Optional int migration finish
discard 75c6540360 cpplint
discard 7c2e6f9c8f Move Optional<Integer> to Optional<int64_t>
discard d5fd987463 work through shape lower
discard ee2bdb42d6 Fix through relax
discard 1dec5b329f fix vm
discard 2a14e18314 bugfix relax compiled
discard b9e55314fa Remove attr normalize and rework tir and script
discard 9b21d5a2e3 MS to use any trace
discard b7ec32f1e1 [FFI] Enable general contains check and upcast
discard e2ddf72d2a [FFI] Dtype string conversion to empty string to be
consistent
discard 45aa79da5e Dlight minor wip
discard 56c917d734 Fix relax wip
discard 33e8b1e741 WIP through relax
discard 75e8523661 Fix tvmscript
discard 1d2b1c33c3 Fix target
discard 165bdb717e Fix through MS
discard 44f7b38e1b Fix disco nccl and vm bultin
discard 01a6c337f5 WIP through MS, some last items
discard e69378031a fix ms replytrace
discard 30d7594fb7 Fix MS Getvalue bug
discard fb6cd9c937 Backward compact ms
discard 58e3c46c1b Pass runtime
discard e449d3bfe7 lint
discard d8e3a8c1f9 Fix through rpc
discard e13f416300 Fix through runtime, rpc wip
discard a5edd90403 Fix save
discard 940bab8ea8 Fix codegen
discard eb8f145468 [FFI] Support move from any
discard d854654065 fix schedule bug introduced in refactor
discard a98e514959 wip through schedule
discard f14c6a4533 Fix for ir tests
discard 7f5c040f22 Fix rvalue passing in passes via std::function
discard 39491a33b8 Fix schedule setup attr
discard 1743c1e14c Fix up attr setup
discard 3010d94cab Fix compile, need also update from the ffi side
discard 68e238c324 Fix attribute values for tir-transform
discard c0bf8e1ea2 BUGfix reflection.cc
discard 2e9f2f4ac7 minor fix
discard 4ad8220c07 Fix vk target
discard a88831ac77 Fix op registeration
discard b0218325b5 Fix trace
discard a8afbaf56a Move towards pod attribute in mod and func
discard e01a426917 fix struct hash/equal
discard 81379dcdf3 push through script printer
discard 9d16c93df6 fix up serialization
discard 3d32a0769e Fix up target
discard 12eacddeec [FFI] Update cast to be any aware
discard 0c958291e3 [FFI] minor object error report
discard e8d24298cd upgrade target handling
discard c69dc8c20e [FFI] Add reflection to runtime type index
discard 198fbd3f02 [FFI] Improve to ensure array.map have uniqueness
discard 6eeff35f88 work on cpptests, need to visit one case
discard f485051dcc [FFI] Add static_field_type_index here
discard afce1eddab [FFI] Add builtin types to dyn type table query
discard 093d025e52 Update test
discard a6695f1093 fix through printer stmt
discard 3cf7ddd646 fix target and phase out box value
discard e7bb9f6447 fix target
discard 21450dbdd2 upgrade target
discard 7c3664abc7 upgrade target
discard f85099fe1f fix logging compact
discard d9bd8e8df2 lint
discard f943acb593 [FFI] Introduce GetGlobalRequired
discard fcbf46b681 Remove backup files
discard 020eb1b67b wip through error
discard 9a81e8f7cb [FFI] Traceback consistent with python
discard 95c8157dbb wip target migration
discard cff102c3f0 WIP error migration
discard a2316d634f [FFI] Make Traceback argument order consistent with
appearance order
discard 6c2a350c16 error hanlding patch
discard 1ddd21eaa2 wip tir-base
discard b7ffbebb12 lint
discard 038a841353 work through base
discard 6f9d901a36 [FFI] Introduce RValueRef for object type
discard d406720ad6 Update per latest update
discard 9d4d1011ae [FFI] Cleanup the functions in unsafe namespace
discard 21b2b8d5ef [FFI] Introduce Tuple support
discard 29d0224138 WIP through arith
discard 18da2f4f2c fix dtype type traits
discard ce635bc64f [FFI] Refactor to formalize container any storage policy
discard 292e85c15c Fix primexpr conversion and legacy convert
discard cf2a852a7b [FFI] Keep Optional<T> only for data structure for now and
use std::optional for as
discard 12d957b0fe change back dataflow expr
discard cd64b949b1 [FFI] change back to let optional always generate fresh
value for safety
discard dcd69c44ca wip cross check mem safety
discard 937d61f2fb [FFI] Remove Any traits for ObjectPtr so it can be kept
internal
discard 069b0c6058 update wip
discard 80885c1331 [FFI] lint
discard ca19e2d918 update wip
discard 4647a9a30a [FFI] Cleanup Any
discard 50cad14010 [FFI] Formalize and adopt Optional throughout the codebase
discard a5f9362956 [FFI] Fix traceback with empty filename
discard 3273df0d4e Update optional
discard 60419e8622 [FFI] WIP through optional
discard 335e05d9aa wip through arith tests
discard 6323c5c3e6 [FFI] more testcases on function value conversion
discard 16bf6a0753 [FFI] lint
discard b3eb8f57a2 [FFI] Add FallbackTypeTraits testcases
discard e767d0ba5d enable primexpr overload
discard da6986a172 lint
discard 906d6cd013 [FFI] lint
discard f8cfb63d2a fix wip
discard dc7e04835e [FFI] Add string traits via fallback
discard 21fb271297 auto convert int, str, float
discard b40ea5b8e3 cpplint
discard b7b02b278b Fit new dtype API
discard 6cadf102c5 [FFI] Use formal CamelCase
discard d9c884e679 [FFI] minor
discard 17e9c34c5a get string correctly
discard c70c50f5a7 cpplint
discard 6ccc8d46b5 [FFI] Formal dtype support with clear string conversion
discard f4090a7e4b [FFI] Include field accessors
discard c8ae2e8452 Pass compile, now start trying
discard d2a5180c8a [FFI] Minor recorg
discard e60134fac8 Fix python compile
discard 5d98b9fa68 push through compile
discard ef356bc333 [FFI] minor fix
discard 6404a7c020 push through tir topi and target
discard e8611b5c80 [FFI] Introduce GetTypeKey to any and objectref
discard 0cf5105023 [FFI] bugfix optional converstion
discard 9373ae0f0d wip migrate map object to map any
discard 8d5249df8a [FFI] Debug optional
discard 3e16670efe push through tir
discard 3585244d00 [FFI] Update with same_as
discard 886cb3ce20 Push through
discard 103777dd10 push through relax
discard a7d9df2c82 [FFI] leverage std::optional for standard map get api
discard e99813baf6 Change through relax and tir
discard 808d164203 [FFI] Add shortcut to the as Node type
discard 555b4ae124 [FFI] Fix missing include for optional
discard 2ed8cd73d2 Move TryAs to as
discard 08aec4294f [FFI] use std::optional for Object.as to keep things
self-contained
discard 6cc70c390a [FFI] TryAs=>as to be consistent and simpler
discard 8d7c639ca1 Fix repr
discard e4ff530974 Enable any print
discard 7e14a456bb lint
discard 963275e427 [FFI] lint
discard 28d8c9ac1a go through struct hash/equal
discard 8642ce4168 [FFI] Simplify AnyHash
discard 0aec6a05f8 WIP need to move sequal/hash to handle any
discard 737346d84b Push through serialization
discard 79e9ff5ba1 [FFI] Add StaticTypeKey
discard 12092a4717 Bulldoze through node
discard 5c916e1608 lint
discard 520d3bf07b Finish MS, good job
discard 2cff3c31fe push through MS
discard 0eb75b35c1 WIP attrs, simplify to map<str, any>
discard f8bdfc9bf2 WIP attrs, simplify to map<str, any>
discard e3a8472939 Redirect to variant
discard 0e1bdac847 Backup variant
discard 024f8f5c3f lint
discard 62a1842cad [FFI] Add variant support
discard 7ccd4ecd37 go through env function
discard e7b29ca094 [FFI] allow mutable call to captured functor
discard 38be00c9f5 get through attrs
discard 31f6229be7 Remove objectref scaffold to be direct
discard f7e611e221 node wip
discard 574ca91d18 run lint
discard abe24f1801 [FFI] lint
discard d92c40ea05 Runtime pass
discard b6bdc85eb9 pass through runtime compile
discard dfc592efa9 Push through rpc. now on to device module
discard 2d1accf030 [FFI] Add fwd compact NDArray compact with DLTensor
discard f19c4e8e92 wip rpc
discard 825cc0e6e4 push through disco
discard 24db8f81fb WIP through vm and disco
discard 54e976f569 wip go through vm
discard 8d4c5128d3 getting clear path wip through disco now relax vm
discard edff5175dd run clang-format
discard 0ad8694331 [FFI] clang-format
discard 603e7015ab Wip through new PackedArgs ffi
discard cad07c58be [FFI] Refactor to keep param order args, num_args
discard 03650454f1 wip through relax vm
discard 8cbc9eac5a wip through relax vm
discard 666ac76c33 Go through disco
discard 5ec7d9a270 [FFI] Add Any
discard 5d87d87e92 Go through disco runtime
discard a16f855c2b [FFI] Add more object tests
discard 109e001c96 [FFI] Enhance Optional
discard a13326a150 cpplint
discard 9f83f66c93 Finish container
discard 1b365a76f0 cpp lint
discard 152c551031 Pass runtime api compile
discard fbcebcfa45 Make steady progress in runtime
discard 523493c390 First stab debug compile pass
discard e40805a4c1 WIP swap in packed func
discard 3f77edadc0 [FFI] Enhance raw string to any logic
discard 677f83e961 [FFI] Enhance Map conversion logic
discard 87927a4a3d [FFI] add support for Bytes
discard eb3ac62b6d [FFI] Fix up AnyView const convert
discard 1a6a7b21aa [FFI] Add support for TypedFunction
discard 59d279e634 Move in redirects for packedfunc
discard 991a3667b9 Move out packed func for swapping
discard c1276963fb Move the containers to backup for swapping
discard 56b5e60b07 Cleanup cpplint and enhance object, move on to s1
discard 9121a84847 Remove legacy rust map/array support
discard c8cdf9b38f Fix libsearch under new ffi folder
discard c80af92f7c Add ASF headers
discard e207c333a3 fix lint and minor compile
discard d54c107326 lint
discard c61a4db4fb Fix deleter to match latest
discard a7d6b9abf7 Pass compile
discard 74273d91c9 clang format
discard a48489a07d pass expr first stab
discard cd033b2bf5 Pass all runtime
discard 109544b013 pass object and runtime compile
discard 2daf562d2f Use specific import via using and not do global namespace
discard 4d1a6c44d1 pass basic disco session compile
discard 25544a9adc pass ndarray compile
discard 27c8cb3e7f pass packed func compile
discard 7fb59fef6f Fix NDArray compile
discard d3ae6e5b18 Move over container on new object
discard b7da225862 First step, pass string compile
discard dfce13e77b CMake links ok
discard 189a420a38 [REFACTOR] Migration starting pt
discard 7ed2a88df6 Fix ffi
discard d38f62296c [FFI] Enhance the deleter and reflection to be aware of
padding
discard 11eda23902 Cleanup and focus on the integrated version
discard b0e9a26bba [FFI] bool, device, tensor, raw str
discard ece3b48075 [FFI] Initial reflection support
discard bda7d60f26 [FFI] Global function registry
discard 9fc841faa6 [FFI] Formalize SafeCall handling
discard 2a4a2b24e9 [FFI] Initial map support
discard b7b9908da6 [FFI] Optional Support
discard c0d8dd9dc6 [FFI] Introduce String support
discard b761c0ccee [FFI][REFACTOR] Cleanup naming convention and lint
discard e45604476e [FFI] Introduce array support
discard d3bc5d1497 [FFI] Improve Any coverage to include ObjectPtr
discard e268c53401 [FFI] Function support
discard 4c4d847ecd [FFI] Any support
discard ce3703349b [FFI] Object type hierachy cast and check support
discard edea62a5d2 [FFI] Add libbacktrace support
discard c368456782 [FFI] ObjectRef based Error
discard e2e1ad78c9 [FFI] Enable ObjectPtr and tests
discard 3e3d4048cb [FFI] Initial step to create ffi from the original tvm
source
discard 991d25672f [FFI] Initial Code Commit
add 5ca9fa6251 [CI] Update images to 20250428-080833-03eadc65 (#17891)
add 502a133429 [RPC] Fix Bug That Change Dict When Iterate The Keys
add 49564f7a2c Add masked_fill_.scalar, logical_not.default in Exported
Program frontend (#17909)
add 0c0cdd8958 Add op support for new_zeros op in Exported Program and fx
graph frontend (#17911)
add fd7fecc95a [Relax][PyTorch] Add support for eye op in fx graph (#17908)
add 85e368952d Fix off-by-one error in the type index range check within
Object::IsInstance()
add cbba0e38d3 Make slot end calculation more readable
add 4955f3b465 [Relax][PyTorch] Add Pixel Shuffle Op Support for Exported
Program and FX graph (#17886)
add c211e482be [Triton] Support latest `triton.compile` interface (#17913)
new fe9b9e346b [FFI] Initial Code Commit
new 3bcd0ecdd0 [FFI] Initial step to create ffi from the original tvm
source
new 480d83de0a [FFI] Enable ObjectPtr and tests
new 31f453aed1 [FFI] ObjectRef based Error
new a993418524 [FFI] Add libbacktrace support
new 0c81001f79 [FFI] Object type hierachy cast and check support
new 0d27cb3cc3 [FFI] Any support
new 4060a100dd [FFI] Function support
new b845a3de55 [FFI] Improve Any coverage to include ObjectPtr
new 2c26fe150d [FFI] Introduce array support
new 3bfa148cfd [FFI][REFACTOR] Cleanup naming convention and lint
new 2af2e799b5 [FFI] Introduce String support
new 68b533507f [FFI] Optional Support
new 9dbc24a888 [FFI] Initial map support
new 1a05f7322f [FFI] Formalize SafeCall handling
new 1894164556 [FFI] Global function registry
new 4cc0d9554c [FFI] Initial reflection support
new d7a64f2a1d [FFI] bool, device, tensor, raw str
new 585cd1ec20 Cleanup and focus on the integrated version
new bf6e0c64fd [FFI] Enhance the deleter and reflection to be aware of
padding
new db6e5d3f8f Fix ffi
new 9955f3098a [REFACTOR] Migration starting pt
new 2438e81dc9 CMake links ok
new 75a4a663ed First step, pass string compile
new d2e9d54972 Move over container on new object
new d669d24d2a Fix NDArray compile
new 0bd9eb3f8f pass packed func compile
new f4414c2af8 pass ndarray compile
new 979be61c1b pass basic disco session compile
new d7b2b1d85b Use specific import via using and not do global namespace
new 8ee509bb41 pass object and runtime compile
new a27694e23d Pass all runtime
new 3a4423355d pass expr first stab
new 4d12a591f1 clang format
new 8470525ad7 Pass compile
new 0fea6f0c52 Fix deleter to match latest
new 042bc273fc lint
new de2b3ff660 fix lint and minor compile
new eec2f60587 Add ASF headers
new 4c7a2a3390 Fix libsearch under new ffi folder
new 23a3c3ad7b Remove legacy rust map/array support
new ba5fa4067b Cleanup cpplint and enhance object, move on to s1
new 2dfb284bba Move the containers to backup for swapping
new 7ac7bef69b Move out packed func for swapping
new f994d9a163 Move in redirects for packedfunc
new f22321e6a6 [FFI] Add support for TypedFunction
new a899fdfb12 [FFI] Fix up AnyView const convert
new b1c659d351 [FFI] add support for Bytes
new 4ec8246d26 [FFI] Enhance Map conversion logic
new c6053d5ba0 [FFI] Enhance raw string to any logic
new 3ec07ce62d WIP swap in packed func
new ba9747fe3f First stab debug compile pass
new 8a43f2fb46 Make steady progress in runtime
new 8372cd7b47 Pass runtime api compile
new 5dbde6a5a8 cpp lint
new 7dc5bcfcc5 Finish container
new a9172b3740 cpplint
new bfcd611bd7 [FFI] Enhance Optional
new 7b63f58d51 [FFI] Add more object tests
new f41151c5b0 Go through disco runtime
new 8c97ac6f9b [FFI] Add Any
new 8d87bf3ee3 Go through disco
new de9d6e3020 wip through relax vm
new 8d2e98e399 wip through relax vm
new b25105d39f [FFI] Refactor to keep param order args, num_args
new 7b069751b5 Wip through new PackedArgs ffi
new 0850d24196 [FFI] clang-format
new b8009075b9 run clang-format
new 00e52d489f getting clear path wip through disco now relax vm
new 76afb844c7 wip go through vm
new 7ae82410df WIP through vm and disco
new 1b4bab1089 push through disco
new 1baa00ec5d wip rpc
new 1ac1039873 [FFI] Add fwd compact NDArray compact with DLTensor
new 1b38839967 Push through rpc. now on to device module
new 8d72ef2e49 pass through runtime compile
new 7e880f2532 Runtime pass
new 47f9b232e3 [FFI] lint
new c32649991e run lint
new 59b1d9a848 node wip
new 22560e61c5 Remove objectref scaffold to be direct
new ff1ca46a7f get through attrs
new ffdf01284f [FFI] allow mutable call to captured functor
new 53c40a5361 go through env function
new fbe2637f8f [FFI] Add variant support
new 1f4314e982 lint
new 49113dcfd6 Backup variant
new 327a24f92e Redirect to variant
new 9f1e655fc7 WIP attrs, simplify to map<str, any>
new 939ee64854 WIP attrs, simplify to map<str, any>
new 2392cd2ad5 push through MS
new df7f37bae7 Finish MS, good job
new ce40b10adf lint
new 882478867a Bulldoze through node
new efe710fc95 [FFI] Add StaticTypeKey
new f71e40eb5d Push through serialization
new 2074ef1792 WIP need to move sequal/hash to handle any
new 7e686d4d39 [FFI] Simplify AnyHash
new 216742a7af go through struct hash/equal
new ff4498c4d3 [FFI] lint
new 3735c87b90 lint
new fa660cbc0f Enable any print
new 68d3427c87 Fix repr
new 0b168a01af [FFI] TryAs=>as to be consistent and simpler
new 7172036638 [FFI] use std::optional for Object.as to keep things
self-contained
new 54ec69071d Move TryAs to as
new c616e6cd27 [FFI] Fix missing include for optional
new 34387c533c [FFI] Add shortcut to the as Node type
new 9c50f93285 Change through relax and tir
new 9159083d7b [FFI] leverage std::optional for standard map get api
new 2c1aa005e4 push through relax
new 5fdd1f6719 Push through
new 654da739be [FFI] Update with same_as
new 87597218b2 push through tir
new 7d17fe6d45 [FFI] Debug optional
new 656d26ab6d wip migrate map object to map any
new 5092441647 [FFI] bugfix optional converstion
new ce6ba099d9 [FFI] Introduce GetTypeKey to any and objectref
new 62edb9a462 push through tir topi and target
new 34d7018957 [FFI] minor fix
new 2f9a0a1e5a push through compile
new abfdc910e4 Fix python compile
new ed16aeb8a9 [FFI] Minor recorg
new 36e2107e74 Pass compile, now start trying
new d7a1d73c9b [FFI] Include field accessors
new 3cedd8d91e [FFI] Formal dtype support with clear string conversion
new 22ee4541aa cpplint
new 800c86cb7a get string correctly
new 9fc6705ee7 [FFI] minor
new d5ce5bdf1e [FFI] Use formal CamelCase
new ddccbdb445 Fit new dtype API
new 7070c59ba2 cpplint
new 5dc675194a auto convert int, str, float
new 0186476e29 [FFI] Add string traits via fallback
new c8b8eef744 fix wip
new de7a5495dc [FFI] lint
new 483bc3b20f lint
new e24e31f9f2 enable primexpr overload
new b376a3ebe0 [FFI] Add FallbackTypeTraits testcases
new 9a4a26ae9d [FFI] lint
new 0290f4b0a6 [FFI] more testcases on function value conversion
new 8df9a5609e wip through arith tests
new 57dd28861d [FFI] WIP through optional
new 2fa4834c8a Update optional
new 7e202879b7 [FFI] Fix traceback with empty filename
new f1d173b40f [FFI] Formalize and adopt Optional throughout the codebase
new 86f7a020a0 [FFI] Cleanup Any
new 91d7ec8254 update wip
new 6a7c1a1b9e [FFI] lint
new f47904eded update wip
new b0aea6dce8 [FFI] Remove Any traits for ObjectPtr so it can be kept
internal
new 37c383a0d1 wip cross check mem safety
new 3794a9f921 [FFI] change back to let optional always generate fresh
value for safety
new b1725062b8 change back dataflow expr
new b71fd389e7 [FFI] Keep Optional<T> only for data structure for now and
use std::optional for as
new 34d79f7b62 Fix primexpr conversion and legacy convert
new 2ec79cf743 [FFI] Refactor to formalize container any storage policy
new 5e0b3e0c7a fix dtype type traits
new 4ee6507dd4 WIP through arith
new b2c7276b07 [FFI] Introduce Tuple support
new 81a45586ea [FFI] Cleanup the functions in unsafe namespace
new a35ba47df4 Update per latest update
new cbee87a6bb [FFI] Introduce RValueRef for object type
new 0546e57488 work through base
new 8ed2d0ff84 lint
new 977519fbfe wip tir-base
new 7b2d59a58b error hanlding patch
new fdbfa371ca [FFI] Make Traceback argument order consistent with
appearance order
new ddd39ddc9a WIP error migration
new 9fb64ced08 wip target migration
new d064042862 [FFI] Traceback consistent with python
new da5c13bfef wip through error
new 70e80049d9 Remove backup files
new 233ac212de [FFI] Introduce GetGlobalRequired
new 8021b2c315 lint
new 0402ac4b14 fix logging compact
new c14adfbb68 upgrade target
new 9c280cd6b5 upgrade target
new 264d4c7883 fix target
new e35c3d98bd fix target and phase out box value
new 27354c9582 fix through printer stmt
new 8f03caec32 Update test
new 8a603f4f7c [FFI] Add builtin types to dyn type table query
new c2c32ba0cd [FFI] Add static_field_type_index here
new 8773d8ab35 work on cpptests, need to visit one case
new 56855f66a0 [FFI] Improve to ensure array.map have uniqueness
new 36cbee4a76 [FFI] Add reflection to runtime type index
new f4caa5c63b upgrade target handling
new b63568f1da [FFI] minor object error report
new d225c280e5 [FFI] Update cast to be any aware
new 980c62f059 Fix up target
new aa9344f185 fix up serialization
new 10f51d2f72 push through script printer
new 52769057b9 fix struct hash/equal
new a0455a26c2 Move towards pod attribute in mod and func
new 37f6c60b4f Fix trace
new 3055ff2ae4 Fix op registeration
new e7f31ea915 Fix vk target
new 7b98197023 minor fix
new 709d405077 BUGfix reflection.cc
new 4e36c6b55a Fix attribute values for tir-transform
new 9309383884 Fix compile, need also update from the ffi side
new 16161bc61b Fix up attr setup
new 1e5ef57f2a Fix schedule setup attr
new efbf3beb23 Fix rvalue passing in passes via std::function
new dfd9a6fa20 Fix for ir tests
new e5b36d7735 wip through schedule
new 2e516b2c1e fix schedule bug introduced in refactor
new ad509574d4 [FFI] Support move from any
new aecf64ae94 Fix codegen
new e22c4a1810 Fix save
new a8f962e227 Fix through runtime, rpc wip
new 6c52faa5ff Fix through rpc
new d7732746f9 lint
new 5e35e49335 Pass runtime
new 70e043910c Backward compact ms
new f51ee27dfb Fix MS Getvalue bug
new 18525f0a9d fix ms replytrace
new b16ee32fb4 WIP through MS, some last items
new e1fd992b97 Fix disco nccl and vm bultin
new f60639ecd5 Fix through MS
new ac79d0ca47 Fix target
new 439f59c41e Fix tvmscript
new 1bcf0298d7 WIP through relax
new e832329416 Fix relax wip
new c37a916426 Dlight minor wip
new ec809b4798 [FFI] Dtype string conversion to empty string to be
consistent
new 59c7a290ef [FFI] Enable general contains check and upcast
new 263254a529 MS to use any trace
new 980ff4fe04 Remove attr normalize and rework tir and script
new 33b8ea8511 bugfix relax compiled
new 3ef5c50f7e fix vm
new ca7fd68744 Fix through relax
new 10d50c6941 work through shape lower
new 6f3611952a Move Optional<Integer> to Optional<int64_t>
new 450c28e5f8 cpplint
new 7a236b22e9 Optional int migration finish
new 714db4cffb Fix dynamo
new ced0a8fcd2 Fix full
new c41e0bb3e8 fix through fuse ops
new 6847e50c97 Fix fuse
new 4dc15a3c7b fix topi reduction
new 5da3197df8 fix fuse tir
new 382d5b2b69 fix transform params
new 5cb8e0ab3c fix legalize ops
new 491c14f109 Fix reflection
new 76917374ca fix memplan
new f774787811 fix tuning
new 63f196ac2f fix parser
new 66aaa4c0b1 Fix MS JSON parser
new 9f7c93e8b4 fix alteroplayout
new af479a91ad fix layout free buffers
new 680b9763e2 support legacy export dll
new b3e4db6a5d cpplint
new 5f5a0c127e fix onnx
new 217fd488e6 Fix vm codegen only
new 711bffffe4 fix instrument
new cede80c218 Fix adjust matmul order
new f7bb840d77 Fix vm setinput
new 3d85ae8d8b fix te
new e6f1e92327 black
new c4c28bf862 fix msc and cpptests
new 3c2923a433 fix lint
new f32d700940 update contrib
new 0d0be7d96f [FFI] minor update
new 54a19f71c3 fix through web
new 4839a5c239 Always return str in ffi
new 11748f15d8 Legacy always returns raw string to keep things simple
new b5043725fc [FFI] Move ByteArray to be consistent on 32bit for now
new 9e3cbffe2a [FFI] 32bit robustness
new 5220395eef fix web runtime
new f0c7d80b7f Update
new d52993227d [FFI] 32bit compact
new 2a367b487d minor runtime fix
new 251d7572df lint
new 5ab4d325f8 fix contrib items
new aad5d1c189 [FFI] clarify enabled into two categories
new d78e7265a2 lint
new 9740e89e3f [FFI] Fix backtrace when symbol needs to be detected from
env
new 300f537f2b [FFI] Add up more object info
new 0b6c0c8200 fix load params
new e51540e03b [FFI] consistent header size and alignment across platforms
new 724c4f04fe Fixup MS to ensure concrete value
new c0d50eacaa [FFI] reverts DLtensor align assert
new c7b10512be add handle add by byteoffset
new 6890411b6a [CODEGEN] TVMFFIAny support in struct get/set/alloca
new 9274c7268c [CODEGEN] handle_byte_offset
new f749f5eb49 Fix MS trace
new ba918a7dd4 pylint
new 4607057cd6 skip msc plugin
new c65782112a [FFI] Fix flag
new 20cdd8bea0 Fix hexagon flags
new a995ed73cb Fix hexagon build
new 2761d1eca6 fix lin and MS
new 977097f1c1 [FFI] Enhance FFI error handling
new 3b722abf51 Upragde codegen callee side PackedAPI to use the latest FFI
ABI
new 8fd739d375 Upgrade the caller side of ABI to make use of the latest FII
new 2965afc4fd Upgrade error reporting mechanism ABI to new FFI.
new 23fed03c05 [FFI] upgrade dlpack to v1.1
new 7c204786ef [FFI] DType support for dlpack v1.1
new 4037bdd09f Cleanup boxed primitive
new 9612e2fc4c Introduce a new ffi path for dev
new 7aee4487a3 Fix chost caller
new a260bfe7e8 Fix packed api testcases
new 538a7b8bca [FFI] improve traceback
new 06a074d711 Fix lower call packed
new 17667e278b [FFI] Introduce Shape
new 2f80a7baaf migrate shape to use ffi::Shape
new 42311b8115 [FFI] Make the data/size fields of ByteObjBase inline
new 3cfaf72b1d Update string to make use of the new ffi::String convention
new c336efc792 fix python shape obj reg
new 21e03d6358 Upgrade FFI to accept ndarray as handle
new fb1aded0a1 fix structural hash and relax tir codegen
new e2ca77c629 [FFI] Introduce NDArray with DLPack support
new 7273f9acb8 NDArray migrate to new mechanism
new 373cb7fe00 [FFI] bool compact
new 9c604a2303 Upgrade GetDataSize
new a8174260c7 [FFI] Rename ArrayNode to ArrayObj, MapNode to MapObj
new 8af8ae014d update code after array/map node to obj rename
new 7a390e224b [FFI] Keep name FFIModule
new af5578b8f5 Upragde to keep name FFI Module
new 49e4d34c87 [FFI] Rename GetTypeKey2Index
new 8e12b39502 run node reflection
new 71730d6cb3 [FFI] Create DataType helper function
new c8a0dc1696 upgrade to dtype changes
new 08f8fc004c Setup cython basic items for new FFI
new 35b84498d5 [FFI] Add testing
new 430a79e1af [FFI] Clarify more on safe call
new 64316ac9b5 [FFI] Introduce Formal ErrorInfo
new 14cde6cf67 upgrade to latest erorr abi
new de0dd3aa06 Cython func call with error handling
new db75641b45 [FFI] Device support
new 2ee989b68c Cython Device support
new cff8e02ba6 [FFI] Fix DLPack
new 82c95ed5c1 Cython DLPack and NDArray support
new c95a446dcb [FFI] Add container registered funcs
new f3a2a7639d Cython all container ready
new b49a2f15b3 Cython some improvement of convention
new 2d04069c11 [FFI] update error handling
new 4eb5d1dc31 Cython migrate to new error handling
new c0629f0b45 [FFI] Add CheckSignal support for long running fn
new 779c5a61b4 Add check signal support
new 584adfa13a [FFI] Enable set_body_method
new 7c2ea38215 [FFI] Isolate reflection as submodule
new 478408846d Update code to reflect latest changes
new 8348d10350 [FFI] More global function access utils
new 4bf0344213 Swap global registry to use ffi::Function
new a64477e445 Cython FFI module cleanup
new 710563e85e Update to fix gpu and ffi
new cc91d497e7 [FFI] Enable Map to preserve insertion order
new a574de614c [FFI] Fix the range based child slot checking
new db16375bd6 [FFI] Cython update map to conforms to abc
new 42a8174d37 [CYTHON] better traceback with cython func
new a857d45877 [MACOS] enable backtrace for macos
new 322c7a3c7b [WIN] Initial stab to make win ffi compile
new 875843fc55 [FFI] Refactor to make Any require explicit cast to value
new 70ca864dd9 Update to enable explicit Any cast
new 1118472cfa [WIN] Windows support
new 3a94c6ad5a [FFI] Windows
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (7126c65695)
\
N -- N -- N refs/heads/refactor-s2 (3a94c6ad5a)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 359 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CMakeLists.txt | 7 +-
ci/jenkins/docker-images.ini | 14 +--
ci/jenkins/unity_jenkinsfile.groovy | 4 +-
ffi/CMakeLists.txt | 2 +-
ffi/cmake/Utils/Library.cmake | 9 +-
ffi/include/tvm/ffi/base_details.h | 13 +++
ffi/include/tvm/ffi/container/container_details.h | 9 ++
ffi/include/tvm/ffi/container/ndarray.h | 2 +-
ffi/include/tvm/ffi/container/tuple.h | 4 +-
ffi/include/tvm/ffi/container/variant.h | 5 +-
ffi/include/tvm/ffi/error.h | 10 +-
ffi/include/tvm/ffi/function_details.h | 3 +
ffi/src/ffi/traceback_win.cc | 4 +-
ffi/tests/cpp/CMakeLists.txt | 7 +-
ffi/tests/cpp/test_array.cc | 10 +-
ffi/tests/cpp/test_map.cc | 2 +-
ffi/tests/cpp/test_ndarray.cc | 2 +-
ffi/tests/cpp/test_rvalue_ref.cc | 2 +-
ffi/tests/cpp/test_variant.cc | 4 +-
ffi/tests/cpp/testing_object.h | 11 ++-
include/tvm/ir/name_supply.h | 1 +
include/tvm/meta_schedule/search_strategy.h | 64 ++++++-------
include/tvm/meta_schedule/space_generator.h | 64 ++++++-------
include/tvm/meta_schedule/task_scheduler.h | 64 ++++++-------
include/tvm/relax/attrs/nn.h | 9 ++
include/tvm/runtime/threading_backend.h | 2 +-
include/tvm/tir/stmt.h | 15 ++-
.../frontend/torch/base_fx_graph_translator.py | 28 ++++++
.../frontend/torch/exported_program_translator.py | 4 +
python/tvm/relax/frontend/torch/fx_translator.py | 11 +++
python/tvm/relax/op/nn/__init__.py | 1 +
python/tvm/relax/op/nn/nn.py | 33 +++++++
python/tvm/relax/transform/legalize_ops/nn.py | 6 ++
python/tvm/rpc/proxy.py | 2 +-
python/tvm/script/ir_builder/tir/triton.py | 23 ++++-
python/tvm/topi/nn/pixel_shuffle.py | 75 +++++++++++++++
src/ir/function.cc | 3 +-
src/meta_schedule/utils.h | 3 +
src/relax/op/nn/nn.cc | 70 ++++++++++++++
src/relax/op/nn/nn.h | 3 +
src/relax/op/tensor/sorting.cc | 1 +
src/relax/transform/lower_alloc_tensor.cc | 1 +
src/relax/transform/realize_vdevice.cc | 1 +
src/relax/transform/tuning_api/database.cc | 20 ++--
src/runtime/thread_pool.cc | 8 +-
src/runtime/threading_backend.cc | 2 +-
src/script/printer/relax/tir.cc | 1 +
src/script/printer/tir/buffer.cc | 1 +
src/tir/analysis/stmt_finding.cc | 1 +
.../relax/test_frontend_from_exported_program.py | 83 ++++++++++++++++
tests/python/relax/test_frontend_from_fx.py | 104 +++++++++++++++++++++
tests/python/relax/test_op_nn.py | 20 ++++
52 files changed, 676 insertions(+), 172 deletions(-)
create mode 100644 python/tvm/topi/nn/pixel_shuffle.py