Compare commits

...

2 Commits

Author SHA1 Message Date
Zhong Hui
a86123e4c1 Update kernel.py 2025-03-06 11:52:32 +08:00
Zhong Hui
0379d7c842 Update kernel.py 2025-03-06 11:44:50 +08:00

View File

@@ -1,5 +1,6 @@
# Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.
#
# Code from https://github.com/deepseek-ai/DeepSeek-V3/blob/592fd5daf8177b205af11651bbb31a1834a8b0e0/inference/kernel.py
# MIT License Copyright (c) 2023 DeepSeek
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -20,7 +21,6 @@ import triton.language as tl
# from triton import Config
@triton.jit
def act_quant_kernel(x_ptr, y_ptr, s_ptr, BLOCK_SIZE: tl.constexpr):
"""