Support torch patch base images (#1894)
* Do not strip torch patch versions
* Support base images based on torch patch
versions.
* Remove version modifiers from base image name
* Do not forward cu118 et al version modifiers
* Fix more torch patch version bugs
* Make sure the modifier is always stripped from
torch (we don’t need it anymore)
* Support major/minor versions of torch that
resolve to latest patch version
* Add the concept of a set Patch to version, that
allows logic to know whether the patch version is
explicitly set or not.
* Resolve torch patch versions in base image name
* When rendering the base image name, resolve the
latest torch patch version if not supplied
* Add BaseImageConfigurations that conform to the
null CUDA
* Fix setting version patch before checking error