zhuyuan-ice-gl-zy001/ZCODE-DEV-20260827/zcode-zc001-flagos-task29-20260827/DELIVERY-NOTE-v1.md

11 lines
958 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Task 29 gelu_and_mul 第一版交付便签
- 交付时间:2026-08-27 晚(开工周期 ZY-CYCLE-000001-6172292d4a8c verify PASS e196331f)
- 文件:gelu_and_mul.py
- sha256:见下方(提交平台时以此核对复制的完整性)
- 验证证据:
1. 公式级:kernel GELU 公式 vs 标准正态CDF定义(10万随机+极端点)最大偏差 0.000e+00 PASS
2. 结构级:分块/索引/mask/分趟循环 vs 参考(7种边界形状 d=16/64/128/1024/1536/4096/8192)最大偏差 0.000e+00 PASS
3. 真机级:待平台首次提交评测(Mac 无 N 卡,known gap)——self_check() 在任意 GPU 机器可复验
- 路线:第一版=稳(erf 精确式,BLOCK=1024);第二版迭代=块宽/展平网格/向量化搬运
- 反作弊合规:未引用 vLLM/SGLang/flaggems 现成实现;参考仅 PyTorch 基础算子组合用于自检
sha256(gelu_and_mul.py) = c37109f46e60c558c2e0da822330bf51fecfc47d851f5b71c68c4957e8c60efe