mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-10 15:29:39 +00:00
Enable support for Intel XPU devices, add support for DeepSeek V2/V3 first
This commit is contained in:
parent
333351c7c8
commit
142fb7ce6c
22 changed files with 673 additions and 81 deletions
|
@ -24,7 +24,8 @@ from typing import Sequence
|
|||
import os
|
||||
from enum import IntEnum
|
||||
import torch
|
||||
import KTransformersOps
|
||||
if not torch.xpu.is_available():
|
||||
import KTransformersOps
|
||||
import ctypes
|
||||
import math
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue