-
Notifications
You must be signed in to change notification settings - Fork 3
merge branch #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge branch #49
Conversation
Bumps the pip group with 2 updates in the /advanced-zero-click-deployment-interface/FlowSteering/llava directory: [gradio](https://github.com/gradio-app/gradio) and [deepspeed](https://github.com/microsoft/DeepSpeed). Bumps the pip group with 2 updates in the /modules/advanced-zero-click-deployment-interface/FlowSteering/llava directory: [gradio](https://github.com/gradio-app/gradio) and [deepspeed](https://github.com/microsoft/DeepSpeed). Updates `gradio` from 5.5.0 to 5.11.0 - [Release notes](https://github.com/gradio-app/gradio/releases) - [Changelog](https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md) - [Commits](https://github.com/gradio-app/gradio/compare/gradio@5.5.0...gradio@5.11.0) Updates `deepspeed` from 0.9.5 to 0.15.1 - [Release notes](https://github.com/microsoft/DeepSpeed/releases) - [Commits](deepspeedai/DeepSpeed@v0.9.5...v0.15.1) Updates `gradio` from 5.5.0 to 5.11.0 - [Release notes](https://github.com/gradio-app/gradio/releases) - [Changelog](https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md) - [Commits](https://github.com/gradio-app/gradio/compare/gradio@5.5.0...gradio@5.11.0) Updates `deepspeed` from 0.15.1 to 0.16.2 - [Release notes](https://github.com/microsoft/DeepSpeed/releases) - [Commits](deepspeedai/DeepSpeed@v0.9.5...v0.15.1) --- updated-dependencies: - dependency-name: gradio dependency-type: direct:production dependency-group: pip - dependency-name: deepspeed dependency-type: direct:production dependency-group: pip - dependency-name: gradio dependency-type: direct:production dependency-group: pip - dependency-name: deepspeed dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com>
Integrate encryption and decryption of email data in the EmailServer, EndUserClient, and LLaVaServer modules. * **EmailServer.py** - Import encryption and decryption functions. - Encrypt email body and file path before saving to recipient's inbox. - Decrypt email body and file path when checking the inbox and sending the email to the client. * **EndUserClient.py** - Import encryption and decryption functions. - Decrypt email body and file path when receiving from the email server. - Encrypt email data before sending to the email server. * **LLaVaServer.py** - Import encryption and decryption functions. - Encrypt email body and file path before sending to the LLaVa model for classification. - Decrypt the final reply from the LLaVa model before sending it to the client. * **Run_LLaVa.py** - Import encryption and decryption functions. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword?shareId=XXXX-XXXX-XXXX-XXXX).
… metrics Add customizable dashboards to provide tailored security insights and metrics. * **Custom Dashboards**: Add methods for customizable dashboards in `modules/custom_dashboards.py` to provide tailored security insights and metrics. Implement dashboards for compliance management, security awareness training, and vulnerability management. * **Command and Control Dashboard**: Enhance `c2_dashboard.py` to include detailed metrics and insights for Command and Control operations, visualizations for assets, message boards, announcements, latest news on exploits, AI interface, system connections, logs, system status, system settings, attack simulations, fuzzing, asset control, reverse shell settings, and advanced connection methods. * **Flask Application**: Update `dashboard/dashboard.py` to set up a Flask application with customizable features for tailored security insights and metrics. Implement role-based access control (RBAC) for secure access to sensitive resources and features. Add routes for various dashboards and their respective data. * **Dashboard Template**: Modify `templates/dashboard.html` to include customization options for tailored security insights and metrics. Add sections for threats and exploits, assets, message boards, announcements, latest news on exploits, AI interface, system connections, logs, system status, system settings, attack simulations, fuzzing, asset control, reverse shell settings, and advanced connection methods. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword?shareId=XXXX-XXXX-XXXX-XXXX).
… metrics (#41) Add customizable dashboards to provide tailored security insights and metrics. * **Custom Dashboards**: Add methods for customizable dashboards in `modules/custom_dashboards.py` to provide tailored security insights and metrics. Implement dashboards for compliance management, security awareness training, and vulnerability management. * **Command and Control Dashboard**: Enhance `c2_dashboard.py` to include detailed metrics and insights for Command and Control operations, visualizations for assets, message boards, announcements, latest news on exploits, AI interface, system connections, logs, system status, system settings, attack simulations, fuzzing, asset control, reverse shell settings, and advanced connection methods. * **Flask Application**: Update `dashboard/dashboard.py` to set up a Flask application with customizable features for tailored security insights and metrics. Implement role-based access control (RBAC) for secure access to sensitive resources and features. Add routes for various dashboards and their respective data. * **Dashboard Template**: Modify `templates/dashboard.html` to include customization options for tailored security insights and metrics. Add sections for threats and exploits, assets, message boards, announcements, latest news on exploits, AI interface, system connections, logs, system status, system settings, attack simulations, fuzzing, asset control, reverse shell settings, and advanced connection methods. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword/pull/41?shareId=19d37444-1730-4da7-afa1-ea5a07f7af3f).
Signed-off-by: PROJECT ZERO <56379955+ProjectZeroDays@users.noreply.github.com>
Update the `README.md` files to reflect recent changes and additions to the codebase. * **`advanced-zero-click-deployment-interface/FlowSteering/ApplicationCode/README.md`**: - Add a section on recent changes and additions, including improved network handling, optimized email server, enhanced LLaVa server, end user client improvements, and attacker client simplification. - Update instructions for running the GenAI EcoSystem, including prerequisites, running the Email Server, LLaVa Server, End User Clients, and Attacker Client. * **`advanced-zero-click-deployment-interface/FlowSteering/llava/serve/gateway/README.md`**: - Add a section on recent changes and additions, including improved security features, optimized load balancing, dynamic server management, and simplified deployment process. * **`modules/SPYZIER-APP-master/README.md`**: - Add a section on recent changes and additions, including improved compatibility, optimized performance, enhanced security features, user interface improvements, and bug fixes. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword?shareId=XXXX-XXXX-XXXX-XXXX).
Signed-off-by: PROJECT ZERO <56379955+ProjectZeroDays@users.noreply.github.com>
Signed-off-by: PROJECT ZERO <56379955+ProjectZeroDays@users.noreply.github.com>
Signed-off-by: PROJECT ZERO <56379955+ProjectZeroDays@users.noreply.github.com>
Signed-off-by: PROJECT ZERO <56379955+ProjectZeroDays@users.noreply.github.com>
Add `implementation_checklist.md` and update various files to correct errors and improve functionality. * **Implementation Checklist:** - Add `implementation_checklist.md` with detailed steps for setting up and running the GenAI ecosystem. * **README Updates:** - Update `README.md` to include a link to the new `implementation_checklist.md`. * **File Path Corrections:** - Correct file paths in `advanced-zero-click-deployment-interface/FlowSteering/ApplicationCode/LLaVaServer/LLaVaServer.py` for `saveMail_directory` and `MODEL_NAME`. * **Error Handling:** - Add error handling for invalid image files in `modules/advanced-zero-click-deployment-interface/FlowSteering/ImgPerturbation.ipynb`. - Add error handling mechanisms in `modules/advanced-zero-click-deployment-interface/FlowSteering/llava/constants.py`. - Add input data validation in `modules/advanced-zero-click-deployment-interface/FlowSteering/llava/conversation.py`. - Add error handling for missing model files in `modules/advanced-zero-click-deployment-interface/FlowSteering/llava/model/llava.py`. - Add error handling for invalid training data in `modules/advanced-zero-click-deployment-interface/FlowSteering/llava/train/train.py`. * **Documentation Enhancements:** - Update `docs/troubleshooting.md` with more detailed troubleshooting steps and solutions. * **Dependencies:** - Add missing dependencies `pandas` and `torch` to `requirements.txt`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword?shareId=XXXX-XXXX-XXXX-XXXX).
Add `implementation_checklist.md` and update various files to correct errors and improve functionality. * **Implementation Checklist:** - Add `implementation_checklist.md` with detailed steps for setting up and running the GenAI ecosystem. * **README Updates:** - Update `README.md` to include a link to the new `implementation_checklist.md`. * **File Path Corrections:** - Correct file paths in `advanced-zero-click-deployment-interface/FlowSteering/ApplicationCode/LLaVaServer/LLaVaServer.py` for `saveMail_directory` and `MODEL_NAME`. * **Error Handling:** - Add error handling for invalid image files in `modules/advanced-zero-click-deployment-interface/FlowSteering/ImgPerturbation.ipynb`. - Add error handling mechanisms in `modules/advanced-zero-click-deployment-interface/FlowSteering/llava/constants.py`. - Add input data validation in `modules/advanced-zero-click-deployment-interface/FlowSteering/llava/conversation.py`. - Add error handling for missing model files in `modules/advanced-zero-click-deployment-interface/FlowSteering/llava/model/llava.py`. - Add error handling for invalid training data in `modules/advanced-zero-click-deployment-interface/FlowSteering/llava/train/train.py`. * **Documentation Enhancements:** - Update `docs/troubleshooting.md` with more detailed troubleshooting steps and solutions. * **Dependencies:** - Add missing dependencies `pandas` and `torch` to `requirements.txt`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword/pull/45?shareId=775426bd-a7ff-4ea7-a960-a4e2d4a2acc1).
Signed-off-by: PROJECT ZERO <56379955+ProjectZeroDays@users.noreply.github.com>
Fix errors in `LLaVaServer.py` and `Run_LLaVa.py` to handle various exceptions. * **LLaVaServer.py** - Update `receive_complete_data` to handle socket timeouts properly. - Update `SendToLLaVa` to handle multipart email messages correctly. * **Run_LLaVa.py** - Update `run_result` to handle image loading errors properly. - Update `Turn_On_LLaVa` to handle model loading errors properly. - Update `load_param` to handle tokenizer errors properly. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword?shareId=XXXX-XXXX-XXXX-XXXX).
Fix errors in `LLaVaServer.py` and `Run_LLaVa.py` to handle various exceptions. * **LLaVaServer.py** - Update `receive_complete_data` to handle socket timeouts properly. - Update `SendToLLaVa` to handle multipart email messages correctly. * **Run_LLaVa.py** - Update `run_result` to handle image loading errors properly. - Update `Turn_On_LLaVa` to handle model loading errors properly. - Update `load_param` to handle tokenizer errors properly. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword/pull/47?shareId=3a5926e3-b9eb-4773-a25d-9ce85eb939bc).
Update the `README.md` files to reflect recent changes and additions to the codebase. * **`advanced-zero-click-deployment-interface/FlowSteering/ApplicationCode/README.md`**: - Add a section on recent changes and additions, including improved network handling, optimized email server, enhanced LLaVa server, end user client improvements, and attacker client simplification. - Update instructions for running the GenAI EcoSystem, including prerequisites, running the Email Server, LLaVa Server, End User Clients, and Attacker Client. * **`advanced-zero-click-deployment-interface/FlowSteering/llava/serve/gateway/README.md`**: - Add a section on recent changes and additions, including improved security features, optimized load balancing, dynamic server management, and simplified deployment process. * **`modules/SPYZIER-APP-master/README.md`**: - Add a section on recent changes and additions, including improved compatibility, optimized performance, enhanced security features, user interface improvements, and bug fixes. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword?shareId=XXXX-XXXX-XXXX-XXXX).
Integrate encryption and decryption of email data in the EmailServer, EndUserClient, and LLaVaServer modules. * **EmailServer.py** - Import encryption and decryption functions. - Encrypt email body and file path before saving to recipient's inbox. - Decrypt email body and file path when checking the inbox and sending the email to the client. * **EndUserClient.py** - Import encryption and decryption functions. - Decrypt email body and file path when receiving from the email server. - Encrypt email data before sending to the email server. * **LLaVaServer.py** - Import encryption and decryption functions. - Encrypt email body and file path before sending to the LLaVa model for classification. - Decrypt the final reply from the LLaVa model before sending it to the client. * **Run_LLaVa.py** - Import encryption and decryption functions. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword/pull/40?shareId=75fcd07c-5687-4068-a2d1-ceaa74795a1f).
…lick-deployment-interface/FlowSteering/llava/pip-adcf22f90f
Bumps the pip group with 2 updates in the /advanced-zero-click-deployment-interface/FlowSteering/llava directory: [gradio](https://github.com/gradio-app/gradio) and [deepspeed](https://github.com/microsoft/DeepSpeed). Bumps the pip group with 2 updates in the /modules/advanced-zero-click-deployment-interface/FlowSteering/llava directory: [gradio](https://github.com/gradio-app/gradio) and [deepspeed](https://github.com/microsoft/DeepSpeed). Updates `gradio` from 5.5.0 to 5.11.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gradio-app/gradio/releases">gradio's releases</a>.</em></p> <blockquote> <h2>gradio@5.11.0</h2> <h3>Features</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10304">#10304</a> <a href="https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8"><code>6b63fde</code></a> - Blocked Paths Fix. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10303">#10303</a> <a href="https://github.com/gradio-app/gradio/commit/f19ca89cdd4040dbaa41bbc3b9915edc032603a0"><code>f19ca89</code></a> - Add preview_open and preview_close events to Gallery. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10314">#10314</a> <a href="https://github.com/gradio-app/gradio/commit/84e72e401cdc97a91086301d2b25164e7d15623a"><code>84e72e4</code></a> - Restore chat interface full height. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10306">#10306</a> <a href="https://github.com/gradio-app/gradio/commit/9fc988ebaf4bea24b71308922bb1889f1d3f4f6e"><code>9fc988e</code></a> - Fix bug where ImageEditor always sends empty layers list to the backend. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10297">#10297</a> <a href="https://github.com/gradio-app/gradio/commit/1e253ff127e97c18852a32cbc1269494c6cee017"><code>1e253ff</code></a> - Fix test_subclass_conversion with numpy==2.x. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> </ul> <h2>gradio@5.10.0</h2> <h3>Features</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10203">#10203</a> <a href="https://github.com/gradio-app/gradio/commit/c3a9e647381f787085662828747e6ac61f8a0c01"><code>c3a9e64</code></a> - Allow editing chatbot messages. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10272">#10272</a> <a href="https://github.com/gradio-app/gradio/commit/a1f2649586752a013fb4d36b83d5fea2e137bb81"><code>a1f2649</code></a> - Chat Interface flagging and chatbot feedback. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10225">#10225</a> <a href="https://github.com/gradio-app/gradio/commit/f0cf3b789a4ebb5ac2e33243fea80c6c6f080d42"><code>f0cf3b7</code></a> - Dataframe support in Chatbot. Thanks <a href="https://github.com/dawoodkhan82"><code>@dawoodkhan82</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10292">#10292</a> <a href="https://github.com/gradio-app/gradio/commit/f2bd72f9ef23552f0c6018396320eca9baef04f5"><code>f2bd72f</code></a> - Reset flagged values when switching conversations in chat history. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10191">#10191</a> <a href="https://github.com/gradio-app/gradio/commit/5ce28324971e974ae24dc9a229b2160793140fb2"><code>5ce2832</code></a> - Support saving chat history in <code>gr.ChatInterface</code>. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10197">#10197</a> <a href="https://github.com/gradio-app/gradio/commit/a95f8ef3ee2663cf502129e829493a44b2641613"><code>a95f8ef</code></a> - Add support for returning multiple messages from <code>gr.ChatInterface</code> chat function. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10186">#10186</a> <a href="https://github.com/gradio-app/gradio/commit/9b17032a6564c8bda4ab1749989a9797c670919c"><code>9b17032</code></a> - Add Microphone Input to MultimodalTextbox. Thanks <a href="https://github.com/dawoodkhan82"><code>@dawoodkhan82</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10192">#10192</a> <a href="https://github.com/gradio-app/gradio/commit/4fc7fb777c42af537e4af612423fa44029657d41"><code>4fc7fb7</code></a> - Ensure components can be remounted with their previous data. Thanks <a href="https://github.com/pngwn"><code>@pngwn</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10187">#10187</a> <a href="https://github.com/gradio-app/gradio/commit/64d1864f8fb6f2d0b274fcf7bd47bdb1f6a77980"><code>64d1864</code></a> - <code>manifest json</code> for PWA. Thanks <a href="https://github.com/whitphx"><code>@whitphx</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10262">#10262</a> <a href="https://github.com/gradio-app/gradio/commit/f3bedd4011bdfdecc952eb1275a9dd96af3e8d71"><code>f3bedd4</code></a> - add gr.Success and update windows contributing. Thanks <a href="https://github.com/not-lain"><code>@not-lain</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10254">#10254</a> <a href="https://github.com/gradio-app/gradio/commit/da0770748db9ea40194a43c9138ee2c6536b1247"><code>da07707</code></a> - Add a <code>settings</code> link to the footer with i18n options & pwa instructions. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/9984">#9984</a> <a href="https://github.com/gradio-app/gradio/commit/45df1b1978e597546a208ecbf5b3aca56137edc5"><code>45df1b1</code></a> - Lite: Capture stdout and stderr from the main thread. Thanks <a href="https://github.com/whitphx"><code>@whitphx</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10210">#10210</a> <a href="https://github.com/gradio-app/gradio/commit/13a83e5001e29594990d61569887cb8562744964"><code>13a83e5</code></a> - Allow reordering files in gr.File. Thanks <a href="https://github.com/hannahblair"><code>@hannahblair</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10221">#10221</a> <a href="https://github.com/gradio-app/gradio/commit/506bd2884a9790fb6f8dbf5684576e80d2b8ee64"><code>506bd28</code></a> - Update Guides related to deploying Gradio chatbots to Discord, Slack, and website widgets. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10229">#10229</a> <a href="https://github.com/gradio-app/gradio/commit/1be31c14e2a6884a60babf690cfded560bca5144"><code>1be31c1</code></a> - Allow editable ChatInterface. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10245">#10245</a> <a href="https://github.com/gradio-app/gradio/commit/3e4e0de51a2ece9a1cab70a69c065bda685569e8"><code>3e4e0de</code></a> - Add <code>gr.BrowserState</code> change event. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10222">#10222</a> <a href="https://github.com/gradio-app/gradio/commit/9c6d83d12e4b67c5638ba67281c6f018052c5b3e"><code>9c6d83d</code></a> - gr.load_chat: Allow loading any openai-compatible server immediately as a ChatInterface. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10214">#10214</a> <a href="https://github.com/gradio-app/gradio/commit/501adefd0c3d5769055ef2156c85e586eb60bf84"><code>501adef</code></a> - Some agent low-hanging issues. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10290">#10290</a> <a href="https://github.com/gradio-app/gradio/commit/99123e75f5f1c222d70bd86cd37dbc4450c62cba"><code>99123e7</code></a> - Fixed warning about not being able to find the app for some pattern. Thanks <a href="https://github.com/YanSte"><code>@YanSte</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10269">#10269</a> <a href="https://github.com/gradio-app/gradio/commit/890eaa3a9e53dab5bcb16c5d017ae0470109b8fb"><code>890eaa3</code></a> - Allow displaying SVG images securely in <code>gr.Image</code> and <code>gr.Gallery</code> components. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10209">#10209</a> <a href="https://github.com/gradio-app/gradio/commit/2700d1898bc8eeb3fd9f65ce77be17c2614a388f"><code>2700d18</code></a> - Ensure the <code>height</code> param in <code>gr.File</code> works as expected. Thanks <a href="https://github.com/hannahblair"><code>@hannahblair</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10235">#10235</a> <a href="https://github.com/gradio-app/gradio/commit/9285dd9eb842ee05bd8a0fd4f0f9143788096bbc"><code>9285dd9</code></a> - Fix typing for components in <code>gr.Interface</code> and docstring in <code>image.py</code>. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10207">#10207</a> <a href="https://github.com/gradio-app/gradio/commit/314a8b55f57a30806b37fe077b471df97d04245d"><code>314a8b5</code></a> - fix: make sure <code>comp.instance</code> exists. Thanks <a href="https://github.com/Col0ring"><code>@Col0ring</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10238">#10238</a> <a href="https://github.com/gradio-app/gradio/commit/3f192100d6997751d0246b396a4fd8eaa86a826b"><code>3f19210</code></a> - Declare exports in <strong>all</strong> for type checking. Thanks <a href="https://github.com/dustalov"><code>@dustalov</code></a>!</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md">gradio's changelog</a>.</em></p> <blockquote> <h2>5.11.0</h2> <h3>Features</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10304">#10304</a> <a href="https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8"><code>6b63fde</code></a> - Blocked Paths Fix. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10303">#10303</a> <a href="https://github.com/gradio-app/gradio/commit/f19ca89cdd4040dbaa41bbc3b9915edc032603a0"><code>f19ca89</code></a> - Add preview_open and preview_close events to Gallery. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10314">#10314</a> <a href="https://github.com/gradio-app/gradio/commit/84e72e401cdc97a91086301d2b25164e7d15623a"><code>84e72e4</code></a> - Restore chat interface full height. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10306">#10306</a> <a href="https://github.com/gradio-app/gradio/commit/9fc988ebaf4bea24b71308922bb1889f1d3f4f6e"><code>9fc988e</code></a> - Fix bug where ImageEditor always sends empty layers list to the backend. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10297">#10297</a> <a href="https://github.com/gradio-app/gradio/commit/1e253ff127e97c18852a32cbc1269494c6cee017"><code>1e253ff</code></a> - Fix test_subclass_conversion with numpy==2.x. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> </ul> <h2>5.10.0</h2> <h3>Features</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10203">#10203</a> <a href="https://github.com/gradio-app/gradio/commit/c3a9e647381f787085662828747e6ac61f8a0c01"><code>c3a9e64</code></a> - Allow editing chatbot messages. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10272">#10272</a> <a href="https://github.com/gradio-app/gradio/commit/a1f2649586752a013fb4d36b83d5fea2e137bb81"><code>a1f2649</code></a> - Chat Interface flagging and chatbot feedback. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10225">#10225</a> <a href="https://github.com/gradio-app/gradio/commit/f0cf3b789a4ebb5ac2e33243fea80c6c6f080d42"><code>f0cf3b7</code></a> - Dataframe support in Chatbot. Thanks <a href="https://github.com/dawoodkhan82"><code>@dawoodkhan82</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10292">#10292</a> <a href="https://github.com/gradio-app/gradio/commit/f2bd72f9ef23552f0c6018396320eca9baef04f5"><code>f2bd72f</code></a> - Reset flagged values when switching conversations in chat history. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10191">#10191</a> <a href="https://github.com/gradio-app/gradio/commit/5ce28324971e974ae24dc9a229b2160793140fb2"><code>5ce2832</code></a> - Support saving chat history in <code>gr.ChatInterface</code>. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10197">#10197</a> <a href="https://github.com/gradio-app/gradio/commit/a95f8ef3ee2663cf502129e829493a44b2641613"><code>a95f8ef</code></a> - Add support for returning multiple messages from <code>gr.ChatInterface</code> chat function. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10186">#10186</a> <a href="https://github.com/gradio-app/gradio/commit/9b17032a6564c8bda4ab1749989a9797c670919c"><code>9b17032</code></a> - Add Microphone Input to MultimodalTextbox. Thanks <a href="https://github.com/dawoodkhan82"><code>@dawoodkhan82</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10192">#10192</a> <a href="https://github.com/gradio-app/gradio/commit/4fc7fb777c42af537e4af612423fa44029657d41"><code>4fc7fb7</code></a> - Ensure components can be remounted with their previous data. Thanks <a href="https://github.com/pngwn"><code>@pngwn</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10187">#10187</a> <a href="https://github.com/gradio-app/gradio/commit/64d1864f8fb6f2d0b274fcf7bd47bdb1f6a77980"><code>64d1864</code></a> - <code>manifest json</code> for PWA. Thanks <a href="https://github.com/whitphx"><code>@whitphx</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10262">#10262</a> <a href="https://github.com/gradio-app/gradio/commit/f3bedd4011bdfdecc952eb1275a9dd96af3e8d71"><code>f3bedd4</code></a> - add gr.Success and update windows contributing. Thanks <a href="https://github.com/not-lain"><code>@not-lain</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10254">#10254</a> <a href="https://github.com/gradio-app/gradio/commit/da0770748db9ea40194a43c9138ee2c6536b1247"><code>da07707</code></a> - Add a <code>settings</code> link to the footer with i18n options & pwa instructions. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/9984">#9984</a> <a href="https://github.com/gradio-app/gradio/commit/45df1b1978e597546a208ecbf5b3aca56137edc5"><code>45df1b1</code></a> - Lite: Capture stdout and stderr from the main thread. Thanks <a href="https://github.com/whitphx"><code>@whitphx</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10210">#10210</a> <a href="https://github.com/gradio-app/gradio/commit/13a83e5001e29594990d61569887cb8562744964"><code>13a83e5</code></a> - Allow reordering files in gr.File. Thanks <a href="https://github.com/hannahblair"><code>@hannahblair</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10221">#10221</a> <a href="https://github.com/gradio-app/gradio/commit/506bd2884a9790fb6f8dbf5684576e80d2b8ee64"><code>506bd28</code></a> - Update Guides related to deploying Gradio chatbots to Discord, Slack, and website widgets. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10229">#10229</a> <a href="https://github.com/gradio-app/gradio/commit/1be31c14e2a6884a60babf690cfded560bca5144"><code>1be31c1</code></a> - Allow editable ChatInterface. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10245">#10245</a> <a href="https://github.com/gradio-app/gradio/commit/3e4e0de51a2ece9a1cab70a69c065bda685569e8"><code>3e4e0de</code></a> - Add <code>gr.BrowserState</code> change event. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10222">#10222</a> <a href="https://github.com/gradio-app/gradio/commit/9c6d83d12e4b67c5638ba67281c6f018052c5b3e"><code>9c6d83d</code></a> - gr.load_chat: Allow loading any openai-compatible server immediately as a ChatInterface. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10214">#10214</a> <a href="https://github.com/gradio-app/gradio/commit/501adefd0c3d5769055ef2156c85e586eb60bf84"><code>501adef</code></a> - Some agent low-hanging issues. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10290">#10290</a> <a href="https://github.com/gradio-app/gradio/commit/99123e75f5f1c222d70bd86cd37dbc4450c62cba"><code>99123e7</code></a> - Fixed warning about not being able to find the app for some pattern. Thanks <a href="https://github.com/YanSte"><code>@YanSte</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10269">#10269</a> <a href="https://github.com/gradio-app/gradio/commit/890eaa3a9e53dab5bcb16c5d017ae0470109b8fb"><code>890eaa3</code></a> - Allow displaying SVG images securely in <code>gr.Image</code> and <code>gr.Gallery</code> components. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10209">#10209</a> <a href="https://github.com/gradio-app/gradio/commit/2700d1898bc8eeb3fd9f65ce77be17c2614a388f"><code>2700d18</code></a> - Ensure the <code>height</code> param in <code>gr.File</code> works as expected. Thanks <a href="https://github.com/hannahblair"><code>@hannahblair</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10235">#10235</a> <a href="https://github.com/gradio-app/gradio/commit/9285dd9eb842ee05bd8a0fd4f0f9143788096bbc"><code>9285dd9</code></a> - Fix typing for components in <code>gr.Interface</code> and docstring in <code>image.py</code>. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10207">#10207</a> <a href="https://github.com/gradio-app/gradio/commit/314a8b55f57a30806b37fe077b471df97d04245d"><code>314a8b5</code></a> - fix: make sure <code>comp.instance</code> exists. Thanks <a href="https://github.com/Col0ring"><code>@Col0ring</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10238">#10238</a> <a href="https://github.com/gradio-app/gradio/commit/3f192100d6997751d0246b396a4fd8eaa86a826b"><code>3f19210</code></a> - Declare exports in <strong>all</strong> for type checking. Thanks <a href="https://github.com/dustalov"><code>@dustalov</code></a>!</li> </ul> <h2>5.9.1</h2> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10212">#10212</a> <a href="https://github.com/gradio-app/gradio/commit/3d8fc42c94034a29edbc43852937684b478d4667"><code>3d8fc42</code></a> - Fix render trigger. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gradio-app/gradio/commit/e606d92f111ffb2c620e771f1966ef71134a707e"><code>e606d92</code></a> chore: update versions (<a href="https://redirect.github.com/gradio-app/gradio/issues/10302">#10302</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/84e72e401cdc97a91086301d2b25164e7d15623a"><code>84e72e4</code></a> Restore chat interface full height (<a href="https://redirect.github.com/gradio-app/gradio/issues/10314">#10314</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/f19ca89cdd4040dbaa41bbc3b9915edc032603a0"><code>f19ca89</code></a> Add preview_open and preview_close events to Gallery (<a href="https://redirect.github.com/gradio-app/gradio/issues/10303">#10303</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8"><code>6b63fde</code></a> Blocked Paths Fix (<a href="https://redirect.github.com/gradio-app/gradio/issues/10304">#10304</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/345851d7a071b59f0e9b2cefd8c720a6747e9918"><code>345851d</code></a> Add CODE_OF_CONDUCT file (<a href="https://redirect.github.com/gradio-app/gradio/issues/10311">#10311</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/9fc988ebaf4bea24b71308922bb1889f1d3f4f6e"><code>9fc988e</code></a> Fix bug where ImageEditor always sends empty layers list to the backend (<a href="https://redirect.github.com/gradio-app/gradio/issues/10306">#10306</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/1e253ff127e97c18852a32cbc1269494c6cee017"><code>1e253ff</code></a> Fix test_subclass_conversion with numpy==2.x (<a href="https://redirect.github.com/gradio-app/gradio/issues/10297">#10297</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/135630e187355e8938f7fb394ed7ba872023bfd4"><code>135630e</code></a> chore: update versions (<a href="https://redirect.github.com/gradio-app/gradio/issues/10218">#10218</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/f2bd72f9ef23552f0c6018396320eca9baef04f5"><code>f2bd72f</code></a> Reset flagged values when switching conversations in chat history (<a href="https://redirect.github.com/gradio-app/gradio/issues/10292">#10292</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/890eaa3a9e53dab5bcb16c5d017ae0470109b8fb"><code>890eaa3</code></a> Allow displaying SVG images securely in <code>gr.Image</code> and <code>gr.Gallery</code> component...</li> <li>Additional commits viewable in <a href="https://github.com/gradio-app/gradio/compare/gradio@5.5.0...gradio@5.11.0">compare view</a></li> </ul> </details> <br /> Updates `deepspeed` from 0.9.5 to 0.15.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/DeepSpeed/releases">deepspeed's releases</a>.</em></p> <blockquote> <h2>v0.15.1 Patch release</h2> <h2>What's Changed</h2> <ul> <li>Update version.txt after 0.15.0 release by <a href="https://github.com/loadams"><code>@loadams</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6403">microsoft/DeepSpeed#6403</a></li> <li>Fix Type Mismatch by <a href="https://github.com/jomayeri"><code>@jomayeri</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6410">microsoft/DeepSpeed#6410</a></li> <li>Fix redundant seq data parallel grp argument in Z3/MiCS by <a href="https://github.com/samadejacobs"><code>@samadejacobs</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5352">microsoft/DeepSpeed#5352</a></li> <li>add Huawei Ascend NPU setup guide by <a href="https://github.com/xuedinge233"><code>@xuedinge233</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6445">microsoft/DeepSpeed#6445</a></li> <li>Add documentation for launcher without SSH by <a href="https://github.com/dogacancolak-kensho"><code>@dogacancolak-kensho</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6455">microsoft/DeepSpeed#6455</a></li> <li>Dtype support check for accelerator in UTs by <a href="https://github.com/raza-sikander"><code>@raza-sikander</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6360">microsoft/DeepSpeed#6360</a></li> <li>Store/Load CIFAR from local/offline by <a href="https://github.com/raza-sikander"><code>@raza-sikander</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6390">microsoft/DeepSpeed#6390</a></li> <li>Add the accelerator setup guide link in Getting Started page by <a href="https://github.com/rogerxfeng8"><code>@rogerxfeng8</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6452">microsoft/DeepSpeed#6452</a></li> <li>Allow triton==3.0.x for fp_quantizer by <a href="https://github.com/siddartha-RE"><code>@siddartha-RE</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6447">microsoft/DeepSpeed#6447</a></li> <li>Change GDS to 1 AIO thread by <a href="https://github.com/jomayeri"><code>@jomayeri</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6459">microsoft/DeepSpeed#6459</a></li> <li>[CCL] fix condition issue in ccl.py by <a href="https://github.com/YizhouZ"><code>@YizhouZ</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6443">microsoft/DeepSpeed#6443</a></li> <li>Avoid gds build errors on ROCm by <a href="https://github.com/rraminen"><code>@rraminen</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6456">microsoft/DeepSpeed#6456</a></li> <li>TestLowCpuMemUsage UT get device by device_name by <a href="https://github.com/raza-sikander"><code>@raza-sikander</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6397">microsoft/DeepSpeed#6397</a></li> <li>Add workflow to build DS without torch to better test before releases by <a href="https://github.com/loadams"><code>@loadams</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6450">microsoft/DeepSpeed#6450</a></li> <li>Fix patch for parameter partitioning in zero.Init() by <a href="https://github.com/tohtana"><code>@tohtana</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6388">microsoft/DeepSpeed#6388</a></li> <li>Add default value to "checkpoint_folder" in "load_state_dict" of bf16_optimizer by <a href="https://github.com/ljcc0930"><code>@ljcc0930</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6446">microsoft/DeepSpeed#6446</a></li> <li>DeepNVMe tutorial by <a href="https://github.com/tjruwase"><code>@tjruwase</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6449">microsoft/DeepSpeed#6449</a></li> <li>bf16_optimizer: fixes to different grad acc dtype by <a href="https://github.com/nelyahu"><code>@nelyahu</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6485">microsoft/DeepSpeed#6485</a></li> <li>print warning if actual triton cache dir is on NFS, not just for default by <a href="https://github.com/jrandall"><code>@jrandall</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6487">microsoft/DeepSpeed#6487</a></li> <li>DS_BUILD_OPS should build only compatible ops by <a href="https://github.com/tjruwase"><code>@tjruwase</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6489">microsoft/DeepSpeed#6489</a></li> <li>Safe usage of popen by <a href="https://github.com/tjruwase"><code>@tjruwase</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6490">microsoft/DeepSpeed#6490</a></li> <li>Handle an edge case where <code>CUDA_HOME</code> is not defined on ROCm systems by <a href="https://github.com/amorehead"><code>@amorehead</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6488">microsoft/DeepSpeed#6488</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/xuedinge233"><code>@xuedinge233</code></a> made their first contribution in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6445">microsoft/DeepSpeed#6445</a></li> <li><a href="https://github.com/siddartha-RE"><code>@siddartha-RE</code></a> made their first contribution in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6447">microsoft/DeepSpeed#6447</a></li> <li><a href="https://github.com/ljcc0930"><code>@ljcc0930</code></a> made their first contribution in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6446">microsoft/DeepSpeed#6446</a></li> <li><a href="https://github.com/jrandall"><code>@jrandall</code></a> made their first contribution in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6487">microsoft/DeepSpeed#6487</a></li> <li><a href="https://github.com/amorehead"><code>@amorehead</code></a> made their first contribution in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6488">microsoft/DeepSpeed#6488</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/microsoft/DeepSpeed/compare/v0.15.0...v0.15.1">https://github.com/microsoft/DeepSpeed/compare/v0.15.0...v0.15.1</a></p> <h2>DeepSpeed v0.15.0</h2> <h2>What's Changed</h2> <ul> <li>Update version.txt after 0.14.5 release by <a href="https://github.com/loadams"><code>@loadams</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5982">microsoft/DeepSpeed#5982</a></li> <li>move pynvml install to setup.py by <a href="https://github.com/Rohan138"><code>@Rohan138</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5840">microsoft/DeepSpeed#5840</a></li> <li>add moe topk(k>2) gate support by <a href="https://github.com/inkcherry"><code>@inkcherry</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5881">microsoft/DeepSpeed#5881</a></li> <li>Move inf_or_nan_tracker to cpu for cpu offload by <a href="https://github.com/BacharL"><code>@BacharL</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5826">microsoft/DeepSpeed#5826</a></li> <li>Enable dynamic shapes for pipeline parallel engine inputs by <a href="https://github.com/tohtana"><code>@tohtana</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5481">microsoft/DeepSpeed#5481</a></li> <li>Add and Remove ZeRO 3 Hooks by <a href="https://github.com/jomayeri"><code>@jomayeri</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5658">microsoft/DeepSpeed#5658</a></li> <li>DeepNVMe GDS by <a href="https://github.com/jomayeri"><code>@jomayeri</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5852">microsoft/DeepSpeed#5852</a></li> <li>Pin transformers version on nv-nightly by <a href="https://github.com/loadams"><code>@loadams</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6002">microsoft/DeepSpeed#6002</a></li> <li>DeepSpeed on Window blog by <a href="https://github.com/tjruwase"><code>@tjruwase</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6364">microsoft/DeepSpeed#6364</a></li> <li>Bug Fix 5880 by <a href="https://github.com/jomayeri"><code>@jomayeri</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6378">microsoft/DeepSpeed#6378</a></li> <li>Update linear.py compatible with torch 2.4.0 by <a href="https://github.com/terry-for-github"><code>@terry-for-github</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5811">microsoft/DeepSpeed#5811</a></li> <li>GDS Swapping Fix by <a href="https://github.com/jomayeri"><code>@jomayeri</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6386">microsoft/DeepSpeed#6386</a></li> <li>Long sequence parallelism (Ulysses) integration with HuggingFace by <a href="https://github.com/samadejacobs"><code>@samadejacobs</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5774">microsoft/DeepSpeed#5774</a></li> <li>reduce cpu host overhead when using moe by <a href="https://github.com/ranzhejiang"><code>@ranzhejiang</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5578">microsoft/DeepSpeed#5578</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/DeepSpeed/commit/10ba3dde84d00742f3635c48db09d6eccf0ec8bb"><code>10ba3dd</code></a> Handle an edge case where <code>CUDA_HOME</code> is not defined on ROCm systems (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6488">#6488</a>)</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/662a421b05432045280c27726592715c1e9100c7"><code>662a421</code></a> Safe usage of popen (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6490">#6490</a>)</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/ddd357182371d38bd65a7a2026952e55b46380da"><code>ddd3571</code></a> Add default value to "checkpoint_folder" in "load_state_dict" of bf16_optimiz...</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/5d1a30c0331357e48e8c4d636d286f26686f1f17"><code>5d1a30c</code></a> DS_BUILD_OPS should build only compatible ops (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6489">#6489</a>)</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/ddeb0c19a006fd7b632e82655051073ac100a9b4"><code>ddeb0c1</code></a> Fix patch for parameter partitioning in zero.Init() (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6388">#6388</a>)</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/9d17116fcdb44b81eb00d3bce91431dc35cd69b1"><code>9d17116</code></a> print warning if actual triton cache dir is on NFS, not just for default (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6487">#6487</a>)</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/5df12a4a8559852c19d6423fca54d828846addc1"><code>5df12a4</code></a> DeepNVMe tutorial (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6449">#6449</a>)</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/cfc6ed3722e54480af54899a2eea05cebd238090"><code>cfc6ed3</code></a> bf16_optimizer: fixes to different grad acc dtype (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6485">#6485</a>)</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/9b7fc5452471392b0f58844219fcfdd14a9cdc77"><code>9b7fc54</code></a> Add workflow to build DS without torch to better test before releases (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6450">#6450</a>)</li> <li><a href="https://github.com/microsoft/DeepSpeed/commit/89c4d9f5a73d06eb8db8037d61188c628ceeba51"><code>89c4d9f</code></a> TestLowCpuMemUsage UT get device by device_name (<a href="https://redirect.github.com/microsoft/DeepSpeed/issues/6397">#6397</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/DeepSpeed/compare/v0.9.5...v0.15.1">compare view</a></li> </ul> </details> <br /> Updates `gradio` from 5.5.0 to 5.11.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gradio-app/gradio/releases">gradio's releases</a>.</em></p> <blockquote> <h2>gradio@5.11.0</h2> <h3>Features</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10304">#10304</a> <a href="https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8"><code>6b63fde</code></a> - Blocked Paths Fix. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10303">#10303</a> <a href="https://github.com/gradio-app/gradio/commit/f19ca89cdd4040dbaa41bbc3b9915edc032603a0"><code>f19ca89</code></a> - Add preview_open and preview_close events to Gallery. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10314">#10314</a> <a href="https://github.com/gradio-app/gradio/commit/84e72e401cdc97a91086301d2b25164e7d15623a"><code>84e72e4</code></a> - Restore chat interface full height. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10306">#10306</a> <a href="https://github.com/gradio-app/gradio/commit/9fc988ebaf4bea24b71308922bb1889f1d3f4f6e"><code>9fc988e</code></a> - Fix bug where ImageEditor always sends empty layers list to the backend. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10297">#10297</a> <a href="https://github.com/gradio-app/gradio/commit/1e253ff127e97c18852a32cbc1269494c6cee017"><code>1e253ff</code></a> - Fix test_subclass_conversion with numpy==2.x. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> </ul> <h2>gradio@5.10.0</h2> <h3>Features</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10203">#10203</a> <a href="https://github.com/gradio-app/gradio/commit/c3a9e647381f787085662828747e6ac61f8a0c01"><code>c3a9e64</code></a> - Allow editing chatbot messages. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10272">#10272</a> <a href="https://github.com/gradio-app/gradio/commit/a1f2649586752a013fb4d36b83d5fea2e137bb81"><code>a1f2649</code></a> - Chat Interface flagging and chatbot feedback. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10225">#10225</a> <a href="https://github.com/gradio-app/gradio/commit/f0cf3b789a4ebb5ac2e33243fea80c6c6f080d42"><code>f0cf3b7</code></a> - Dataframe support in Chatbot. Thanks <a href="https://github.com/dawoodkhan82"><code>@dawoodkhan82</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10292">#10292</a> <a href="https://github.com/gradio-app/gradio/commit/f2bd72f9ef23552f0c6018396320eca9baef04f5"><code>f2bd72f</code></a> - Reset flagged values when switching conversations in chat history. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10191">#10191</a> <a href="https://github.com/gradio-app/gradio/commit/5ce28324971e974ae24dc9a229b2160793140fb2"><code>5ce2832</code></a> - Support saving chat history in <code>gr.ChatInterface</code>. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10197">#10197</a> <a href="https://github.com/gradio-app/gradio/commit/a95f8ef3ee2663cf502129e829493a44b2641613"><code>a95f8ef</code></a> - Add support for returning multiple messages from <code>gr.ChatInterface</code> chat function. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10186">#10186</a> <a href="https://github.com/gradio-app/gradio/commit/9b17032a6564c8bda4ab1749989a9797c670919c"><code>9b17032</code></a> - Add Microphone Input to MultimodalTextbox. Thanks <a href="https://github.com/dawoodkhan82"><code>@dawoodkhan82</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10192">#10192</a> <a href="https://github.com/gradio-app/gradio/commit/4fc7fb777c42af537e4af612423fa44029657d41"><code>4fc7fb7</code></a> - Ensure components can be remounted with their previous data. Thanks <a href="https://github.com/pngwn"><code>@pngwn</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10187">#10187</a> <a href="https://github.com/gradio-app/gradio/commit/64d1864f8fb6f2d0b274fcf7bd47bdb1f6a77980"><code>64d1864</code></a> - <code>manifest json</code> for PWA. Thanks <a href="https://github.com/whitphx"><code>@whitphx</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10262">#10262</a> <a href="https://github.com/gradio-app/gradio/commit/f3bedd4011bdfdecc952eb1275a9dd96af3e8d71"><code>f3bedd4</code></a> - add gr.Success and update windows contributing. Thanks <a href="https://github.com/not-lain"><code>@not-lain</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10254">#10254</a> <a href="https://github.com/gradio-app/gradio/commit/da0770748db9ea40194a43c9138ee2c6536b1247"><code>da07707</code></a> - Add a <code>settings</code> link to the footer with i18n options & pwa instructions. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/9984">#9984</a> <a href="https://github.com/gradio-app/gradio/commit/45df1b1978e597546a208ecbf5b3aca56137edc5"><code>45df1b1</code></a> - Lite: Capture stdout and stderr from the main thread. Thanks <a href="https://github.com/whitphx"><code>@whitphx</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10210">#10210</a> <a href="https://github.com/gradio-app/gradio/commit/13a83e5001e29594990d61569887cb8562744964"><code>13a83e5</code></a> - Allow reordering files in gr.File. Thanks <a href="https://github.com/hannahblair"><code>@hannahblair</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10221">#10221</a> <a href="https://github.com/gradio-app/gradio/commit/506bd2884a9790fb6f8dbf5684576e80d2b8ee64"><code>506bd28</code></a> - Update Guides related to deploying Gradio chatbots to Discord, Slack, and website widgets. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10229">#10229</a> <a href="https://github.com/gradio-app/gradio/commit/1be31c14e2a6884a60babf690cfded560bca5144"><code>1be31c1</code></a> - Allow editable ChatInterface. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10245">#10245</a> <a href="https://github.com/gradio-app/gradio/commit/3e4e0de51a2ece9a1cab70a69c065bda685569e8"><code>3e4e0de</code></a> - Add <code>gr.BrowserState</code> change event. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10222">#10222</a> <a href="https://github.com/gradio-app/gradio/commit/9c6d83d12e4b67c5638ba67281c6f018052c5b3e"><code>9c6d83d</code></a> - gr.load_chat: Allow loading any openai-compatible server immediately as a ChatInterface. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10214">#10214</a> <a href="https://github.com/gradio-app/gradio/commit/501adefd0c3d5769055ef2156c85e586eb60bf84"><code>501adef</code></a> - Some agent low-hanging issues. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10290">#10290</a> <a href="https://github.com/gradio-app/gradio/commit/99123e75f5f1c222d70bd86cd37dbc4450c62cba"><code>99123e7</code></a> - Fixed warning about not being able to find the app for some pattern. Thanks <a href="https://github.com/YanSte"><code>@YanSte</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10269">#10269</a> <a href="https://github.com/gradio-app/gradio/commit/890eaa3a9e53dab5bcb16c5d017ae0470109b8fb"><code>890eaa3</code></a> - Allow displaying SVG images securely in <code>gr.Image</code> and <code>gr.Gallery</code> components. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10209">#10209</a> <a href="https://github.com/gradio-app/gradio/commit/2700d1898bc8eeb3fd9f65ce77be17c2614a388f"><code>2700d18</code></a> - Ensure the <code>height</code> param in <code>gr.File</code> works as expected. Thanks <a href="https://github.com/hannahblair"><code>@hannahblair</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10235">#10235</a> <a href="https://github.com/gradio-app/gradio/commit/9285dd9eb842ee05bd8a0fd4f0f9143788096bbc"><code>9285dd9</code></a> - Fix typing for components in <code>gr.Interface</code> and docstring in <code>image.py</code>. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10207">#10207</a> <a href="https://github.com/gradio-app/gradio/commit/314a8b55f57a30806b37fe077b471df97d04245d"><code>314a8b5</code></a> - fix: make sure <code>comp.instance</code> exists. Thanks <a href="https://github.com/Col0ring"><code>@Col0ring</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10238">#10238</a> <a href="https://github.com/gradio-app/gradio/commit/3f192100d6997751d0246b396a4fd8eaa86a826b"><code>3f19210</code></a> - Declare exports in <strong>all</strong> for type checking. Thanks <a href="https://github.com/dustalov"><code>@dustalov</code></a>!</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md">gradio's changelog</a>.</em></p> <blockquote> <h2>5.11.0</h2> <h3>Features</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10304">#10304</a> <a href="https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8"><code>6b63fde</code></a> - Blocked Paths Fix. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10303">#10303</a> <a href="https://github.com/gradio-app/gradio/commit/f19ca89cdd4040dbaa41bbc3b9915edc032603a0"><code>f19ca89</code></a> - Add preview_open and preview_close events to Gallery. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10314">#10314</a> <a href="https://github.com/gradio-app/gradio/commit/84e72e401cdc97a91086301d2b25164e7d15623a"><code>84e72e4</code></a> - Restore chat interface full height. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10306">#10306</a> <a href="https://github.com/gradio-app/gradio/commit/9fc988ebaf4bea24b71308922bb1889f1d3f4f6e"><code>9fc988e</code></a> - Fix bug where ImageEditor always sends empty layers list to the backend. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10297">#10297</a> <a href="https://github.com/gradio-app/gradio/commit/1e253ff127e97c18852a32cbc1269494c6cee017"><code>1e253ff</code></a> - Fix test_subclass_conversion with numpy==2.x. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> </ul> <h2>5.10.0</h2> <h3>Features</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10203">#10203</a> <a href="https://github.com/gradio-app/gradio/commit/c3a9e647381f787085662828747e6ac61f8a0c01"><code>c3a9e64</code></a> - Allow editing chatbot messages. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10272">#10272</a> <a href="https://github.com/gradio-app/gradio/commit/a1f2649586752a013fb4d36b83d5fea2e137bb81"><code>a1f2649</code></a> - Chat Interface flagging and chatbot feedback. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10225">#10225</a> <a href="https://github.com/gradio-app/gradio/commit/f0cf3b789a4ebb5ac2e33243fea80c6c6f080d42"><code>f0cf3b7</code></a> - Dataframe support in Chatbot. Thanks <a href="https://github.com/dawoodkhan82"><code>@dawoodkhan82</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10292">#10292</a> <a href="https://github.com/gradio-app/gradio/commit/f2bd72f9ef23552f0c6018396320eca9baef04f5"><code>f2bd72f</code></a> - Reset flagged values when switching conversations in chat history. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10191">#10191</a> <a href="https://github.com/gradio-app/gradio/commit/5ce28324971e974ae24dc9a229b2160793140fb2"><code>5ce2832</code></a> - Support saving chat history in <code>gr.ChatInterface</code>. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10197">#10197</a> <a href="https://github.com/gradio-app/gradio/commit/a95f8ef3ee2663cf502129e829493a44b2641613"><code>a95f8ef</code></a> - Add support for returning multiple messages from <code>gr.ChatInterface</code> chat function. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10186">#10186</a> <a href="https://github.com/gradio-app/gradio/commit/9b17032a6564c8bda4ab1749989a9797c670919c"><code>9b17032</code></a> - Add Microphone Input to MultimodalTextbox. Thanks <a href="https://github.com/dawoodkhan82"><code>@dawoodkhan82</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10192">#10192</a> <a href="https://github.com/gradio-app/gradio/commit/4fc7fb777c42af537e4af612423fa44029657d41"><code>4fc7fb7</code></a> - Ensure components can be remounted with their previous data. Thanks <a href="https://github.com/pngwn"><code>@pngwn</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10187">#10187</a> <a href="https://github.com/gradio-app/gradio/commit/64d1864f8fb6f2d0b274fcf7bd47bdb1f6a77980"><code>64d1864</code></a> - <code>manifest json</code> for PWA. Thanks <a href="https://github.com/whitphx"><code>@whitphx</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10262">#10262</a> <a href="https://github.com/gradio-app/gradio/commit/f3bedd4011bdfdecc952eb1275a9dd96af3e8d71"><code>f3bedd4</code></a> - add gr.Success and update windows contributing. Thanks <a href="https://github.com/not-lain"><code>@not-lain</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10254">#10254</a> <a href="https://github.com/gradio-app/gradio/commit/da0770748db9ea40194a43c9138ee2c6536b1247"><code>da07707</code></a> - Add a <code>settings</code> link to the footer with i18n options & pwa instructions. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/9984">#9984</a> <a href="https://github.com/gradio-app/gradio/commit/45df1b1978e597546a208ecbf5b3aca56137edc5"><code>45df1b1</code></a> - Lite: Capture stdout and stderr from the main thread. Thanks <a href="https://github.com/whitphx"><code>@whitphx</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10210">#10210</a> <a href="https://github.com/gradio-app/gradio/commit/13a83e5001e29594990d61569887cb8562744964"><code>13a83e5</code></a> - Allow reordering files in gr.File. Thanks <a href="https://github.com/hannahblair"><code>@hannahblair</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10221">#10221</a> <a href="https://github.com/gradio-app/gradio/commit/506bd2884a9790fb6f8dbf5684576e80d2b8ee64"><code>506bd28</code></a> - Update Guides related to deploying Gradio chatbots to Discord, Slack, and website widgets. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10229">#10229</a> <a href="https://github.com/gradio-app/gradio/commit/1be31c14e2a6884a60babf690cfded560bca5144"><code>1be31c1</code></a> - Allow editable ChatInterface. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10245">#10245</a> <a href="https://github.com/gradio-app/gradio/commit/3e4e0de51a2ece9a1cab70a69c065bda685569e8"><code>3e4e0de</code></a> - Add <code>gr.BrowserState</code> change event. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10222">#10222</a> <a href="https://github.com/gradio-app/gradio/commit/9c6d83d12e4b67c5638ba67281c6f018052c5b3e"><code>9c6d83d</code></a> - gr.load_chat: Allow loading any openai-compatible server immediately as a ChatInterface. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10214">#10214</a> <a href="https://github.com/gradio-app/gradio/commit/501adefd0c3d5769055ef2156c85e586eb60bf84"><code>501adef</code></a> - Some agent low-hanging issues. Thanks <a href="https://github.com/freddyaboulton"><code>@freddyaboulton</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10290">#10290</a> <a href="https://github.com/gradio-app/gradio/commit/99123e75f5f1c222d70bd86cd37dbc4450c62cba"><code>99123e7</code></a> - Fixed warning about not being able to find the app for some pattern. Thanks <a href="https://github.com/YanSte"><code>@YanSte</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10269">#10269</a> <a href="https://github.com/gradio-app/gradio/commit/890eaa3a9e53dab5bcb16c5d017ae0470109b8fb"><code>890eaa3</code></a> - Allow displaying SVG images securely in <code>gr.Image</code> and <code>gr.Gallery</code> components. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10209">#10209</a> <a href="https://github.com/gradio-app/gradio/commit/2700d1898bc8eeb3fd9f65ce77be17c2614a388f"><code>2700d18</code></a> - Ensure the <code>height</code> param in <code>gr.File</code> works as expected. Thanks <a href="https://github.com/hannahblair"><code>@hannahblair</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10235">#10235</a> <a href="https://github.com/gradio-app/gradio/commit/9285dd9eb842ee05bd8a0fd4f0f9143788096bbc"><code>9285dd9</code></a> - Fix typing for components in <code>gr.Interface</code> and docstring in <code>image.py</code>. Thanks <a href="https://github.com/abidlabs"><code>@abidlabs</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10207">#10207</a> <a href="https://github.com/gradio-app/gradio/commit/314a8b55f57a30806b37fe077b471df97d04245d"><code>314a8b5</code></a> - fix: make sure <code>comp.instance</code> exists. Thanks <a href="https://github.com/Col0ring"><code>@Col0ring</code></a>!</li> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10238">#10238</a> <a href="https://github.com/gradio-app/gradio/commit/3f192100d6997751d0246b396a4fd8eaa86a826b"><code>3f19210</code></a> - Declare exports in <strong>all</strong> for type checking. Thanks <a href="https://github.com/dustalov"><code>@dustalov</code></a>!</li> </ul> <h2>5.9.1</h2> <h3>Fixes</h3> <ul> <li><a href="https://redirect.github.com/gradio-app/gradio/pull/10212">#10212</a> <a href="https://github.com/gradio-app/gradio/commit/3d8fc42c94034a29edbc43852937684b478d4667"><code>3d8fc42</code></a> - Fix render trigger. Thanks <a href="https://github.com/aliabid94"><code>@aliabid94</code></a>!</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gradio-app/gradio/commit/e606d92f111ffb2c620e771f1966ef71134a707e"><code>e606d92</code></a> chore: update versions (<a href="https://redirect.github.com/gradio-app/gradio/issues/10302">#10302</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/84e72e401cdc97a91086301d2b25164e7d15623a"><code>84e72e4</code></a> Restore chat interface full height (<a href="https://redirect.github.com/gradio-app/gradio/issues/10314">#10314</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/f19ca89cdd4040dbaa41bbc3b9915edc032603a0"><code>f19ca89</code></a> Add preview_open and preview_close events to Gallery (<a href="https://redirect.github.com/gradio-app/gradio/issues/10303">#10303</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8"><code>6b63fde</code></a> Blocked Paths Fix (<a href="https://redirect.github.com/gradio-app/gradio/issues/10304">#10304</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/345851d7a071b59f0e9b2cefd8c720a6747e9918"><code>345851d</code></a> Add CODE_OF_CONDUCT file (<a href="https://redirect.github.com/gradio-app/gradio/issues/10311">#10311</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/9fc988ebaf4bea24b71308922bb1889f1d3f4f6e"><code>9fc988e</code></a> Fix bug where ImageEditor always sends empty layers list to the backend (<a href="https://redirect.github.com/gradio-app/gradio/issues/10306">#10306</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/1e253ff127e97c18852a32cbc1269494c6cee017"><code>1e253ff</code></a> Fix test_subclass_conversion with numpy==2.x (<a href="https://redirect.github.com/gradio-app/gradio/issues/10297">#10297</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/135630e187355e8938f7fb394ed7ba872023bfd4"><code>135630e</code></a> chore: update versions (<a href="https://redirect.github.com/gradio-app/gradio/issues/10218">#10218</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/f2bd72f9ef23552f0c6018396320eca9baef04f5"><code>f2bd72f</code></a> Reset flagged values when switching conversations in chat history (<a href="https://redirect.github.com/gradio-app/gradio/issues/10292">#10292</a>)</li> <li><a href="https://github.com/gradio-app/gradio/commit/890eaa3a9e53dab5bcb16c5d017ae0470109b8fb"><code>890eaa3</code></a> Allow displaying SVG images securely in <code>gr.Image</code> and <code>gr.Gallery</code> component...</li> <li>Additional commits viewable in <a href="https://github.com/gradio-app/gradio/compare/gradio@5.5.0...gradio@5.11.0">compare view</a></li> </ul> </details> <br /> Updates `deepspeed` from 0.15.1 to 0.16.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/DeepSpeed/releases">deepspeed's releases</a>.</em></p> <blockquote> <h2>v0.15.1 Patch release</h2> <h2>What's Changed</h2> <ul> <li>Update version.txt after 0.15.0 release by <a href="https://github.com/loadams"><code>@loadams</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6403">microsoft/DeepSpeed#6403</a></li> <li>Fix Type Mismatch by <a href="https://github.com/jomayeri"><code>@jomayeri</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6410">microsoft/DeepSpeed#6410</a></li> <li>Fix redundant seq data parallel grp argument in Z3/MiCS by <a href="https://github.com/samadejacobs"><code>@samadejacobs</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/5352">microsoft/DeepSpeed#5352</a></li> <li>add Huawei Ascend NPU setup guide by <a href="https://github.com/xuedinge233"><code>@xuedinge233</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6445">microsoft/DeepSpeed#6445</a></li> <li>Add documentation for launcher without SSH by <a href="https://github.com/dogacancolak-kensho"><code>@dogacancolak-kensho</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6455">microsoft/DeepSpeed#6455</a></li> <li>Dtype support check for accelerator in UTs by <a href="https://github.com/raza-sikander"><code>@raza-sikander</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6360">microsoft/DeepSpeed#6360</a></li> <li>Store/Load CIFAR from local/offline by <a href="https://github.com/raza-sikander"><code>@raza-sikander</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6390">microsoft/DeepSpeed#6390</a></li> <li>Add the accelerator setup guide link in Getting Started page by <a href="https://github.com/rogerxfeng8"><code>@rogerxfeng8</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6452">microsoft/DeepSpeed#6452</a></li> <li>Allow triton==3.0.x for fp_quantizer by <a href="https://github.com/siddartha-RE"><code>@siddartha-RE</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6447">microsoft/DeepSpeed#6447</a></li> <li>Change GDS to 1 AIO thread by <a href="https://github.com/jomayeri"><code>@jomayeri</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6459">microsoft/DeepSpeed#6459</a></li> <li>[CCL] fix condition issue in ccl.py by <a href="https://github.com/YizhouZ"><code>@YizhouZ</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6443">microsoft/DeepSpeed#6443</a></li> <li>Avoid gds build errors on ROCm by <a href="https://github.com/rraminen"><code>@rraminen</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6456">microsoft/DeepSpeed#6456</a></li> <li>TestLowCpuMemUsage UT get device by device_name by <a href="https://github.com/raza-sikander"><code>@raza-sikander</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6397">microsoft/DeepSpeed#6397</a></li> <li>Add workflow to build DS without torch to better test before releases by <a href="https://github.com/loadams"><code>@loadams</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6450">microsoft/DeepSpeed#6450</a></li> <li>Fix patch for parameter partitioning in zero.Init() by <a href="https://github.com/tohtana"><code>@tohtana</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6388">microsoft/DeepSpeed#6388</a></li> <li>Add default value to "checkpoint_folder" in "load_state_dict" of bf16_optimizer by <a href="https://github.com/ljcc0930"><code>@ljcc0930</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6446">microsoft/DeepSpeed#6446</a></li> <li>DeepNVMe tutorial by <a href="https://github.com/tjruwase"><code>@tjruwase</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6449">microsoft/DeepSpeed#6449</a></li> <li>bf16_optimizer: fixes to different grad acc dtype by <a href="https://github.com/nelyahu"><code>@nelyahu</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6485">microsoft/DeepSpeed#6485</a></li> <li>print warning if actual triton cache dir is on NFS, not just for default by <a href="https://github.com/jrandall"><code>@jrandall</code></a> in <a href="https://redirect.github.com/microsoft/DeepSpeed/pull/6487">microsoft/DeepSpeed#6487</a></li> <li>DS_BUILD_OPS should build only compatible ops by <a href="https://github.com/tjruwase"><code>@tjruwase</code></a> in <a href="https://redirect.github.com/…
Add exception handling to various functions to prevent errors and crashes. * **LLaVaServer.py** - Add exception handling in `receive_complete_data` to handle socket errors. - Add exception handling in `SendToLLaVa` to handle non-multipart email messages. - Add exception handling in `start_server` to handle socket binding errors. * **EmailServer.py** - Add exception handling in `Save_Email_To_Recipient` to handle non-multipart email messages. * **email_handler.py** - Add exception handling in `fetch_recent_emails` to handle email body extraction errors. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword?shareId=XXXX-XXXX-XXXX-XXXX).
Add exception handling to various functions to prevent errors and crashes. * **LLaVaServer.py** - Add exception handling in `receive_complete_data` to handle socket errors. - Add exception handling in `SendToLLaVa` to handle non-multipart email messages. - Add exception handling in `start_server` to handle socket binding errors. * **EmailServer.py** - Add exception handling in `Save_Email_To_Recipient` to handle non-multipart email messages. * **email_handler.py** - Add exception handling in `fetch_recent_emails` to handle email body extraction errors. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword/pull/48?shareId=260c24da-6793-4781-89e5-f5989c7f2e67).
| server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | ||
| server_socket.bind((SERVER_HOST, SERVER_PORT)) | ||
| try: | ||
| server_socket.bind((SERVER_HOST, SERVER_PORT)) |
Check warning
Code scanning / CodeQL
Binding a socket to all network interfaces Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 11 months ago
To fix the problem, we need to bind the server socket to a specific network interface instead of all interfaces. This can be done by replacing '0.0.0.0' with the IP address of the dedicated interface that the server should listen on.
- Identify the specific IP address of the network interface that the server should bind to.
- Replace the '0.0.0.0' value of
SERVER_HOSTwith this specific IP address. - Ensure that the server is still accessible as intended after making this change.
-
Copy modified line R9
| @@ -8,3 +8,3 @@ | ||
| # Server configuration | ||
| SERVER_HOST = '0.0.0.0' | ||
| SERVER_HOST = '192.168.1.100' # Replace with the specific IP address of the dedicated interface | ||
| SERVER_PORT = 1025 |
merge