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
at f8435b37f9 Upgrade error reporting mechanism ABI to new FFI.
This branch includes the following new commits:
new 4b39edbbdb [FFI] Initial Code Commit
new 598bf93aee [FFI] Initial step to create ffi from the original tvm
source
new 7039ed86e6 [FFI] Enable ObjectPtr and tests
new 383525131e [FFI] ObjectRef based Error
new 98e5eb8b4b [FFI] Add libbacktrace support
new 50a1956506 [FFI] Object type hierachy cast and check support
new 6fa7bafac6 [FFI] Any support
new 4c87ec4781 [FFI] Function support
new 06eeba0e92 [FFI] Improve Any coverage to include ObjectPtr
new 5f226e4c04 [FFI] Introduce array support
new 7d7d7910ca [FFI][REFACTOR] Cleanup naming convention and lint
new e33990a7a5 [FFI] Introduce String support
new 2b6caf0709 [FFI] Optional Support
new 27fa885880 [FFI] Initial map support
new 97852a5f14 [FFI] Formalize SafeCall handling
new 2580e3af5c [FFI] Global function registry
new fd8fe1a030 [FFI] Initial reflection support
new 85f4a1e5b6 [FFI] bool, device, tensor, raw str
new 7df5800b43 Cleanup and focus on the integrated version
new 8b6a9cd71e [FFI] Enhance the deleter and reflection to be aware of
padding
new 7f6f47e3b9 Fix ffi
new ab7acdcb6d [REFACTOR] Migration starting pt
new 28960330b0 CMake links ok
new b23ba9a638 First step, pass string compile
new 05ca912181 Move over container on new object
new 5a729ae1eb Fix NDArray compile
new 75eba060ba pass packed func compile
new 6b8865a6c6 pass ndarray compile
new 733ab6734b pass basic disco session compile
new 72616badcc Use specific import via using and not do global namespace
new 5dfc8dbbe8 pass object and runtime compile
new 01c86668ee Pass all runtime
new 3295c4f892 pass expr first stab
new ae679a467f clang format
new 46f09e2a08 Pass compile
new 79289c492e Fix deleter to match latest
new 20aafcfdac lint
new 224ba51523 fix lint and minor compile
new 285cfa3403 Add ASF headers
new fc58c0d56d Fix libsearch under new ffi folder
new 45489fbafe Remove legacy rust map/array support
new 36f44721bd Cleanup cpplint and enhance object, move on to s1
new 0ed7efcdb7 Move the containers to backup for swapping
new e54747257a Move out packed func for swapping
new 640e8f8589 Move in redirects for packedfunc
new f07405f2de [FFI] Add support for TypedFunction
new 382091f7d4 [FFI] Fix up AnyView const convert
new d0cb06e6f9 [FFI] add support for Bytes
new c483bb26b5 [FFI] Enhance Map conversion logic
new 4a471fa0d1 [FFI] Enhance raw string to any logic
new cb92d88ea5 WIP swap in packed func
new a9110d87b2 First stab debug compile pass
new 1f52ec39a5 Make steady progress in runtime
new 6cd5ac2ebb Pass runtime api compile
new 73f0c1f67f cpp lint
new d63bf0c1e8 Finish container
new 857f3f38ab cpplint
new 384ddc37c3 [FFI] Enhance Optional
new 86b37a6d12 [FFI] Add more object tests
new 5c71019835 Go through disco runtime
new 9124f120ed [FFI] Add Any
new a889e2df81 Go through disco
new ba719c0d42 wip through relax vm
new 7aaff2ac29 wip through relax vm
new 280220a7ca [FFI] Refactor to keep param order args, num_args
new ddfb1017e3 Wip through new PackedArgs ffi
new 5a417f22f8 [FFI] clang-format
new 991a706618 run clang-format
new 762cff2a40 getting clear path wip through disco now relax vm
new 8c2e5e4c2e wip go through vm
new cdc3c06a90 WIP through vm and disco
new b62ca56255 push through disco
new 6ab5c7e4ec wip rpc
new 8faa79ac1b [FFI] Add fwd compact NDArray compact with DLTensor
new 0def3909dc Push through rpc. now on to device module
new b75703ff65 pass through runtime compile
new 3177170df5 Runtime pass
new 9a5883d9f0 [FFI] lint
new 9d3f7a506e run lint
new 74fe5a73de node wip
new 8e08a8d2cd Remove objectref scaffold to be direct
new d30080e280 get through attrs
new dbcd16e1df [FFI] allow mutable call to captured functor
new 6767a9a8cc go through env function
new e9c3df0f97 [FFI] Add variant support
new 765231cdb2 lint
new b2db033342 Backup variant
new 614efa5a4d Redirect to variant
new 9cceaa5d92 WIP attrs, simplify to map<str, any>
new 25976a156b WIP attrs, simplify to map<str, any>
new 93f2e25e0c push through MS
new 6c1545b83e Finish MS, good job
new 94d180b8b8 lint
new 3b22523714 Bulldoze through node
new c88155d859 [FFI] Add StaticTypeKey
new c956d37e61 Push through serialization
new 3df958f031 WIP need to move sequal/hash to handle any
new 8d78d5519c [FFI] Simplify AnyHash
new d46ec7fe8c go through struct hash/equal
new da6f329c58 [FFI] lint
new 96945e122c lint
new 94722b43d5 Enable any print
new 6f978c9403 Fix repr
new 1e3dda486f [FFI] TryAs=>as to be consistent and simpler
new 2f139cd604 [FFI] use std::optional for Object.as to keep things
self-contained
new f4f903a8d2 Move TryAs to as
new e0676eb47e [FFI] Fix missing include for optional
new 9a2e7be040 [FFI] Add shortcut to the as Node type
new db769bd07a Change through relax and tir
new 74b20d3a69 [FFI] leverage std::optional for standard map get api
new 257017480c push through relax
new a8845e0c57 Push through
new 057364d5c0 [FFI] Update with same_as
new 28ce5c0edb push through tir
new e2ee07b68d [FFI] Debug optional
new 6645f08ba1 wip migrate map object to map any
new c92407f2cc [FFI] bugfix optional converstion
new f06741ad3b [FFI] Introduce GetTypeKey to any and objectref
new c13f5d0a67 push through tir topi and target
new a4962da8ec [FFI] minor fix
new 76a9f2980f push through compile
new ac33776599 Fix python compile
new 23718b6ef9 [FFI] Minor recorg
new 8e4ea05ded Pass compile, now start trying
new 01e67db086 [FFI] Include field accessors
new 5554f81c79 [FFI] Formal dtype support with clear string conversion
new 650ca8c71a cpplint
new 1b7629c758 get string correctly
new 129b28f998 [FFI] minor
new 497d77f1e9 [FFI] Use formal CamelCase
new fec68e806a Fit new dtype API
new a57e5efad4 cpplint
new 88c9b70e16 auto convert int, str, float
new 6b20bd6d30 [FFI] Add string traits via fallback
new 76aa5292c3 fix wip
new 48ceed7653 [FFI] lint
new 7d70fe403f lint
new e6b6a19950 enable primexpr overload
new 615eb902c6 [FFI] Add FallbackTypeTraits testcases
new 850cf11010 [FFI] lint
new 92a75d92dc [FFI] more testcases on function value conversion
new b546602a2b wip through arith tests
new 44d4f083ed [FFI] WIP through optional
new dad4360d95 Update optional
new cc4c3fee68 [FFI] Fix traceback with empty filename
new 4b4b0b491b [FFI] Formalize and adopt Optional throughout the codebase
new da5e4a3478 [FFI] Cleanup Any
new b30c6ee6c1 update wip
new 8dd4cb3e54 [FFI] lint
new a10c1d0e40 update wip
new 68a9fe05b5 [FFI] Remove Any traits for ObjectPtr so it can be kept
internal
new 5e0ab2ee05 wip cross check mem safety
new 0719bf24e0 [FFI] change back to let optional always generate fresh
value for safety
new 9f57d0795f change back dataflow expr
new 58b246842f [FFI] Keep Optional<T> only for data structure for now and
use std::optional for as
new 8fc0bce662 Fix primexpr conversion and legacy convert
new fda7d90a64 [FFI] Refactor to formalize container any storage policy
new ef26d28d86 fix dtype type traits
new f518e7a00a WIP through arith
new 0d64e8da28 [FFI] Introduce Tuple support
new 0238a10d92 [FFI] Cleanup the functions in unsafe namespace
new 7e1527430d Update per latest update
new 779d5605f8 [FFI] Introduce RValueRef for object type
new 7e8a9cfec5 work through base
new c99e964e38 lint
new b03a1a2697 wip tir-base
new dbcafe8a55 error hanlding patch
new b098308b34 [FFI] Make Traceback argument order consistent with
appearance order
new 28f7ba84da WIP error migration
new 1e4f783b6a wip target migration
new 9d6587a841 [FFI] Traceback consistent with python
new a8cc7729e5 wip through error
new f791973459 Remove backup files
new a8523ae985 [FFI] Introduce GetGlobalRequired
new 10f089456e lint
new abd9fc2caa fix logging compact
new d743abcd8d upgrade target
new 9dc9c83c4f upgrade target
new 586d72b833 fix target
new 261691dade fix target and phase out box value
new 9b041ff681 fix through printer stmt
new 97cc016845 Update test
new 67f43b2065 [FFI] Add builtin types to dyn type table query
new 23f5cefb9d [FFI] Add static_field_type_index here
new 3cfba1d65f work on cpptests, need to visit one case
new d89bff30d5 [FFI] Improve to ensure array.map have uniqueness
new 4590b2c410 [FFI] Add reflection to runtime type index
new 37207cd42c upgrade target handling
new 79db448714 [FFI] minor object error report
new 9334b5b30e [FFI] Update cast to be any aware
new 0e1070a3de Fix up target
new b41993b60a fix up serialization
new 6cc9b80423 push through script printer
new f2f77f4ee1 fix struct hash/equal
new de55459f52 Move towards pod attribute in mod and func
new 583ab65d19 Fix trace
new 3f96795b60 Fix op registeration
new 5db63165fa Fix vk target
new 34d3688a66 minor fix
new ec850e120c BUGfix reflection.cc
new d450f43a3f Fix attribute values for tir-transform
new bc1ba0abbf Fix compile, need also update from the ffi side
new 024b24695b Fix up attr setup
new a8cb80bc89 Fix schedule setup attr
new 51f6362636 Fix rvalue passing in passes via std::function
new d5bbe19e77 Fix for ir tests
new 807a30ae32 wip through schedule
new 52f0e979b3 fix schedule bug introduced in refactor
new 9802b15b01 [FFI] Support move from any
new 90f35d3870 Fix codegen
new ef8bec3794 Fix save
new 3448d41674 Fix through runtime, rpc wip
new b3d0223268 Fix through rpc
new 508453b2a2 lint
new 714c1e3f77 Pass runtime
new 46f22c4f14 Backward compact ms
new 7ed0b367d7 Fix MS Getvalue bug
new d449117959 fix ms replytrace
new 19438e6f50 WIP through MS, some last items
new 34456602ba Fix disco nccl and vm bultin
new b867a298ac Fix through MS
new b38c21c7de Fix target
new 56455c0a6e Fix tvmscript
new 6b325dbe3e WIP through relax
new 0e361ceae4 Fix relax wip
new d95608e52d Dlight minor wip
new 0918617694 [FFI] Dtype string conversion to empty string to be
consistent
new c99dc1bdba [FFI] Enable general contains check and upcast
new f517d55a11 MS to use any trace
new 350491abae Remove attr normalize and rework tir and script
new a1d0f5cbbc bugfix relax compiled
new 8d4b8a58c5 fix vm
new 85568be88c Fix through relax
new 54e9084672 work through shape lower
new 30581fa181 Move Optional<Integer> to Optional<int64_t>
new db171f2125 cpplint
new ff77b9e391 Optional int migration finish
new d83849a551 Fix dynamo
new a958b73933 Fix full
new df6ec6a2ec fix through fuse ops
new a5c8431d21 Fix fuse
new 4e04c09a95 fix topi reduction
new 78492557be fix fuse tir
new 95fe5140ec fix transform params
new fbe8f58875 fix legalize ops
new a9294b2ee9 Fix reflection
new 6b73fc060f fix memplan
new f2ba0fb253 fix tuning
new 1b6bf4e754 fix parser
new d4dedf3503 Fix MS JSON parser
new cc3d804c5f fix alteroplayout
new 76ee0b6810 fix layout free buffers
new 51669c070c support legacy export dll
new eb0ef0c3e9 cpplint
new 8e0885b706 fix onnx
new 88a687ee1b Fix vm codegen only
new eff5440df8 fix instrument
new 4df722d0a1 Fix adjust matmul order
new 1560fa94d1 Fix vm setinput
new f8b6367c1e fix te
new 0033b3999e black
new 8d2d64aa8d fix msc and cpptests
new abf14fae19 fix lint
new 493e97c2e5 update contrib
new 1eabb1503b [FFI] minor update
new 0e8cdf2ccf fix through web
new 18779fe16a Always return str in ffi
new fd75d57c4c Legacy always returns raw string to keep things simple
new e4186e7e85 [FFI] Move ByteArray to be consistent on 32bit for now
new 71d119c136 [FFI] 32bit robustness
new 71e4048fe6 fix web runtime
new e48ec28531 Update
new 0b441dfa51 [FFI] 32bit compact
new 4f591c9104 minor runtime fix
new ca89530a02 lint
new ffbe898957 fix contrib items
new 8a52b682b4 [FFI] clarify enabled into two categories
new af5d18edca lint
new 720335c0e6 [FFI] Fix backtrace when symbol needs to be detected from
env
new 30343f01db [FFI] Add up more object info
new 28abd42f29 fix load params
new dd4bdad212 [FFI] consistent header size and alignment across platforms
new 3b0c654c89 Fixup MS to ensure concrete value
new 596ee8bd85 [FFI] reverts DLtensor align assert
new 9ee70e95dc add handle add by byteoffset
new 8f33143cfd [CODEGEN] TVMFFIAny support in struct get/set/alloca
new e16decbab0 [CODEGEN] handle_byte_offset
new 01e0a144b3 Fix MS trace
new 50763adc82 pylint
new 6ddcbcbc34 skip msc plugin
new 033b4a31ff [FFI] Fix flag
new e435d5c06b Fix hexagon flags
new 3cb31f1f0d Fix hexagon build
new 4903115e15 fix lin and MS
new 43804d879d [FFI] Enhance FFI error handling
new 47ab0bbdf8 Upragde codegen callee side PackedAPI to use the latest FFI
ABI
new 11686cbc0a Upgrade the caller side of ABI to make use of the latest FII
new f8435b37f9 Upgrade error reporting mechanism ABI to new FFI.
The 298 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.