This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch refactor-s1
in repository https://gitbox.apache.org/repos/asf/tvm.git
at d589c8732c black
This branch includes the following new commits:
new 5fd9aff0dd [FFI] Initial Code Commit
new 5b6049f2d7 [FFI] Initial step to create ffi from the original tvm
source
new 20d1079896 [FFI] Enable ObjectPtr and tests
new e1f4c348cb [FFI] ObjectRef based Error
new cb0770b8cf [FFI] Add libbacktrace support
new ef112ff46a [FFI] Object type hierachy cast and check support
new 73030675e4 [FFI] Any support
new c255c73961 [FFI] Function support
new ebd2499a4c [FFI] Improve Any coverage to include ObjectPtr
new 40f99e0d75 [FFI] Introduce array support
new 1654db3cf6 [FFI][REFACTOR] Cleanup naming convention and lint
new 0a2511d706 [FFI] Introduce String support
new b398aa9743 [FFI] Optional Support
new 22435cb0b7 [FFI] Initial map support
new 6a234cf55c [FFI] Formalize SafeCall handling
new 26abb2ed5e [FFI] Global function registry
new 5ca14eb105 [FFI] Initial reflection support
new 03666c209b [FFI] bool, device, tensor, raw str
new 9c9f2fd3dd Cleanup and focus on the integrated version
new f0be978947 [FFI] Enhance the deleter and reflection to be aware of
padding
new 1336cce2d9 Fix ffi
new 3790aa3535 [REFACTOR] Migration starting pt
new 0ba2a92cc0 CMake links ok
new 3dfd5db5b0 First step, pass string compile
new e84292cacd Move over container on new object
new 9a6efea3ba Fix NDArray compile
new d05038cb94 pass packed func compile
new 05c42c645d pass ndarray compile
new d141406c51 pass basic disco session compile
new 3a78e11fc8 Use specific import via using and not do global namespace
new 50e965ecfd pass object and runtime compile
new 9d0f3fdd0f Pass all runtime
new cd35d2fe09 pass expr first stab
new 14ec3a9f07 clang format
new e5b7326100 Pass compile
new 726c74b4d8 Fix deleter to match latest
new 355461d593 lint
new 0cc83066c2 fix lint and minor compile
new 56114be18f Add ASF headers
new d1daec2082 Fix libsearch under new ffi folder
new 0d9270a407 Remove legacy rust map/array support
new b7db1f17f7 Cleanup cpplint and enhance object, move on to s1
new 1ffac61181 Move the containers to backup for swapping
new a0a7af96c7 Move out packed func for swapping
new cbad48e612 Move in redirects for packedfunc
new d62e8c701a [FFI] Add support for TypedFunction
new d538290c0b [FFI] Fix up AnyView const convert
new fcce817c99 [FFI] add support for Bytes
new 445fe3bee1 [FFI] Enhance Map conversion logic
new 99cbf08cd4 [FFI] Enhance raw string to any logic
new 051de263e3 WIP swap in packed func
new 91e09ab53d First stab debug compile pass
new 448310acfa Make steady progress in runtime
new 2b382ddb9d Pass runtime api compile
new d13168ecb6 cpp lint
new e21117630f Finish container
new 2c6dd54444 cpplint
new b355ace656 [FFI] Enhance Optional
new 3516963d3a [FFI] Add more object tests
new 5b6946f103 Go through disco runtime
new 6e451964ca [FFI] Add Any
new 3508f9bca4 Go through disco
new 6dc9dfd40c wip through relax vm
new d8593a5877 wip through relax vm
new 0cdaefcdbe [FFI] Refactor to keep param order args, num_args
new a7550bf204 Wip through new PackedArgs ffi
new ff69371ae3 [FFI] clang-format
new a158f4a93e run clang-format
new e6b9edfd34 getting clear path wip through disco now relax vm
new 926c4214cb wip go through vm
new 40db77fec1 WIP through vm and disco
new 4184a211cd push through disco
new c4d902f850 wip rpc
new 17aded4408 [FFI] Add fwd compact NDArray compact with DLTensor
new 26b6271b65 Push through rpc. now on to device module
new fcd7942292 pass through runtime compile
new f434b8c8a7 Runtime pass
new 9db1b1cfd0 [FFI] lint
new 4a947bec9e run lint
new d9cb67c2fe node wip
new d5f4964956 Remove objectref scaffold to be direct
new b98b42b104 get through attrs
new 507c4fc8c7 [FFI] allow mutable call to captured functor
new 338fe484d0 go through env function
new 9476db9b83 [FFI] Add variant support
new b99d4d9fa2 lint
new cf5ef54e89 Backup variant
new 3b57bae975 Redirect to variant
new d787e3f515 WIP attrs, simplify to map<str, any>
new c78117dd69 WIP attrs, simplify to map<str, any>
new bd0fafbbf9 push through MS
new 9c66b2d17d Finish MS, good job
new f1723eb20b lint
new 4494500ae1 Bulldoze through node
new f15d4818f8 [FFI] Add StaticTypeKey
new 3afdccdcd8 Push through serialization
new 60c746ef5c WIP need to move sequal/hash to handle any
new 82982cb06e [FFI] Simplify AnyHash
new d09526e348 go through struct hash/equal
new f40be72783 [FFI] lint
new 2473ec91dc lint
new 8f8f222b83 Enable any print
new 2fbee1677f Fix repr
new fa572ac580 [FFI] TryAs=>as to be consistent and simpler
new 357d844e78 [FFI] use std::optional for Object.as to keep things
self-contained
new 802fd924c4 Move TryAs to as
new 58a1f91934 [FFI] Fix missing include for optional
new 367d9a3b88 [FFI] Add shortcut to the as Node type
new 4e3ced5ffe Change through relax and tir
new cd1f0fbc93 [FFI] leverage std::optional for standard map get api
new 8835f240ae push through relax
new 83549a66b0 Push through
new 556a916524 [FFI] Update with same_as
new 688fc33016 push through tir
new c3888137da [FFI] Debug optional
new a3c2ff09ac wip migrate map object to map any
new 8ada466ec1 [FFI] bugfix optional converstion
new fb21e068ce [FFI] Introduce GetTypeKey to any and objectref
new cb7836f481 push through tir topi and target
new a3ce7d56a8 [FFI] minor fix
new ebd6905b3e push through compile
new fb70d7e83b Fix python compile
new 317a64b3a9 [FFI] Minor recorg
new f107703b7e Pass compile, now start trying
new 4d6a30d9c2 [FFI] Include field accessors
new ae1d5c399d [FFI] Formal dtype support with clear string conversion
new e30b1a4466 cpplint
new a1a4e17862 get string correctly
new 5979846be5 [FFI] minor
new 65c97967fe [FFI] Use formal CamelCase
new f2e315bf35 Fit new dtype API
new 4cf62a677a cpplint
new a962f64cfd auto convert int, str, float
new a75f4ee691 [FFI] Add string traits via fallback
new fb22eb16f8 fix wip
new 891555995a [FFI] lint
new 3fb92eb633 lint
new 1af691ee6d enable primexpr overload
new 10847a84d5 [FFI] Add FallbackTypeTraits testcases
new e2c2b94245 [FFI] lint
new 37a3deeef6 [FFI] more testcases on function value conversion
new f5a390454f wip through arith tests
new 5e5c8c8d33 [FFI] WIP through optional
new eacbd7b3c2 Update optional
new a12b718222 [FFI] Fix traceback with empty filename
new 5b84f61f50 [FFI] Formalize and adopt Optional throughout the codebase
new d2b8008024 [FFI] Cleanup Any
new cbf126cd91 update wip
new 03a78d2a0c [FFI] lint
new 9e42b5c659 update wip
new 12d838def7 [FFI] Remove Any traits for ObjectPtr so it can be kept
internal
new 4f1ea296eb wip cross check mem safety
new a03eb93a1e [FFI] change back to let optional always generate fresh
value for safety
new 156fb57189 change back dataflow expr
new cd6a810ccd [FFI] Keep Optional<T> only for data structure for now and
use std::optional for as
new 8d3745a06d Fix primexpr conversion and legacy convert
new ebb3f5736c [FFI] Refactor to formalize container any storage policy
new d3af0e29a9 fix dtype type traits
new 7de156ee48 WIP through arith
new abc28290d1 [FFI] Introduce Tuple support
new 0e7aa67c10 [FFI] Cleanup the functions in unsafe namespace
new f0c9223b9c Update per latest update
new 65df368cc7 [FFI] Introduce RValueRef for object type
new 0c85ede9d2 work through base
new f655bd2d1b lint
new c47c44c766 wip tir-base
new 5a46c1cb6b error hanlding patch
new d295f75700 [FFI] Make Traceback argument order consistent with
appearance order
new 7abed8d6d0 WIP error migration
new 3a66224e01 wip target migration
new ff19cc1026 [FFI] Traceback consistent with python
new 70874297b8 wip through error
new c89d7e3918 Remove backup files
new 7815882708 [FFI] Introduce GetGlobalRequired
new a712da4bc2 lint
new 4c2ab969cb fix logging compact
new 3c7988c51c upgrade target
new 62c317bef3 upgrade target
new c8672ce11e fix target
new 85bbdbad45 fix target and phase out box value
new 18058f81ad fix through printer stmt
new 6b5610830e Update test
new 053ad34354 [FFI] Add builtin types to dyn type table query
new 7a15098fc3 [FFI] Add static_field_type_index here
new 9c7c505911 work on cpptests, need to visit one case
new 9bb7f911f8 [FFI] Improve to ensure array.map have uniqueness
new 81d8e02f90 [FFI] Add reflection to runtime type index
new 0c80552963 upgrade target handling
new 14bf37c2ee [FFI] minor object error report
new 384a6109cd [FFI] Update cast to be any aware
new 7d6fb07cf9 Fix up target
new dffa97e3f9 fix up serialization
new 6ce03c29c6 push through script printer
new 123e0d6d3e fix struct hash/equal
new 96d84dc58a Move towards pod attribute in mod and func
new 6b4b58a10e Fix trace
new c07a8f94f6 Fix op registeration
new fc977f3d87 Fix vk target
new 969e79f58b minor fix
new 5223e71968 BUGfix reflection.cc
new 6a21b28c00 Fix attribute values for tir-transform
new a868a05d68 Fix compile, need also update from the ffi side
new 29e31c3bc5 Fix up attr setup
new 3ce037e63d Fix schedule setup attr
new 6522b36b9a Fix rvalue passing in passes via std::function
new d265e51cf7 Fix for ir tests
new c99fd3b84b wip through schedule
new de6d6c6d36 fix schedule bug introduced in refactor
new 8092a3d67a [FFI] Support move from any
new fc18d76f13 Fix codegen
new 1a834bd73d Fix save
new bf2fbb01b6 Fix through runtime, rpc wip
new c5a10f6e2a Fix through rpc
new bef746779a lint
new 390a1c89c2 Pass runtime
new 227906b7e7 Backward compact ms
new f47eaa262e Fix MS Getvalue bug
new 63db5f4415 fix ms replytrace
new c2449527ef WIP through MS, some last items
new fe5143a7d5 Fix disco nccl and vm bultin
new c15579116e Fix through MS
new 7ad9e27c4f Fix target
new 9a00aa9229 Fix tvmscript
new 63b98c430f WIP through relax
new 21ac869ae2 Fix relax wip
new eba00f87a0 Dlight minor wip
new 253f806064 [FFI] Dtype string conversion to empty string to be
consistent
new a897531038 [FFI] Enable general contains check and upcast
new 3fec2c90dc MS to use any trace
new 8ec42bce26 Remove attr normalize and rework tir and script
new a4916f3c3f bugfix relax compiled
new 0ecee9eff1 fix vm
new 2e9e9e7a77 Fix through relax
new a9238a1701 work through shape lower
new ee3d634420 Move Optional<Integer> to Optional<int64_t>
new a41bdf139b cpplint
new 439a4b626e Optional int migration finish
new 857a8e8828 Fix dynamo
new 7aeeb7ebb1 Fix full
new 265658c198 fix through fuse ops
new d7f520fa39 Fix fuse
new ac6d4f6980 fix topi reduction
new 41ad85a6fd fix fuse tir
new 0d49df047d fix transform params
new 6a3dd83151 fix legalize ops
new 99cf5ad14e Fix reflection
new 23b412bdd1 fix memplan
new fe0448f074 fix tuning
new be0fb99109 fix parser
new 2bd673d04a Fix MS JSON parser
new 56c6bcb9db fix alteroplayout
new d7fcc2dc4b fix layout free buffers
new 2b91b42489 support legacy export dll
new b7e212e777 cpplint
new 83a7ae3347 fix onnx
new 31e71aa00a Fix vm codegen only
new 73c38e0e3b fix instrument
new 2a9526544a Fix adjust matmul order
new 470f1699e8 Fix vm setinput
new 74692efb35 fix te
new d589c8732c black
The 261 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.