FedML-AI / FedML

FEDML - The unified and scalable ML library for large-scale distributed training, model serving, and federated learning. FEDML Launch, a cross-cloud scheduler, further enables running any AI jobs on any GPU cloud or on-premise cluster. Built on this library, TensorOpera AI (https://TensorOpera.ai) is your generative AI platform at scale.
https://TensorOpera.ai
Apache License 2.0
4.19k stars 787 forks source link

Revert "Adjust the design of FedML Python Agent to a decentralized architecture that supports Launch Master, Launch Slave, Deploy Master, and Deploy Slave at the same time." #2208

Closed alaydshah closed 4 months ago

alaydshah commented 4 months ago

Reverts FedML-AI/FedML#2163

gitguardian[bot] commented 4 months ago

⚠️ GitGuardian has uncovered 4 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [5451874](https://dashboard.gitguardian.com/workspace/227819/incidents/5451874?occurrence=157083777) | Triggered | Generic Password | 37be694a17b6bfdd205ec6e5b526b21856b1af87 | python/fedml/computing/scheduler/model_scheduler/model_device_server.py | [View secret](https://github.com/FedML-AI/FedML/commit/37be694a17b6bfdd205ec6e5b526b21856b1af87#diff-47cb763a0c441700638c3562f0b36032a9791f67be848a02a6623a9c44202758R27) | | [5451874](https://dashboard.gitguardian.com/workspace/227819/incidents/5451874?occurrence=157083778) | Triggered | Generic Password | 37be694a17b6bfdd205ec6e5b526b21856b1af87 | python/fedml/computing/scheduler/model_scheduler/model_device_client.py | [View secret](https://github.com/FedML-AI/FedML/commit/37be694a17b6bfdd205ec6e5b526b21856b1af87#diff-1d84cb3e795f3e049ae14beca1e1361d5263a6a0317b7cee2625ce96a3952f1aR27) | | [11782617](https://dashboard.gitguardian.com/workspace/227819/incidents/11782617?occurrence=157083779) | Triggered | Generic High Entropy Secret | 37be694a17b6bfdd205ec6e5b526b21856b1af87 | devops/dockerfile/github-action-runner/Dockerfile | [View secret](https://github.com/FedML-AI/FedML/commit/37be694a17b6bfdd205ec6e5b526b21856b1af87#diff-8b1db40a98d587f01f67ff975aa725ac433924612dfa1e42688e34124b543f5cL34) | | [11782618](https://dashboard.gitguardian.com/workspace/227819/incidents/11782618?occurrence=157083776) | Triggered | Generic High Entropy Secret | 37be694a17b6bfdd205ec6e5b526b21856b1af87 | .github/workflows/registry-runners/windows.ps1 | [View secret](https://github.com/FedML-AI/FedML/commit/37be694a17b6bfdd205ec6e5b526b21856b1af87#diff-807801f2475fea891ea28ace1728417077c70584716e40f729d621ca9a107d63L3) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/generics/generic_password#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.

🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.