8000 Revert "优化全产品中英学习文案与操作反馈,保留直观上手入口" by chainhelen · Pull Request #6 · chainhelen/neural-atelier · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 25 additions & 30 deletions README.md

Large diffs are not rendered by default.

69 changes: 31 additions & 38 deletions README.zh-CN.md

Large diffs are not rendered by default.

92 changes: 46 additions & 46 deletions campaign.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion campaign.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ for(const id of Object.keys(M.levels).filter(id=>M.levels[id].engine))test(id+'
assert.ok(found,id+' has no player-accessible solution');
});
test('correct circuit can fail performance without changing generated result',()=>{const s=M.solutions('kv-cache');const x=M.samplesFor(s.levelId)[0].v,a=M.evaluate(s,x).output;assert.ok(close(a,M.reference(x,s.levelId),.06));assert.equal(M.engineReport(s).pass,false);s.settings.cache=true;assert.ok(close(a,M.evaluate(s,x).output));assert.equal(M.engineReport(s).pass,true);});
test('ANE incompatible layout and unsupported ops fail compilation',()=>{const s=M.solutions('layout');assert.ok(M.engineReport(s).errors.some(e=>e.includes('布局')));s.settings.layout='channels';s.nodes.find(n=>n.id==='enattn').device='ane';assert.ok(M.engineReport(s).errors.some(e=>e.includes('在本关不支持 ANE。请改用 CPU 或 GPU。')));});
test('ANE incompatible layout and unsupported ops fail compilation',()=>{const s=M.solutions('layout');assert.ok(M.engineReport(s).errors.some(e=>e.includes('布局')));s.settings.layout='channels';s.nodes.find(n=>n.id==='enattn').device='ane';assert.ok(M.engineReport(s).errors.some(e=>e.includes('支持集合')));});
test('KV cache reuses three rows instead of six and preserves Attention output',()=>{const x=M.samplesFor('attention')[0].v,a=M.cachedAttention(x,true),b=M.cachedAttention(x,false);assert.equal(a.processed,3);assert.equal(b.processed,6);assert.ok(close(a.output,b.output));assert.ok(close(a.output,M.math.attention(x)));});
test('more reserved KV capacity consumes memory even when prompt is unchanged',()=>{const s=M.solutions('quantization');s.settings.context=2048;const a=M.engineReport(s).metrics.memory;s.settings.context=8192;assert.ok(M.engineReport(s).metrics.memory>a);});

Expand Down
94 changes: 47 additions & 47 deletions cloud-curriculum.js

Large diffs are not rendered by default.

66 changes: 0 additions & 66 deletions docs/copy-guidelines.md

This file was deleted.

Binary file removed docs/images/learning-copy/silu-en-1080-after.png
Binary file not shown.
Binary file removed docs/images/learning-copy/silu-local-after.png
Binary file not shown.
Binary file removed docs/images/learning-copy/silu-online-before.png
Binary file not shown.
Binary file removed docs/images/learning-copy/silu-zh-after.png
8 10BC8
Binary file not shown.
Binary file removed docs/images/learning-copy/silu-zh-before.png
Binary file not shown.
Binary file removed docs/images/learning-copy/silu-zh-card.png
Binary file not shown.
Binary file removed docs/images/learning-copy/silu-zh-explanation.png
Binary file not shown.
Binary file removed docs/images/product-copy-clarity/error-zh-after.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/images/product-copy-clarity/silu-en-after.png
Binary file not shown.
Binary file removed docs/images/product-copy-clarity/silu-en-before.png
Binary file not shown.
Binary file removed docs/images/product-copy-clarity/silu-zh-after.png
Binary file not shown.
Binary file removed docs/images/product-copy-clarity/silu-zh-before.png
Binary file not shown.
Loading
Loading
0