FedML-AI / FedML-AI/FedML

Training process never starts

Open
#1,441 0 comments 0 reactions 0 assignees View on GitHub
help wanted question
Dominant language
Python
Stars
4.1k
Forks
765
PR merge metrics
No merged PRs in 30d

Description

Hello everyone!

I was trying to run this example but unfortunately could not get past step 3.3
https://doc.fedml.ai/cross-device/examples/cross_device_android_example.html

Here's what I did:
- Downloaded the app and managed to run it on a simulated android device on Android Studio.

- Was able to send the datasets to the android device.
![image](https://github.com/FedML-AI/FedML/assets/61230506/37edcdb5-9fcc-4741-9574-590ded8918ee)

- Uploaded the server package:
![image](https://github.com/FedML-AI/FedML/assets/61230506/a3e1af66-69ce-401d-bd10-92fa0a279d73)

- Created a new run:
![image](https://github.com/FedML-AI/FedML/assets/61230506/70b28601-75ed-4983-9c06-d94308f3af94)

However, the run is always with the "STARTING" status:
![image](https://github.com/FedML-AI/FedML/assets/61230506/14ba2ee9-fd36-4a6d-baa7-a5309f2b3d12)

This is what I see in the training status:
![image](https://github.com/FedML-AI/FedML/assets/61230506/9998ed8c-1f14-47be-9a3a-c4c401e257ea) and these are the logs
```
[FedML-Server @device-id-32935] [Wed, 11 Oct 2023 00:09:59 +0100] [INFO] [mlops_metrics.py:287:report_server_id_status] report_server_id_status. message_json = {"run_id": 13680, "edge_id": 32935, "status": "STARTING"}
[FedML-Server @device-id-32935] [Wed, 11 Oct 2023 00:09:59 +0100] [INFO] [mlops_metrics.py:229:report_server_device_status_to_web_ui] report_server_device_status. msg = {'run_id': 13680, 'edge_id': 32935, 'status': 'STARTING', 'role': 'normal', 'version': 'v1.0'}
[FedML-Server @device-id-32935] [Wed, 11 Oct 2023 00:09:59 +0100] [INFO] [mlops_metrics.py:229:report_server_device_status_to_web_ui] report_server_device_status. msg = {'run_id': 13680, 'edge_id': 32935, 'status': 'STARTING', 'role': 'normal', 'version': 'v1.0'}
[FedML-Server @device-id-32935] [Wed, 11 Oct 2023 00:09:59 +0100] [INFO] [server_runner.py:486:run_impl] Detect all status of Edge ids: [32929]
```
I would be really thankful if anyone could help me with this issue. Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.