You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[checkpoint] clarrify lowering does not support flttened result tuple types
[checkpoint] Don't allow FromExprInContext to be ffi-able.
Update tests/python/relay/test_backend_interpreter.py
Co-authored-by: Altan Haan <altanh@cs.washington.edu>
Update tests/python/relay/test_backend_interpreter.py
Co-authored-by: Altan Haan <altanh@cs.washington.edu>
Update tests/python/relay/test_backend_interpreter.py
Co-authored-by: Altan Haan <altanh@cs.washington.edu>
Update tests/python/relay/test_backend_interpreter.py
Co-authored-by: Altan Haan <altanh@cs.washington.edu>
[checkpoint] Fix target bug.
[checkpoint] Explicit hash struct
[checkpoint] flubbed add
[checkpoint] Shape functions always run on cpu
- Support target->lowered irmodule map in interpreter so can keep device vs cpu ir functions separated.
- Cleanup flattening / construction
of ADT/NDArray to mirror what we do for tuple types.
- Make sure unit tests compile clean for no signed comparison.
[checkpoint] logging to debug cuda failure
[checkpoint] No signed/unsigned compare.
Why is -Werror=sign-compare not part of the cmake setup???
[checkpoint] Include lint.
[checkpoint] Cleanup tuple flattening.
[checkpoint] First batch of Jared's comments, mostly fixup FromExpr.
[checkpoint] Fixup target resolution.
Somewhere early on I got confused about how the device context map works. Fixed.
[checkpoint] I will run black before every commit.
I will run black before every commit.
[checkpoint] Bug fixes.
[checkpoint] bug fixes
[checkpoint] can't pass my own tests!
[checkpoint] format
[checkpoint] typos
[checkpoint] bit the bullet and bring create_executor & evaluate together as much as possible
[checkpoint] doc lints
[checkpoint] sigh
[checkpoint] more python lints, hoist executor for adt tests to exploit cache
[checkpoint] Python lints
[checkpoint] lint fixes
[checkpoint] cleanup, nuke vlog stuff, collape create_executor() & evaluate()
[checkpoint] Bug fixes. AOT is broken.
[checkpoint] Separate eval-to-clousure and apply-closure phases at last
[checkpoint] Fix GetType recursion, get debug going.
[checkpoint] Audit python to collapse create_executor and evaluate phases
Just a few places where this doesn't work, seem harmless.
[checkpoint] Get interpreter working using tec::LowerTE, but no dynamic shapes.
- Hide TECompiler impl inside te_compiler.cc. However I think it is already exposed
into Python land so this probably won't be possible now.
- Move 'optimize' pre-transforms from interpreter.py to interpreter.cc so can be
applied uniformly to both mod and expr.
- Don't push the expr into the mod in interpreter.py since it's done again in
interpreter.cc. Instead just build the Call node with the reflected args.
- Both the mod and the expr are prepared identically (same transforms, of which
LowerTensorExpr should be one).
- LowerTensorExpr can look through let-bound and global vars, eg
let f = fn (..., Primitive=1) { ... } ... f(...)
==> @lowered_f = ... @lowered_f(...)
- Lots of DLOGs that need to be removed or reorganized.
[checkpoint] Support shape functions.
TODO:
- Unit tests.
- Cleanup logging (VLOG?)
- Don't build all prims on each apply.
[checkpoint] typo
[checkpoint] Don't allow evaling expr independently of preparing module.
TODO:
- Make eval(mod, expr) the interface.
- GlobalVar's don't line up.
- Rework use of interpreter in fold_constant.cc to make clear
it is evaling prim calls which have already been prepared.
- Find a dynamic shape example that works at HEAD.
- Unit tests.
[checkpoint] Interpreting expression with refs to module defs working
Commit to interpreter evaling expr w.r.t. mod in single phase. Thankfully
turns out no existing uses broke that assumption so we dodged a bullet.
Binding of expr into mod to be evaled is a mess, needs to be fixed.
Still can't confirm dynamic shapes working since don't have an
example working at HEAD.
Change to partial_eval needs to be tested, but smells ok.
[checkpoint] Dynamic shapes working
The use of TIRCallAttrs is pretty hacky but the shape function
calls are at least working.
Next is to tackle the 'build everything just to project one prim fun' problem.
[checkpoint] Cache built prims, make sure build with minimal deps.
[checkpoint] Cleanup expr-to-module hackery.
Copy file name to clipboardExpand all lines: docs/langref/relay_pattern.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -406,7 +406,7 @@ Either match the first pattern or the second pattern.
406
406
Domination
407
407
**********
408
408
409
-
Match child pattern, find a match for the parent pattern, insuring that the child ultimately dominates the parrent (i.e., no nodes outside the pattern use outputs of the parent), and that ever node betwen the child and the pattern matches the path pattern.
409
+
Match child pattern, find a match for the parent pattern, insuring that the child ultimately dominates the parent (i.e., no nodes outside the pattern use outputs of the parent), and that ever node between the child and the pattern matches the path pattern.
0 commit comments