torch.compiler.is_exporting
- torch.compiler.is_exporting()
Indicates whether we’re under exporting.
It’s stricter than is_compiling() flag, as it would only be set to True when torch.export is used.
Example:
>>> def forward(self, x
Indicates whether we’re under exporting.
It’s stricter than is_compiling() flag, as it would only be set to True when torch.export is used.
Example:
>>> def forward(self, x