Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
完成T1-1-2赛题所有算子的实现代码、Pytorch单元测试代码以及GGUF测试代码。
算子设计文档详见设计文档PR:InfiniTensor/InfiniCore-Documentation#38
测试情况
Nvidia
Metax
Iluvatar
在天数的测试用,由于logical_eqaul算子要求的全类型中,f64在天数平台适配问题,因此需要删除test/infiniop/logical_equal.py中的f64类型


实现情况
Silu
commitId: 7040872
Div
commitId: 8e013f3
在这个算子中,我对标torch.div实现了三种不同的除法模式,分别是默认除法,trunc,floor,在这个commitId,中可以看到divmode.h文件中定义了对应的enum,在python测试中也有对应的enum
And
commitId: c20f6f5
Or
commitId: f5e97b7
Equal
commitId: af590ae
Relu BackWard
commitId: 5a5704a
Gelu
commitId: ff2d5d8
Gelu BackWard
commitId: cfc52c2
CrossEntropyLoss BackWard
commitId: fadd1eb