use base_version to check torch version in torch_less_than_1_11 (#16806)
use base_version to check torch version in torch_less_than_1_11 (#16806)

* use base_version

* make is_torch_less_than_1_8 match 1_11

Co-authored-by: Nicholas Broad <3b9de09f2ff76afe9f0ad4fcae4ff68f52ec7fc4@nmbroad.com>
huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers