fix: Address `.numpy()` issue on fake tensors by gs-olive · Pull Request #1949 · pytorch/TensorRT

@gs-olive added the component: dynamo

Issues relating to the `torch.compile` or `torch._dynamo.export` paths

label

May 24, 2023

@gs-olive gs-olive changed the title fix: Fix .numpy() issue on fake tensors fix: Address .numpy() issue on fake tensors

May 24, 2023

narendasan

@gs-olive

- Add `fake_tensor_unsupported` decorator to helper backend
- Refactor `conversion` implementation to use compilation settings
object as well, to reduce code duplication and encourage reuse
- Improve debugger messages by pre-formatting support string

This was referenced

May 25, 2023

@gs-olive gs-olive deleted the dynamo_fake_tensor_bugfix branch

May 25, 2023 20:00

gs-olive added a commit that referenced this pull request

May 26, 2023

narendasan pushed a commit that referenced this pull request

May 30, 2023