-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
【OSCP】+文档 [What is SPU?]翻译成中文文档 #1040
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -358,14 +358,14 @@ msgstr "" | |
|
||
#: ../../getting_started/introduction.rst:2 | ||
msgid "What is SPU?" | ||
msgstr "" | ||
msgstr "什么是 SPU?" | ||
|
||
#: ../../getting_started/introduction.rst:4 | ||
msgid "" | ||
"SPU (Secure Processing Unit) is a domain-specific **compiler and runtime " | ||
"suite**, that aims to provide a **secure computation** service with " | ||
"**provable security**." | ||
msgstr "" | ||
msgstr "SPU (安全处理单元)是一个特定领域的编译器和运行时套件,其旨在提供具备安全性证明的安全计算服务。" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The translation "SPU (安全处理单元)是一个特定领域的编译器和运行时套件,其旨在提供具备安全性证明的安全计算服务。" is a bit lengthy and could be more concise. Consider rephrasing it to improve readability and flow in Chinese. For example, you could try: "SPU (安全处理单元) 是一种特定领域的编译器和运行时套件,旨在提供可证明安全性的安全计算服务。"
|
||
|
||
#: ../../getting_started/introduction.rst:6 | ||
msgid "" | ||
|
@@ -377,7 +377,7 @@ msgid "" | |
"by SPU runtime. Currently, SPU team highly recommends using `JAX " | ||
"<https://github.com/google/jax>`_ and its sibling - `Flax " | ||
"<https://github.com/google/flax>`_." | ||
msgstr "" | ||
msgstr "SPU 编译器采用 XLA 作为其前端中间表示(IR)。因此,SPU 支持来自 TensorFlow、JAX 或 PyTorch 的 XLA IR 输出。在内部,SPU 编译器会将 XLA 编译成一种特定于多方计算 (MPC) 的 MLIR 语言,这种语言随后会由 SPU 运行时进行解释。目前,SPU 团队强烈建议使用 JAX 及其姊妹框架 Flax。" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The phrase "SPU 编译器采用 XLA 作为其前端中间表示(IR)。因此,SPU 支持来自 TensorFlow、JAX 或 PyTorch 的 XLA IR 输出。在内部,SPU 编译器会将 XLA 编译成一种特定于多方计算 (MPC) 的 MLIR 语言,这种语言随后会由 SPU 运行时进行解释。目前,SPU 团队强烈建议使用 JAX 及其姊妹框架 Flax。" is a long sentence. Consider breaking it into smaller sentences for better readability. For example: "SPU 编译器采用 XLA 作为其前端中间表示(IR)。因此,SPU 支持来自 TensorFlow、JAX 或 PyTorch 的 XLA IR 输出。在内部,SPU 编译器会将 XLA 编译成一种特定于多方计算 (MPC) 的 MLIR 语言。这种语言随后会由 SPU 运行时进行解释。目前,SPU 团队强烈建议使用 JAX 及其姊妹框架 Flax。"
|
||
|
||
#: ../../getting_started/introduction.rst:8 | ||
msgid "" | ||
|
@@ -387,7 +387,7 @@ msgid "" | |
"extensible**, protocol developers can hack into MPC protocols with " | ||
"minimum effort and let the SPU compiler/runtime translate and interpret " | ||
"complicated frontend logic on it." | ||
msgstr "" | ||
msgstr "为了提供安全性证明,SPU 运行时(作为后端)实现了多种多方计算协议。 SPU 运行时的设计具有高度可扩展性,协议开发者能够轻松对多方计算协议进行定制开发,并让 SPU 编译器/运行时在其上翻译和解释复杂的前端逻辑。" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The translation "为了提供安全性证明,SPU 运行时(作为后端)实现了多种多方计算协议。 SPU 运行时的设计具有高度可扩展性,协议开发者能够轻松对多方计算协议进行定制开发,并让 SPU 编译器/运行时在其上翻译和解释复杂的前端逻辑。" could be improved by adding a conjunction to connect the two sentences. For example: "为了提供安全性证明,SPU 运行时(作为后端)实现了多种多方计算协议。而且,SPU 运行时的设计具有高度可扩展性,协议开发者能够轻松对多方计算协议进行定制开发,并让 SPU 编译器/运行时在其上翻译和解释复杂的前端逻辑。"
|
||
|
||
#: ../../getting_started/introduction.rst:14 | ||
msgid "High-level system architecture of SPU" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While the translation "什么是 SPU?" is technically correct, it might be more natural to use "SPU 是什么?" for better readability in Chinese. Consider if this alternative phrasing would be more appropriate in this context.