If performance is a concern, prefer 1./scaler._get_scale_async(), which will be faster because it retrieves the scale factor tensor directly. get_scale() calls .item() on the scale factor tensor which incurs a cpu->gpu memcopy and sync. I should probably give _get_scale_async() a documented, public exposure.