[ShardedTensor] Add `is_floating_point` (#85483)
This adds `is_floating_point()` support to `ShardedTensor`. This is needed for `ShardedTensor` + FSDP.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85483
Approved by: https://github.com/wanchaol