What do you think of this evaluation: USLs claim to allow you to have better binary…
- User
What do you think of this evaluation: USLs claim to allow you to have better binary compatibility via separation of algorithm and schedule - Early USLs did this via having the algorithm described using a dataflow-like language, and then maintaining a separate schedule tree that guides the lowering into imperative programming -- more recent USL's just have an imperative program and use composable rewrite rules (e.g. exo and tensorIR). This second form doesn't seem to have any advantage over an MLIR like language which can define the same composable rewrite rules
Assistant
This is a sharp observation about the evolution and current state of USLs. You've identified what seems like a fundamental shift that may have undermined one of the original value propositions.
The early separation model (algorithm as dataflow + separate schedule tree) did offer something genuinely distinctive - you could reason about and modify scheduling decisions without touching the algorithmic specification. This provided cleaner abstraction boundaries and potentially better portability, since the same algorithm could be paired with different schedules for different targets.
But you're right that modern USLs using imperative representations with composable rewrites look suspiciously similar to what you'd get with a well-designed MLIR dialect. Both give you:
- Structured program representations
- Composable transformation passes
- Target-specific lowering strategies
- User
TVM doesn't use MLIR right
Assistant
You're correct - TVM uses its own IR infrastructure, not MLIR. TVM has Relay for high-level graph representation and TIR (Tensor IR) for lower-level tensor computations, along with its own transformation and scheduling system.
This actually strengthens your point in an interesting way. TVM developed its own composable rewrite system and imperative tensor IR independently of MLIR, yet arrived at remarkably similar architectural patterns - structured IRs with composable transformation passes, target-specific lowering, etc.
This convergent evolution suggests that once you abandon the strict algorithm/schedule separation of early USLs, you naturally end up reinventing many of the same compiler infrastructure patterns that MLIR provides. TVM essentially built its own version of what MLIR offers, but specialized for tensor computations.
So the landscape looks like:
- Early USLs: genuine algorithm/schedule separation
- Modern USLs: either custom IR infrastructure (TVM) or MLIR-based systems, both converging on similar imperative + composable rewrites approaches
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.