Skip to content

Conversation

@mxCynic
Copy link

@mxCynic mxCynic commented Aug 14, 2025

完成T1-1-2赛题所有算子的实现代码、Pytorch单元测试代码以及GGUF测试代码。
算子设计文档详见设计文档PR:InfiniTensor/InfiniCore-Documentation#38

测试情况

Nvidia

image 41471CABE5FFEC6FB27C0648D17C65CA

Metax

image image

Iluvatar

在天数的测试用,由于logical_eqaul算子要求的全类型中,f64在天数平台适配问题,因此需要删除test/infiniop/logical_equal.py中的f64类型
image
image

实现情况

Silu

commitId: 7040872

  • 实现CPU、NVIDIA、Metax和Iluvatar平台的算子实现代码、Pytorch单元测试代码以及GGUF测试代码。

Div

commitId: 8e013f3

在这个算子中,我对标torch.div实现了三种不同的除法模式,分别是默认除法,trunc,floor,在这个commitId,中可以看到divmode.h文件中定义了对应的enum,在python测试中也有对应的enum

And

commitId: c20f6f5

  • 实现CPU、NVIDIA、Metax和Iluvatar平台的算子实现代码、Pytorch单元测试代码以及GGUF测试代码。

Or

commitId: f5e97b7

  • 实现CPU、NVIDIA、Metax和Iluvatar平台的算子实现代码、Pytorch单元测试代码以及GGUF测试代码。

Equal

commitId: af590ae

  • 实现CPU、NVIDIA、Metax和Iluvatar平台的算子实现代码、Pytorch单元测试代码以及GGUF测试代码。

Relu BackWard

commitId: 5a5704a

  • 实现CPU、NVIDIA、Metax和Iluvatar平台的算子实现代码、Pytorch单元测试代码以及GGUF测试代码。

Gelu

commitId: ff2d5d8

  • 实现CPU、NVIDIA、Metax和Iluvatar平台的算子实现代码、Pytorch单元测试代码以及GGUF测试代码。

Gelu BackWard

commitId: cfc52c2

  • 实现CPU、NVIDIA、Metax和Iluvatar平台的算子实现代码、Pytorch单元测试代码以及GGUF测试代码。

CrossEntropyLoss BackWard

commitId: fadd1eb

  • 实现CPU、NVIDIA、Metax和Iluvatar平台的算子实现代码、Pytorch单元测试代码以及GGUF测试代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant