{"id":15066223,"url":"https://github.com/williamcorsel/torchmenu","last_synced_at":"2025-04-10T13:42:41.222Z","repository":{"id":195196430,"uuid":"692446703","full_name":"williamcorsel/TorchMenu","owner":"williamcorsel","description":"GUI for managing your TorchServe server","archived":false,"fork":false,"pushed_at":"2025-03-25T21:55:22.000Z","size":111,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2025-03-25T22:33:12.249Z","etag":null,"topics":["deployment","gui","mlops","pytorch","torchserve"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williamcorsel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-16T14:01:23.000Z","updated_at":"2025-02-08T15:08:03.000Z","dependencies_parsed_at":"2023-09-30T08:56:13.782Z","dependency_job_id":"cb54cd7a-26b1-468e-815e-e88091ebfb2f","html_url":"https://github.com/williamcorsel/TorchMenu","commit_stats":{"total_commits":45,"total_committers":4,"mean_commits":11.25,"dds":0.5555555555555556,"last_synced_commit":"9e51df27c0d3df475f2583e3011ab237bc06a398"},"previous_names":["williamcorsel/torchmenu"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcorsel%2FTorchMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcorsel%2FTorchMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcorsel%2FTorchMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcorsel%2FTorchMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamcorsel","download_url":"https://codeload.github.com/williamcorsel/TorchMenu/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248226242,"owners_count":21068167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployment","gui","mlops","pytorch","torchserve"],"created_at":"2024-09-25T01:03:53.226Z","updated_at":"2025-04-10T13:42:41.199Z","avatar_url":"https://github.com/williamcorsel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TorchMenu\n\nA simple [streamlit](https://github.com/streamlit/streamlit) web application to manage your model deployment with [TorchServe](https://github.com/pytorch/serve). It is designed to tap into your currently deployed TorchServe instance using its APIs.\n\n![Home Page](https://raw.githubusercontent.com/williamcorsel/TorchMenu/development/etc/home.png)\n\nCurrent features include:\n\n- View loaded models, including their versions and metrics\n- Model management: load, unload, and delete models\n- Show and edit the server `config.properties` file\n\n## Installation\n\n```bash\npip install torchmenu\n```\n\n### Development\n\n```bash\ngit clone https://github.com/williamcorsel/TorchMenu.git\ncd TorchMenu\npip install -e .[dev]\npre-commit install\n```\n\n## Usage\n\nTo launch the application, run the following command:\n\n```bash\ntorchmenu\n```\n\n### Settings\n\nThe application can be configured using the [torchmenu/settings.yaml](torchmenu/settings.yaml) file. The following settings are available:\n\n- `url`: The URL of the TorchServe instance to connect to, excluding any port numbers.\n- `inference_port`: The port number on which to reach the [Inference API](https://pytorch.org/serve/inference_api.html).\n- `management_port`: The port number on which to reach the [Management API](https://pytorch.org/serve/management_api.html).\n- `metrics_port`: The port number on which to reach the [Metrics API](https://pytorch.org/serve/metrics_api.html).\n- `store_path`: Absolute path to the model store directory on device. This allows the application to load models from disk.\n- `config_path`: Absolute path to the `config.properties` file on device. This allows the application to edit the configuration file.\n\n### Home\n\nThe home page shows an overview of the currently loaded models, including their versions and metrics. On this page, a user can:\n\n- Monitor model versions and metrics\n- Switch default model versions\n- Scale the number of workers available for each model\n- Unload models\n\n### Register Model\n\nIn order to register models, the `store_path` setting must be available. This allows the application to load models from disk. The application will search for models in the `store_path` directory for any `.mar` files. Found models are available to be selected in the dropdown menu. On this page, a user can:\n\n- Register models from disk\n- Change the initial batch size and number of worker for a newly loaded model\n- Overwrite the model name for a newly loaded model\n\n### Edit Config\n\nIn order to edit the `config.properties` file, the `config_path` setting must be available. This allows the application to edit the configuration file. On this page, a user can:\n\n- Edit the `config.properties` file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamcorsel%2Ftorchmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamcorsel%2Ftorchmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamcorsel%2Ftorchmenu/lists"}