|
|
|
|
|
by mathisfun123
33 days ago
|
|
> Jax and Torch don't do that statically. They obviously have to do it at runtime, but that doesn't address this particular issue. You don't understand what you're talking about. Jax is explicitly mentioned in your pyrefly link as having a parallel (but slightly weaker) system. In addition Jax is built on stablehlo which uses shape dialect, which is part of the compiler (and therefore statically known). Torch has a symbolic shape inference system that I helped build: https://github.com/pytorch/pytorch/blob/main/torch/fx/experi... > The fact that people have developed these janky approaches to shape tracking suggests that there's a gap to be filled. I have already said it: the fact that people do not know how to use the tools does not mean the tools are lacking - it means the users are unsophisticated. Let me put it this way: almost everyone that is employed to work with these tools is aware of these features and therefore eschews those kinds of comment strings. |
|
ainch doesn't care about the inference engine knowing the shapes. This is obvious. He has been talking about developer ergonomics and you've basically said "only idiots don't know where the ergonomics features are", while linking to a file which explicitly states that it is a experimental/private API that is only needed in niche situations which is basically doubling down on having poor ergonomics.
If you can't understand the problem as a developer working on those features and you had to link to the source you've written rather than the docs, you're basically admitting that you're the problem.