Show the actual accelerate version for `transformers env` (#49668)
* Log the accelerate version for transformers env
* Few more changes to transformers env
* Small tweaks
* Use get_torch_version()
* Add a test that checks both version and range warning
* Add more tests covering possible scenarios
* parametrize the tests