Repository navigation
【训练营】小模型训练支持 - #219
Open
lewis56654281 wants to merge 2 commits into
Open
【训练营】小模型训练支持#219lewis56654281 wants to merge 2 commits into
lewis56654281 wants to merge 2 commits into
Conversation
lewis56654281
force-pushed
the
ztc/mnist-cnn-support
branch
from
September 8, 2026 13:11
9538cc6 to
cfdb996
Compare
lewis56654281
force-pushed
the
ztc/mnist-cnn-support
branch
from
September 8, 2026 13:31
cfdb996 to
871479d
Compare
Collaborator
|
请解决 pr 冲突。 |
kilinchange
self-requested a review
September 23, 2026 08:35
lewis56654281
force-pushed
the
ztc/mnist-cnn-support
branch
from
October 9, 2026 07:29
871479d to
50d276a
Compare
Author
|
已基于最新 master 完成 rebase 并解决冲突,更新至 50d276a。麻烦有空时继续 review,谢谢! |
kilinchange
requested changes
Oct 9, 2026
Collaborator
There was a problem hiding this comment.
矩阵乘计算建议复用 infini_train/src/kernels/common/gemm.h 里提供的现有实现。
Collaborator
There was a problem hiding this comment.
relu 建议复用已有 elementwise 基建,参照其他 kernel 的写法,在 elemetwise.cu 中新增 relu 实现;cpu kernel 同理。
Author
There was a problem hiding this comment.
已经把 ReLU 移到 elementwise.cu,用里面现有的函数来计算了。原来的 relu.cu 已删除
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
为 MNIST 示例增加两层 CNN,支持 CPU、CUDA 和双卡 DDP 训练,补齐 Conv2d、ReLU 及相关测试