Restrict PyTorch version to <2.3.0 to resolve import error (#577)
* Pin PyTorch version to 2.2.2 to resolve import error
Addressing the import error encountered with PyTorch 2.3.0 as detailed in issue #576.
fixes #576
* Update setup.cfg
Modified the version constraint for PyTorch in setup.cfg to torch>=1.12,<2.3.0 to avoid the import errors introduced in version 2.3.0 while still supporting earlier compatible versions. This change follows feedback from @mryab to allow flexibility for users on different versions.