Repository navigation
Rewrite - #9
Merged
Merged
Rewrite#9
Conversation
Key features implemented: - New matrix.hpp implementation with optimized algebra operations including transpose, matrix multiplication, and element-wise operations - Added core assertion and error handling utilities with Result<T> type for error propagation - Implemented SmartPolicy for automatic parallel/serial execution switching based on data size thresholds - Added NN_HOT_FN macro for marking frequently called functions for compiler optimization - Enhanced thread pool integration with block-level and sample-level parallelization strategies - Integrated optional Vulkan GPU acceleration with automatic CPU fallback for matrix operations The changes introduce a comprehensive matrix algebra system with intelligent execution policies that automatically optimize performance through parallelization, vectorization, and hardware acceleration when available.
Update from task d4bfd249-7b54-4e4d-afd8-89d5b55b5ea5
* Remove all Vulkan-related code including backend headers, shader files, and GPU tensor implementations * Update Matrix class to remove GPU shadow functionality and related methods * Clean up CMake configuration and build scripts to exclude Vulkan dependencies * Simplify .gitignore to remove Vulkan-specific entries * Implement CPU-based AST (Abstract Syntax Tree) for neural network operations in the cleaned-up codebase The changes completely remove the GPU acceleration path and focus on a clean CPU implementation with an AST-based computation graph.
Update from task e39d4cae-0011-4e16-a683-40fff988c8f1
…sets - Add build_rel/, go_games.txt, scripts/datasets/, scripts/tokenizers/ to .gitignore - Add bpe_vocab.json, charbpe_fast.json, go_tokenizer.json, gpt_bpe_torch.json to .gitignore - Remove from tracking: go_games.txt (204MB), 5 tokenizer/model JSON files - All files remain on disk, only removed from git index
• gui.py: 引入TaskRunner统一处理子进程与线程管理,消除各Tab重复的threading.Thread代码 • gui.py: 创建FilePicker通用文件/目录选择器组件,简化文件路径获取界面代码 • gui.py: 实现ParamForm数据驱动表单系统,通过字段配置字典动态生成UI控件 • gui.py: 优化LogConsole黑底日志面板,提供一致的日志显示体验 • gui.py: 重构MNIST训练界面,使用新组件将代码从80行压缩至20行 • gui.py: 统一任务启动/停止逻辑,通过_task_done回调管理按钮状态 • .gitignore: 清空内容并重新构建完整的忽略规则配置 本次重构通过组件化设计大幅减少了代码重复,提升了GUI的可维护性和扩展性,同时保持了原有的功能完整性。
Update from task 2400bede-b801-4b48-91cb-ccb3757603a1
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.
No description provided.