mirror of
https://github.com/vladmandic/automatic
synced 2026-09-13 10:08:43 +02:00
More patches and Import IPEX after Torch
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
import math
|
||||
import numpy as np
|
||||
import torch
|
||||
try:
|
||||
import intel_extension_for_pytorch as ipex
|
||||
except:
|
||||
pass
|
||||
from torch import nn, Tensor
|
||||
import torch.nn.functional as F
|
||||
from typing import Optional, List
|
||||
|
||||
Reference in New Issue
Block a user