Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The self-hosted runner has all Python versions pre-installed. setup-python was stuck downloading Python from GitHub due to slow network. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Generate 5 ONNX models using supported ops (add, mixed_ops, deep_relu, matmul, maxpool_relu). Benchmark measures parse/optimize/codegen timing across both RISC-V and LLVM backends. 25 pytest tests integrated with CI. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add __main__.py entry point so "python -m scratchv" works. Fix all flake8 errors across the codebase: E501 (line too long), F401 (unused imports), F841 (unused variables), F541 (f-string without placeholders), E221 (multiple spaces before operator), E306 (missing blank line), E122/E127/E128/E131 (indentation), and a duplicate __future__ import. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Resolve all 48 mypy errors across 12 files: add Optional type hints, assert-based type narrowing for Optional[str|int] values, fix tuple syntax in annotations, and add missing imports. Also add end-to-end CNN test suite (27 tests) covering the full pipeline: ONNX parsing, IR compilation, RISC-V assembly generation, binary encoding, trace execution, and MSE/MAE verification. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Resolve all mypy errors: add type narrowing with assert isinstance, fix variable name shadowing (types.py v->attr_v), add Optional type hints, fix annotation syntax, and add type: ignore for dynamic attribute access in TinyFive adapter. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Resolve conflicts in 11 files, keeping jzj_dev changes (lint fixes, mypy type fixes, new ONNX op support, CNN pipeline). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
jizhenjun
self-requested a review
May 29, 2026 04:02
jizhenjun
approved these changes
May 29, 2026
k1nsom
added a commit
that referenced
this pull request
Jun 4, 2026
#1+#2 dashboard数据管线: _run()从--json-output路径读取,generate_dashboard_html接收参数 #4 CI CNN benchmark: 模型不存在时自动生成最小CNN onnx,不再静默跳过 #5 tinyfive CI兼容: --scratchv-asm/--llvm-asm CLI参数,文件不存在容错 #6 estimator参数化: estimate_cnn_model接受model_spec dict #8 LLVM TinyFive内核: 用真实LLVM O3汇编提取的指令序列替代手写 #9 import统一: llvm_cache_compare使用绝对路径导入cache_model 未修(需更大重构): #3 run_spike_bench field() bug (需dataclass重构,影响力低) #10 CPU仿真器重复代码 (需提取共享模块) #7 缓存分析模型 (需trace-driven,实现成本高) 348 tests passed Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.