{"id":13672480,"url":"https://github.com/bytedance/monolith","last_synced_at":"2025-05-14T04:07:36.468Z","repository":{"id":63294684,"uuid":"543293939","full_name":"bytedance/monolith","owner":"bytedance","description":"A Lightweight Recommendation System","archived":false,"fork":false,"pushed_at":"2023-11-08T12:00:48.000Z","size":24599,"stargazers_count":8741,"open_issues_count":23,"forks_count":673,"subscribers_count":78,"default_branch":"master","last_synced_at":"2025-04-10T03:46:13.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bytedance.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}},"created_at":"2022-09-29T19:47:57.000Z","updated_at":"2025-04-10T03:20:12.000Z","dependencies_parsed_at":"2023-02-08T21:00:59.412Z","dependency_job_id":"2ae106ce-50f7-4db8-a813-ab35993bd5d3","html_url":"https://github.com/bytedance/monolith","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytedance%2Fmonolith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytedance%2Fmonolith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytedance%2Fmonolith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytedance%2Fmonolith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytedance","download_url":"https://codeload.github.com/bytedance/monolith/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069217,"owners_count":22009511,"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":[],"created_at":"2024-08-02T09:01:36.853Z","updated_at":"2025-05-14T04:07:36.442Z","avatar_url":"https://github.com/bytedance.png","language":"Python","funding_links":[],"categories":["Python","Repos","📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":" Monolith\n\n## What is it?\n\n[Monolith](https://arxiv.org/abs/2209.07663) is a deep learning framework for large scale recommendation modeling. It introduces two important features which are crucial for advanced recommendation system: \n* collisionless embedding tables guarantees unique represeantion for different id features\n* real time training captures the latest hotspots and help users to discover new intersts rapidly\n\nMonolith is built on the top of TensorFlow and supports batch/real-time training and serving.\n\n\n## Discussion Group\n\n### Join us at Discord\n\nhttps://discord.gg/QYTDeKxGMX\n\n## Quick start\n\n### Build from source\n\nCurrently, we only support compilation on the Linux.\n\nFirst, download bazel 3.1.0\n```bash\nwget https://github.com/bazelbuild/bazel/releases/download/3.1.0/bazel-3.1.0-installer-linux-x86_64.sh \u0026\u0026 \\\n  chmod +x bazel-3.1.0-installer-linux-x86_64.sh \u0026\u0026 \\\n  ./bazel-3.1.0-installer-linux-x86_64.sh \u0026\u0026 \\\n  rm bazel-3.1.0-installer-linux-x86_64.sh\n```\n\nThen, prepare a python environment\n```bash\npip install -U --user pip numpy wheel packaging requests opt_einsum\npip install -U --user keras_preprocessing --no-deps\n```\n\nFinally, you can build any target in the monolith.\nFor example,\n```bash\nbazel run //monolith/native_training:demo --output_filter=IGNORE_LOGS\n```\n\n### Demo and tutorials\n\nThere are a tutorial in [markdown/demo](markdown/demo) on how to run distributed async training, and few guides on how to use the `MonolithModel` API [here](markdown).  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytedance%2Fmonolith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytedance%2Fmonolith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytedance%2Fmonolith/lists"}