pytorch / torchdynamo

A Python-level JIT compiler designed to make unmodified PyTorch programs faster.
BSD 3-Clause "New" or "Revised" License
1.01k stars 123 forks source link

Tracker for `aot_eager` to reach 100% passrate on OSS models #1091

Closed anijain2305 closed 2 years ago

anijain2305 commented 2 years ago

TorchDynamo Dashboard shows that Aot eager is not 100% for all the models. This is a tracker for the missing work.

float32

float16

No new errors

AMP

IvanYashchuk commented 2 years ago

Here are a couple of failing models that fail with "RuntimeError: expected scalar type Float but found Half":

anijain2305 commented 2 years ago

@IvanYashchuk All these models fail in the native Pytorch itself. Basically, they can't survive the float16/amp conversion. We never get to the stage where we could run TorchDynamo on them. So, we are skipping these tests in TorchDynamo nightly. This also kinda makes sense as these are quantized models, and some things might be hardcoded.

Since the issue is in PyTorch half/amp conversion, this might not be the best place to track these. So, I suggest to skip them.

anijain2305 commented 2 years ago

Closing in favor of pytorch/pytorch#93777