mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
update
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user