Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't error out when cpu accelerator doesn't have torch (as default f…
…or whl building) (#6886) This fixes a bug introduced in #6845, which breaks the `no-torch` workflow that we require in order to do releases where we do not require torch to be in the environment when building an sdist. This adds the same logic to the cpuaccelerator that the cudaaccelerator had where we don't require torch to be installed to build the whl.
- Loading branch information