Skip to content

Tags: yipjustin/pytorch

Tags

ciflow/trunk/94601

Toggle ciflow/trunk/94601's commit message
Keep on one line to make linter happy

ciflow/trunk/94588

Toggle ciflow/trunk/94588's commit message
Revert `torch._dynamo.eval_frame`

ciflow/trunk/94578

Toggle ciflow/trunk/94578's commit message
bug fix

ciflow/trunk/94557

Toggle ciflow/trunk/94557's commit message
update vision commit hash

ciflow/trunk/94556

Toggle ciflow/trunk/94556's commit message
Update on "Autotune pointwise/reduction in max_autotune mode"

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire

[ghstack-poisoned]

ciflow/trunk/94528

Toggle ciflow/trunk/94528's commit message
Update on "Move ValueRanges into its own module"

I am going to use it in ShapeEnv shortly.

Signed-off-by: Edward Z. Yang <ezyangmeta.com>

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire

[ghstack-poisoned]

ciflow/trunk/94506

Toggle ciflow/trunk/94506's commit message
Update on "inductor: fix guard_equals"


Fixes pytorch#94268.

In the code before pytorch#92609, there was an assertion in the `guard_equals` function.
```python
assert self.size_hint(expr) == 0, (expr, self.size_hint(expr))
```

In pytorch#92609, `guard_equals` has been changed to
```python
def guard_equals(self, left: Expr, right: Expr) -> Expr:
    self.shape_env.evaluate_expr(sympy.Eq(left, right))
    return left
```
Considering the case where `left` and `right` are both concrete values for example, `left = 10` and `right = 20`. In the current code, `self.shape_env.evaluate_expr(sympy.Eq(left, right))` will directly return `False`:
https://github.com/pytorch/pytorch/blob/a81cf49d9733b04a2931c85a154ab0bb698650b3/torch/fx/experimental/symbolic_shapes.py#L1380-L1385

This returned value is not used anywhere and the `guard_equals` function will still `return left` in this case even though `left != right`.

cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire

[ghstack-poisoned]

ciflow/trunk/94502

Toggle ciflow/trunk/94502's commit message
Add necessary XPU hooks

These XPU hooks let PyTorch* know whether has XPU or not

Signed-off-by: Huang, Xunsong <[email protected]>

ciflow/trunk/94497

Toggle ciflow/trunk/94497's commit message
Update comments

ciflow/trunk/94464

Toggle ciflow/trunk/94464's commit message
Revert line change breaking bool scatter