sccache version update (#119554)
Fixes #37928
`sccache` is updated to the newer version (`v0.7.4`) to fix non-cacheable calls `multiple input files` for `CUDA` builds.
This should make `Cache hits (CUDA)` work as expected and improve the speed dramatically.
---
Additional information:
- Modified `install_sccache.bat` check structure due to GitHub Action error `Process completed with exit code 255.`
- Error is occurring when freshly downloaded `sccache` is being called with `--show-stats` or `--start-server` arguments within the script
- Now, it is checking file's existence and killing/deleting executable before the download
- Removed `sccache-cl` since it is no longer needed with newer versions of `sccache`
---
`win-vs2019-cpu-py3 / build` - `16m 27s`
![image](https://github.com/pytorch/pytorch/assets/148207261/b5628e6c-64bb-4293-9d07-480f56df44f1)
`win-vs2019-cuda11.8-py3 / build` - `17m 4s` **(previously ~45 mins - 1h30mins)**
![image](https://github.com/pytorch/pytorch/assets/148207261/e4ab01cb-0f56-41e8-984f-110e643b9c09)
Now `Cache Hits (CUDA)` hits all `304` object and the error `Non-cacheable reasons` is fixed.
![image](https://github.com/pytorch/pytorch/assets/148207261/c8c25d2e-3fc1-4edb-8982-99c1f490cb54)
---
Pull Request resolved: https://github.com/pytorch/pytorch/pull/119554
Approved by: https://github.com/malfet