mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
More patches and Import IPEX after Torch
This commit is contained in:
@@ -10,6 +10,10 @@ https://github.com/CompVis/taming-transformers
|
||||
# See more details in LICENSE.
|
||||
|
||||
import torch
|
||||
try:
|
||||
import intel_extension_for_pytorch as ipex
|
||||
except:
|
||||
pass
|
||||
import torch.nn as nn
|
||||
import numpy as np
|
||||
import pytorch_lightning as pl
|
||||
|
||||
Reference in New Issue
Block a user