mirror of
https://git.datalinker.icu/deepseek-ai/DeepSeek-V3.git
synced 2025-12-08 20:34:32 +08:00
Create model.py
This commit is contained in:
parent
b265f3795c
commit
292b8a34d8
10
inference/model.py
Normal file
10
inference/model.py
Normal file
@ -0,0 +1,10 @@
|
||||
import math
|
||||
from dataclasses import dataclass
|
||||
from typing import Tuple, Optional, Literal
|
||||
|
||||
import torch
|
||||
from torch import nn
|
||||
import torch.nn.functional as F
|
||||
import torch.distributed as dist
|
||||
|
||||
from kernel import act_quant, weight_dequant, fp8_gemm
|
||||
Loading…
x
Reference in New Issue
Block a user