refactor: clean the structure of current project (#499)

* feat: remove bilingual button on the front page

* misc: clean repo

* test: fix test suite for v1/v2 restructure and removed language switch
This commit is contained in:
anyin233
2026-03-12 18:24:03 +00:00
committed by GitHub
parent 6f677ff507
commit bdb823c575
586 changed files with 30 additions and 10772 deletions

View File

@@ -1,19 +0,0 @@
[book]
authors = ["OpenMLSys Contributors"]
language = "zh-CN"
src = "../../zh_chapters"
title = "机器学习系统:设计和实现"
[build]
build-dir = "../../.mdbook-zh/book"
create-missing = false
[preprocessor.openmlsys-zh]
command = "python3 ../../tools/mdbook_zh_preprocessor.py"
[output.html]
mathjax-support = true
git-repository-url = "https://github.com/openmlsys/openmlsys-zh"
preferred-dark-theme = "navy"
additional-css = ["theme/dark-mode-images.css", "theme/version-selector.css"]
additional-js = ["theme/version-selector.js"]

View File

@@ -1,16 +0,0 @@
/* 暗色模式下仅为正文图片添加浅灰色背景,提高透明背景图片的可读性 */
.navy .content main img,
.coal .content main img,
.ayu .content main img {
background-color: #e8e8e8;
border-radius: 4px;
padding: 8px;
}
/* 首页 frontpage 图片保持透明,不添加正文图像底色。 */
.navy .openmlsys-frontpage img,
.coal .openmlsys-frontpage img,
.ayu .openmlsys-frontpage img {
background-color: transparent !important;
padding: 0 !important;
}

View File

@@ -1,16 +0,0 @@
.typst-inline {
display: inline-flex;
vertical-align: -0.2em;
}
.typst-display {
display: flex;
justify-content: center;
margin: 1rem 0;
overflow-x: auto;
}
.typst-doc {
color: var(--fg);
max-width: 100%;
}

4
conftest.py Normal file
View File

@@ -0,0 +1,4 @@
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent))

View File

@@ -1,3 +0,0 @@
# Summary
[Machine Learning Systems: Design and Implementation](index.md)

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/appendix_machine_learning_introduction/classic_machine_learning.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/appendix_machine_learning_introduction/gradient_descent.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/appendix_machine_learning_introduction/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/appendix_machine_learning_introduction/neural_network.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_accelerator/accelerator_architecture.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_accelerator/accelerator_introduction.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_accelerator/accelerator_practise.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_accelerator/accelerator_programming.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_accelerator/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_accelerator/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_backend_and_runtime/compute_schedule_and_execute.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_backend_and_runtime/graph_optimizer.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_backend_and_runtime/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_backend_and_runtime/kernel_selecter.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_backend_and_runtime/memory_allocator.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_backend_and_runtime/op_compiler.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_backend_and_runtime/overview.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_backend_and_runtime/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_computational_graph/background_and_functionality.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_computational_graph/components_of_computational_graph.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_computational_graph/generation_of_computational_graph.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_computational_graph/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_computational_graph/schedule_of_computational_graph.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_computational_graph/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_data_processing/data_order.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_data_processing/extension.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_data_processing/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_data_processing/performance.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_data_processing/program_model.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_data_processing/requirements.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_data_processing/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_distributed_training/cluster.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_distributed_training/collective.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_distributed_training/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_distributed_training/methods.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_distributed_training/overview.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_distributed_training/parameter_servers.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_distributed_training/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_explainable_AI/explainable_ai.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_explainable_AI/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_federated_learning/horizontal_fl.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_federated_learning/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_federated_learning/outlook.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_federated_learning/overview.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_federated_learning/privacy_encryption_algorithm.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_federated_learning/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_federated_learning/vertical_fl.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_frontend_and_ir/ad.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_frontend_and_ir/ai_compiler_design_principle.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_frontend_and_ir/common_frontend_optimization_pass.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_frontend_and_ir/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_frontend_and_ir/intermediate_representation.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_frontend_and_ir/overview_of_frontend.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_frontend_and_ir/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_frontend_and_ir/type_system_and_static_analysis.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_introduction/applications.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_introduction/architecture.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_introduction/design.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_introduction/ecosystem.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_introduction/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_introduction/readers.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_model_deployment/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_model_deployment/model_compression.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_model_deployment/model_converter_and_optimizer.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_model_deployment/model_deployment_introduction.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_model_deployment/model_inference.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_model_deployment/model_security.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_model_deployment/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_preface/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_preface_advanced/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_preface_extension/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_programming_interface/c_python_interaction.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_programming_interface/development_history.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_programming_interface/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_programming_interface/ml_programming_paradigm.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_programming_interface/ml_workflow.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_programming_interface/neural_network_layer.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_programming_interface/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_recommender_system/case_study.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_recommender_system/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_recommender_system/model_update.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_recommender_system/multi_stage_recommender_system.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_recommender_system/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_recommender_system/system_architecture.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_reinforcement_learning/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_reinforcement_learning/marl.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_reinforcement_learning/marl_sys.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_reinforcement_learning/rl_introduction.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_reinforcement_learning/single_node_rl.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_reinforcement_learning/summary.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_rl_sys/control.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_rl_sys/control_code_ex.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_rl_sys/index.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_rl_sys/perception.md]

View File

@@ -1 +0,0 @@
[TODO: src = zh_chapters/chapter_rl_sys/perception_code_ex.md]

Some files were not shown because too many files have changed in this diff Show More