diff --git a/framework/docs/locales/fr/LC_MESSAGES/framework-docs.po b/framework/docs/locales/fr/LC_MESSAGES/framework-docs.po index dd6cacab9cef..6bf39bff3d44 100644 --- a/framework/docs/locales/fr/LC_MESSAGES/framework-docs.po +++ b/framework/docs/locales/fr/LC_MESSAGES/framework-docs.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: Flower Docs\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-12-13 00:33+0000\n" +"POT-Creation-Date: 2024-12-18 00:32+0000\n" "PO-Revision-Date: 2023-09-05 17:54+0000\n" "Last-Translator: Charles Beauville \n" "Language: fr\n" @@ -6237,7 +6237,7 @@ msgid "" msgstr "" #: ../../source/how-to-implement-fedbn.rst:99 -#: ../../source/how-to-run-flower-on-azure.rst:217 +#: ../../source/how-to-run-flower-on-azure.rst:218 msgid "Next Steps" msgstr "Prochaines étapes" @@ -6801,23 +6801,23 @@ msgstr "Serveur de Flower" #: ../../source/how-to-run-flower-on-azure.rst:22 msgid "" -"There are many ways to deploy Flower on Microst Azure. The instructions " -"provided in this guide is just a basic walkthrough, step-by-step guide on" -" how to quickly setup and run a Flower application on a Federated " -"Learning environment on Microst Azure." +"There are many ways to deploy Flower on Microsoft Azure. The instructions" +" provided in this guide is just a basic walkthrough, step-by-step guide " +"on how to quickly setup and run a Flower application on a Federated " +"Learning environment on Microsoft Azure." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:26 +#: ../../source/how-to-run-flower-on-azure.rst:27 msgid "" "In this how-to guide, we want to create a Federated Learning environment " -"on Microst Azure using three Virtual Machines (VMs). From the three " +"on Microsoft Azure using three Virtual Machines (VMs). From the three " "machines, one machine will be used as the Federation server and two as " "the Federation clients. Our goal is to create a Flower federation on " -"Microst Azure where we can run Flower apps from our local machine, e.g., " -"laptop." +"Microsoft Azure where we can run Flower apps from our local machine, " +"e.g., laptop." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:32 +#: ../../source/how-to-run-flower-on-azure.rst:33 msgid "" "On the Federation server VM we will deploy the long-running Flower server" " (``SuperLink``) and on the two Federation client VMs we will deploy the " @@ -6826,60 +6826,60 @@ msgid "" "see the |flower_architecture_link|_ ." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:38 +#: ../../source/how-to-run-flower-on-azure.rst:39 msgid "Azure VMs" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:40 +#: ../../source/how-to-run-flower-on-azure.rst:41 msgid "" "First we need to create the three VMs configure their Python " "environments, and inbound networking rules to allow cross-VM " "communication." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:44 +#: ../../source/how-to-run-flower-on-azure.rst:45 msgid "VM Create" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:46 +#: ../../source/how-to-run-flower-on-azure.rst:47 msgid "" -"Assuming we are already inside the Microst Azure portal, we navigate to " -"the ``Create`` page and we select ``Azure virtual machine``. In the new " +"Assuming we are already inside the Microsoft Azure portal, we navigate to" +" the ``Create`` page and we select ``Azure virtual machine``. In the new " "page, for each VM we edit the properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:55 +#: ../../source/how-to-run-flower-on-azure.rst:56 msgid "**Virtual machine name**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:56 +#: ../../source/how-to-run-flower-on-azure.rst:57 msgid "" "for server machine we can use ``flower-server`` and for clients, " "``flower-client-1`` and ``flower-client-2``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:58 +#: ../../source/how-to-run-flower-on-azure.rst:59 #, fuzzy msgid "**Image**" msgstr "**Apporter des modifications**" -#: ../../source/how-to-run-flower-on-azure.rst:59 +#: ../../source/how-to-run-flower-on-azure.rst:60 msgid "in this guide, we use ``Ubuntu Server 24.04 - x64 Gen2 LTS``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:60 +#: ../../source/how-to-run-flower-on-azure.rst:61 msgid "**Size**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:61 +#: ../../source/how-to-run-flower-on-azure.rst:62 msgid "in this guide, we use ``Standard_D2s_v3 - 2 vcpus, 8GiB memory``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:65 +#: ../../source/how-to-run-flower-on-azure.rst:66 msgid "For resource group, we can create a new group and assign it to all VMs." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:67 +#: ../../source/how-to-run-flower-on-azure.rst:68 msgid "" "When each VM instance has been created the portal will allow you to " "download the public key (.pem) of each instance. Make sure you save this " @@ -6887,7 +6887,7 @@ msgid "" " the ``chmod 400 `` command for every .pem file." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:72 +#: ../../source/how-to-run-flower-on-azure.rst:73 msgid "" "Once all three VMs are created then navigate to the overview page where " "all three VMs are listed and open every other VM, and copy its Public IP " @@ -6897,11 +6897,11 @@ msgid "" "``azureuser``):" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:83 +#: ../../source/how-to-run-flower-on-azure.rst:84 msgid "VM Networking" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:85 +#: ../../source/how-to-run-flower-on-azure.rst:86 msgid "" "During the execution of the Flower application, the server VM " "(``SuperLink``) will be responsible to orchestrate the execution of the " @@ -6912,7 +6912,7 @@ msgid "" "applications." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:92 +#: ../../source/how-to-run-flower-on-azure.rst:93 msgid "" "Therefore, to enable this communication we need to allow inbound traffic " "to the server VM instance. To achieve this, we need to navigate to the " @@ -6921,68 +6921,68 @@ msgid "" "appears, we edit the rule properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:97 +#: ../../source/how-to-run-flower-on-azure.rst:98 msgid "The rest of the fields can be left at their default values." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:104 -#: ../../source/how-to-run-flower-on-azure.rst:145 +#: ../../source/how-to-run-flower-on-azure.rst:105 +#: ../../source/how-to-run-flower-on-azure.rst:146 #, fuzzy msgid "**Source**" msgstr "flower-superlink" -#: ../../source/how-to-run-flower-on-azure.rst:105 +#: ../../source/how-to-run-flower-on-azure.rst:106 msgid "``IP Addresses``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:106 -#: ../../source/how-to-run-flower-on-azure.rst:133 +#: ../../source/how-to-run-flower-on-azure.rst:107 +#: ../../source/how-to-run-flower-on-azure.rst:134 msgid "**Source IP addresses/CIDR ranges**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:107 +#: ../../source/how-to-run-flower-on-azure.rst:108 msgid "add client VMs' Public IP (separated by comma)" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:108 +#: ../../source/how-to-run-flower-on-azure.rst:109 #, fuzzy msgid "**Destination**" msgstr "Dépréciations" -#: ../../source/how-to-run-flower-on-azure.rst:109 -#: ../../source/how-to-run-flower-on-azure.rst:146 +#: ../../source/how-to-run-flower-on-azure.rst:110 +#: ../../source/how-to-run-flower-on-azure.rst:147 msgid "``Any``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:110 +#: ../../source/how-to-run-flower-on-azure.rst:111 #, fuzzy msgid "**Service**" msgstr "flower-superlink" -#: ../../source/how-to-run-flower-on-azure.rst:111 +#: ../../source/how-to-run-flower-on-azure.rst:112 msgid "``custom``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:112 -#: ../../source/how-to-run-flower-on-azure.rst:135 -#: ../../source/how-to-run-flower-on-azure.rst:147 +#: ../../source/how-to-run-flower-on-azure.rst:113 +#: ../../source/how-to-run-flower-on-azure.rst:136 +#: ../../source/how-to-run-flower-on-azure.rst:148 msgid "**Destination port ranges**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:113 +#: ../../source/how-to-run-flower-on-azure.rst:114 msgid "``9092``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:114 +#: ../../source/how-to-run-flower-on-azure.rst:115 msgid "**Protocol**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:115 +#: ../../source/how-to-run-flower-on-azure.rst:116 #, fuzzy msgid "``TCP``" msgstr "Configurer les clients" -#: ../../source/how-to-run-flower-on-azure.rst:117 +#: ../../source/how-to-run-flower-on-azure.rst:118 msgid "" "Finally, we need to also open port 9093 to allow receiving and executing " "incoming application requests. To enable this we just need to repeat the " @@ -6994,31 +6994,31 @@ msgid "" " source to ``Any``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:125 +#: ../../source/how-to-run-flower-on-azure.rst:126 msgid "" "To be more precise, if we know the Public IP of our machine, then we make" " the following changes:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:134 +#: ../../source/how-to-run-flower-on-azure.rst:135 msgid "add machine's Public IP" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:136 -#: ../../source/how-to-run-flower-on-azure.rst:148 +#: ../../source/how-to-run-flower-on-azure.rst:137 +#: ../../source/how-to-run-flower-on-azure.rst:149 msgid "``9093``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:138 +#: ../../source/how-to-run-flower-on-azure.rst:139 msgid "Otherwise, we change the properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:151 +#: ../../source/how-to-run-flower-on-azure.rst:152 #, fuzzy msgid "Flower Environment" msgstr "Créer/Supprimer l'environment virtuel" -#: ../../source/how-to-run-flower-on-azure.rst:153 +#: ../../source/how-to-run-flower-on-azure.rst:154 msgid "" "Assuming we have been able to login to each VM, and create a Python " "environment with Flower and all its dependencies installed (``pip install" @@ -7028,19 +7028,19 @@ msgid "" "the Flower Framework we want to run, e.g., ``numpy``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:161 +#: ../../source/how-to-run-flower-on-azure.rst:162 msgid "" "An alternative approach would be to use Docker in each VM, with each " "image containing the necessary environment and dependencies. For more " "details please refer to the |flower_docker_index|_ guide." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:166 +#: ../../source/how-to-run-flower-on-azure.rst:167 #, fuzzy msgid "Server Initialization" msgstr "Vérifie l'installation" -#: ../../source/how-to-run-flower-on-azure.rst:168 +#: ../../source/how-to-run-flower-on-azure.rst:169 msgid "" "After configuring the Flower application environment, we proceed by " "starting the Flower long-running processes (i.e., ``SuperLink`` and " @@ -7049,19 +7049,19 @@ msgid "" "client (``SuperNode``)." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:175 +#: ../../source/how-to-run-flower-on-azure.rst:176 msgid "" "To enable authentication and encrypted communication during the execution" " lifecycle of the Flower application, please have a look at the following" " resources: |authenticate_supernodes|_, |enable_tls_connections|_" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:197 +#: ../../source/how-to-run-flower-on-azure.rst:198 #, fuzzy msgid "Run Flower App" msgstr "Serveur de Flower" -#: ../../source/how-to-run-flower-on-azure.rst:199 +#: ../../source/how-to-run-flower-on-azure.rst:200 msgid "" "Finally, after all running Flower processes have been initialized on the " "Microsoft Azure cluster, in our local machine, we first need to install " @@ -7071,17 +7071,17 @@ msgid "" "``pyproject.toml`` file, and then add the following sections:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:214 +#: ../../source/how-to-run-flower-on-azure.rst:215 msgid "Then from our local machine we need to run ``flwr run . my-federation``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:221 +#: ../../source/how-to-run-flower-on-azure.rst:222 msgid "" "This guide is not suitable for production environments due to missing " "authentication and TLS security." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:224 +#: ../../source/how-to-run-flower-on-azure.rst:225 msgid "" "To enable authentication and establish secure connections, please refer " "to the following resources: |authenticate_supernodes|_, " @@ -8546,6 +8546,186 @@ msgstr "" msgid "Enjoy building a more robust and flexible ``ClientApp`` with mods!" msgstr "" +#: ../../source/how-to-use-cli-json-output.rst:2 +msgid "Use CLI JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:4 +msgid "" +"The `Flower CLIs `_ come with a built-in JSON output " +"mode. This mode is useful when you want to consume the output of a Flower" +" CLI programmatically. For example, you might want to use the output of " +"the ``flwr`` CLI in a script or a continuous integration pipeline." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:11 +msgid "" +"The JSON output mode is currently only available when using the Flower " +"CLIs with a `SuperLink `_. Learn more " +"about the `SuperLink` in the `Flower Architecture Overview `_ page." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:15 +msgid "" +"In this guide, we'll show you how to specify a JSON output with the " +"``flwr run``, ``flwr ls``, and ``flwr stop`` commands. We will also " +"provide examples of the JSON output for each of these commands." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:32 +msgid "``flwr run`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:34 +msgid "" +"The |flwr_run|_ command runs a Flower app from a provided directory. Note" +" that if the app path argument is not passed to ``flwr run``, the current" +" working directory is used as the default Flower app directory. By " +"default, executing the ``flwr run`` command prints the status of the app " +"build and run process as follows:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:47 +msgid "" +"To get the output in JSON format, pass an additional ``--format json`` " +"flag:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:62 +#, fuzzy +msgid "The JSON output for ``flwr run`` contains the following fields:" +msgstr "Crée une demande de pull qui contient les modifications suivantes :" + +#: ../../source/how-to-use-cli-json-output.rst:64 +msgid "``success``: A boolean indicating whether the command was successful." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:65 +msgid "``run-id``: The ID of the run." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:66 +#, fuzzy +msgid "``fab-id``: The ID of the Flower app." +msgstr "Chargement des données" + +#: ../../source/how-to-use-cli-json-output.rst:67 +#, fuzzy +msgid "``fab-name``: The name of the Flower app." +msgstr "Chargement des données" + +#: ../../source/how-to-use-cli-json-output.rst:68 +#, fuzzy +msgid "``fab-version``: The version of the Flower app." +msgstr "Chargement des données" + +#: ../../source/how-to-use-cli-json-output.rst:69 +#, fuzzy +msgid "``fab-hash``: The short hash of the Flower app." +msgstr "Chargement des données" + +#: ../../source/how-to-use-cli-json-output.rst:70 +#, fuzzy +msgid "``fab-filename``: The filename of the Flower app." +msgstr "Chargement des données" + +#: ../../source/how-to-use-cli-json-output.rst:72 +msgid "" +"If the command fails, the JSON output will contain two fields, " +"``success`` with the value of ``false`` and ``error-message``. For " +"example, if the command fails to find the name of the federation on the " +"SuperLink, the output will look like this:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:87 +msgid "``flwr ls`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:89 +msgid "" +"The |flwr_ls|_ command lists all the runs in the current project. Similar" +" to ``flwr run``, if the app path argument is not passed to ``flwr ls``, " +"the current working directory is used as the Flower app directory. By " +"default, the command list the details of all runs in a Flower federation " +"in a tabular format:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:110 +#: ../../source/how-to-use-cli-json-output.rst:181 +msgid "To get the output in JSON format, simply pass the ``--format json`` flag:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:145 +msgid "" +"The JSON output for ``flwr ls`` contains similar fields as ``flwr run`` " +"with the addition of the ``status``, ``elapsed``, ``created-at``, " +"``running-at``, and ``finished-at`` fields. The ``runs`` key contains a " +"list of dictionaries, each representing a run. The additional fields are:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:150 +msgid "" +"``status``: The status of the run, either pending, starting, running, or " +"finished." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:151 +msgid "" +"``elapsed``: The time elapsed since the run started, formatted as " +"``HH:MM:SS``." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:152 +msgid "``created-at``: The time the run was created." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:153 +msgid "``running-at``: The time the run started running." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:154 +msgid "``finished-at``: The time the run finished." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:156 +msgid "" +"All timestamps adhere to ISO 8601, UTC and are formatted as ``YYYY-MM-DD " +"HH:MM:SSZ``." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:158 +msgid "" +"You can also use the ``--run-id`` flag to list the details for one run. " +"In this case, the JSON output will have the same structure as above with " +"only one entry in the ``runs`` key. For more details of this command, see" +" the |flwr_ls|_ documentation. If the command fails, the JSON output will" +" return two fields, ``success`` and ``error-message``, as shown in " +":ref:`the above example `. Note that the content of " +"the error message will be different depending on the error that occurred." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:166 +msgid "``flwr stop`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:168 +msgid "" +"The |flwr_stop|_ command stops a running Flower app for a provided run " +"ID. Similar to ``flwr run``, if the app path argument is not passed to " +"``flwr stop``, the current working directory is used as the Flower app " +"directory. By default, the command prints the status of the stop process " +"as follows:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:191 +msgid "" +"If the command fails, the JSON output will contain two fields ``success``" +" with the value of ``false`` and ``error-message``, as shown in :ref:`the" +" above example `. Note that the content of the error " +"message will be different depending on the error that occurred." +msgstr "" + #: ../../source/how-to-use-differential-privacy.rst:2 #, fuzzy msgid "Use Differential Privacy" @@ -8864,7 +9044,7 @@ msgstr "Quickstart tutorials" msgid "How-to guides" msgstr "Guides" -#: ../../source/index.rst:108 ../../source/index.rst:113 +#: ../../source/index.rst:109 ../../source/index.rst:114 msgid "Explanations" msgstr "Explications" @@ -8872,26 +9052,26 @@ msgstr "Explications" msgid "API reference" msgstr "Référence pour l'API" -#: ../../source/index.rst:139 +#: ../../source/index.rst:140 msgid "Reference docs" msgstr "Référence pour la documentation" -#: ../../source/index.rst:154 +#: ../../source/index.rst:155 #, fuzzy msgid "Contributor tutorials" msgstr "Configuration du contributeur" -#: ../../source/index.rst:161 +#: ../../source/index.rst:162 #, fuzzy msgid "Contributor how-to guides" msgstr "Guide pour les contributeurs" -#: ../../source/index.rst:173 +#: ../../source/index.rst:174 #, fuzzy msgid "Contributor explanations" msgstr "Explications" -#: ../../source/index.rst:179 +#: ../../source/index.rst:180 #, fuzzy msgid "Contributor references" msgstr "Configuration du contributeur" @@ -9001,7 +9181,7 @@ msgstr "" "Guides orientés sur la résolutions étapes par étapes de problèmes ou " "objectifs specifiques." -#: ../../source/index.rst:110 +#: ../../source/index.rst:111 msgid "" "Understanding-oriented concept guides explain and discuss key topics and " "underlying ideas behind Flower and collaborative AI." @@ -9009,29 +9189,29 @@ msgstr "" "Guides orientés sur la compréhension et l'explication des sujets et idées" " de fonds sur lesquels sont construits Flower et l'IA collaborative." -#: ../../source/index.rst:122 +#: ../../source/index.rst:123 #, fuzzy msgid "References" msgstr "Référence" -#: ../../source/index.rst:124 +#: ../../source/index.rst:125 msgid "Information-oriented API reference and other reference material." msgstr "Référence de l'API orientée sur l'information pure." -#: ../../source/index.rst:133::1 +#: ../../source/index.rst:134::1 msgid ":py:obj:`flwr `\\" msgstr "" -#: ../../source/index.rst:133::1 flwr:1 of +#: ../../source/index.rst:134::1 flwr:1 of msgid "Flower main package." msgstr "" -#: ../../source/index.rst:149 +#: ../../source/index.rst:150 #, fuzzy msgid "Contributor docs" msgstr "Configuration du contributeur" -#: ../../source/index.rst:151 +#: ../../source/index.rst:152 #, fuzzy msgid "" "The Flower community welcomes contributions. The following docs are " @@ -9161,7 +9341,7 @@ msgstr "" msgid "Flag to stream or print logs from the Flower run" msgstr "" -#: ../../flwr log ls run +#: ../../flwr log ls run stop #, fuzzy msgid "default" msgstr "Flux de travail" @@ -9203,7 +9383,51 @@ msgid "Name of the federation to login into." msgstr "" #: ../../flwr ls:1 -msgid "List runs." +msgid "" +"List the details of one provided run ID or all runs in a Flower " +"federation." +msgstr "" + +#: ../../flwr ls:1 +msgid "The following details are displayed:" +msgstr "" + +#: ../../flwr ls:1 +msgid "**Run ID:** Unique identifier for the run." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"**FAB:** Name of the FAB associated with the run (``{FAB_ID} " +"(v{FAB_VERSION})``)." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"**Status:** Current status of the run (pending, starting, running, " +"finished)." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Elapsed:** Time elapsed since the run started (``HH:MM:SS``)." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Created At:** Timestamp when the run was created." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Running At:** Timestamp when the run started running." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Finished At:** Timestamp when the run finished." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"All timestamps follow ISO 8601, UTC and are formatted as ``YYYY-MM-DD " +"HH:MM:SSZ``." msgstr "" #: ../../flwr ls:1 @@ -9218,11 +9442,11 @@ msgstr "" msgid "Specific run ID to display" msgstr "" -#: ../../flwr ls:1 run:1 +#: ../../flwr ls:1 run:1 stop:1 msgid "Format output using 'default' view or 'json'" msgstr "" -#: ../../flwr ls:1 run:1 +#: ../../flwr ls:1 run:1 stop:1 #, fuzzy msgid "``'default'``" msgstr "Flux de travail" @@ -9580,123 +9804,57 @@ msgstr "" msgid "Methods" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`evaluate `\\ \\(ins\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 #: flwr.client.client.Client.evaluate:1 -#: flwr.client.numpy_client.NumPyClient.evaluate:1 of +#: flwr.client.client.Client.evaluate:1::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of #, fuzzy msgid "Evaluate the provided parameters using the locally held dataset." msgstr "évaluer le modèle mis à jour sur l'ensemble de test local" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`fit `\\ \\(ins\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.fit:1 of msgid "Refine the provided parameters using the locally held dataset." msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -msgid ":py:obj:`get_context `\\ \\(\\)" -msgstr "" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#: flwr.client.client.Client.get_context:1 -#: flwr.client.numpy_client.NumPyClient.get_context:1 of -#, fuzzy -msgid "Get the run context from this client." -msgstr "Évaluer la réponse d'un client." - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`get_parameters `\\ \\(ins\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.get_parameters:1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.get_parameters:1 of #, fuzzy msgid "Return the current local model parameters." msgstr "``get_parameters`` : renvoie les paramètres du modèle local actuel" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`get_properties `\\ \\(ins\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.get_properties:1 of msgid "Return set of client's properties." msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -msgid ":py:obj:`set_context `\\ \\(context\\)" -msgstr "" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#: flwr.client.client.Client.set_context:1 -#: flwr.client.numpy_client.NumPyClient.set_context:1 of -msgid "Apply a run context to this client." -msgstr "" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`to_client `\\ \\(\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.to_client:1 of msgid "Return client (itself)." msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:46 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:46 -#: ../../source/ref-api/flwr.common.Array.rst:28 -#: ../../source/ref-api/flwr.common.ClientMessage.rst:25 -#: ../../source/ref-api/flwr.common.Code.rst:19 -#: ../../source/ref-api/flwr.common.Context.rst:25 -#: ../../source/ref-api/flwr.common.DisconnectRes.rst:25 -#: ../../source/ref-api/flwr.common.Error.rst:25 -#: ../../source/ref-api/flwr.common.EvaluateIns.rst:25 -#: ../../source/ref-api/flwr.common.EvaluateRes.rst:25 -#: ../../source/ref-api/flwr.common.EventType.rst:165 -#: ../../source/ref-api/flwr.common.FitIns.rst:25 -#: ../../source/ref-api/flwr.common.FitRes.rst:25 -#: ../../source/ref-api/flwr.common.GetParametersIns.rst:25 -#: ../../source/ref-api/flwr.common.GetParametersRes.rst:25 -#: ../../source/ref-api/flwr.common.GetPropertiesIns.rst:25 -#: ../../source/ref-api/flwr.common.GetPropertiesRes.rst:25 -#: ../../source/ref-api/flwr.common.Message.rst:37 -#: ../../source/ref-api/flwr.common.MessageType.rst:25 -#: ../../source/ref-api/flwr.common.MessageTypeLegacy.rst:25 -#: ../../source/ref-api/flwr.common.Metadata.rst:25 -#: ../../source/ref-api/flwr.common.Parameters.rst:25 -#: ../../source/ref-api/flwr.common.ReconnectIns.rst:25 -#: ../../source/ref-api/flwr.common.RecordSet.rst:25 -#: ../../source/ref-api/flwr.common.ServerMessage.rst:25 -#: ../../source/ref-api/flwr.common.Status.rst:25 -#: ../../source/ref-api/flwr.server.Driver.rst:43 -#: ../../source/ref-api/flwr.server.LegacyContext.rst:25 -#: ../../source/ref-api/flwr.server.ServerAppComponents.rst:25 -#: ../../source/ref-api/flwr.server.ServerConfig.rst:25 -msgid "Attributes" -msgstr "" - -#: flwr.client.Client.context:1::1 of -msgid ":py:obj:`context `\\" -msgstr "" - -#: flwr.client.Client.context:1 flwr.client.Client.context:1::1 -#: flwr.client.NumPyClient.context:1 -#: flwr.client.NumPyClient.context:1::1 of -msgid "Getter for `Context` client attribute." -msgstr "" - #: ../../source/ref-api/flwr.common.Parameters.rst:2 #: flwr.client.app.start_client flwr.client.app.start_numpy_client #: flwr.client.client.Client.evaluate flwr.client.client.Client.fit @@ -9951,63 +10109,49 @@ msgstr "" msgid "NumPyClient" msgstr "NumPyClient" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`evaluate `\\ \\(parameters\\, " "config\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid ":py:obj:`fit `\\ \\(parameters\\, config\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.fit:1 of #, fuzzy msgid "Train the provided parameters using the locally held dataset." msgstr "entraîne le modèle sur l'ensemble d'apprentissage local" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -msgid ":py:obj:`get_context `\\ \\(\\)" -msgstr "" - -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`get_parameters `\\ " "\\(config\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`get_properties `\\ " "\\(config\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.get_properties:1 of msgid "Return a client's set of properties." msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -msgid "" -":py:obj:`set_context `\\ " -"\\(context\\)" -msgstr "" - -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid ":py:obj:`to_client `\\ \\(\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.to_client:1 of #, fuzzy msgid "Convert to object to Client type and return it." msgstr "Convertit l'objet des paramètres en ndarrays NumPy." -#: flwr.client.NumPyClient.context:1::1 of -msgid ":py:obj:`context `\\" -msgstr "" - #: flwr.client.numpy_client.NumPyClient.evaluate:3 #: flwr.client.numpy_client.NumPyClient.fit:3 #: flwr.server.strategy.dpfedavg_fixed.DPFedAvgFixed.configure_evaluate:5 @@ -10933,6 +11077,37 @@ msgstr "serveur.stratégie.Stratégie" msgid "Return the array as a NumPy array." msgstr "renvoie le poids du modèle sous la forme d'une liste de ndarrays NumPy" +#: ../../source/ref-api/flwr.common.Array.rst:28 +#: ../../source/ref-api/flwr.common.ClientMessage.rst:25 +#: ../../source/ref-api/flwr.common.Code.rst:19 +#: ../../source/ref-api/flwr.common.Context.rst:25 +#: ../../source/ref-api/flwr.common.DisconnectRes.rst:25 +#: ../../source/ref-api/flwr.common.Error.rst:25 +#: ../../source/ref-api/flwr.common.EvaluateIns.rst:25 +#: ../../source/ref-api/flwr.common.EvaluateRes.rst:25 +#: ../../source/ref-api/flwr.common.EventType.rst:165 +#: ../../source/ref-api/flwr.common.FitIns.rst:25 +#: ../../source/ref-api/flwr.common.FitRes.rst:25 +#: ../../source/ref-api/flwr.common.GetParametersIns.rst:25 +#: ../../source/ref-api/flwr.common.GetParametersRes.rst:25 +#: ../../source/ref-api/flwr.common.GetPropertiesIns.rst:25 +#: ../../source/ref-api/flwr.common.GetPropertiesRes.rst:25 +#: ../../source/ref-api/flwr.common.Message.rst:37 +#: ../../source/ref-api/flwr.common.MessageType.rst:25 +#: ../../source/ref-api/flwr.common.MessageTypeLegacy.rst:25 +#: ../../source/ref-api/flwr.common.Metadata.rst:25 +#: ../../source/ref-api/flwr.common.Parameters.rst:25 +#: ../../source/ref-api/flwr.common.ReconnectIns.rst:25 +#: ../../source/ref-api/flwr.common.RecordSet.rst:25 +#: ../../source/ref-api/flwr.common.ServerMessage.rst:25 +#: ../../source/ref-api/flwr.common.Status.rst:25 +#: ../../source/ref-api/flwr.server.Driver.rst:43 +#: ../../source/ref-api/flwr.server.LegacyContext.rst:25 +#: ../../source/ref-api/flwr.server.ServerAppComponents.rst:25 +#: ../../source/ref-api/flwr.server.ServerConfig.rst:25 +msgid "Attributes" +msgstr "" + #: flwr.common.record.parametersrecord.Array.numpy:1::1 of msgid ":py:obj:`dtype `\\" msgstr "" @@ -29230,7 +29405,7 @@ msgstr "" "chose d'autre, comme la régression linéaire classique." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:41 -msgid "|ae2337ba61dd4efc818e63933fd81666|" +msgid "|31d9fb7c284a414ba34e32ced3b17b11|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:109 @@ -29249,7 +29424,7 @@ msgstr "" " Go." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:53 -msgid "|14a8d3feda794591a601daaaaa79d0b6|" +msgid "|32af43ffb54a421d8cfe59939c34206b|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:111 @@ -29281,7 +29456,7 @@ msgstr "" "chanson." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:67 -msgid "|c67497f1afa84a30a3901418c6c0bb62|" +msgid "|34c462a3cde341389422badb2077fc36|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:113 @@ -29302,7 +29477,7 @@ msgstr "" " données pour la même tâche." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:79 -msgid "|d4ce55da082146d7ad13ec4f73d427a2|" +msgid "|3a2ded531a9a4b86af3e743490e78172|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:115 @@ -29324,7 +29499,7 @@ msgstr "" "cloud." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:91 -msgid "|0a0c4ca9de6549c1b35225c6e1183bc0|" +msgid "|52e91c4927884d7293956a379489d8c3|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:117 @@ -29345,7 +29520,7 @@ msgstr "" "appuyés." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:103 -msgid "|f2f5e8cc5594472c842192ec38ab9bbe|" +msgid "|2bb7af14de844e40bd4186c902800ff5|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:119 @@ -29371,7 +29546,7 @@ msgstr "" " sur un serveur centralisé." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:138 -msgid "|4e7b0cd854064aab9895573a612a0f06|" +msgid "|c7538d5f23f142e693a8879fb03e3932|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:173 @@ -29390,7 +29565,7 @@ msgstr "" "suffisantes pour former un bon modèle." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:150 -msgid "|e121faa35b114a0da17cf4bc42e74ce9|" +msgid "|44f9182037b141868306b5c7d2d7bdf6|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:175 @@ -29621,7 +29796,7 @@ msgstr "" "partir d'un point de contrôle précédemment sauvegardé." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:210 -msgid "|e7a57a83812c4dc8933fbb93cd0e46dc|" +msgid "|e198f643aecc4cd58ca665e6979b5bb3|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:307 @@ -29656,7 +29831,7 @@ msgstr "" "rendements décroissants." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:225 -msgid "|a0283fe3cd0c4f3cb5d119f424c657fd|" +msgid "|3e52791d62db46e0b0485e4f05a71070|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:309 @@ -29689,7 +29864,7 @@ msgstr "" "données locales, ou même de quelques étapes (mini-batchs)." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:240 -msgid "|debbe320f2c741388902ebabfb6fc705|" +msgid "|eeb43ec811934701963187e3822826ae|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:311 @@ -29720,7 +29895,7 @@ msgstr "" " l'entraînement local." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:255 -msgid "|8be6ce669d3148f9af6272ca27a98197|" +msgid "|b1642f82fc774ff3a1f7b2f077844291|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:313 @@ -29780,7 +29955,7 @@ msgstr "" "times as much as each of the 100 examples." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:273 -msgid "|47c4a06eafbb4e2fa1c62b5ca47d3411|" +msgid "|17ab6ee928b54a02afcac8d896a3a637|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:315 @@ -29924,7 +30099,7 @@ msgstr "" "quel cadre de ML et n'importe quel langage de programmation." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:334 -msgid "|5e84b181879b4bcda37b672215325b30|" +msgid "|1bd7ba9475d44bdbb4d4a4a40d3e2267|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:340 @@ -43455,3 +43630,111 @@ msgstr "" #~ msgid "|e4adf0f92ebf4c3d9e6e64355204f897|" #~ msgstr "" +#~ msgid "" +#~ "There are many ways to deploy " +#~ "Flower on Microst Azure. The " +#~ "instructions provided in this guide is" +#~ " just a basic walkthrough, step-" +#~ "by-step guide on how to quickly " +#~ "setup and run a Flower application " +#~ "on a Federated Learning environment on" +#~ " Microst Azure." +#~ msgstr "" + +#~ msgid "" +#~ "In this how-to guide, we want " +#~ "to create a Federated Learning " +#~ "environment on Microst Azure using three" +#~ " Virtual Machines (VMs). From the " +#~ "three machines, one machine will be " +#~ "used as the Federation server and " +#~ "two as the Federation clients. Our " +#~ "goal is to create a Flower " +#~ "federation on Microst Azure where we " +#~ "can run Flower apps from our local" +#~ " machine, e.g., laptop." +#~ msgstr "" + +#~ msgid "" +#~ "Assuming we are already inside the " +#~ "Microst Azure portal, we navigate to " +#~ "the ``Create`` page and we select " +#~ "``Azure virtual machine``. In the new" +#~ " page, for each VM we edit the" +#~ " properties as follows:" +#~ msgstr "" + +#~ msgid "List runs." +#~ msgstr "" + +#~ msgid ":py:obj:`get_context `\\ \\(\\)" +#~ msgstr "" + +#~ msgid "Get the run context from this client." +#~ msgstr "Évaluer la réponse d'un client." + +#~ msgid ":py:obj:`set_context `\\ \\(context\\)" +#~ msgstr "" + +#~ msgid "Apply a run context to this client." +#~ msgstr "" + +#~ msgid ":py:obj:`context `\\" +#~ msgstr "" + +#~ msgid "Getter for `Context` client attribute." +#~ msgstr "" + +#~ msgid ":py:obj:`get_context `\\ \\(\\)" +#~ msgstr "" + +#~ msgid "" +#~ ":py:obj:`set_context `\\" +#~ " \\(context\\)" +#~ msgstr "" + +#~ msgid ":py:obj:`context `\\" +#~ msgstr "" + +#~ msgid "|ae2337ba61dd4efc818e63933fd81666|" +#~ msgstr "" + +#~ msgid "|14a8d3feda794591a601daaaaa79d0b6|" +#~ msgstr "" + +#~ msgid "|c67497f1afa84a30a3901418c6c0bb62|" +#~ msgstr "" + +#~ msgid "|d4ce55da082146d7ad13ec4f73d427a2|" +#~ msgstr "" + +#~ msgid "|0a0c4ca9de6549c1b35225c6e1183bc0|" +#~ msgstr "" + +#~ msgid "|f2f5e8cc5594472c842192ec38ab9bbe|" +#~ msgstr "" + +#~ msgid "|4e7b0cd854064aab9895573a612a0f06|" +#~ msgstr "" + +#~ msgid "|e121faa35b114a0da17cf4bc42e74ce9|" +#~ msgstr "" + +#~ msgid "|e7a57a83812c4dc8933fbb93cd0e46dc|" +#~ msgstr "" + +#~ msgid "|a0283fe3cd0c4f3cb5d119f424c657fd|" +#~ msgstr "" + +#~ msgid "|debbe320f2c741388902ebabfb6fc705|" +#~ msgstr "" + +#~ msgid "|8be6ce669d3148f9af6272ca27a98197|" +#~ msgstr "" + +#~ msgid "|47c4a06eafbb4e2fa1c62b5ca47d3411|" +#~ msgstr "" + +#~ msgid "|5e84b181879b4bcda37b672215325b30|" +#~ msgstr "" + diff --git a/framework/docs/locales/ko/LC_MESSAGES/framework-docs.po b/framework/docs/locales/ko/LC_MESSAGES/framework-docs.po index a37643eb8c0c..577ee112f1ca 100644 --- a/framework/docs/locales/ko/LC_MESSAGES/framework-docs.po +++ b/framework/docs/locales/ko/LC_MESSAGES/framework-docs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Flower main\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-12-13 00:33+0000\n" +"POT-Creation-Date: 2024-12-18 00:32+0000\n" "PO-Revision-Date: 2024-08-23 13:09+0000\n" "Last-Translator: Seulki Yun \n" "Language: ko\n" @@ -6144,7 +6144,7 @@ msgid "" msgstr "" #: ../../source/how-to-implement-fedbn.rst:99 -#: ../../source/how-to-run-flower-on-azure.rst:217 +#: ../../source/how-to-run-flower-on-azure.rst:218 msgid "Next Steps" msgstr "다음 단계" @@ -6645,23 +6645,23 @@ msgstr "Flower 서버." #: ../../source/how-to-run-flower-on-azure.rst:22 msgid "" -"There are many ways to deploy Flower on Microst Azure. The instructions " -"provided in this guide is just a basic walkthrough, step-by-step guide on" -" how to quickly setup and run a Flower application on a Federated " -"Learning environment on Microst Azure." +"There are many ways to deploy Flower on Microsoft Azure. The instructions" +" provided in this guide is just a basic walkthrough, step-by-step guide " +"on how to quickly setup and run a Flower application on a Federated " +"Learning environment on Microsoft Azure." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:26 +#: ../../source/how-to-run-flower-on-azure.rst:27 msgid "" "In this how-to guide, we want to create a Federated Learning environment " -"on Microst Azure using three Virtual Machines (VMs). From the three " +"on Microsoft Azure using three Virtual Machines (VMs). From the three " "machines, one machine will be used as the Federation server and two as " "the Federation clients. Our goal is to create a Flower federation on " -"Microst Azure where we can run Flower apps from our local machine, e.g., " -"laptop." +"Microsoft Azure where we can run Flower apps from our local machine, " +"e.g., laptop." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:32 +#: ../../source/how-to-run-flower-on-azure.rst:33 msgid "" "On the Federation server VM we will deploy the long-running Flower server" " (``SuperLink``) and on the two Federation client VMs we will deploy the " @@ -6670,60 +6670,60 @@ msgid "" "see the |flower_architecture_link|_ ." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:38 +#: ../../source/how-to-run-flower-on-azure.rst:39 msgid "Azure VMs" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:40 +#: ../../source/how-to-run-flower-on-azure.rst:41 msgid "" "First we need to create the three VMs configure their Python " "environments, and inbound networking rules to allow cross-VM " "communication." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:44 +#: ../../source/how-to-run-flower-on-azure.rst:45 msgid "VM Create" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:46 +#: ../../source/how-to-run-flower-on-azure.rst:47 msgid "" -"Assuming we are already inside the Microst Azure portal, we navigate to " -"the ``Create`` page and we select ``Azure virtual machine``. In the new " +"Assuming we are already inside the Microsoft Azure portal, we navigate to" +" the ``Create`` page and we select ``Azure virtual machine``. In the new " "page, for each VM we edit the properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:55 +#: ../../source/how-to-run-flower-on-azure.rst:56 msgid "**Virtual machine name**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:56 +#: ../../source/how-to-run-flower-on-azure.rst:57 msgid "" "for server machine we can use ``flower-server`` and for clients, " "``flower-client-1`` and ``flower-client-2``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:58 +#: ../../source/how-to-run-flower-on-azure.rst:59 #, fuzzy msgid "**Image**" msgstr "**변경하기**" -#: ../../source/how-to-run-flower-on-azure.rst:59 +#: ../../source/how-to-run-flower-on-azure.rst:60 msgid "in this guide, we use ``Ubuntu Server 24.04 - x64 Gen2 LTS``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:60 +#: ../../source/how-to-run-flower-on-azure.rst:61 msgid "**Size**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:61 +#: ../../source/how-to-run-flower-on-azure.rst:62 msgid "in this guide, we use ``Standard_D2s_v3 - 2 vcpus, 8GiB memory``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:65 +#: ../../source/how-to-run-flower-on-azure.rst:66 msgid "For resource group, we can create a new group and assign it to all VMs." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:67 +#: ../../source/how-to-run-flower-on-azure.rst:68 msgid "" "When each VM instance has been created the portal will allow you to " "download the public key (.pem) of each instance. Make sure you save this " @@ -6731,7 +6731,7 @@ msgid "" " the ``chmod 400 `` command for every .pem file." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:72 +#: ../../source/how-to-run-flower-on-azure.rst:73 msgid "" "Once all three VMs are created then navigate to the overview page where " "all three VMs are listed and open every other VM, and copy its Public IP " @@ -6741,11 +6741,11 @@ msgid "" "``azureuser``):" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:83 +#: ../../source/how-to-run-flower-on-azure.rst:84 msgid "VM Networking" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:85 +#: ../../source/how-to-run-flower-on-azure.rst:86 msgid "" "During the execution of the Flower application, the server VM " "(``SuperLink``) will be responsible to orchestrate the execution of the " @@ -6756,7 +6756,7 @@ msgid "" "applications." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:92 +#: ../../source/how-to-run-flower-on-azure.rst:93 msgid "" "Therefore, to enable this communication we need to allow inbound traffic " "to the server VM instance. To achieve this, we need to navigate to the " @@ -6765,70 +6765,70 @@ msgid "" "appears, we edit the rule properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:97 +#: ../../source/how-to-run-flower-on-azure.rst:98 msgid "The rest of the fields can be left at their default values." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:104 -#: ../../source/how-to-run-flower-on-azure.rst:145 +#: ../../source/how-to-run-flower-on-azure.rst:105 +#: ../../source/how-to-run-flower-on-azure.rst:146 #, fuzzy msgid "**Source**" msgstr "run\\_supernode" -#: ../../source/how-to-run-flower-on-azure.rst:105 +#: ../../source/how-to-run-flower-on-azure.rst:106 msgid "``IP Addresses``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:106 -#: ../../source/how-to-run-flower-on-azure.rst:133 +#: ../../source/how-to-run-flower-on-azure.rst:107 +#: ../../source/how-to-run-flower-on-azure.rst:134 msgid "**Source IP addresses/CIDR ranges**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:107 +#: ../../source/how-to-run-flower-on-azure.rst:108 msgid "add client VMs' Public IP (separated by comma)" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:108 +#: ../../source/how-to-run-flower-on-azure.rst:109 #, fuzzy msgid "**Destination**" msgstr "설명" -#: ../../source/how-to-run-flower-on-azure.rst:109 -#: ../../source/how-to-run-flower-on-azure.rst:146 +#: ../../source/how-to-run-flower-on-azure.rst:110 +#: ../../source/how-to-run-flower-on-azure.rst:147 #, fuzzy msgid "``Any``" msgstr "``flwr/base``" -#: ../../source/how-to-run-flower-on-azure.rst:110 +#: ../../source/how-to-run-flower-on-azure.rst:111 #, fuzzy msgid "**Service**" msgstr "run\\_supernode" -#: ../../source/how-to-run-flower-on-azure.rst:111 +#: ../../source/how-to-run-flower-on-azure.rst:112 #, fuzzy msgid "``custom``" msgstr "``DISTRO``" -#: ../../source/how-to-run-flower-on-azure.rst:112 -#: ../../source/how-to-run-flower-on-azure.rst:135 -#: ../../source/how-to-run-flower-on-azure.rst:147 +#: ../../source/how-to-run-flower-on-azure.rst:113 +#: ../../source/how-to-run-flower-on-azure.rst:136 +#: ../../source/how-to-run-flower-on-azure.rst:148 msgid "**Destination port ranges**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:113 +#: ../../source/how-to-run-flower-on-azure.rst:114 msgid "``9092``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:114 +#: ../../source/how-to-run-flower-on-azure.rst:115 msgid "**Protocol**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:115 +#: ../../source/how-to-run-flower-on-azure.rst:116 #, fuzzy msgid "``TCP``" msgstr "``DISTRO``" -#: ../../source/how-to-run-flower-on-azure.rst:117 +#: ../../source/how-to-run-flower-on-azure.rst:118 msgid "" "Finally, we need to also open port 9093 to allow receiving and executing " "incoming application requests. To enable this we just need to repeat the " @@ -6840,31 +6840,31 @@ msgid "" " source to ``Any``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:125 +#: ../../source/how-to-run-flower-on-azure.rst:126 msgid "" "To be more precise, if we know the Public IP of our machine, then we make" " the following changes:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:134 +#: ../../source/how-to-run-flower-on-azure.rst:135 msgid "add machine's Public IP" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:136 -#: ../../source/how-to-run-flower-on-azure.rst:148 +#: ../../source/how-to-run-flower-on-azure.rst:137 +#: ../../source/how-to-run-flower-on-azure.rst:149 msgid "``9093``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:138 +#: ../../source/how-to-run-flower-on-azure.rst:139 msgid "Otherwise, we change the properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:151 +#: ../../source/how-to-run-flower-on-azure.rst:152 #, fuzzy msgid "Flower Environment" msgstr "Flower 개발 환경 만들기" -#: ../../source/how-to-run-flower-on-azure.rst:153 +#: ../../source/how-to-run-flower-on-azure.rst:154 msgid "" "Assuming we have been able to login to each VM, and create a Python " "environment with Flower and all its dependencies installed (``pip install" @@ -6874,19 +6874,19 @@ msgid "" "the Flower Framework we want to run, e.g., ``numpy``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:161 +#: ../../source/how-to-run-flower-on-azure.rst:162 msgid "" "An alternative approach would be to use Docker in each VM, with each " "image containing the necessary environment and dependencies. For more " "details please refer to the |flower_docker_index|_ guide." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:166 +#: ../../source/how-to-run-flower-on-azure.rst:167 #, fuzzy msgid "Server Initialization" msgstr "설치 확인" -#: ../../source/how-to-run-flower-on-azure.rst:168 +#: ../../source/how-to-run-flower-on-azure.rst:169 msgid "" "After configuring the Flower application environment, we proceed by " "starting the Flower long-running processes (i.e., ``SuperLink`` and " @@ -6895,19 +6895,19 @@ msgid "" "client (``SuperNode``)." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:175 +#: ../../source/how-to-run-flower-on-azure.rst:176 msgid "" "To enable authentication and encrypted communication during the execution" " lifecycle of the Flower application, please have a look at the following" " resources: |authenticate_supernodes|_, |enable_tls_connections|_" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:197 +#: ../../source/how-to-run-flower-on-azure.rst:198 #, fuzzy msgid "Run Flower App" msgstr "Flower 서버." -#: ../../source/how-to-run-flower-on-azure.rst:199 +#: ../../source/how-to-run-flower-on-azure.rst:200 msgid "" "Finally, after all running Flower processes have been initialized on the " "Microsoft Azure cluster, in our local machine, we first need to install " @@ -6917,17 +6917,17 @@ msgid "" "``pyproject.toml`` file, and then add the following sections:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:214 +#: ../../source/how-to-run-flower-on-azure.rst:215 msgid "Then from our local machine we need to run ``flwr run . my-federation``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:221 +#: ../../source/how-to-run-flower-on-azure.rst:222 msgid "" "This guide is not suitable for production environments due to missing " "authentication and TLS security." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:224 +#: ../../source/how-to-run-flower-on-azure.rst:225 msgid "" "To enable authentication and establish secure connections, please refer " "to the following resources: |authenticate_supernodes|_, " @@ -8451,6 +8451,186 @@ msgstr "" msgid "Enjoy building a more robust and flexible ``ClientApp`` with mods!" msgstr "Mods를 통해 더욱 강력하고 유연한 ``ClientApp``을 구축해 보세요!" +#: ../../source/how-to-use-cli-json-output.rst:2 +msgid "Use CLI JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:4 +msgid "" +"The `Flower CLIs `_ come with a built-in JSON output " +"mode. This mode is useful when you want to consume the output of a Flower" +" CLI programmatically. For example, you might want to use the output of " +"the ``flwr`` CLI in a script or a continuous integration pipeline." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:11 +msgid "" +"The JSON output mode is currently only available when using the Flower " +"CLIs with a `SuperLink `_. Learn more " +"about the `SuperLink` in the `Flower Architecture Overview `_ page." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:15 +msgid "" +"In this guide, we'll show you how to specify a JSON output with the " +"``flwr run``, ``flwr ls``, and ``flwr stop`` commands. We will also " +"provide examples of the JSON output for each of these commands." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:32 +msgid "``flwr run`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:34 +msgid "" +"The |flwr_run|_ command runs a Flower app from a provided directory. Note" +" that if the app path argument is not passed to ``flwr run``, the current" +" working directory is used as the default Flower app directory. By " +"default, executing the ``flwr run`` command prints the status of the app " +"build and run process as follows:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:47 +msgid "" +"To get the output in JSON format, pass an additional ``--format json`` " +"flag:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:62 +#, fuzzy +msgid "The JSON output for ``flwr run`` contains the following fields:" +msgstr "다음 변경 사항이 포함된 pull request를 만듭니다:" + +#: ../../source/how-to-use-cli-json-output.rst:64 +msgid "``success``: A boolean indicating whether the command was successful." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:65 +msgid "``run-id``: The ID of the run." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:66 +#, fuzzy +msgid "``fab-id``: The ID of the Flower app." +msgstr "Flower 기본 이미지의 태그." + +#: ../../source/how-to-use-cli-json-output.rst:67 +#, fuzzy +msgid "``fab-name``: The name of the Flower app." +msgstr "Flower 기본 이미지의 태그." + +#: ../../source/how-to-use-cli-json-output.rst:68 +#, fuzzy +msgid "``fab-version``: The version of the Flower app." +msgstr "Flower 기본 이미지의 태그." + +#: ../../source/how-to-use-cli-json-output.rst:69 +#, fuzzy +msgid "``fab-hash``: The short hash of the Flower app." +msgstr "Flower 기본 이미지의 태그." + +#: ../../source/how-to-use-cli-json-output.rst:70 +#, fuzzy +msgid "``fab-filename``: The filename of the Flower app." +msgstr "Flower 기본 이미지의 태그." + +#: ../../source/how-to-use-cli-json-output.rst:72 +msgid "" +"If the command fails, the JSON output will contain two fields, " +"``success`` with the value of ``false`` and ``error-message``. For " +"example, if the command fails to find the name of the federation on the " +"SuperLink, the output will look like this:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:87 +msgid "``flwr ls`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:89 +msgid "" +"The |flwr_ls|_ command lists all the runs in the current project. Similar" +" to ``flwr run``, if the app path argument is not passed to ``flwr ls``, " +"the current working directory is used as the Flower app directory. By " +"default, the command list the details of all runs in a Flower federation " +"in a tabular format:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:110 +#: ../../source/how-to-use-cli-json-output.rst:181 +msgid "To get the output in JSON format, simply pass the ``--format json`` flag:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:145 +msgid "" +"The JSON output for ``flwr ls`` contains similar fields as ``flwr run`` " +"with the addition of the ``status``, ``elapsed``, ``created-at``, " +"``running-at``, and ``finished-at`` fields. The ``runs`` key contains a " +"list of dictionaries, each representing a run. The additional fields are:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:150 +msgid "" +"``status``: The status of the run, either pending, starting, running, or " +"finished." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:151 +msgid "" +"``elapsed``: The time elapsed since the run started, formatted as " +"``HH:MM:SS``." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:152 +msgid "``created-at``: The time the run was created." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:153 +msgid "``running-at``: The time the run started running." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:154 +msgid "``finished-at``: The time the run finished." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:156 +msgid "" +"All timestamps adhere to ISO 8601, UTC and are formatted as ``YYYY-MM-DD " +"HH:MM:SSZ``." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:158 +msgid "" +"You can also use the ``--run-id`` flag to list the details for one run. " +"In this case, the JSON output will have the same structure as above with " +"only one entry in the ``runs`` key. For more details of this command, see" +" the |flwr_ls|_ documentation. If the command fails, the JSON output will" +" return two fields, ``success`` and ``error-message``, as shown in " +":ref:`the above example `. Note that the content of " +"the error message will be different depending on the error that occurred." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:166 +msgid "``flwr stop`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:168 +msgid "" +"The |flwr_stop|_ command stops a running Flower app for a provided run " +"ID. Similar to ``flwr run``, if the app path argument is not passed to " +"``flwr stop``, the current working directory is used as the Flower app " +"directory. By default, the command prints the status of the stop process " +"as follows:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:191 +msgid "" +"If the command fails, the JSON output will contain two fields ``success``" +" with the value of ``false`` and ``error-message``, as shown in :ref:`the" +" above example `. Note that the content of the error " +"message will be different depending on the error that occurred." +msgstr "" + #: ../../source/how-to-use-differential-privacy.rst:2 msgid "Use Differential Privacy" msgstr "차분 개인정보 보호 사용" @@ -8793,7 +8973,7 @@ msgstr "빠른 시작 튜토리얼" msgid "How-to guides" msgstr "사용 방법 가이드" -#: ../../source/index.rst:108 ../../source/index.rst:113 +#: ../../source/index.rst:109 ../../source/index.rst:114 msgid "Explanations" msgstr "설명" @@ -8801,23 +8981,23 @@ msgstr "설명" msgid "API reference" msgstr "API 참조" -#: ../../source/index.rst:139 +#: ../../source/index.rst:140 msgid "Reference docs" msgstr "참조 문서" -#: ../../source/index.rst:154 +#: ../../source/index.rst:155 msgid "Contributor tutorials" msgstr "기여자 튜토리얼" -#: ../../source/index.rst:161 +#: ../../source/index.rst:162 msgid "Contributor how-to guides" msgstr "기여자 사용법 가이드" -#: ../../source/index.rst:173 +#: ../../source/index.rst:174 msgid "Contributor explanations" msgstr "기여자 설명" -#: ../../source/index.rst:179 +#: ../../source/index.rst:180 msgid "Contributor references" msgstr "기여자 참조" @@ -8914,33 +9094,33 @@ msgid "" "specific goal." msgstr "문제 중심의 방법 가이드는 특정 목표를 달성하는 방법을 단계별로 보여줍니다." -#: ../../source/index.rst:110 +#: ../../source/index.rst:111 msgid "" "Understanding-oriented concept guides explain and discuss key topics and " "underlying ideas behind Flower and collaborative AI." msgstr "이해 중심의 개념 가이드에서는 Flower와 협업 AI의 주요 주제와 기본 아이디어를 설명하고 토론합니다." -#: ../../source/index.rst:122 +#: ../../source/index.rst:123 msgid "References" msgstr "참조" -#: ../../source/index.rst:124 +#: ../../source/index.rst:125 msgid "Information-oriented API reference and other reference material." msgstr "정보 지향 API 참조 및 기타 참고 자료." -#: ../../source/index.rst:133::1 +#: ../../source/index.rst:134::1 msgid ":py:obj:`flwr `\\" msgstr ":py:obj:`flwr `\\" -#: ../../source/index.rst:133::1 flwr:1 of +#: ../../source/index.rst:134::1 flwr:1 of msgid "Flower main package." msgstr "Flower 메인 패키지." -#: ../../source/index.rst:149 +#: ../../source/index.rst:150 msgid "Contributor docs" msgstr "기여자 문서" -#: ../../source/index.rst:151 +#: ../../source/index.rst:152 msgid "" "The Flower community welcomes contributions. The following docs are " "intended to help along the way." @@ -9065,7 +9245,7 @@ msgstr "" msgid "Flag to stream or print logs from the Flower run" msgstr "" -#: ../../flwr log ls run +#: ../../flwr log ls run stop msgid "default" msgstr "" @@ -9107,7 +9287,54 @@ msgid "Name of the federation to login into." msgstr "" #: ../../flwr ls:1 -msgid "List runs." +msgid "" +"List the details of one provided run ID or all runs in a Flower " +"federation." +msgstr "" + +#: ../../flwr ls:1 +msgid "The following details are displayed:" +msgstr "" + +#: ../../flwr ls:1 +#, fuzzy +msgid "**Run ID:** Unique identifier for the run." +msgstr "현재 실행에 대한 식별자입니다." + +#: ../../flwr ls:1 +msgid "" +"**FAB:** Name of the FAB associated with the run (``{FAB_ID} " +"(v{FAB_VERSION})``)." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"**Status:** Current status of the run (pending, starting, running, " +"finished)." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Elapsed:** Time elapsed since the run started (``HH:MM:SS``)." +msgstr "" + +#: ../../flwr ls:1 +#, fuzzy +msgid "**Created At:** Timestamp when the run was created." +msgstr "메시지가 생성된 때의 Unix timestamp입니다." + +#: ../../flwr ls:1 +#, fuzzy +msgid "**Running At:** Timestamp when the run started running." +msgstr "메시지가 생성된 때의 Unix timestamp입니다." + +#: ../../flwr ls:1 +msgid "**Finished At:** Timestamp when the run finished." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"All timestamps follow ISO 8601, UTC and are formatted as ``YYYY-MM-DD " +"HH:MM:SSZ``." msgstr "" #: ../../flwr ls:1 @@ -9123,11 +9350,11 @@ msgstr "``flwr/base``" msgid "Specific run ID to display" msgstr "" -#: ../../flwr ls:1 run:1 +#: ../../flwr ls:1 run:1 stop:1 msgid "Format output using 'default' view or 'json'" msgstr "" -#: ../../flwr ls:1 run:1 +#: ../../flwr ls:1 run:1 stop:1 #, fuzzy msgid "``'default'``" msgstr "``flwr/base``" @@ -9482,120 +9709,55 @@ msgstr "Bases: :py:class:`~abc.ABC`" msgid "Methods" msgstr "메소드" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`evaluate `\\ \\(ins\\)" msgstr ":py:obj:`evaluate `\\ \\(ins\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 #: flwr.client.client.Client.evaluate:1 -#: flwr.client.numpy_client.NumPyClient.evaluate:1 of +#: flwr.client.client.Client.evaluate:1::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "Evaluate the provided parameters using the locally held dataset." msgstr "로컬로 보유한 데이터 세트를 사용하여 제공된 매개변수를 평가합니다." -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`fit `\\ \\(ins\\)" msgstr ":py:obj:`fit `\\ \\(ins\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.fit:1 of msgid "Refine the provided parameters using the locally held dataset." msgstr "로컬로 보유한 데이터 세트를 사용하여 제공된 매개변수를 구체화합니다." -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -msgid ":py:obj:`get_context `\\ \\(\\)" -msgstr ":py:obj:`get_context `\\ \\(\\)" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#: flwr.client.client.Client.get_context:1 -#: flwr.client.numpy_client.NumPyClient.get_context:1 of -msgid "Get the run context from this client." -msgstr "이 클라이언트에서 실행 컨텍스트를 가져옵니다." - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`get_parameters `\\ \\(ins\\)" msgstr ":py:obj:`get_parameters `\\ \\(ins\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.get_parameters:1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.get_parameters:1 of msgid "Return the current local model parameters." msgstr "현재 로컬 모델 파라미터를 반환합니다." -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`get_properties `\\ \\(ins\\)" msgstr ":py:obj:`get_properties `\\ \\(ins\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.get_properties:1 of msgid "Return set of client's properties." msgstr "클라이언트의 속성 집합을 반환합니다." -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -msgid ":py:obj:`set_context `\\ \\(context\\)" -msgstr ":py:obj:`set_context `\\ \\(context\\)" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#: flwr.client.client.Client.set_context:1 -#: flwr.client.numpy_client.NumPyClient.set_context:1 of -msgid "Apply a run context to this client." -msgstr "이 클라이언트에 실행 컨텍스트를 적용합니다." - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`to_client `\\ \\(\\)" msgstr ":py:obj:`to_client `\\ \\(\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.to_client:1 of msgid "Return client (itself)." msgstr "클라이언트(자체)를 반환합니다." -#: ../../source/ref-api/flwr.client.Client.rst:46 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:46 -#: ../../source/ref-api/flwr.common.Array.rst:28 -#: ../../source/ref-api/flwr.common.ClientMessage.rst:25 -#: ../../source/ref-api/flwr.common.Code.rst:19 -#: ../../source/ref-api/flwr.common.Context.rst:25 -#: ../../source/ref-api/flwr.common.DisconnectRes.rst:25 -#: ../../source/ref-api/flwr.common.Error.rst:25 -#: ../../source/ref-api/flwr.common.EvaluateIns.rst:25 -#: ../../source/ref-api/flwr.common.EvaluateRes.rst:25 -#: ../../source/ref-api/flwr.common.EventType.rst:165 -#: ../../source/ref-api/flwr.common.FitIns.rst:25 -#: ../../source/ref-api/flwr.common.FitRes.rst:25 -#: ../../source/ref-api/flwr.common.GetParametersIns.rst:25 -#: ../../source/ref-api/flwr.common.GetParametersRes.rst:25 -#: ../../source/ref-api/flwr.common.GetPropertiesIns.rst:25 -#: ../../source/ref-api/flwr.common.GetPropertiesRes.rst:25 -#: ../../source/ref-api/flwr.common.Message.rst:37 -#: ../../source/ref-api/flwr.common.MessageType.rst:25 -#: ../../source/ref-api/flwr.common.MessageTypeLegacy.rst:25 -#: ../../source/ref-api/flwr.common.Metadata.rst:25 -#: ../../source/ref-api/flwr.common.Parameters.rst:25 -#: ../../source/ref-api/flwr.common.ReconnectIns.rst:25 -#: ../../source/ref-api/flwr.common.RecordSet.rst:25 -#: ../../source/ref-api/flwr.common.ServerMessage.rst:25 -#: ../../source/ref-api/flwr.common.Status.rst:25 -#: ../../source/ref-api/flwr.server.Driver.rst:43 -#: ../../source/ref-api/flwr.server.LegacyContext.rst:25 -#: ../../source/ref-api/flwr.server.ServerAppComponents.rst:25 -#: ../../source/ref-api/flwr.server.ServerConfig.rst:25 -msgid "Attributes" -msgstr "속성" - -#: flwr.client.Client.context:1::1 of -msgid ":py:obj:`context `\\" -msgstr ":py:obj:`context `\\" - -#: flwr.client.Client.context:1 flwr.client.Client.context:1::1 -#: flwr.client.NumPyClient.context:1 -#: flwr.client.NumPyClient.context:1::1 of -msgid "Getter for `Context` client attribute." -msgstr "" - #: ../../source/ref-api/flwr.common.Parameters.rst:2 #: flwr.client.app.start_client flwr.client.app.start_numpy_client #: flwr.client.client.Client.evaluate flwr.client.client.Client.fit @@ -9849,7 +10011,7 @@ msgstr "클라이언트 앱에 train fn을 등록하는 데코레이터를 반 msgid "NumPyClient" msgstr "NumPyClient" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`evaluate `\\ \\(parameters\\, " "config\\)" @@ -9857,20 +10019,16 @@ msgstr "" ":py:obj:`evaluate `\\ \\(parameters\\, " "config\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid ":py:obj:`fit `\\ \\(parameters\\, config\\)" msgstr ":py:obj:`fit `\\ \\(parameters\\, config\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.fit:1 of msgid "Train the provided parameters using the locally held dataset." msgstr "로컬로 보유한 데이터 세트를 사용하여 제공된 파라미터를 학습합니다." -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -msgid ":py:obj:`get_context `\\ \\(\\)" -msgstr ":py:obj:`get_context `\\ \\(\\)" - -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`get_parameters `\\ " "\\(config\\)" @@ -9878,7 +10036,7 @@ msgstr "" ":py:obj:`get_parameters `\\ " "\\(config\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`get_properties `\\ " "\\(config\\)" @@ -9886,32 +10044,20 @@ msgstr "" ":py:obj:`get_properties `\\ " "\\(config\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.get_properties:1 of msgid "Return a client's set of properties." msgstr "클라이언트의 속성 집합을 반환합니다." -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -msgid "" -":py:obj:`set_context `\\ " -"\\(context\\)" -msgstr "" -":py:obj:`set_context `\\ " -"\\(context\\)" - -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid ":py:obj:`to_client `\\ \\(\\)" msgstr ":py:obj:`to_client `\\ \\(\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.to_client:1 of msgid "Convert to object to Client type and return it." msgstr "객체를 클라이언트 유형으로 변환하고 반환합니다." -#: flwr.client.NumPyClient.context:1::1 of -msgid ":py:obj:`context `\\" -msgstr ":py:obj:`context `\\" - #: flwr.client.numpy_client.NumPyClient.evaluate:3 #: flwr.client.numpy_client.NumPyClient.fit:3 #: flwr.server.strategy.dpfedavg_fixed.DPFedAvgFixed.configure_evaluate:5 @@ -10916,6 +11062,37 @@ msgstr ":py:obj:`numpy `\\ \\(\\)" msgid "Return the array as a NumPy array." msgstr "배열을 NumPy 배열로 반환합니다." +#: ../../source/ref-api/flwr.common.Array.rst:28 +#: ../../source/ref-api/flwr.common.ClientMessage.rst:25 +#: ../../source/ref-api/flwr.common.Code.rst:19 +#: ../../source/ref-api/flwr.common.Context.rst:25 +#: ../../source/ref-api/flwr.common.DisconnectRes.rst:25 +#: ../../source/ref-api/flwr.common.Error.rst:25 +#: ../../source/ref-api/flwr.common.EvaluateIns.rst:25 +#: ../../source/ref-api/flwr.common.EvaluateRes.rst:25 +#: ../../source/ref-api/flwr.common.EventType.rst:165 +#: ../../source/ref-api/flwr.common.FitIns.rst:25 +#: ../../source/ref-api/flwr.common.FitRes.rst:25 +#: ../../source/ref-api/flwr.common.GetParametersIns.rst:25 +#: ../../source/ref-api/flwr.common.GetParametersRes.rst:25 +#: ../../source/ref-api/flwr.common.GetPropertiesIns.rst:25 +#: ../../source/ref-api/flwr.common.GetPropertiesRes.rst:25 +#: ../../source/ref-api/flwr.common.Message.rst:37 +#: ../../source/ref-api/flwr.common.MessageType.rst:25 +#: ../../source/ref-api/flwr.common.MessageTypeLegacy.rst:25 +#: ../../source/ref-api/flwr.common.Metadata.rst:25 +#: ../../source/ref-api/flwr.common.Parameters.rst:25 +#: ../../source/ref-api/flwr.common.ReconnectIns.rst:25 +#: ../../source/ref-api/flwr.common.RecordSet.rst:25 +#: ../../source/ref-api/flwr.common.ServerMessage.rst:25 +#: ../../source/ref-api/flwr.common.Status.rst:25 +#: ../../source/ref-api/flwr.server.Driver.rst:43 +#: ../../source/ref-api/flwr.server.LegacyContext.rst:25 +#: ../../source/ref-api/flwr.server.ServerAppComponents.rst:25 +#: ../../source/ref-api/flwr.server.ServerConfig.rst:25 +msgid "Attributes" +msgstr "속성" + #: flwr.common.record.parametersrecord.Array.numpy:1::1 of msgid ":py:obj:`dtype `\\" msgstr ":py:obj:`dtype `\\" @@ -26312,7 +26489,7 @@ msgstr "" " 수도 있습니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:41 -msgid "|ae2337ba61dd4efc818e63933fd81666|" +msgid "|31d9fb7c284a414ba34e32ced3b17b11|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:109 @@ -26329,7 +26506,7 @@ msgstr "" " 바둑과 같은 게임을 하는 것일 수 있습니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:53 -msgid "|14a8d3feda794591a601daaaaa79d0b6|" +msgid "|32af43ffb54a421d8cfe59939c34206b|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:111 @@ -26355,7 +26532,7 @@ msgstr "" "부르리는 것을 듣는 스마트 스피커에서 비롯됩니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:67 -msgid "|c67497f1afa84a30a3901418c6c0bb62|" +msgid "|34c462a3cde341389422badb2077fc36|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:113 @@ -26373,7 +26550,7 @@ msgstr "" "있습니다. 하지만 여러 조직이 모두 같은 작업을 위해 데이터를 생성하는 것일 수도 있습니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:79 -msgid "|d4ce55da082146d7ad13ec4f73d427a2|" +msgid "|3a2ded531a9a4b86af3e743490e78172|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:115 @@ -26392,7 +26569,7 @@ msgstr "" "서버는 데이터 센터 어딘가에 있을 수도 있고 클라우드 어딘가에 있을 수도 있습니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:91 -msgid "|0a0c4ca9de6549c1b35225c6e1183bc0|" +msgid "|52e91c4927884d7293956a379489d8c3|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:117 @@ -26409,7 +26586,7 @@ msgstr "" " 우리가 기본적으로 사용해 온 머신러닝 방법입니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:103 -msgid "|f2f5e8cc5594472c842192ec38ab9bbe|" +msgid "|2bb7af14de844e40bd4186c902800ff5|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:119 @@ -26432,7 +26609,7 @@ msgstr "" "트래픽을 분석하는 것이 있습니다. 이러한 사례에서 모든 데이터는 자연스럽게 중앙 서버에 존재합니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:138 -msgid "|4e7b0cd854064aab9895573a612a0f06|" +msgid "|c7538d5f23f142e693a8879fb03e3932|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:173 @@ -26449,7 +26626,7 @@ msgstr "" "좋은 모델을 훈련하기에 충분하지 않을 수 있습니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:150 -msgid "|e121faa35b114a0da17cf4bc42e74ce9|" +msgid "|44f9182037b141868306b5c7d2d7bdf6|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:175 @@ -26628,7 +26805,7 @@ msgstr "" "체크포인트에서 모델 매개변수를 초기화합니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:210 -msgid "|e7a57a83812c4dc8933fbb93cd0e46dc|" +msgid "|e198f643aecc4cd58ca665e6979b5bb3|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:307 @@ -26656,7 +26833,7 @@ msgstr "" "개의 연결 노드만 사용합니다. 그 이유는 점점 더 많은 클라이언트 노드를 선택하면 학습의 효율성이 감소하기 때문입니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:225 -msgid "|a0283fe3cd0c4f3cb5d119f424c657fd|" +msgid "|3e52791d62db46e0b0485e4f05a71070|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:309 @@ -26683,7 +26860,7 @@ msgstr "" "데이터에서 한 단계 정도로 짧거나 몇 단계(mini-batches)에 불과할 수 있습니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:240 -msgid "|debbe320f2c741388902ebabfb6fc705|" +msgid "|eeb43ec811934701963187e3822826ae|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:311 @@ -26709,7 +26886,7 @@ msgstr "" "보냅니다. 보내는 모델 업데이트는 전체 모델 파라미터거나 로컬 교육 중에 누적된 그레디언트(gradient)일 수 있습니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:255 -msgid "|8be6ce669d3148f9af6272ca27a98197|" +msgid "|b1642f82fc774ff3a1f7b2f077844291|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:313 @@ -26759,7 +26936,7 @@ msgstr "" "많은 영향을 미칩니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:273 -msgid "|47c4a06eafbb4e2fa1c62b5ca47d3411|" +msgid "|17ab6ee928b54a02afcac8d896a3a637|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:315 @@ -26879,7 +27056,7 @@ msgstr "" "사용자는 모든 워크로드, 머신러닝 프레임워크 및 모든 프로그래밍 언어를 통합할 수 있습니다." #: ../../source/tutorial-series-what-is-federated-learning.ipynb:334 -msgid "|5e84b181879b4bcda37b672215325b30|" +msgid "|1bd7ba9475d44bdbb4d4a4a40d3e2267|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:340 @@ -33933,3 +34110,113 @@ msgstr "" #~ msgid "|e4adf0f92ebf4c3d9e6e64355204f897|" #~ msgstr "" +#~ msgid "" +#~ "There are many ways to deploy " +#~ "Flower on Microst Azure. The " +#~ "instructions provided in this guide is" +#~ " just a basic walkthrough, step-" +#~ "by-step guide on how to quickly " +#~ "setup and run a Flower application " +#~ "on a Federated Learning environment on" +#~ " Microst Azure." +#~ msgstr "" + +#~ msgid "" +#~ "In this how-to guide, we want " +#~ "to create a Federated Learning " +#~ "environment on Microst Azure using three" +#~ " Virtual Machines (VMs). From the " +#~ "three machines, one machine will be " +#~ "used as the Federation server and " +#~ "two as the Federation clients. Our " +#~ "goal is to create a Flower " +#~ "federation on Microst Azure where we " +#~ "can run Flower apps from our local" +#~ " machine, e.g., laptop." +#~ msgstr "" + +#~ msgid "" +#~ "Assuming we are already inside the " +#~ "Microst Azure portal, we navigate to " +#~ "the ``Create`` page and we select " +#~ "``Azure virtual machine``. In the new" +#~ " page, for each VM we edit the" +#~ " properties as follows:" +#~ msgstr "" + +#~ msgid "List runs." +#~ msgstr "" + +#~ msgid ":py:obj:`get_context `\\ \\(\\)" +#~ msgstr ":py:obj:`get_context `\\ \\(\\)" + +#~ msgid "Get the run context from this client." +#~ msgstr "이 클라이언트에서 실행 컨텍스트를 가져옵니다." + +#~ msgid ":py:obj:`set_context `\\ \\(context\\)" +#~ msgstr ":py:obj:`set_context `\\ \\(context\\)" + +#~ msgid "Apply a run context to this client." +#~ msgstr "이 클라이언트에 실행 컨텍스트를 적용합니다." + +#~ msgid ":py:obj:`context `\\" +#~ msgstr ":py:obj:`context `\\" + +#~ msgid "Getter for `Context` client attribute." +#~ msgstr "" + +#~ msgid ":py:obj:`get_context `\\ \\(\\)" +#~ msgstr ":py:obj:`get_context `\\ \\(\\)" + +#~ msgid "" +#~ ":py:obj:`set_context `\\" +#~ " \\(context\\)" +#~ msgstr "" +#~ ":py:obj:`set_context `\\" +#~ " \\(context\\)" + +#~ msgid ":py:obj:`context `\\" +#~ msgstr ":py:obj:`context `\\" + +#~ msgid "|ae2337ba61dd4efc818e63933fd81666|" +#~ msgstr "" + +#~ msgid "|14a8d3feda794591a601daaaaa79d0b6|" +#~ msgstr "" + +#~ msgid "|c67497f1afa84a30a3901418c6c0bb62|" +#~ msgstr "" + +#~ msgid "|d4ce55da082146d7ad13ec4f73d427a2|" +#~ msgstr "" + +#~ msgid "|0a0c4ca9de6549c1b35225c6e1183bc0|" +#~ msgstr "" + +#~ msgid "|f2f5e8cc5594472c842192ec38ab9bbe|" +#~ msgstr "" + +#~ msgid "|4e7b0cd854064aab9895573a612a0f06|" +#~ msgstr "" + +#~ msgid "|e121faa35b114a0da17cf4bc42e74ce9|" +#~ msgstr "" + +#~ msgid "|e7a57a83812c4dc8933fbb93cd0e46dc|" +#~ msgstr "" + +#~ msgid "|a0283fe3cd0c4f3cb5d119f424c657fd|" +#~ msgstr "" + +#~ msgid "|debbe320f2c741388902ebabfb6fc705|" +#~ msgstr "" + +#~ msgid "|8be6ce669d3148f9af6272ca27a98197|" +#~ msgstr "" + +#~ msgid "|47c4a06eafbb4e2fa1c62b5ca47d3411|" +#~ msgstr "" + +#~ msgid "|5e84b181879b4bcda37b672215325b30|" +#~ msgstr "" + diff --git a/framework/docs/locales/pt_BR/LC_MESSAGES/framework-docs.po b/framework/docs/locales/pt_BR/LC_MESSAGES/framework-docs.po index 4104ae260fc0..20a43baa893d 100644 --- a/framework/docs/locales/pt_BR/LC_MESSAGES/framework-docs.po +++ b/framework/docs/locales/pt_BR/LC_MESSAGES/framework-docs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Flower main\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-12-13 00:33+0000\n" +"POT-Creation-Date: 2024-12-18 00:32+0000\n" "PO-Revision-Date: 2024-05-25 11:09+0000\n" "Last-Translator: Gustavo Bertoli \n" "Language: pt_BR\n" @@ -5638,7 +5638,7 @@ msgid "" msgstr "" #: ../../source/how-to-implement-fedbn.rst:99 -#: ../../source/how-to-run-flower-on-azure.rst:217 +#: ../../source/how-to-run-flower-on-azure.rst:218 msgid "Next Steps" msgstr "" @@ -6013,23 +6013,23 @@ msgstr "" #: ../../source/how-to-run-flower-on-azure.rst:22 msgid "" -"There are many ways to deploy Flower on Microst Azure. The instructions " -"provided in this guide is just a basic walkthrough, step-by-step guide on" -" how to quickly setup and run a Flower application on a Federated " -"Learning environment on Microst Azure." +"There are many ways to deploy Flower on Microsoft Azure. The instructions" +" provided in this guide is just a basic walkthrough, step-by-step guide " +"on how to quickly setup and run a Flower application on a Federated " +"Learning environment on Microsoft Azure." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:26 +#: ../../source/how-to-run-flower-on-azure.rst:27 msgid "" "In this how-to guide, we want to create a Federated Learning environment " -"on Microst Azure using three Virtual Machines (VMs). From the three " +"on Microsoft Azure using three Virtual Machines (VMs). From the three " "machines, one machine will be used as the Federation server and two as " "the Federation clients. Our goal is to create a Flower federation on " -"Microst Azure where we can run Flower apps from our local machine, e.g., " -"laptop." +"Microsoft Azure where we can run Flower apps from our local machine, " +"e.g., laptop." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:32 +#: ../../source/how-to-run-flower-on-azure.rst:33 msgid "" "On the Federation server VM we will deploy the long-running Flower server" " (``SuperLink``) and on the two Federation client VMs we will deploy the " @@ -6038,59 +6038,59 @@ msgid "" "see the |flower_architecture_link|_ ." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:38 +#: ../../source/how-to-run-flower-on-azure.rst:39 msgid "Azure VMs" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:40 +#: ../../source/how-to-run-flower-on-azure.rst:41 msgid "" "First we need to create the three VMs configure their Python " "environments, and inbound networking rules to allow cross-VM " "communication." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:44 +#: ../../source/how-to-run-flower-on-azure.rst:45 msgid "VM Create" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:46 +#: ../../source/how-to-run-flower-on-azure.rst:47 msgid "" -"Assuming we are already inside the Microst Azure portal, we navigate to " -"the ``Create`` page and we select ``Azure virtual machine``. In the new " +"Assuming we are already inside the Microsoft Azure portal, we navigate to" +" the ``Create`` page and we select ``Azure virtual machine``. In the new " "page, for each VM we edit the properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:55 +#: ../../source/how-to-run-flower-on-azure.rst:56 msgid "**Virtual machine name**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:56 +#: ../../source/how-to-run-flower-on-azure.rst:57 msgid "" "for server machine we can use ``flower-server`` and for clients, " "``flower-client-1`` and ``flower-client-2``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:58 +#: ../../source/how-to-run-flower-on-azure.rst:59 msgid "**Image**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:59 +#: ../../source/how-to-run-flower-on-azure.rst:60 msgid "in this guide, we use ``Ubuntu Server 24.04 - x64 Gen2 LTS``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:60 +#: ../../source/how-to-run-flower-on-azure.rst:61 msgid "**Size**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:61 +#: ../../source/how-to-run-flower-on-azure.rst:62 msgid "in this guide, we use ``Standard_D2s_v3 - 2 vcpus, 8GiB memory``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:65 +#: ../../source/how-to-run-flower-on-azure.rst:66 msgid "For resource group, we can create a new group and assign it to all VMs." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:67 +#: ../../source/how-to-run-flower-on-azure.rst:68 msgid "" "When each VM instance has been created the portal will allow you to " "download the public key (.pem) of each instance. Make sure you save this " @@ -6098,7 +6098,7 @@ msgid "" " the ``chmod 400 `` command for every .pem file." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:72 +#: ../../source/how-to-run-flower-on-azure.rst:73 msgid "" "Once all three VMs are created then navigate to the overview page where " "all three VMs are listed and open every other VM, and copy its Public IP " @@ -6108,11 +6108,11 @@ msgid "" "``azureuser``):" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:83 +#: ../../source/how-to-run-flower-on-azure.rst:84 msgid "VM Networking" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:85 +#: ../../source/how-to-run-flower-on-azure.rst:86 msgid "" "During the execution of the Flower application, the server VM " "(``SuperLink``) will be responsible to orchestrate the execution of the " @@ -6123,7 +6123,7 @@ msgid "" "applications." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:92 +#: ../../source/how-to-run-flower-on-azure.rst:93 msgid "" "Therefore, to enable this communication we need to allow inbound traffic " "to the server VM instance. To achieve this, we need to navigate to the " @@ -6132,67 +6132,67 @@ msgid "" "appears, we edit the rule properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:97 +#: ../../source/how-to-run-flower-on-azure.rst:98 msgid "The rest of the fields can be left at their default values." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:104 -#: ../../source/how-to-run-flower-on-azure.rst:145 +#: ../../source/how-to-run-flower-on-azure.rst:105 +#: ../../source/how-to-run-flower-on-azure.rst:146 msgid "**Source**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:105 +#: ../../source/how-to-run-flower-on-azure.rst:106 msgid "``IP Addresses``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:106 -#: ../../source/how-to-run-flower-on-azure.rst:133 +#: ../../source/how-to-run-flower-on-azure.rst:107 +#: ../../source/how-to-run-flower-on-azure.rst:134 msgid "**Source IP addresses/CIDR ranges**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:107 +#: ../../source/how-to-run-flower-on-azure.rst:108 msgid "add client VMs' Public IP (separated by comma)" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:108 +#: ../../source/how-to-run-flower-on-azure.rst:109 #, fuzzy msgid "**Destination**" msgstr "Descrição" -#: ../../source/how-to-run-flower-on-azure.rst:109 -#: ../../source/how-to-run-flower-on-azure.rst:146 +#: ../../source/how-to-run-flower-on-azure.rst:110 +#: ../../source/how-to-run-flower-on-azure.rst:147 #, fuzzy msgid "``Any``" msgstr "``FLWR_VERSION``" -#: ../../source/how-to-run-flower-on-azure.rst:110 +#: ../../source/how-to-run-flower-on-azure.rst:111 msgid "**Service**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:111 +#: ../../source/how-to-run-flower-on-azure.rst:112 #, fuzzy msgid "``custom``" msgstr "``UBUNTU_VERSION``" -#: ../../source/how-to-run-flower-on-azure.rst:112 -#: ../../source/how-to-run-flower-on-azure.rst:135 -#: ../../source/how-to-run-flower-on-azure.rst:147 +#: ../../source/how-to-run-flower-on-azure.rst:113 +#: ../../source/how-to-run-flower-on-azure.rst:136 +#: ../../source/how-to-run-flower-on-azure.rst:148 msgid "**Destination port ranges**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:113 +#: ../../source/how-to-run-flower-on-azure.rst:114 msgid "``9092``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:114 +#: ../../source/how-to-run-flower-on-azure.rst:115 msgid "**Protocol**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:115 +#: ../../source/how-to-run-flower-on-azure.rst:116 msgid "``TCP``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:117 +#: ../../source/how-to-run-flower-on-azure.rst:118 msgid "" "Finally, we need to also open port 9093 to allow receiving and executing " "incoming application requests. To enable this we just need to repeat the " @@ -6204,31 +6204,31 @@ msgid "" " source to ``Any``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:125 +#: ../../source/how-to-run-flower-on-azure.rst:126 msgid "" "To be more precise, if we know the Public IP of our machine, then we make" " the following changes:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:134 +#: ../../source/how-to-run-flower-on-azure.rst:135 msgid "add machine's Public IP" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:136 -#: ../../source/how-to-run-flower-on-azure.rst:148 +#: ../../source/how-to-run-flower-on-azure.rst:137 +#: ../../source/how-to-run-flower-on-azure.rst:149 msgid "``9093``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:138 +#: ../../source/how-to-run-flower-on-azure.rst:139 msgid "Otherwise, we change the properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:151 +#: ../../source/how-to-run-flower-on-azure.rst:152 #, fuzzy msgid "Flower Environment" msgstr "``FLWR_VERSION``" -#: ../../source/how-to-run-flower-on-azure.rst:153 +#: ../../source/how-to-run-flower-on-azure.rst:154 msgid "" "Assuming we have been able to login to each VM, and create a Python " "environment with Flower and all its dependencies installed (``pip install" @@ -6238,18 +6238,18 @@ msgid "" "the Flower Framework we want to run, e.g., ``numpy``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:161 +#: ../../source/how-to-run-flower-on-azure.rst:162 msgid "" "An alternative approach would be to use Docker in each VM, with each " "image containing the necessary environment and dependencies. For more " "details please refer to the |flower_docker_index|_ guide." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:166 +#: ../../source/how-to-run-flower-on-azure.rst:167 msgid "Server Initialization" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:168 +#: ../../source/how-to-run-flower-on-azure.rst:169 msgid "" "After configuring the Flower application environment, we proceed by " "starting the Flower long-running processes (i.e., ``SuperLink`` and " @@ -6258,19 +6258,19 @@ msgid "" "client (``SuperNode``)." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:175 +#: ../../source/how-to-run-flower-on-azure.rst:176 msgid "" "To enable authentication and encrypted communication during the execution" " lifecycle of the Flower application, please have a look at the following" " resources: |authenticate_supernodes|_, |enable_tls_connections|_" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:197 +#: ../../source/how-to-run-flower-on-azure.rst:198 #, fuzzy msgid "Run Flower App" msgstr "O nome do repositório da imagem base." -#: ../../source/how-to-run-flower-on-azure.rst:199 +#: ../../source/how-to-run-flower-on-azure.rst:200 msgid "" "Finally, after all running Flower processes have been initialized on the " "Microsoft Azure cluster, in our local machine, we first need to install " @@ -6280,17 +6280,17 @@ msgid "" "``pyproject.toml`` file, and then add the following sections:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:214 +#: ../../source/how-to-run-flower-on-azure.rst:215 msgid "Then from our local machine we need to run ``flwr run . my-federation``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:221 +#: ../../source/how-to-run-flower-on-azure.rst:222 msgid "" "This guide is not suitable for production environments due to missing " "authentication and TLS security." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:224 +#: ../../source/how-to-run-flower-on-azure.rst:225 msgid "" "To enable authentication and establish secure connections, please refer " "to the following resources: |authenticate_supernodes|_, " @@ -7601,6 +7601,185 @@ msgstr "" msgid "Enjoy building a more robust and flexible ``ClientApp`` with mods!" msgstr "" +#: ../../source/how-to-use-cli-json-output.rst:2 +msgid "Use CLI JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:4 +msgid "" +"The `Flower CLIs `_ come with a built-in JSON output " +"mode. This mode is useful when you want to consume the output of a Flower" +" CLI programmatically. For example, you might want to use the output of " +"the ``flwr`` CLI in a script or a continuous integration pipeline." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:11 +msgid "" +"The JSON output mode is currently only available when using the Flower " +"CLIs with a `SuperLink `_. Learn more " +"about the `SuperLink` in the `Flower Architecture Overview `_ page." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:15 +msgid "" +"In this guide, we'll show you how to specify a JSON output with the " +"``flwr run``, ``flwr ls``, and ``flwr stop`` commands. We will also " +"provide examples of the JSON output for each of these commands." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:32 +msgid "``flwr run`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:34 +msgid "" +"The |flwr_run|_ command runs a Flower app from a provided directory. Note" +" that if the app path argument is not passed to ``flwr run``, the current" +" working directory is used as the default Flower app directory. By " +"default, executing the ``flwr run`` command prints the status of the app " +"build and run process as follows:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:47 +msgid "" +"To get the output in JSON format, pass an additional ``--format json`` " +"flag:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:62 +msgid "The JSON output for ``flwr run`` contains the following fields:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:64 +msgid "``success``: A boolean indicating whether the command was successful." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:65 +msgid "``run-id``: The ID of the run." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:66 +#, fuzzy +msgid "``fab-id``: The ID of the Flower app." +msgstr "O nome do repositório da imagem base." + +#: ../../source/how-to-use-cli-json-output.rst:67 +#, fuzzy +msgid "``fab-name``: The name of the Flower app." +msgstr "O nome do repositório da imagem base." + +#: ../../source/how-to-use-cli-json-output.rst:68 +#, fuzzy +msgid "``fab-version``: The version of the Flower app." +msgstr "O nome do repositório da imagem base." + +#: ../../source/how-to-use-cli-json-output.rst:69 +#, fuzzy +msgid "``fab-hash``: The short hash of the Flower app." +msgstr "O nome do repositório da imagem base." + +#: ../../source/how-to-use-cli-json-output.rst:70 +#, fuzzy +msgid "``fab-filename``: The filename of the Flower app." +msgstr "O nome do repositório da imagem base." + +#: ../../source/how-to-use-cli-json-output.rst:72 +msgid "" +"If the command fails, the JSON output will contain two fields, " +"``success`` with the value of ``false`` and ``error-message``. For " +"example, if the command fails to find the name of the federation on the " +"SuperLink, the output will look like this:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:87 +msgid "``flwr ls`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:89 +msgid "" +"The |flwr_ls|_ command lists all the runs in the current project. Similar" +" to ``flwr run``, if the app path argument is not passed to ``flwr ls``, " +"the current working directory is used as the Flower app directory. By " +"default, the command list the details of all runs in a Flower federation " +"in a tabular format:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:110 +#: ../../source/how-to-use-cli-json-output.rst:181 +msgid "To get the output in JSON format, simply pass the ``--format json`` flag:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:145 +msgid "" +"The JSON output for ``flwr ls`` contains similar fields as ``flwr run`` " +"with the addition of the ``status``, ``elapsed``, ``created-at``, " +"``running-at``, and ``finished-at`` fields. The ``runs`` key contains a " +"list of dictionaries, each representing a run. The additional fields are:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:150 +msgid "" +"``status``: The status of the run, either pending, starting, running, or " +"finished." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:151 +msgid "" +"``elapsed``: The time elapsed since the run started, formatted as " +"``HH:MM:SS``." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:152 +msgid "``created-at``: The time the run was created." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:153 +msgid "``running-at``: The time the run started running." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:154 +msgid "``finished-at``: The time the run finished." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:156 +msgid "" +"All timestamps adhere to ISO 8601, UTC and are formatted as ``YYYY-MM-DD " +"HH:MM:SSZ``." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:158 +msgid "" +"You can also use the ``--run-id`` flag to list the details for one run. " +"In this case, the JSON output will have the same structure as above with " +"only one entry in the ``runs`` key. For more details of this command, see" +" the |flwr_ls|_ documentation. If the command fails, the JSON output will" +" return two fields, ``success`` and ``error-message``, as shown in " +":ref:`the above example `. Note that the content of " +"the error message will be different depending on the error that occurred." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:166 +msgid "``flwr stop`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:168 +msgid "" +"The |flwr_stop|_ command stops a running Flower app for a provided run " +"ID. Similar to ``flwr run``, if the app path argument is not passed to " +"``flwr stop``, the current working directory is used as the Flower app " +"directory. By default, the command prints the status of the stop process " +"as follows:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:191 +msgid "" +"If the command fails, the JSON output will contain two fields ``success``" +" with the value of ``false`` and ``error-message``, as shown in :ref:`the" +" above example `. Note that the content of the error " +"message will be different depending on the error that occurred." +msgstr "" + #: ../../source/how-to-use-differential-privacy.rst:2 msgid "Use Differential Privacy" msgstr "" @@ -7872,7 +8051,7 @@ msgstr "" msgid "How-to guides" msgstr "" -#: ../../source/index.rst:108 ../../source/index.rst:113 +#: ../../source/index.rst:109 ../../source/index.rst:114 msgid "Explanations" msgstr "" @@ -7880,23 +8059,23 @@ msgstr "" msgid "API reference" msgstr "" -#: ../../source/index.rst:139 +#: ../../source/index.rst:140 msgid "Reference docs" msgstr "" -#: ../../source/index.rst:154 +#: ../../source/index.rst:155 msgid "Contributor tutorials" msgstr "" -#: ../../source/index.rst:161 +#: ../../source/index.rst:162 msgid "Contributor how-to guides" msgstr "" -#: ../../source/index.rst:173 +#: ../../source/index.rst:174 msgid "Contributor explanations" msgstr "" -#: ../../source/index.rst:179 +#: ../../source/index.rst:180 msgid "Contributor references" msgstr "" @@ -7980,33 +8159,33 @@ msgid "" "specific goal." msgstr "" -#: ../../source/index.rst:110 +#: ../../source/index.rst:111 msgid "" "Understanding-oriented concept guides explain and discuss key topics and " "underlying ideas behind Flower and collaborative AI." msgstr "" -#: ../../source/index.rst:122 +#: ../../source/index.rst:123 msgid "References" msgstr "" -#: ../../source/index.rst:124 +#: ../../source/index.rst:125 msgid "Information-oriented API reference and other reference material." msgstr "" -#: ../../source/index.rst:133::1 +#: ../../source/index.rst:134::1 msgid ":py:obj:`flwr `\\" msgstr "" -#: ../../source/index.rst:133::1 flwr:1 of +#: ../../source/index.rst:134::1 flwr:1 of msgid "Flower main package." msgstr "" -#: ../../source/index.rst:149 +#: ../../source/index.rst:150 msgid "Contributor docs" msgstr "" -#: ../../source/index.rst:151 +#: ../../source/index.rst:152 msgid "" "The Flower community welcomes contributions. The following docs are " "intended to help along the way." @@ -8127,7 +8306,7 @@ msgstr "" msgid "Flag to stream or print logs from the Flower run" msgstr "" -#: ../../flwr log ls run +#: ../../flwr log ls run stop msgid "default" msgstr "" @@ -8167,7 +8346,51 @@ msgid "Name of the federation to login into." msgstr "" #: ../../flwr ls:1 -msgid "List runs." +msgid "" +"List the details of one provided run ID or all runs in a Flower " +"federation." +msgstr "" + +#: ../../flwr ls:1 +msgid "The following details are displayed:" +msgstr "" + +#: ../../flwr ls:1 +msgid "**Run ID:** Unique identifier for the run." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"**FAB:** Name of the FAB associated with the run (``{FAB_ID} " +"(v{FAB_VERSION})``)." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"**Status:** Current status of the run (pending, starting, running, " +"finished)." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Elapsed:** Time elapsed since the run started (``HH:MM:SS``)." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Created At:** Timestamp when the run was created." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Running At:** Timestamp when the run started running." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Finished At:** Timestamp when the run finished." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"All timestamps follow ISO 8601, UTC and are formatted as ``YYYY-MM-DD " +"HH:MM:SSZ``." msgstr "" #: ../../flwr ls:1 @@ -8183,11 +8406,11 @@ msgstr "``FLWR_VERSION``" msgid "Specific run ID to display" msgstr "" -#: ../../flwr ls:1 run:1 +#: ../../flwr ls:1 run:1 stop:1 msgid "Format output using 'default' view or 'json'" msgstr "" -#: ../../flwr ls:1 run:1 +#: ../../flwr ls:1 run:1 stop:1 #, fuzzy msgid "``'default'``" msgstr "``FLWR_VERSION``" @@ -8525,120 +8748,55 @@ msgstr "" msgid "Methods" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`evaluate `\\ \\(ins\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 #: flwr.client.client.Client.evaluate:1 -#: flwr.client.numpy_client.NumPyClient.evaluate:1 of +#: flwr.client.client.Client.evaluate:1::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "Evaluate the provided parameters using the locally held dataset." msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`fit `\\ \\(ins\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.fit:1 of msgid "Refine the provided parameters using the locally held dataset." msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -msgid ":py:obj:`get_context `\\ \\(\\)" -msgstr "" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#: flwr.client.client.Client.get_context:1 -#: flwr.client.numpy_client.NumPyClient.get_context:1 of -msgid "Get the run context from this client." -msgstr "" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`get_parameters `\\ \\(ins\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.get_parameters:1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.get_parameters:1 of msgid "Return the current local model parameters." msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`get_properties `\\ \\(ins\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.get_properties:1 of msgid "Return set of client's properties." msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -msgid ":py:obj:`set_context `\\ \\(context\\)" -msgstr "" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#: flwr.client.client.Client.set_context:1 -#: flwr.client.numpy_client.NumPyClient.set_context:1 of -msgid "Apply a run context to this client." -msgstr "" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of msgid ":py:obj:`to_client `\\ \\(\\)" msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.to_client:1 of msgid "Return client (itself)." msgstr "" -#: ../../source/ref-api/flwr.client.Client.rst:46 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:46 -#: ../../source/ref-api/flwr.common.Array.rst:28 -#: ../../source/ref-api/flwr.common.ClientMessage.rst:25 -#: ../../source/ref-api/flwr.common.Code.rst:19 -#: ../../source/ref-api/flwr.common.Context.rst:25 -#: ../../source/ref-api/flwr.common.DisconnectRes.rst:25 -#: ../../source/ref-api/flwr.common.Error.rst:25 -#: ../../source/ref-api/flwr.common.EvaluateIns.rst:25 -#: ../../source/ref-api/flwr.common.EvaluateRes.rst:25 -#: ../../source/ref-api/flwr.common.EventType.rst:165 -#: ../../source/ref-api/flwr.common.FitIns.rst:25 -#: ../../source/ref-api/flwr.common.FitRes.rst:25 -#: ../../source/ref-api/flwr.common.GetParametersIns.rst:25 -#: ../../source/ref-api/flwr.common.GetParametersRes.rst:25 -#: ../../source/ref-api/flwr.common.GetPropertiesIns.rst:25 -#: ../../source/ref-api/flwr.common.GetPropertiesRes.rst:25 -#: ../../source/ref-api/flwr.common.Message.rst:37 -#: ../../source/ref-api/flwr.common.MessageType.rst:25 -#: ../../source/ref-api/flwr.common.MessageTypeLegacy.rst:25 -#: ../../source/ref-api/flwr.common.Metadata.rst:25 -#: ../../source/ref-api/flwr.common.Parameters.rst:25 -#: ../../source/ref-api/flwr.common.ReconnectIns.rst:25 -#: ../../source/ref-api/flwr.common.RecordSet.rst:25 -#: ../../source/ref-api/flwr.common.ServerMessage.rst:25 -#: ../../source/ref-api/flwr.common.Status.rst:25 -#: ../../source/ref-api/flwr.server.Driver.rst:43 -#: ../../source/ref-api/flwr.server.LegacyContext.rst:25 -#: ../../source/ref-api/flwr.server.ServerAppComponents.rst:25 -#: ../../source/ref-api/flwr.server.ServerConfig.rst:25 -msgid "Attributes" -msgstr "" - -#: flwr.client.Client.context:1::1 of -msgid ":py:obj:`context `\\" -msgstr "" - -#: flwr.client.Client.context:1 flwr.client.Client.context:1::1 -#: flwr.client.NumPyClient.context:1 -#: flwr.client.NumPyClient.context:1::1 of -msgid "Getter for `Context` client attribute." -msgstr "" - #: ../../source/ref-api/flwr.common.Parameters.rst:2 #: flwr.client.app.start_client flwr.client.app.start_numpy_client #: flwr.client.client.Client.evaluate flwr.client.client.Client.fit @@ -8888,61 +9046,47 @@ msgstr "" msgid "NumPyClient" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`evaluate `\\ \\(parameters\\, " "config\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid ":py:obj:`fit `\\ \\(parameters\\, config\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.fit:1 of msgid "Train the provided parameters using the locally held dataset." msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -msgid ":py:obj:`get_context `\\ \\(\\)" -msgstr "" - -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`get_parameters `\\ " "\\(config\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "" ":py:obj:`get_properties `\\ " "\\(config\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.get_properties:1 of msgid "Return a client's set of properties." msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -msgid "" -":py:obj:`set_context `\\ " -"\\(context\\)" -msgstr "" - -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid ":py:obj:`to_client `\\ \\(\\)" msgstr "" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.to_client:1 of msgid "Convert to object to Client type and return it." msgstr "" -#: flwr.client.NumPyClient.context:1::1 of -msgid ":py:obj:`context `\\" -msgstr "" - #: flwr.client.numpy_client.NumPyClient.evaluate:3 #: flwr.client.numpy_client.NumPyClient.fit:3 #: flwr.server.strategy.dpfedavg_fixed.DPFedAvgFixed.configure_evaluate:5 @@ -9832,6 +9976,37 @@ msgstr "" msgid "Return the array as a NumPy array." msgstr "" +#: ../../source/ref-api/flwr.common.Array.rst:28 +#: ../../source/ref-api/flwr.common.ClientMessage.rst:25 +#: ../../source/ref-api/flwr.common.Code.rst:19 +#: ../../source/ref-api/flwr.common.Context.rst:25 +#: ../../source/ref-api/flwr.common.DisconnectRes.rst:25 +#: ../../source/ref-api/flwr.common.Error.rst:25 +#: ../../source/ref-api/flwr.common.EvaluateIns.rst:25 +#: ../../source/ref-api/flwr.common.EvaluateRes.rst:25 +#: ../../source/ref-api/flwr.common.EventType.rst:165 +#: ../../source/ref-api/flwr.common.FitIns.rst:25 +#: ../../source/ref-api/flwr.common.FitRes.rst:25 +#: ../../source/ref-api/flwr.common.GetParametersIns.rst:25 +#: ../../source/ref-api/flwr.common.GetParametersRes.rst:25 +#: ../../source/ref-api/flwr.common.GetPropertiesIns.rst:25 +#: ../../source/ref-api/flwr.common.GetPropertiesRes.rst:25 +#: ../../source/ref-api/flwr.common.Message.rst:37 +#: ../../source/ref-api/flwr.common.MessageType.rst:25 +#: ../../source/ref-api/flwr.common.MessageTypeLegacy.rst:25 +#: ../../source/ref-api/flwr.common.Metadata.rst:25 +#: ../../source/ref-api/flwr.common.Parameters.rst:25 +#: ../../source/ref-api/flwr.common.ReconnectIns.rst:25 +#: ../../source/ref-api/flwr.common.RecordSet.rst:25 +#: ../../source/ref-api/flwr.common.ServerMessage.rst:25 +#: ../../source/ref-api/flwr.common.Status.rst:25 +#: ../../source/ref-api/flwr.server.Driver.rst:43 +#: ../../source/ref-api/flwr.server.LegacyContext.rst:25 +#: ../../source/ref-api/flwr.server.ServerAppComponents.rst:25 +#: ../../source/ref-api/flwr.server.ServerConfig.rst:25 +msgid "Attributes" +msgstr "" + #: flwr.common.record.parametersrecord.Array.numpy:1::1 of msgid ":py:obj:`dtype `\\" msgstr "" @@ -24972,7 +25147,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:41 -msgid "|ae2337ba61dd4efc818e63933fd81666|" +msgid "|31d9fb7c284a414ba34e32ced3b17b11|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:109 @@ -24987,7 +25162,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:53 -msgid "|14a8d3feda794591a601daaaaa79d0b6|" +msgid "|32af43ffb54a421d8cfe59939c34206b|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:111 @@ -25009,7 +25184,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:67 -msgid "|c67497f1afa84a30a3901418c6c0bb62|" +msgid "|34c462a3cde341389422badb2077fc36|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:113 @@ -25025,7 +25200,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:79 -msgid "|d4ce55da082146d7ad13ec4f73d427a2|" +msgid "|3a2ded531a9a4b86af3e743490e78172|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:115 @@ -25041,7 +25216,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:91 -msgid "|0a0c4ca9de6549c1b35225c6e1183bc0|" +msgid "|52e91c4927884d7293956a379489d8c3|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:117 @@ -25056,7 +25231,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:103 -msgid "|f2f5e8cc5594472c842192ec38ab9bbe|" +msgid "|2bb7af14de844e40bd4186c902800ff5|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:119 @@ -25076,7 +25251,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:138 -msgid "|4e7b0cd854064aab9895573a612a0f06|" +msgid "|c7538d5f23f142e693a8879fb03e3932|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:173 @@ -25091,7 +25266,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:150 -msgid "|e121faa35b114a0da17cf4bc42e74ce9|" +msgid "|44f9182037b141868306b5c7d2d7bdf6|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:175 @@ -25231,7 +25406,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:210 -msgid "|e7a57a83812c4dc8933fbb93cd0e46dc|" +msgid "|e198f643aecc4cd58ca665e6979b5bb3|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:307 @@ -25255,7 +25430,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:225 -msgid "|a0283fe3cd0c4f3cb5d119f424c657fd|" +msgid "|3e52791d62db46e0b0485e4f05a71070|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:309 @@ -25279,7 +25454,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:240 -msgid "|debbe320f2c741388902ebabfb6fc705|" +msgid "|eeb43ec811934701963187e3822826ae|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:311 @@ -25302,7 +25477,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:255 -msgid "|8be6ce669d3148f9af6272ca27a98197|" +msgid "|b1642f82fc774ff3a1f7b2f077844291|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:313 @@ -25340,7 +25515,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:273 -msgid "|47c4a06eafbb4e2fa1c62b5ca47d3411|" +msgid "|17ab6ee928b54a02afcac8d896a3a637|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:315 @@ -25434,7 +25609,7 @@ msgid "" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:334 -msgid "|5e84b181879b4bcda37b672215325b30|" +msgid "|1bd7ba9475d44bdbb4d4a4a40d3e2267|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:340 @@ -37944,3 +38119,111 @@ msgstr "" #~ msgid "|e4adf0f92ebf4c3d9e6e64355204f897|" #~ msgstr "" +#~ msgid "" +#~ "There are many ways to deploy " +#~ "Flower on Microst Azure. The " +#~ "instructions provided in this guide is" +#~ " just a basic walkthrough, step-" +#~ "by-step guide on how to quickly " +#~ "setup and run a Flower application " +#~ "on a Federated Learning environment on" +#~ " Microst Azure." +#~ msgstr "" + +#~ msgid "" +#~ "In this how-to guide, we want " +#~ "to create a Federated Learning " +#~ "environment on Microst Azure using three" +#~ " Virtual Machines (VMs). From the " +#~ "three machines, one machine will be " +#~ "used as the Federation server and " +#~ "two as the Federation clients. Our " +#~ "goal is to create a Flower " +#~ "federation on Microst Azure where we " +#~ "can run Flower apps from our local" +#~ " machine, e.g., laptop." +#~ msgstr "" + +#~ msgid "" +#~ "Assuming we are already inside the " +#~ "Microst Azure portal, we navigate to " +#~ "the ``Create`` page and we select " +#~ "``Azure virtual machine``. In the new" +#~ " page, for each VM we edit the" +#~ " properties as follows:" +#~ msgstr "" + +#~ msgid "List runs." +#~ msgstr "" + +#~ msgid ":py:obj:`get_context `\\ \\(\\)" +#~ msgstr "" + +#~ msgid "Get the run context from this client." +#~ msgstr "" + +#~ msgid ":py:obj:`set_context `\\ \\(context\\)" +#~ msgstr "" + +#~ msgid "Apply a run context to this client." +#~ msgstr "" + +#~ msgid ":py:obj:`context `\\" +#~ msgstr "" + +#~ msgid "Getter for `Context` client attribute." +#~ msgstr "" + +#~ msgid ":py:obj:`get_context `\\ \\(\\)" +#~ msgstr "" + +#~ msgid "" +#~ ":py:obj:`set_context `\\" +#~ " \\(context\\)" +#~ msgstr "" + +#~ msgid ":py:obj:`context `\\" +#~ msgstr "" + +#~ msgid "|ae2337ba61dd4efc818e63933fd81666|" +#~ msgstr "" + +#~ msgid "|14a8d3feda794591a601daaaaa79d0b6|" +#~ msgstr "" + +#~ msgid "|c67497f1afa84a30a3901418c6c0bb62|" +#~ msgstr "" + +#~ msgid "|d4ce55da082146d7ad13ec4f73d427a2|" +#~ msgstr "" + +#~ msgid "|0a0c4ca9de6549c1b35225c6e1183bc0|" +#~ msgstr "" + +#~ msgid "|f2f5e8cc5594472c842192ec38ab9bbe|" +#~ msgstr "" + +#~ msgid "|4e7b0cd854064aab9895573a612a0f06|" +#~ msgstr "" + +#~ msgid "|e121faa35b114a0da17cf4bc42e74ce9|" +#~ msgstr "" + +#~ msgid "|e7a57a83812c4dc8933fbb93cd0e46dc|" +#~ msgstr "" + +#~ msgid "|a0283fe3cd0c4f3cb5d119f424c657fd|" +#~ msgstr "" + +#~ msgid "|debbe320f2c741388902ebabfb6fc705|" +#~ msgstr "" + +#~ msgid "|8be6ce669d3148f9af6272ca27a98197|" +#~ msgstr "" + +#~ msgid "|47c4a06eafbb4e2fa1c62b5ca47d3411|" +#~ msgstr "" + +#~ msgid "|5e84b181879b4bcda37b672215325b30|" +#~ msgstr "" + diff --git a/framework/docs/locales/zh_Hans/LC_MESSAGES/framework-docs.po b/framework/docs/locales/zh_Hans/LC_MESSAGES/framework-docs.po index 5d5d94fcc8d9..05ad09a99575 100644 --- a/framework/docs/locales/zh_Hans/LC_MESSAGES/framework-docs.po +++ b/framework/docs/locales/zh_Hans/LC_MESSAGES/framework-docs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Flower main\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-12-13 00:33+0000\n" +"POT-Creation-Date: 2024-12-18 00:32+0000\n" "PO-Revision-Date: 2024-06-12 10:09+0000\n" "Last-Translator: Yan Gao \n" "Language: zh_Hans\n" @@ -6152,7 +6152,7 @@ msgid "" msgstr "" #: ../../source/how-to-implement-fedbn.rst:99 -#: ../../source/how-to-run-flower-on-azure.rst:217 +#: ../../source/how-to-run-flower-on-azure.rst:218 msgid "Next Steps" msgstr "下一步工作" @@ -6629,23 +6629,23 @@ msgstr "Flower 服务器。" #: ../../source/how-to-run-flower-on-azure.rst:22 msgid "" -"There are many ways to deploy Flower on Microst Azure. The instructions " -"provided in this guide is just a basic walkthrough, step-by-step guide on" -" how to quickly setup and run a Flower application on a Federated " -"Learning environment on Microst Azure." +"There are many ways to deploy Flower on Microsoft Azure. The instructions" +" provided in this guide is just a basic walkthrough, step-by-step guide " +"on how to quickly setup and run a Flower application on a Federated " +"Learning environment on Microsoft Azure." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:26 +#: ../../source/how-to-run-flower-on-azure.rst:27 msgid "" "In this how-to guide, we want to create a Federated Learning environment " -"on Microst Azure using three Virtual Machines (VMs). From the three " +"on Microsoft Azure using three Virtual Machines (VMs). From the three " "machines, one machine will be used as the Federation server and two as " "the Federation clients. Our goal is to create a Flower federation on " -"Microst Azure where we can run Flower apps from our local machine, e.g., " -"laptop." +"Microsoft Azure where we can run Flower apps from our local machine, " +"e.g., laptop." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:32 +#: ../../source/how-to-run-flower-on-azure.rst:33 msgid "" "On the Federation server VM we will deploy the long-running Flower server" " (``SuperLink``) and on the two Federation client VMs we will deploy the " @@ -6654,61 +6654,61 @@ msgid "" "see the |flower_architecture_link|_ ." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:38 +#: ../../source/how-to-run-flower-on-azure.rst:39 msgid "Azure VMs" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:40 +#: ../../source/how-to-run-flower-on-azure.rst:41 msgid "" "First we need to create the three VMs configure their Python " "environments, and inbound networking rules to allow cross-VM " "communication." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:44 +#: ../../source/how-to-run-flower-on-azure.rst:45 msgid "VM Create" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:46 +#: ../../source/how-to-run-flower-on-azure.rst:47 msgid "" -"Assuming we are already inside the Microst Azure portal, we navigate to " -"the ``Create`` page and we select ``Azure virtual machine``. In the new " +"Assuming we are already inside the Microsoft Azure portal, we navigate to" +" the ``Create`` page and we select ``Azure virtual machine``. In the new " "page, for each VM we edit the properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:55 +#: ../../source/how-to-run-flower-on-azure.rst:56 msgid "**Virtual machine name**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:56 +#: ../../source/how-to-run-flower-on-azure.rst:57 msgid "" "for server machine we can use ``flower-server`` and for clients, " "``flower-client-1`` and ``flower-client-2``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:58 +#: ../../source/how-to-run-flower-on-azure.rst:59 #, fuzzy msgid "**Image**" msgstr "**进行修改**" -#: ../../source/how-to-run-flower-on-azure.rst:59 +#: ../../source/how-to-run-flower-on-azure.rst:60 msgid "in this guide, we use ``Ubuntu Server 24.04 - x64 Gen2 LTS``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:60 +#: ../../source/how-to-run-flower-on-azure.rst:61 #, fuzzy msgid "**Size**" msgstr "**success**" -#: ../../source/how-to-run-flower-on-azure.rst:61 +#: ../../source/how-to-run-flower-on-azure.rst:62 msgid "in this guide, we use ``Standard_D2s_v3 - 2 vcpus, 8GiB memory``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:65 +#: ../../source/how-to-run-flower-on-azure.rst:66 msgid "For resource group, we can create a new group and assign it to all VMs." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:67 +#: ../../source/how-to-run-flower-on-azure.rst:68 msgid "" "When each VM instance has been created the portal will allow you to " "download the public key (.pem) of each instance. Make sure you save this " @@ -6716,7 +6716,7 @@ msgid "" " the ``chmod 400 `` command for every .pem file." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:72 +#: ../../source/how-to-run-flower-on-azure.rst:73 msgid "" "Once all three VMs are created then navigate to the overview page where " "all three VMs are listed and open every other VM, and copy its Public IP " @@ -6726,11 +6726,11 @@ msgid "" "``azureuser``):" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:83 +#: ../../source/how-to-run-flower-on-azure.rst:84 msgid "VM Networking" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:85 +#: ../../source/how-to-run-flower-on-azure.rst:86 msgid "" "During the execution of the Flower application, the server VM " "(``SuperLink``) will be responsible to orchestrate the execution of the " @@ -6741,7 +6741,7 @@ msgid "" "applications." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:92 +#: ../../source/how-to-run-flower-on-azure.rst:93 msgid "" "Therefore, to enable this communication we need to allow inbound traffic " "to the server VM instance. To achieve this, we need to navigate to the " @@ -6750,70 +6750,70 @@ msgid "" "appears, we edit the rule properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:97 +#: ../../source/how-to-run-flower-on-azure.rst:98 msgid "The rest of the fields can be left at their default values." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:104 -#: ../../source/how-to-run-flower-on-azure.rst:145 +#: ../../source/how-to-run-flower-on-azure.rst:105 +#: ../../source/how-to-run-flower-on-azure.rst:146 #, fuzzy msgid "**Source**" msgstr "**success**" -#: ../../source/how-to-run-flower-on-azure.rst:105 +#: ../../source/how-to-run-flower-on-azure.rst:106 msgid "``IP Addresses``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:106 -#: ../../source/how-to-run-flower-on-azure.rst:133 +#: ../../source/how-to-run-flower-on-azure.rst:107 +#: ../../source/how-to-run-flower-on-azure.rst:134 msgid "**Source IP addresses/CIDR ranges**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:107 +#: ../../source/how-to-run-flower-on-azure.rst:108 msgid "add client VMs' Public IP (separated by comma)" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:108 +#: ../../source/how-to-run-flower-on-azure.rst:109 #, fuzzy msgid "**Destination**" msgstr "停用" -#: ../../source/how-to-run-flower-on-azure.rst:109 -#: ../../source/how-to-run-flower-on-azure.rst:146 +#: ../../source/how-to-run-flower-on-azure.rst:110 +#: ../../source/how-to-run-flower-on-azure.rst:147 #, fuzzy msgid "``Any``" msgstr "``FLWR_VERSION``" -#: ../../source/how-to-run-flower-on-azure.rst:110 +#: ../../source/how-to-run-flower-on-azure.rst:111 #, fuzzy msgid "**Service**" msgstr "flower-superlink" -#: ../../source/how-to-run-flower-on-azure.rst:111 +#: ../../source/how-to-run-flower-on-azure.rst:112 #, fuzzy msgid "``custom``" msgstr "``UBUNTU_VERSION``" -#: ../../source/how-to-run-flower-on-azure.rst:112 -#: ../../source/how-to-run-flower-on-azure.rst:135 -#: ../../source/how-to-run-flower-on-azure.rst:147 +#: ../../source/how-to-run-flower-on-azure.rst:113 +#: ../../source/how-to-run-flower-on-azure.rst:136 +#: ../../source/how-to-run-flower-on-azure.rst:148 msgid "**Destination port ranges**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:113 +#: ../../source/how-to-run-flower-on-azure.rst:114 msgid "``9092``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:114 +#: ../../source/how-to-run-flower-on-azure.rst:115 msgid "**Protocol**" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:115 +#: ../../source/how-to-run-flower-on-azure.rst:116 #, fuzzy msgid "``TCP``" msgstr "配置日志记录" -#: ../../source/how-to-run-flower-on-azure.rst:117 +#: ../../source/how-to-run-flower-on-azure.rst:118 msgid "" "Finally, we need to also open port 9093 to allow receiving and executing " "incoming application requests. To enable this we just need to repeat the " @@ -6825,31 +6825,31 @@ msgid "" " source to ``Any``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:125 +#: ../../source/how-to-run-flower-on-azure.rst:126 msgid "" "To be more precise, if we know the Public IP of our machine, then we make" " the following changes:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:134 +#: ../../source/how-to-run-flower-on-azure.rst:135 msgid "add machine's Public IP" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:136 -#: ../../source/how-to-run-flower-on-azure.rst:148 +#: ../../source/how-to-run-flower-on-azure.rst:137 +#: ../../source/how-to-run-flower-on-azure.rst:149 msgid "``9093``" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:138 +#: ../../source/how-to-run-flower-on-azure.rst:139 msgid "Otherwise, we change the properties as follows:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:151 +#: ../../source/how-to-run-flower-on-azure.rst:152 #, fuzzy msgid "Flower Environment" msgstr "创建/删除虚拟环境" -#: ../../source/how-to-run-flower-on-azure.rst:153 +#: ../../source/how-to-run-flower-on-azure.rst:154 msgid "" "Assuming we have been able to login to each VM, and create a Python " "environment with Flower and all its dependencies installed (``pip install" @@ -6859,19 +6859,19 @@ msgid "" "the Flower Framework we want to run, e.g., ``numpy``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:161 +#: ../../source/how-to-run-flower-on-azure.rst:162 msgid "" "An alternative approach would be to use Docker in each VM, with each " "image containing the necessary environment and dependencies. For more " "details please refer to the |flower_docker_index|_ guide." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:166 +#: ../../source/how-to-run-flower-on-azure.rst:167 #, fuzzy msgid "Server Initialization" msgstr "验证安装" -#: ../../source/how-to-run-flower-on-azure.rst:168 +#: ../../source/how-to-run-flower-on-azure.rst:169 msgid "" "After configuring the Flower application environment, we proceed by " "starting the Flower long-running processes (i.e., ``SuperLink`` and " @@ -6880,19 +6880,19 @@ msgid "" "client (``SuperNode``)." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:175 +#: ../../source/how-to-run-flower-on-azure.rst:176 msgid "" "To enable authentication and encrypted communication during the execution" " lifecycle of the Flower application, please have a look at the following" " resources: |authenticate_supernodes|_, |enable_tls_connections|_" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:197 +#: ../../source/how-to-run-flower-on-azure.rst:198 #, fuzzy msgid "Run Flower App" msgstr "Flower 服务器。" -#: ../../source/how-to-run-flower-on-azure.rst:199 +#: ../../source/how-to-run-flower-on-azure.rst:200 msgid "" "Finally, after all running Flower processes have been initialized on the " "Microsoft Azure cluster, in our local machine, we first need to install " @@ -6902,17 +6902,17 @@ msgid "" "``pyproject.toml`` file, and then add the following sections:" msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:214 +#: ../../source/how-to-run-flower-on-azure.rst:215 msgid "Then from our local machine we need to run ``flwr run . my-federation``." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:221 +#: ../../source/how-to-run-flower-on-azure.rst:222 msgid "" "This guide is not suitable for production environments due to missing " "authentication and TLS security." msgstr "" -#: ../../source/how-to-run-flower-on-azure.rst:224 +#: ../../source/how-to-run-flower-on-azure.rst:225 msgid "" "To enable authentication and establish secure connections, please refer " "to the following resources: |authenticate_supernodes|_, " @@ -8430,6 +8430,186 @@ msgstr "" msgid "Enjoy building a more robust and flexible ``ClientApp`` with mods!" msgstr "使用 mods 构建更强大、更灵活的 \"客户端应用程序\"!" +#: ../../source/how-to-use-cli-json-output.rst:2 +msgid "Use CLI JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:4 +msgid "" +"The `Flower CLIs `_ come with a built-in JSON output " +"mode. This mode is useful when you want to consume the output of a Flower" +" CLI programmatically. For example, you might want to use the output of " +"the ``flwr`` CLI in a script or a continuous integration pipeline." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:11 +msgid "" +"The JSON output mode is currently only available when using the Flower " +"CLIs with a `SuperLink `_. Learn more " +"about the `SuperLink` in the `Flower Architecture Overview `_ page." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:15 +msgid "" +"In this guide, we'll show you how to specify a JSON output with the " +"``flwr run``, ``flwr ls``, and ``flwr stop`` commands. We will also " +"provide examples of the JSON output for each of these commands." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:32 +msgid "``flwr run`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:34 +msgid "" +"The |flwr_run|_ command runs a Flower app from a provided directory. Note" +" that if the app path argument is not passed to ``flwr run``, the current" +" working directory is used as the default Flower app directory. By " +"default, executing the ``flwr run`` command prints the status of the app " +"build and run process as follows:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:47 +msgid "" +"To get the output in JSON format, pass an additional ``--format json`` " +"flag:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:62 +#, fuzzy +msgid "The JSON output for ``flwr run`` contains the following fields:" +msgstr "创建包含以下更改的拉取请求:" + +#: ../../source/how-to-use-cli-json-output.rst:64 +msgid "``success``: A boolean indicating whether the command was successful." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:65 +msgid "``run-id``: The ID of the run." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:66 +#, fuzzy +msgid "``fab-id``: The ID of the Flower app." +msgstr "基础镜像的存储库名称。" + +#: ../../source/how-to-use-cli-json-output.rst:67 +#, fuzzy +msgid "``fab-name``: The name of the Flower app." +msgstr "基础镜像的存储库名称。" + +#: ../../source/how-to-use-cli-json-output.rst:68 +#, fuzzy +msgid "``fab-version``: The version of the Flower app." +msgstr "基础镜像的存储库名称。" + +#: ../../source/how-to-use-cli-json-output.rst:69 +#, fuzzy +msgid "``fab-hash``: The short hash of the Flower app." +msgstr "基础镜像的存储库名称。" + +#: ../../source/how-to-use-cli-json-output.rst:70 +#, fuzzy +msgid "``fab-filename``: The filename of the Flower app." +msgstr "基础镜像的存储库名称。" + +#: ../../source/how-to-use-cli-json-output.rst:72 +msgid "" +"If the command fails, the JSON output will contain two fields, " +"``success`` with the value of ``false`` and ``error-message``. For " +"example, if the command fails to find the name of the federation on the " +"SuperLink, the output will look like this:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:87 +msgid "``flwr ls`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:89 +msgid "" +"The |flwr_ls|_ command lists all the runs in the current project. Similar" +" to ``flwr run``, if the app path argument is not passed to ``flwr ls``, " +"the current working directory is used as the Flower app directory. By " +"default, the command list the details of all runs in a Flower federation " +"in a tabular format:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:110 +#: ../../source/how-to-use-cli-json-output.rst:181 +msgid "To get the output in JSON format, simply pass the ``--format json`` flag:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:145 +msgid "" +"The JSON output for ``flwr ls`` contains similar fields as ``flwr run`` " +"with the addition of the ``status``, ``elapsed``, ``created-at``, " +"``running-at``, and ``finished-at`` fields. The ``runs`` key contains a " +"list of dictionaries, each representing a run. The additional fields are:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:150 +msgid "" +"``status``: The status of the run, either pending, starting, running, or " +"finished." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:151 +msgid "" +"``elapsed``: The time elapsed since the run started, formatted as " +"``HH:MM:SS``." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:152 +msgid "``created-at``: The time the run was created." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:153 +msgid "``running-at``: The time the run started running." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:154 +msgid "``finished-at``: The time the run finished." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:156 +msgid "" +"All timestamps adhere to ISO 8601, UTC and are formatted as ``YYYY-MM-DD " +"HH:MM:SSZ``." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:158 +msgid "" +"You can also use the ``--run-id`` flag to list the details for one run. " +"In this case, the JSON output will have the same structure as above with " +"only one entry in the ``runs`` key. For more details of this command, see" +" the |flwr_ls|_ documentation. If the command fails, the JSON output will" +" return two fields, ``success`` and ``error-message``, as shown in " +":ref:`the above example `. Note that the content of " +"the error message will be different depending on the error that occurred." +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:166 +msgid "``flwr stop`` JSON output" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:168 +msgid "" +"The |flwr_stop|_ command stops a running Flower app for a provided run " +"ID. Similar to ``flwr run``, if the app path argument is not passed to " +"``flwr stop``, the current working directory is used as the Flower app " +"directory. By default, the command prints the status of the stop process " +"as follows:" +msgstr "" + +#: ../../source/how-to-use-cli-json-output.rst:191 +msgid "" +"If the command fails, the JSON output will contain two fields ``success``" +" with the value of ``false`` and ``error-message``, as shown in :ref:`the" +" above example `. Note that the content of the error " +"message will be different depending on the error that occurred." +msgstr "" + #: ../../source/how-to-use-differential-privacy.rst:2 #, fuzzy msgid "Use Differential Privacy" @@ -8768,7 +8948,7 @@ msgstr "快速入门教程" msgid "How-to guides" msgstr "操作指南" -#: ../../source/index.rst:108 ../../source/index.rst:113 +#: ../../source/index.rst:109 ../../source/index.rst:114 msgid "Explanations" msgstr "说明" @@ -8776,23 +8956,23 @@ msgstr "说明" msgid "API reference" msgstr "应用程序接口参考" -#: ../../source/index.rst:139 +#: ../../source/index.rst:140 msgid "Reference docs" msgstr "参考文档" -#: ../../source/index.rst:154 +#: ../../source/index.rst:155 msgid "Contributor tutorials" msgstr "贡献者教程" -#: ../../source/index.rst:161 +#: ../../source/index.rst:162 msgid "Contributor how-to guides" msgstr "投稿指南" -#: ../../source/index.rst:173 +#: ../../source/index.rst:174 msgid "Contributor explanations" msgstr "贡献者解释" -#: ../../source/index.rst:179 +#: ../../source/index.rst:180 msgid "Contributor references" msgstr "贡献者参考资料" @@ -8889,35 +9069,35 @@ msgid "" "specific goal." msgstr "以问题为导向的 \"如何做 \"指南逐步展示如何实现特定目标。" -#: ../../source/index.rst:110 +#: ../../source/index.rst:111 msgid "" "Understanding-oriented concept guides explain and discuss key topics and " "underlying ideas behind Flower and collaborative AI." msgstr "以理解为导向的概念指南解释并讨论了Flower和协作式人工智能背后的关键主题和基本思想。" -#: ../../source/index.rst:122 +#: ../../source/index.rst:123 msgid "References" msgstr "参考资料" -#: ../../source/index.rst:124 +#: ../../source/index.rst:125 msgid "Information-oriented API reference and other reference material." msgstr "以信息为导向的 API 参考资料和其他参考资料。" -#: ../../source/index.rst:133::1 +#: ../../source/index.rst:134::1 #, fuzzy msgid ":py:obj:`flwr `\\" msgstr ":py:obj:`flwr `\\" -#: ../../source/index.rst:133::1 flwr:1 of +#: ../../source/index.rst:134::1 flwr:1 of #, fuzzy msgid "Flower main package." msgstr "Flower 主包装。" -#: ../../source/index.rst:149 +#: ../../source/index.rst:150 msgid "Contributor docs" msgstr "贡献者文档" -#: ../../source/index.rst:151 +#: ../../source/index.rst:152 msgid "" "The Flower community welcomes contributions. The following docs are " "intended to help along the way." @@ -9043,7 +9223,7 @@ msgstr "" msgid "Flag to stream or print logs from the Flower run" msgstr "" -#: ../../flwr log ls run +#: ../../flwr log ls run stop #, fuzzy msgid "default" msgstr "工作流程" @@ -9085,7 +9265,54 @@ msgid "Name of the federation to login into." msgstr "" #: ../../flwr ls:1 -msgid "List runs." +msgid "" +"List the details of one provided run ID or all runs in a Flower " +"federation." +msgstr "" + +#: ../../flwr ls:1 +msgid "The following details are displayed:" +msgstr "" + +#: ../../flwr ls:1 +#, fuzzy +msgid "**Run ID:** Unique identifier for the run." +msgstr "当前运行的标识符。" + +#: ../../flwr ls:1 +msgid "" +"**FAB:** Name of the FAB associated with the run (``{FAB_ID} " +"(v{FAB_VERSION})``)." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"**Status:** Current status of the run (pending, starting, running, " +"finished)." +msgstr "" + +#: ../../flwr ls:1 +msgid "**Elapsed:** Time elapsed since the run started (``HH:MM:SS``)." +msgstr "" + +#: ../../flwr ls:1 +#, fuzzy +msgid "**Created At:** Timestamp when the run was created." +msgstr "创建信息时的 Unix 时间戳。" + +#: ../../flwr ls:1 +#, fuzzy +msgid "**Running At:** Timestamp when the run started running." +msgstr "创建信息时的 Unix 时间戳。" + +#: ../../flwr ls:1 +msgid "**Finished At:** Timestamp when the run finished." +msgstr "" + +#: ../../flwr ls:1 +msgid "" +"All timestamps follow ISO 8601, UTC and are formatted as ``YYYY-MM-DD " +"HH:MM:SSZ``." msgstr "" #: ../../flwr ls:1 @@ -9101,11 +9328,11 @@ msgstr "``FLWR_VERSION``" msgid "Specific run ID to display" msgstr "" -#: ../../flwr ls:1 run:1 +#: ../../flwr ls:1 run:1 stop:1 msgid "Format output using 'default' view or 'json'" msgstr "" -#: ../../flwr ls:1 run:1 +#: ../../flwr ls:1 run:1 stop:1 #, fuzzy msgid "``'default'``" msgstr "工作流程" @@ -9476,131 +9703,60 @@ msgstr "Bases: :py:class:`~abc.ABC`" msgid "Methods" msgstr "方法" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of #, fuzzy msgid ":py:obj:`evaluate `\\ \\(ins\\)" msgstr ":py:obj:`evaluate `\\ \\(ins\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 #: flwr.client.client.Client.evaluate:1 -#: flwr.client.numpy_client.NumPyClient.evaluate:1 of +#: flwr.client.client.Client.evaluate:1::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of msgid "Evaluate the provided parameters using the locally held dataset." msgstr "使用本地数据集评估所提供的参数。" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of #, fuzzy msgid ":py:obj:`fit `\\ \\(ins\\)" msgstr ":py:obj:`fit `\\ \\(ins\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.fit:1 of msgid "Refine the provided parameters using the locally held dataset." msgstr "利用本地数据集完善所提供的参数。" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#, fuzzy -msgid ":py:obj:`get_context `\\ \\(\\)" -msgstr ":py:obj:`get_context `\\ \\(\\)" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#: flwr.client.client.Client.get_context:1 -#: flwr.client.numpy_client.NumPyClient.get_context:1 of -#, fuzzy -msgid "Get the run context from this client." -msgstr "评估客户端的反应。" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of #, fuzzy msgid ":py:obj:`get_parameters `\\ \\(ins\\)" msgstr ":py:obj:`get_parameters `\\ \\(ins\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.get_parameters:1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.get_parameters:1 of msgid "Return the current local model parameters." msgstr "返回当前本地模型参数。" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of #, fuzzy msgid ":py:obj:`get_properties `\\ \\(ins\\)" msgstr ":py:obj:`get_properties `\\ \\(ins\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.get_properties:1 of msgid "Return set of client's properties." msgstr "返回客户端的属性集。" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#, fuzzy -msgid ":py:obj:`set_context `\\ \\(context\\)" -msgstr ":py:obj:`set_context `\\ \\(context\\)" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#: flwr.client.client.Client.set_context:1 -#: flwr.client.numpy_client.NumPyClient.set_context:1 of -#, fuzzy -msgid "Apply a run context to this client." -msgstr "将运行上下文应用于该客户端。" - -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 of #, fuzzy msgid ":py:obj:`to_client `\\ \\(\\)" msgstr ":py:obj:`to_client `\\ \\(\\)" -#: ../../source/ref-api/flwr.client.Client.rst:44::1 +#: flwr.client.client.Client.evaluate:1::1 #: flwr.client.client.Client.to_client:1 of msgid "Return client (itself)." msgstr "返回客户端(本身)。" -#: ../../source/ref-api/flwr.client.Client.rst:46 -#: ../../source/ref-api/flwr.client.NumPyClient.rst:46 -#: ../../source/ref-api/flwr.common.Array.rst:28 -#: ../../source/ref-api/flwr.common.ClientMessage.rst:25 -#: ../../source/ref-api/flwr.common.Code.rst:19 -#: ../../source/ref-api/flwr.common.Context.rst:25 -#: ../../source/ref-api/flwr.common.DisconnectRes.rst:25 -#: ../../source/ref-api/flwr.common.Error.rst:25 -#: ../../source/ref-api/flwr.common.EvaluateIns.rst:25 -#: ../../source/ref-api/flwr.common.EvaluateRes.rst:25 -#: ../../source/ref-api/flwr.common.EventType.rst:165 -#: ../../source/ref-api/flwr.common.FitIns.rst:25 -#: ../../source/ref-api/flwr.common.FitRes.rst:25 -#: ../../source/ref-api/flwr.common.GetParametersIns.rst:25 -#: ../../source/ref-api/flwr.common.GetParametersRes.rst:25 -#: ../../source/ref-api/flwr.common.GetPropertiesIns.rst:25 -#: ../../source/ref-api/flwr.common.GetPropertiesRes.rst:25 -#: ../../source/ref-api/flwr.common.Message.rst:37 -#: ../../source/ref-api/flwr.common.MessageType.rst:25 -#: ../../source/ref-api/flwr.common.MessageTypeLegacy.rst:25 -#: ../../source/ref-api/flwr.common.Metadata.rst:25 -#: ../../source/ref-api/flwr.common.Parameters.rst:25 -#: ../../source/ref-api/flwr.common.ReconnectIns.rst:25 -#: ../../source/ref-api/flwr.common.RecordSet.rst:25 -#: ../../source/ref-api/flwr.common.ServerMessage.rst:25 -#: ../../source/ref-api/flwr.common.Status.rst:25 -#: ../../source/ref-api/flwr.server.Driver.rst:43 -#: ../../source/ref-api/flwr.server.LegacyContext.rst:25 -#: ../../source/ref-api/flwr.server.ServerAppComponents.rst:25 -#: ../../source/ref-api/flwr.server.ServerConfig.rst:25 -#, fuzzy -msgid "Attributes" -msgstr "属性" - -#: flwr.client.Client.context:1::1 of -#, fuzzy -msgid ":py:obj:`context `\\" -msgstr ":py:obj:`context `\\" - -#: flwr.client.Client.context:1 flwr.client.Client.context:1::1 -#: flwr.client.NumPyClient.context:1 -#: flwr.client.NumPyClient.context:1::1 of -msgid "Getter for `Context` client attribute." -msgstr "" - #: ../../source/ref-api/flwr.common.Parameters.rst:2 #: flwr.client.app.start_client flwr.client.app.start_numpy_client #: flwr.client.client.Client.evaluate flwr.client.client.Client.fit @@ -9862,7 +10018,7 @@ msgstr "返回一个装饰器,用于在客户端应用程序中注册火车 fn msgid "NumPyClient" msgstr "NumPyClient" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of #, fuzzy msgid "" ":py:obj:`evaluate `\\ \\(parameters\\, " @@ -9871,22 +10027,17 @@ msgstr "" ":py:obj:`evaluate `\\ \\(parameters\\, " "config\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of #, fuzzy msgid ":py:obj:`fit `\\ \\(parameters\\, config\\)" msgstr ":py:obj:`fit `\\ \\(parameters\\, config\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.fit:1 of msgid "Train the provided parameters using the locally held dataset." msgstr "使用本地数据集训练所提供的参数。" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#, fuzzy -msgid ":py:obj:`get_context `\\ \\(\\)" -msgstr ":py:obj:`get_context `\\ \\(\\)" - -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of #, fuzzy msgid "" ":py:obj:`get_parameters `\\ " @@ -9895,7 +10046,7 @@ msgstr "" ":py:obj:`get_parameters `\\ " "\\(config\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of #, fuzzy msgid "" ":py:obj:`get_properties `\\ " @@ -9904,35 +10055,21 @@ msgstr "" ":py:obj:`get_properties `\\ " "\\(config\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.get_properties:1 of msgid "Return a client's set of properties." msgstr "返回客户端的属性集。" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 -#, fuzzy -msgid "" -":py:obj:`set_context `\\ " -"\\(context\\)" -msgstr "" -":py:obj:`set_context `\\ " -"\\(context\\)" - -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 of #, fuzzy msgid ":py:obj:`to_client `\\ \\(\\)" msgstr ":py:obj:`to_client `\\ \\(\\)" -#: ../../source/ref-api/flwr.client.NumPyClient.rst:44::1 +#: flwr.client.numpy_client.NumPyClient.evaluate:1::1 #: flwr.client.numpy_client.NumPyClient.to_client:1 of msgid "Convert to object to Client type and return it." msgstr "将对象转换为客户类型并返回。" -#: flwr.client.NumPyClient.context:1::1 of -#, fuzzy -msgid ":py:obj:`context `\\" -msgstr ":py:obj:`context `\\" - #: flwr.client.numpy_client.NumPyClient.evaluate:3 #: flwr.client.numpy_client.NumPyClient.fit:3 #: flwr.server.strategy.dpfedavg_fixed.DPFedAvgFixed.configure_evaluate:5 @@ -10995,6 +11132,38 @@ msgstr "server.strategy.Strategy" msgid "Return the array as a NumPy array." msgstr "以 NumPy ndarrays 列表形式返回模型参数" +#: ../../source/ref-api/flwr.common.Array.rst:28 +#: ../../source/ref-api/flwr.common.ClientMessage.rst:25 +#: ../../source/ref-api/flwr.common.Code.rst:19 +#: ../../source/ref-api/flwr.common.Context.rst:25 +#: ../../source/ref-api/flwr.common.DisconnectRes.rst:25 +#: ../../source/ref-api/flwr.common.Error.rst:25 +#: ../../source/ref-api/flwr.common.EvaluateIns.rst:25 +#: ../../source/ref-api/flwr.common.EvaluateRes.rst:25 +#: ../../source/ref-api/flwr.common.EventType.rst:165 +#: ../../source/ref-api/flwr.common.FitIns.rst:25 +#: ../../source/ref-api/flwr.common.FitRes.rst:25 +#: ../../source/ref-api/flwr.common.GetParametersIns.rst:25 +#: ../../source/ref-api/flwr.common.GetParametersRes.rst:25 +#: ../../source/ref-api/flwr.common.GetPropertiesIns.rst:25 +#: ../../source/ref-api/flwr.common.GetPropertiesRes.rst:25 +#: ../../source/ref-api/flwr.common.Message.rst:37 +#: ../../source/ref-api/flwr.common.MessageType.rst:25 +#: ../../source/ref-api/flwr.common.MessageTypeLegacy.rst:25 +#: ../../source/ref-api/flwr.common.Metadata.rst:25 +#: ../../source/ref-api/flwr.common.Parameters.rst:25 +#: ../../source/ref-api/flwr.common.ReconnectIns.rst:25 +#: ../../source/ref-api/flwr.common.RecordSet.rst:25 +#: ../../source/ref-api/flwr.common.ServerMessage.rst:25 +#: ../../source/ref-api/flwr.common.Status.rst:25 +#: ../../source/ref-api/flwr.server.Driver.rst:43 +#: ../../source/ref-api/flwr.server.LegacyContext.rst:25 +#: ../../source/ref-api/flwr.server.ServerAppComponents.rst:25 +#: ../../source/ref-api/flwr.server.ServerConfig.rst:25 +#, fuzzy +msgid "Attributes" +msgstr "属性" + #: flwr.common.record.parametersrecord.Array.numpy:1::1 of #, fuzzy msgid ":py:obj:`dtype `\\" @@ -30131,7 +30300,7 @@ msgid "" msgstr "在机器学习中,我们有一个模型和数据。模型可以是一个神经网络(如图所示),也可以是其他东西,比如经典的线性回归。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:41 -msgid "|ae2337ba61dd4efc818e63933fd81666|" +msgid "|31d9fb7c284a414ba34e32ced3b17b11|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:109 @@ -30146,7 +30315,7 @@ msgid "" msgstr "我们使用数据来训练模型,以完成一项有用的任务。任务可以是检测图像中的物体、转录音频或玩围棋等游戏。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:53 -msgid "|14a8d3feda794591a601daaaaa79d0b6|" +msgid "|32af43ffb54a421d8cfe59939c34206b|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:111 @@ -30170,7 +30339,7 @@ msgid "" msgstr "它源于智能手机上用户与应用程序的交互、汽车上传感器数据的收集、笔记本电脑上键盘输入的接收,或者智能扬声器上某人试着唱的歌。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:67 -msgid "|c67497f1afa84a30a3901418c6c0bb62|" +msgid "|34c462a3cde341389422badb2077fc36|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:113 @@ -30188,7 +30357,7 @@ msgstr "" "\"通常不只是一个地方,而是很多地方。它可能是多个运行同一应用程序的设备。但也可能是多个组织,都在为同一任务生成数据。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:79 -msgid "|d4ce55da082146d7ad13ec4f73d427a2|" +msgid "|3a2ded531a9a4b86af3e743490e78172|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:115 @@ -30205,7 +30374,7 @@ msgid "" msgstr "因此,要使用机器学习或任何类型的数据分析,过去使用的方法是在中央服务器上收集所有数据。这个服务器可以在数据中心的某个地方,也可以在云端的某个地方。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:91 -msgid "|0a0c4ca9de6549c1b35225c6e1183bc0|" +msgid "|52e91c4927884d7293956a379489d8c3|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:117 @@ -30220,7 +30389,7 @@ msgid "" msgstr "一旦所有数据都收集到一处,我们最终就可以使用机器学习算法在数据上训练我们的模型。这就是我们基本上一直依赖的机器学习方法。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:103 -msgid "|f2f5e8cc5594472c842192ec38ab9bbe|" +msgid "|2bb7af14de844e40bd4186c902800ff5|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:119 @@ -30241,7 +30410,7 @@ msgid "" msgstr "我们刚刚看到的经典机器学习方法可以在某些情况下使用。很好的例子包括对假日照片进行分类或分析网络流量。在这些案例中,所有数据自然都可以在中央服务器上获得。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:138 -msgid "|4e7b0cd854064aab9895573a612a0f06|" +msgid "|c7538d5f23f142e693a8879fb03e3932|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:173 @@ -30256,7 +30425,7 @@ msgid "" msgstr "但这种方法并不适用于许多其他情况。例如,集中服务器上没有数据,或者一台服务器上的数据不足以训练出一个好的模型。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:150 -msgid "|e121faa35b114a0da17cf4bc42e74ce9|" +msgid "|44f9182037b141868306b5c7d2d7bdf6|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:175 @@ -30416,7 +30585,7 @@ msgid "" msgstr "我们首先在服务器上初始化模型。这与经典的集中式学习完全相同:我们随机或从先前保存的检查点初始化模型参数。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:210 -msgid "|e7a57a83812c4dc8933fbb93cd0e46dc|" +msgid "|e198f643aecc4cd58ca665e6979b5bb3|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:307 @@ -30441,7 +30610,7 @@ msgid "" msgstr "接下来,我们会将全局模型的参数发送到连接的客户端节点(如智能手机等边缘设备或企业的服务器)。这是为了确保每个参与节点都使用相同的模型参数开始本地训练。我们通常只使用几个连接节点,而不是所有节点。这样做的原因是,选择越来越多的客户端节点会导致收益递减。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:225 -msgid "|a0283fe3cd0c4f3cb5d119f424c657fd|" +msgid "|3e52791d62db46e0b0485e4f05a71070|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:309 @@ -30467,7 +30636,7 @@ msgstr "" "(mini-batches)。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:240 -msgid "|debbe320f2c741388902ebabfb6fc705|" +msgid "|eeb43ec811934701963187e3822826ae|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:311 @@ -30490,7 +30659,7 @@ msgid "" msgstr "经过本地训练后,每个客户节点最初收到的模型参数都会略有不同。参数之所以不同,是因为每个客户端节点的本地数据集中都有不同的数据。然后,客户端节点将这些模型更新发回服务器。它们发送的模型更新既可以是完整的模型参数,也可以只是本地训练过程中积累的梯度。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:255 -msgid "|8be6ce669d3148f9af6272ca27a98197|" +msgid "|b1642f82fc774ff3a1f7b2f077844291|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:313 @@ -30537,7 +30706,7 @@ msgstr "" " 100 个示例的 10 倍。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:273 -msgid "|47c4a06eafbb4e2fa1c62b5ca47d3411|" +msgid "|17ab6ee928b54a02afcac8d896a3a637|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:315 @@ -30645,7 +30814,7 @@ msgstr "" "为联邦学习、分析和评估提供了一种统一的方法。它允许用户联邦化任何工作负载、任何 ML 框架和任何编程语言。" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:334 -msgid "|5e84b181879b4bcda37b672215325b30|" +msgid "|1bd7ba9475d44bdbb4d4a4a40d3e2267|" msgstr "" #: ../../source/tutorial-series-what-is-federated-learning.ipynb:340 @@ -38276,3 +38445,113 @@ msgstr "" #~ msgid "|e4adf0f92ebf4c3d9e6e64355204f897|" #~ msgstr "" +#~ msgid "" +#~ "There are many ways to deploy " +#~ "Flower on Microst Azure. The " +#~ "instructions provided in this guide is" +#~ " just a basic walkthrough, step-" +#~ "by-step guide on how to quickly " +#~ "setup and run a Flower application " +#~ "on a Federated Learning environment on" +#~ " Microst Azure." +#~ msgstr "" + +#~ msgid "" +#~ "In this how-to guide, we want " +#~ "to create a Federated Learning " +#~ "environment on Microst Azure using three" +#~ " Virtual Machines (VMs). From the " +#~ "three machines, one machine will be " +#~ "used as the Federation server and " +#~ "two as the Federation clients. Our " +#~ "goal is to create a Flower " +#~ "federation on Microst Azure where we " +#~ "can run Flower apps from our local" +#~ " machine, e.g., laptop." +#~ msgstr "" + +#~ msgid "" +#~ "Assuming we are already inside the " +#~ "Microst Azure portal, we navigate to " +#~ "the ``Create`` page and we select " +#~ "``Azure virtual machine``. In the new" +#~ " page, for each VM we edit the" +#~ " properties as follows:" +#~ msgstr "" + +#~ msgid "List runs." +#~ msgstr "" + +#~ msgid ":py:obj:`get_context `\\ \\(\\)" +#~ msgstr ":py:obj:`get_context `\\ \\(\\)" + +#~ msgid "Get the run context from this client." +#~ msgstr "评估客户端的反应。" + +#~ msgid ":py:obj:`set_context `\\ \\(context\\)" +#~ msgstr ":py:obj:`set_context `\\ \\(context\\)" + +#~ msgid "Apply a run context to this client." +#~ msgstr "将运行上下文应用于该客户端。" + +#~ msgid ":py:obj:`context `\\" +#~ msgstr ":py:obj:`context `\\" + +#~ msgid "Getter for `Context` client attribute." +#~ msgstr "" + +#~ msgid ":py:obj:`get_context `\\ \\(\\)" +#~ msgstr ":py:obj:`get_context `\\ \\(\\)" + +#~ msgid "" +#~ ":py:obj:`set_context `\\" +#~ " \\(context\\)" +#~ msgstr "" +#~ ":py:obj:`set_context `\\" +#~ " \\(context\\)" + +#~ msgid ":py:obj:`context `\\" +#~ msgstr ":py:obj:`context `\\" + +#~ msgid "|ae2337ba61dd4efc818e63933fd81666|" +#~ msgstr "" + +#~ msgid "|14a8d3feda794591a601daaaaa79d0b6|" +#~ msgstr "" + +#~ msgid "|c67497f1afa84a30a3901418c6c0bb62|" +#~ msgstr "" + +#~ msgid "|d4ce55da082146d7ad13ec4f73d427a2|" +#~ msgstr "" + +#~ msgid "|0a0c4ca9de6549c1b35225c6e1183bc0|" +#~ msgstr "" + +#~ msgid "|f2f5e8cc5594472c842192ec38ab9bbe|" +#~ msgstr "" + +#~ msgid "|4e7b0cd854064aab9895573a612a0f06|" +#~ msgstr "" + +#~ msgid "|e121faa35b114a0da17cf4bc42e74ce9|" +#~ msgstr "" + +#~ msgid "|e7a57a83812c4dc8933fbb93cd0e46dc|" +#~ msgstr "" + +#~ msgid "|a0283fe3cd0c4f3cb5d119f424c657fd|" +#~ msgstr "" + +#~ msgid "|debbe320f2c741388902ebabfb6fc705|" +#~ msgstr "" + +#~ msgid "|8be6ce669d3148f9af6272ca27a98197|" +#~ msgstr "" + +#~ msgid "|47c4a06eafbb4e2fa1c62b5ca47d3411|" +#~ msgstr "" + +#~ msgid "|5e84b181879b4bcda37b672215325b30|" +#~ msgstr "" +