This commit is contained in:
Vladimir Mandic
2023-08-12 07:36:48 +00:00
parent fc8eca1c34
commit 83f38c6333
+4 -1
View File
@@ -17,7 +17,10 @@ local_url = None
errors.log.debug('Loading Torch')
import torch # pylint: disable=C0411
errors.log.debug(f'Torch init: {torch.sum(torch.randn(2, 2)).to(0) > 0}') # fix silly pytorch_lightning issue
try:
errors.log.debug(f'Torch init: {torch.sum(torch.randn(2, 2)).to(0) > 0}') # fix silly pytorch_lightning issue
except Exception:
pass
try:
import intel_extension_for_pytorch as ipex # pylint: disable=import-error, unused-import
except Exception: