Spaces:
Sleeping
Sleeping
Add missing --root-certificates arg to flwr run and examples. (#9)
Browse files
blossomtune_gradio/processing.py
CHANGED
|
@@ -88,6 +88,8 @@ def start_runner(
|
|
| 88 |
"run",
|
| 89 |
runner_app_path,
|
| 90 |
"local-deployment",
|
|
|
|
|
|
|
| 91 |
"--stream",
|
| 92 |
]
|
| 93 |
threading.Thread(target=run_process, args=(command, "runner"), daemon=True).start()
|
|
|
|
| 88 |
"run",
|
| 89 |
runner_app_path,
|
| 90 |
"local-deployment",
|
| 91 |
+
"--root-certificates",
|
| 92 |
+
cfg.BLOSSOMTUNE_TLS_CERT_PATH,
|
| 93 |
"--stream",
|
| 94 |
]
|
| 95 |
threading.Thread(target=run_process, args=(command, "runner"), daemon=True).start()
|
blossomtune_gradio/settings/blossomtune.yaml
CHANGED
|
@@ -50,7 +50,8 @@ ui:
|
|
| 50 |
|
| 51 |
*Example `flower-supernode` command:*
|
| 52 |
```bash
|
| 53 |
-
flower-supernode --superlink {{ superlink_hostname }}:9092 --
|
|
|
|
| 54 |
```
|
| 55 |
|
| 56 |
status_pending_md: |
|
|
|
|
| 50 |
|
| 51 |
*Example `flower-supernode` command:*
|
| 52 |
```bash
|
| 53 |
+
flower-supernode --superlink {{ superlink_hostname }}:9092 --node-config "partition-id={{ partition_id }} num-partitions={{ num_partitions }}" --root-certificates=server.crt
|
| 54 |
+
|
| 55 |
```
|
| 56 |
|
| 57 |
status_pending_md: |
|
flower_apps/quickstart_huggingface/pyproject.toml
CHANGED
|
@@ -59,4 +59,4 @@ options.backend.client-resources.num-gpus = 0.0 # at most 4 ClientApp will run i
|
|
| 59 |
|
| 60 |
[tool.flwr.federations.local-deployment]
|
| 61 |
address = "0.0.0.0:9093"
|
| 62 |
-
insecure =
|
|
|
|
| 59 |
|
| 60 |
[tool.flwr.federations.local-deployment]
|
| 61 |
address = "0.0.0.0:9093"
|
| 62 |
+
insecure = false
|