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 e82734e82c NDArray migrate to new mechanism
discard 8bac6dd83d [FFI] Introduce NDArray with DLPack support
discard 520ffd650e fix structural hash and relax tir codegen
discard f183de2be8 Upgrade FFI to accept ndarray as handle
discard 1fc5e5efdd fix python shape obj reg
discard 9941819d3f Update string to make use of the new ffi::String convention
discard 8bfac6f37b [FFI] Make the data/size fields of ByteObjBase inline
discard d683652106 migrate shape to use ffi::Shape
discard 99d8920aae [FFI] Introduce Shape
discard 62c719a12a Fix lower call packed
discard c0c3349298 [FFI] improve traceback
discard 1891170571 Fix packed api testcases
discard 982787bc1b Fix chost caller
discard 265dcd1968 Introduce a new ffi path for dev
discard 6ef6134dff Cleanup boxed primitive
discard ea7a1dd421 [FFI] DType support for dlpack v1.1
discard a4f4d7182d [FFI] upgrade dlpack to v1.1
discard dfa9fe0030 Upgrade error reporting mechanism ABI to new FFI.
discard 35db35c04e Upgrade the caller side of ABI to make use of the latest FII
discard 31a7c7edd5 Upragde codegen callee side PackedAPI to use the latest FFI
ABI
discard 300b385434 [FFI] Enhance FFI error handling
discard 9307b2a21a fix lin and MS
discard 3eb5384117 Fix hexagon build
discard a69cdcec66 Fix hexagon flags
discard e4ef86d9cc [FFI] Fix flag
discard 96117f86d3 skip msc plugin
discard b59807255c pylint
discard 2c73750dcc Fix MS trace
discard 7b36f05f96 [CODEGEN] handle_byte_offset
discard 5a587eb1e9 [CODEGEN] TVMFFIAny support in struct get/set/alloca
discard 52295a39d5 add handle add by byteoffset
discard 6c5d683b35 [FFI] reverts DLtensor align assert
discard 8c7adb4565 Fixup MS to ensure concrete value
discard 3700bd916b [FFI] consistent header size and alignment across platforms
discard a905de7858 fix load params
discard 2323a0ae81 [FFI] Add up more object info
discard 4f0fd6d989 [FFI] Fix backtrace when symbol needs to be detected from
env
discard 3c4163cb68 lint
discard edd2dc51ee [FFI] clarify enabled into two categories
discard f3e5ea2dd8 fix contrib items
discard b396271b02 lint
discard a573ff5491 minor runtime fix
discard dcc9fe0158 [FFI] 32bit compact
discard 92fc02bddc Update
discard 9ed61f83a4 fix web runtime
discard b77a1e62b9 [FFI] 32bit robustness
discard c8c4bf561c [FFI] Move ByteArray to be consistent on 32bit for now
discard 6ce4201352 Legacy always returns raw string to keep things simple
discard eac99abe64 Always return str in ffi
discard bd7f045428 fix through web
discard d014246bac [FFI] minor update
discard 431617d8de update contrib
discard 7f934ae39c fix lint
discard 79bbd21374 fix msc and cpptests
discard 6b8715b7db black
discard 410c917b23 fix te
discard 61e7f4cc3c Fix vm setinput
discard 92a9069c7b Fix adjust matmul order
discard a30e00c00d fix instrument
discard 1329ff72cb Fix vm codegen only
discard 6938375b4d fix onnx
discard b3491dc20c cpplint
discard 60c9425571 support legacy export dll
discard 2a40e03ebd fix layout free buffers
discard d2c316ccf9 fix alteroplayout
discard 0ee932bf37 Fix MS JSON parser
discard dbdfb5377b fix parser
discard b1b6ec1658 fix tuning
discard e455f05591 fix memplan
discard 208917b910 Fix reflection
discard 2e6845815b fix legalize ops
discard 20367af78e fix transform params
discard 6a369106d5 fix fuse tir
discard 2541de0642 fix topi reduction
discard 0fd4cc7ca5 Fix fuse
discard 31dc2914b9 fix through fuse ops
discard 14ee4b71b9 Fix full
discard 73046e9293 Fix dynamo
discard 57332bdb9c Optional int migration finish
discard 04619ac284 cpplint
discard 638cb50876 Move Optional<Integer> to Optional<int64_t>
discard 8f3ad0ba69 work through shape lower
discard a9382b6fe4 Fix through relax
discard 7bf4c73316 fix vm
discard 5b55c15130 bugfix relax compiled
discard de9391d8a2 Remove attr normalize and rework tir and script
discard 73ced5977d MS to use any trace
discard c53b4d760f [FFI] Enable general contains check and upcast
discard 8bb6831880 [FFI] Dtype string conversion to empty string to be
consistent
discard 60115c5b65 Dlight minor wip
discard 7c6e5737e1 Fix relax wip
discard a90f7a3429 WIP through relax
discard 8564eff320 Fix tvmscript
discard 65eb1eb220 Fix target
discard 35f00c31f8 Fix through MS
discard 158a514539 Fix disco nccl and vm bultin
discard aa87ccb880 WIP through MS, some last items
discard 79e06a8ddb fix ms replytrace
discard 396a0df2a6 Fix MS Getvalue bug
discard efdb051766 Backward compact ms
discard 2187c02cb6 Pass runtime
discard 57a44a6fc7 lint
discard 5adc07f0a7 Fix through rpc
discard be1197efe6 Fix through runtime, rpc wip
discard 86a8a28671 Fix save
discard fe91fd3053 Fix codegen
discard f17765ea3f [FFI] Support move from any
discard b2bb78d2b0 fix schedule bug introduced in refactor
discard 444085f000 wip through schedule
discard 546779c7d7 Fix for ir tests
discard 38b34c90eb Fix rvalue passing in passes via std::function
discard 870691e197 Fix schedule setup attr
discard 2cd555238b Fix up attr setup
discard 2cdef698ce Fix compile, need also update from the ffi side
discard 15f0eff7d0 Fix attribute values for tir-transform
discard ba3b9d1c47 BUGfix reflection.cc
discard 5acfc9c2bf minor fix
discard 6dc03dd227 Fix vk target
discard 4cd2a0fcc8 Fix op registeration
discard f11e993544 Fix trace
discard ce9be5b3d6 Move towards pod attribute in mod and func
discard bc1a0f9d0e fix struct hash/equal
discard f9a7f51d1a push through script printer
discard 40cbad5189 fix up serialization
discard 9bcd8f53b3 Fix up target
discard f97127a2d6 [FFI] Update cast to be any aware
discard f198f89fb3 [FFI] minor object error report
discard 25add584a8 upgrade target handling
discard 242cd31a80 [FFI] Add reflection to runtime type index
discard ccbd6acf25 [FFI] Improve to ensure array.map have uniqueness
discard a3a4c5d701 work on cpptests, need to visit one case
discard ebfd223d40 [FFI] Add static_field_type_index here
discard 2bd77a70d5 [FFI] Add builtin types to dyn type table query
discard ef15b3fa1f Update test
discard e496dc148b fix through printer stmt
discard 72eec8dd5f fix target and phase out box value
discard 6964fe0231 fix target
discard 4b5a2aba41 upgrade target
discard 0628cacb76 upgrade target
discard 82c9da4bbb fix logging compact
discard c8b4c8d60b lint
discard 62252a5f69 [FFI] Introduce GetGlobalRequired
discard 1f0a73aed8 Remove backup files
discard e58d806eeb wip through error
discard 573b5e38ca [FFI] Traceback consistent with python
discard 3f9d536a1d wip target migration
discard fce1445302 WIP error migration
discard 3cfb2c40ba [FFI] Make Traceback argument order consistent with
appearance order
discard 715fc430a0 error hanlding patch
discard 1801a56f3a wip tir-base
discard 47e7715a3d lint
discard 3fadb22436 work through base
discard 09926d4a3a [FFI] Introduce RValueRef for object type
discard a81d14ca09 Update per latest update
discard 154f547c01 [FFI] Cleanup the functions in unsafe namespace
discard 8263aefe61 [FFI] Introduce Tuple support
discard 9a3b455991 WIP through arith
discard 9b8eea7994 fix dtype type traits
discard 6ac8366016 [FFI] Refactor to formalize container any storage policy
discard 164162648d Fix primexpr conversion and legacy convert
discard a2b385c27a [FFI] Keep Optional<T> only for data structure for now and
use std::optional for as
discard 21a9ed8d47 change back dataflow expr
discard 5dba702c7d [FFI] change back to let optional always generate fresh
value for safety
discard 879bfd0a72 wip cross check mem safety
discard 64d95910ee [FFI] Remove Any traits for ObjectPtr so it can be kept
internal
discard 9af0b54774 update wip
discard 4fa4e8c06f [FFI] lint
discard d1a33e077a update wip
discard af6d8a5d4c [FFI] Cleanup Any
discard 67dd708bf0 [FFI] Formalize and adopt Optional throughout the codebase
discard 49772346fb [FFI] Fix traceback with empty filename
discard 4adde1a519 Update optional
discard aa1d85146e [FFI] WIP through optional
discard 6f20b44a71 wip through arith tests
discard 7b6803c929 [FFI] more testcases on function value conversion
discard 1399251fbe [FFI] lint
discard c192a3e8e3 [FFI] Add FallbackTypeTraits testcases
discard 325d0e16e7 enable primexpr overload
discard 13fc749260 lint
discard b1dd07fc30 [FFI] lint
discard ece9a4ff50 fix wip
discard eb26a33438 [FFI] Add string traits via fallback
discard fcec781914 auto convert int, str, float
discard 949def8aee cpplint
discard 08fb774023 Fit new dtype API
discard d2efb27d4a [FFI] Use formal CamelCase
discard ba0685aa4b [FFI] minor
discard 67684629ac get string correctly
discard 44987d0d06 cpplint
discard d0131b216c [FFI] Formal dtype support with clear string conversion
discard 6029e31483 [FFI] Include field accessors
discard f3f5159a07 Pass compile, now start trying
discard e84763e53d [FFI] Minor recorg
discard a45e69329b Fix python compile
discard aaca879209 push through compile
discard e33bc46d2f [FFI] minor fix
discard f1554efc3b push through tir topi and target
discard 2c4760a22c [FFI] Introduce GetTypeKey to any and objectref
discard 8a910e5e87 [FFI] bugfix optional converstion
discard ff7481ab57 wip migrate map object to map any
discard f1edf2a434 [FFI] Debug optional
discard a9d9b0b17a push through tir
discard e414ff0940 [FFI] Update with same_as
discard 2166f72f77 Push through
discard edf3761b91 push through relax
discard 95f6f72a58 [FFI] leverage std::optional for standard map get api
discard bb889af957 Change through relax and tir
discard 5ce7655e6a [FFI] Add shortcut to the as Node type
discard 529309df33 [FFI] Fix missing include for optional
discard 2d3c71ff4e Move TryAs to as
discard 71102b942a [FFI] use std::optional for Object.as to keep things
self-contained
discard 5d3698772b [FFI] TryAs=>as to be consistent and simpler
discard 101f368af0 Fix repr
discard 854ed005da Enable any print
discard a0cd3ad787 lint
discard f69f3b39d0 [FFI] lint
discard b47fa39576 go through struct hash/equal
discard e2f8f25eb7 [FFI] Simplify AnyHash
discard 025b37714d WIP need to move sequal/hash to handle any
discard 285c0fcff7 Push through serialization
discard b6df7cabf7 [FFI] Add StaticTypeKey
discard 3a2f0d5acd Bulldoze through node
discard a725f57529 lint
discard 413d14255e Finish MS, good job
discard c6b9d329f9 push through MS
discard a8a73c70ae WIP attrs, simplify to map<str, any>
discard f216c900de WIP attrs, simplify to map<str, any>
discard 65c501393a Redirect to variant
discard 26ff03b4d8 Backup variant
discard 303892cbf0 lint
discard b7155566ba [FFI] Add variant support
discard 202e5b1ec5 go through env function
discard dc231c4598 [FFI] allow mutable call to captured functor
discard 5f6289a6dc get through attrs
discard 5b102eb65b Remove objectref scaffold to be direct
discard 4cdbe3d34e node wip
discard 6e81de6cf1 run lint
discard 0d73769028 [FFI] lint
discard 393103379b Runtime pass
discard fa3b79b36f pass through runtime compile
discard c8bc0d87d7 Push through rpc. now on to device module
discard 7594044252 [FFI] Add fwd compact NDArray compact with DLTensor
discard da5f3fa471 wip rpc
discard 83a56e22e2 push through disco
discard faad1f1dc1 WIP through vm and disco
discard aaceaef984 wip go through vm
discard 5570375841 getting clear path wip through disco now relax vm
discard 71f7ac4ea6 run clang-format
discard dfc1b5e38a [FFI] clang-format
discard a664b03341 Wip through new PackedArgs ffi
discard 429b444057 [FFI] Refactor to keep param order args, num_args
discard cf04c76053 wip through relax vm
discard bceea08f00 wip through relax vm
discard 6a986a3a3e Go through disco
discard c3ae3c13e6 [FFI] Add Any
discard 56b62af2b8 Go through disco runtime
discard d64c7c564f [FFI] Add more object tests
discard 3df07e8275 [FFI] Enhance Optional
discard 4bd48089e5 cpplint
discard 6fe427a8dc Finish container
discard 49af8cf026 cpp lint
discard 0839188ccc Pass runtime api compile
discard 0b9ab2919e Make steady progress in runtime
discard 02a05b68b9 First stab debug compile pass
discard f3614bf66f WIP swap in packed func
discard fe4869e206 [FFI] Enhance raw string to any logic
discard d880534481 [FFI] Enhance Map conversion logic
discard 8f46c36645 [FFI] add support for Bytes
discard e7b5cfc0fd [FFI] Fix up AnyView const convert
discard fe93172288 [FFI] Add support for TypedFunction
discard 33260ec141 Move in redirects for packedfunc
discard 743f8744d7 Move out packed func for swapping
discard 8052cc46c9 Move the containers to backup for swapping
discard 04d6ef65ab Cleanup cpplint and enhance object, move on to s1
discard a063e2a84c Remove legacy rust map/array support
discard e8ba89ad57 Fix libsearch under new ffi folder
discard de7f20de34 Add ASF headers
discard e63813e7c1 fix lint and minor compile
discard 533eb2b2b7 lint
discard 02fece3ba4 Fix deleter to match latest
discard 6b3e376179 Pass compile
discard e7a3f2f9a4 clang format
discard 61be1c1b83 pass expr first stab
discard 671b56852c Pass all runtime
discard dc4ad3d8f7 pass object and runtime compile
discard 2a49d28ae7 Use specific import via using and not do global namespace
discard f8fcb4fac2 pass basic disco session compile
discard 6a5b553701 pass ndarray compile
discard 910485f161 pass packed func compile
discard 6c6c54d5e3 Fix NDArray compile
discard 88a668c53a Move over container on new object
discard e5316ac3c2 First step, pass string compile
discard 6769e29bf3 CMake links ok
discard 2dd9b8ef27 [REFACTOR] Migration starting pt
discard 0d23707481 Fix ffi
discard ad419cfb5d [FFI] Enhance the deleter and reflection to be aware of
padding
discard f8a258d4ac Cleanup and focus on the integrated version
discard 374fe57050 [FFI] bool, device, tensor, raw str
discard ffcc3030bf [FFI] Initial reflection support
discard 27f0c559a9 [FFI] Global function registry
discard b32e595fb1 [FFI] Formalize SafeCall handling
discard 5fb7fa17f6 [FFI] Initial map support
discard 0531d3121c [FFI] Optional Support
discard f265079113 [FFI] Introduce String support
discard db494c9ad0 [FFI][REFACTOR] Cleanup naming convention and lint
discard 5acc81dda8 [FFI] Introduce array support
discard 319815dc46 [FFI] Improve Any coverage to include ObjectPtr
discard e6fde41006 [FFI] Function support
discard 6c815123a0 [FFI] Any support
discard 3e25f2ed3a [FFI] Object type hierachy cast and check support
discard 38f741b7cd [FFI] Add libbacktrace support
discard 94b02d7c72 [FFI] ObjectRef based Error
discard e17c0a0383 [FFI] Enable ObjectPtr and tests
discard 50ed6a0bc2 [FFI] Initial step to create ffi from the original tvm
source
discard 4d4bd3dae6 [FFI] Initial Code Commit
add b5b0337568 [Relax][PyTorch] support for index.Tensor (#17836)
add fe1b228210 [Relax][Pytorch] Add support for bitwise_or op support
(#17871)
add 2ca6ec8a5d [Relax][PyTorch] Sort.default (#17852)
add 1ef153fd1c [Relax][PyTorch] Refactor norm op for ExportedProgram
importer (#17857)
add 299ef81f0f [BugFix][Relax][Pytorch] Incorrect Handling of In-Place Ops
in FX-Based TVM Frontend (#17875)
new 1b6d234884 [FFI] Initial Code Commit
new f136b33d59 [FFI] Initial step to create ffi from the original tvm
source
new 36a7d8b142 [FFI] Enable ObjectPtr and tests
new 82f3c350a6 [FFI] ObjectRef based Error
new e272f04425 [FFI] Add libbacktrace support
new 1646fd9014 [FFI] Object type hierachy cast and check support
new 899d9505c4 [FFI] Any support
new 2c9eac0d90 [FFI] Function support
new 44967b940d [FFI] Improve Any coverage to include ObjectPtr
new f6ee025d7d [FFI] Introduce array support
new 0a08c2fad8 [FFI][REFACTOR] Cleanup naming convention and lint
new 733ee67f94 [FFI] Introduce String support
new ec7e2b095e [FFI] Optional Support
new ae86cc6f84 [FFI] Initial map support
new ccfd4a9df3 [FFI] Formalize SafeCall handling
new f1c23ad1e1 [FFI] Global function registry
new 936d643965 [FFI] Initial reflection support
new 4e53f7848a [FFI] bool, device, tensor, raw str
new 852b09131e Cleanup and focus on the integrated version
new c7bbf07d04 [FFI] Enhance the deleter and reflection to be aware of
padding
new a56aa95618 Fix ffi
new ee60c8b058 [REFACTOR] Migration starting pt
new 963ce6ef67 CMake links ok
new eb09dfc003 First step, pass string compile
new 68aac5dfc5 Move over container on new object
new 5152066127 Fix NDArray compile
new cb0ebd9cc6 pass packed func compile
new 7c904bdb3a pass ndarray compile
new 7e805abf8f pass basic disco session compile
new 75ca1247ce Use specific import via using and not do global namespace
new 8ece630a4b pass object and runtime compile
new 6d5d733b20 Pass all runtime
new b73504f21d pass expr first stab
new 5a5a0a342b clang format
new 1842bf04c7 Pass compile
new 06bb2f22a6 Fix deleter to match latest
new ad6ef1a4c0 lint
new 1cabf3f9c0 fix lint and minor compile
new 4f625eee83 Add ASF headers
new 6df32c1806 Fix libsearch under new ffi folder
new dca03ce34d Remove legacy rust map/array support
new 69f9eb84ba Cleanup cpplint and enhance object, move on to s1
new de0c73011c Move the containers to backup for swapping
new 1df2d6a72a Move out packed func for swapping
new 9084783d0c Move in redirects for packedfunc
new 644efb9d64 [FFI] Add support for TypedFunction
new f9e9e8eb99 [FFI] Fix up AnyView const convert
new 0b64e1d83a [FFI] add support for Bytes
new 2832aa410d [FFI] Enhance Map conversion logic
new 8a347e07bd [FFI] Enhance raw string to any logic
new b86b478807 WIP swap in packed func
new 753f809b89 First stab debug compile pass
new 2104b384d9 Make steady progress in runtime
new 06184eff77 Pass runtime api compile
new 9954235921 cpp lint
new bf43034d27 Finish container
new 7a2f3b03e8 cpplint
new d14f38b6bb [FFI] Enhance Optional
new 7d5d7d3b63 [FFI] Add more object tests
new ffd56e3a0e Go through disco runtime
new 9e40b60ce5 [FFI] Add Any
new aa0f4b16ac Go through disco
new d8fbabd69a wip through relax vm
new 47fe527032 wip through relax vm
new 8d3347c5fd [FFI] Refactor to keep param order args, num_args
new b4f67aac2d Wip through new PackedArgs ffi
new d6198020f3 [FFI] clang-format
new 7c67f3a1a4 run clang-format
new 1264e9e863 getting clear path wip through disco now relax vm
new 583be27b1c wip go through vm
new 4987806b66 WIP through vm and disco
new e2ce946d0c push through disco
new c305411211 wip rpc
new ec90057600 [FFI] Add fwd compact NDArray compact with DLTensor
new 78c614e6f9 Push through rpc. now on to device module
new 822f9ffa0b pass through runtime compile
new 4cb29669c4 Runtime pass
new fc33acfea9 [FFI] lint
new fdcd5ebcc0 run lint
new 24d487d5ae node wip
new a50a307ffe Remove objectref scaffold to be direct
new 719dd14b8f get through attrs
new e471a314e3 [FFI] allow mutable call to captured functor
new 0e346b1ba9 go through env function
new ad2a0adea3 [FFI] Add variant support
new 252ee99033 lint
new 052d084c04 Backup variant
new 1495488a40 Redirect to variant
new 86cb950a6b WIP attrs, simplify to map<str, any>
new 5b668d8ecb WIP attrs, simplify to map<str, any>
new c4499d9179 push through MS
new 9d7f87de3c Finish MS, good job
new b4060ca136 lint
new 85d877146f Bulldoze through node
new bd7930d68f [FFI] Add StaticTypeKey
new b7e219c9fd Push through serialization
new f23fd1631d WIP need to move sequal/hash to handle any
new 74348b322d [FFI] Simplify AnyHash
new 4da68273e8 go through struct hash/equal
new ad7cd51abe [FFI] lint
new 8faf5147ee lint
new 97bdf6bcab Enable any print
new 7e210fbab5 Fix repr
new 71181dec8c [FFI] TryAs=>as to be consistent and simpler
new e8feb26f48 [FFI] use std::optional for Object.as to keep things
self-contained
new 69e3109c64 Move TryAs to as
new 387267fd2a [FFI] Fix missing include for optional
new f39da02a3a [FFI] Add shortcut to the as Node type
new d775cf116e Change through relax and tir
new a05e23e6c6 [FFI] leverage std::optional for standard map get api
new e4ce489f29 push through relax
new d278974217 Push through
new ca77292b40 [FFI] Update with same_as
new a7983d134e push through tir
new 79544d611d [FFI] Debug optional
new b674988d0d wip migrate map object to map any
new 15d63bbf02 [FFI] bugfix optional converstion
new ddb039a713 [FFI] Introduce GetTypeKey to any and objectref
new 1df0a75313 push through tir topi and target
new 1607c4e657 [FFI] minor fix
new 40e9bb9bca push through compile
new 96614c0648 Fix python compile
new 60f77f65b3 [FFI] Minor recorg
new f15ad1caed Pass compile, now start trying
new 23abbda168 [FFI] Include field accessors
new c2a9ffcce7 [FFI] Formal dtype support with clear string conversion
new 14e98b187e cpplint
new 4ca04c7dd5 get string correctly
new 099e6fecab [FFI] minor
new 1c25609143 [FFI] Use formal CamelCase
new c97eaf7740 Fit new dtype API
new d53bfc2ae0 cpplint
new dec9fd7aa3 auto convert int, str, float
new d6515a426d [FFI] Add string traits via fallback
new 015507f5aa fix wip
new fae1bb37e9 [FFI] lint
new c48a1e9869 lint
new 0038b8321d enable primexpr overload
new baf48482ae [FFI] Add FallbackTypeTraits testcases
new a26668608c [FFI] lint
new 3dc1bca2a4 [FFI] more testcases on function value conversion
new 4d31744246 wip through arith tests
new 3c17737578 [FFI] WIP through optional
new 5106ce8c46 Update optional
new 2cace8bd75 [FFI] Fix traceback with empty filename
new a5c6f49cc5 [FFI] Formalize and adopt Optional throughout the codebase
new 1b74a0eaec [FFI] Cleanup Any
new f178aa4f07 update wip
new 48eaeb30c9 [FFI] lint
new 4da1c1362f update wip
new 41535d6ead [FFI] Remove Any traits for ObjectPtr so it can be kept
internal
new 8e63208dea wip cross check mem safety
new ccc65c1dca [FFI] change back to let optional always generate fresh
value for safety
new 53fb2d5e37 change back dataflow expr
new 807478c7a5 [FFI] Keep Optional<T> only for data structure for now and
use std::optional for as
new 7f3f9a89e6 Fix primexpr conversion and legacy convert
new edd60b10b8 [FFI] Refactor to formalize container any storage policy
new 2e3ac39b33 fix dtype type traits
new d6a9ba0f11 WIP through arith
new 395efefa8b [FFI] Introduce Tuple support
new 4dd6c9e00e [FFI] Cleanup the functions in unsafe namespace
new deae53f6a3 Update per latest update
new 006c28d51a [FFI] Introduce RValueRef for object type
new ed99b014a9 work through base
new a4a0adfec2 lint
new 2bf71cc61b wip tir-base
new b8f8cf3b77 error hanlding patch
new a32231e120 [FFI] Make Traceback argument order consistent with
appearance order
new b2c0ccb71b WIP error migration
new d4b51a6fda wip target migration
new c9954909d2 [FFI] Traceback consistent with python
new 6dc9047c97 wip through error
new 1669f5411f Remove backup files
new cbe3371c17 [FFI] Introduce GetGlobalRequired
new 3b5076a9b0 lint
new 5a8d774fda fix logging compact
new c487f4b72b upgrade target
new 639f91b65a upgrade target
new 686d303338 fix target
new 74e30f62b9 fix target and phase out box value
new 88fba32f38 fix through printer stmt
new 9ce35adc0d Update test
new c0f9c9f4f3 [FFI] Add builtin types to dyn type table query
new 1d15d9d8aa [FFI] Add static_field_type_index here
new 81fe20b1e2 work on cpptests, need to visit one case
new f146b420a5 [FFI] Improve to ensure array.map have uniqueness
new 5b89aa4147 [FFI] Add reflection to runtime type index
new f7b0ef33eb upgrade target handling
new 275889a0ea [FFI] minor object error report
new 2a87e83d02 [FFI] Update cast to be any aware
new e0c78ea2c8 Fix up target
new c928bff25c fix up serialization
new eaaa0fcdac push through script printer
new 51b9a56021 fix struct hash/equal
new c8a8b2c15a Move towards pod attribute in mod and func
new e4640e77d4 Fix trace
new 4e5d8885c9 Fix op registeration
new 2523b44ed0 Fix vk target
new ba52627a9b minor fix
new c7f77bf62b BUGfix reflection.cc
new bebf862f2e Fix attribute values for tir-transform
new a613e61215 Fix compile, need also update from the ffi side
new 427d3116a4 Fix up attr setup
new 8199b35a04 Fix schedule setup attr
new 39c65b55a3 Fix rvalue passing in passes via std::function
new f586399408 Fix for ir tests
new 8e2ba7d273 wip through schedule
new b0d212d720 fix schedule bug introduced in refactor
new 06bfdbfbcd [FFI] Support move from any
new faa671ecf3 Fix codegen
new f9e95ca623 Fix save
new f1bdb7e50d Fix through runtime, rpc wip
new 6a8e74c2a9 Fix through rpc
new 36cc80df66 lint
new 7ace8532d3 Pass runtime
new f1555603ad Backward compact ms
new 9382f66fb0 Fix MS Getvalue bug
new 56d721ec92 fix ms replytrace
new d49e105e46 WIP through MS, some last items
new 4c9b744840 Fix disco nccl and vm bultin
new beb9c6735f Fix through MS
new 18cf3f0749 Fix target
new bd70bf6926 Fix tvmscript
new 91400b61aa WIP through relax
new 3c73b659e8 Fix relax wip
new 40b338e7a9 Dlight minor wip
new 09cae8caae [FFI] Dtype string conversion to empty string to be
consistent
new fe0bfba795 [FFI] Enable general contains check and upcast
new 150ed07d4e MS to use any trace
new 254bee4cdd Remove attr normalize and rework tir and script
new 9f06f28f2c bugfix relax compiled
new ec1b97170a fix vm
new 00a5fd220a Fix through relax
new 7c42bdf1fe work through shape lower
new d21a4e604a Move Optional<Integer> to Optional<int64_t>
new 47cde692f7 cpplint
new 1664e6dd02 Optional int migration finish
new 4c81146af1 Fix dynamo
new 006032451e Fix full
new 22cf1470f8 fix through fuse ops
new 28532e8f83 Fix fuse
new 7f37870217 fix topi reduction
new 29c8c7622b fix fuse tir
new 0e76958941 fix transform params
new b9a505c3ca fix legalize ops
new 7cc06fc54f Fix reflection
new 9b4aa69b70 fix memplan
new 8b706e9640 fix tuning
new cdab5613ed fix parser
new 0c4802ba35 Fix MS JSON parser
new d1d3fdefe7 fix alteroplayout
new 0e98a67e29 fix layout free buffers
new 653cceb27c support legacy export dll
new 95ee7906b5 cpplint
new 5977b3088b fix onnx
new 86c2b7eae7 Fix vm codegen only
new 64189c5511 fix instrument
new cae628322c Fix adjust matmul order
new ed1fae2dad Fix vm setinput
new e3a1b84ec0 fix te
new abb12e2966 black
new 60c5cabb15 fix msc and cpptests
new 3b6860efad fix lint
new a11d11353e update contrib
new 2ffee088e2 [FFI] minor update
new e77255c303 fix through web
new ae7a18dc75 Always return str in ffi
new c9cf97b6fd Legacy always returns raw string to keep things simple
new e95cc3ac05 [FFI] Move ByteArray to be consistent on 32bit for now
new e8a385b43f [FFI] 32bit robustness
new 0c2372326c fix web runtime
new f7021cba0e Update
new 418ffb7258 [FFI] 32bit compact
new 120943f85c minor runtime fix
new 09c82c5ed4 lint
new 8f97a7827a fix contrib items
new 5d04f6d3a5 [FFI] clarify enabled into two categories
new 87d37fe45a lint
new a03652ab84 [FFI] Fix backtrace when symbol needs to be detected from
env
new 8b42a9c05f [FFI] Add up more object info
new 53ad9dacca fix load params
new b70435b638 [FFI] consistent header size and alignment across platforms
new d640a88102 Fixup MS to ensure concrete value
new b618fefac1 [FFI] reverts DLtensor align assert
new 2a81cc4bc0 add handle add by byteoffset
new ad197c3e64 [CODEGEN] TVMFFIAny support in struct get/set/alloca
new 6e634eae02 [CODEGEN] handle_byte_offset
new 352dc1a13f Fix MS trace
new 5caff0a5c3 pylint
new 7bb6997387 skip msc plugin
new edf0b88933 [FFI] Fix flag
new 2861a6e39b Fix hexagon flags
new f7439f00ee Fix hexagon build
new 8de9f101d6 fix lin and MS
new 76f15684c3 [FFI] Enhance FFI error handling
new 2aba8d5a5c Upragde codegen callee side PackedAPI to use the latest FFI
ABI
new a7ed2db09f Upgrade the caller side of ABI to make use of the latest FII
new 5b44161bc7 Upgrade error reporting mechanism ABI to new FFI.
new ad705dd3d0 [FFI] upgrade dlpack to v1.1
new 06c82262d0 [FFI] DType support for dlpack v1.1
new 6672885601 Cleanup boxed primitive
new 025aeb8ffe Introduce a new ffi path for dev
new c5efa64247 Fix chost caller
new e109b4be9b Fix packed api testcases
new b441de69c7 [FFI] improve traceback
new bd3621eedf Fix lower call packed
new f8fde0bcac [FFI] Introduce Shape
new 75c83042dd migrate shape to use ffi::Shape
new a6aa81d9bb [FFI] Make the data/size fields of ByteObjBase inline
new b15fcc1967 Update string to make use of the new ffi::String convention
new 6a014417bf fix python shape obj reg
new 5e37ebefe4 Upgrade FFI to accept ndarray as handle
new 631f9a7f87 fix structural hash and relax tir codegen
new a77d5d0320 [FFI] Introduce NDArray with DLPack support
new b0ad042d66 NDArray migrate to new mechanism
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 (e82734e82c)
\
N -- N -- N refs/heads/refactor-s2 (b0ad042d66)
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 315 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:
.../frontend/torch/base_fx_graph_translator.py | 26 +++-
.../frontend/torch/exported_program_translator.py | 8 +-
python/tvm/relax/frontend/torch/fx_translator.py | 50 +++++++
python/tvm/relax/op/__init__.py | 1 +
python/tvm/relax/op/manipulate.py | 63 ++++++++
.../tvm/relax/transform/legalize_ops/manipulate.py | 9 ++
python/tvm/script/ir_builder/relax/ir.py | 2 +
python/tvm/topi/transform.py | 51 +++++++
src/relax/op/tensor/manipulate.cc | 145 ++++++++++++++++++
src/relax/op/tensor/manipulate.h | 12 ++
tests/python/relax/test_from_exported_to_cuda.py | 164 ++++++++++++++++++++-
.../relax/test_frontend_from_exported_program.py | 114 ++++++++++++++
tests/python/relax/test_frontend_from_fx.py | 38 +++--
13 files changed, 657 insertions(+), 26 deletions(-)