{"id":25216603,"url":"https://github.com/zuellni/llasa-webui","last_synced_at":"2025-06-18T06:37:27.877Z","repository":{"id":275352560,"uuid":"925830687","full_name":"Zuellni/LLaSA-WebUI","owner":"Zuellni","description":"LLaSA WebUI using ExLlamaV2 and FastAPI.","archived":false,"fork":false,"pushed_at":"2025-03-30T00:39:56.000Z","size":1146,"stargazers_count":23,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T01:32:14.739Z","etag":null,"topics":["ai","exllamav2","fastapi","stt","tts"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zuellni.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,"zenodo":null}},"created_at":"2025-02-01T21:08:22.000Z","updated_at":"2025-03-30T00:39:59.000Z","dependencies_parsed_at":"2025-02-14T08:26:01.834Z","dependency_job_id":"032b62fe-17a5-4e37-9f87-2279b7e1e8c9","html_url":"https://github.com/Zuellni/LLaSA-WebUI","commit_stats":null,"previous_names":["zuellni/llasa-tts-server","zuellni/llasa-server","zuellni/llasa-webui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Zuellni/LLaSA-WebUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuellni%2FLLaSA-WebUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuellni%2FLLaSA-WebUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuellni%2FLLaSA-WebUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuellni%2FLLaSA-WebUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zuellni","download_url":"https://codeload.github.com/Zuellni/LLaSA-WebUI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuellni%2FLLaSA-WebUI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260506668,"owners_count":23019419,"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":["ai","exllamav2","fastapi","stt","tts"],"created_at":"2025-02-10T19:18:54.459Z","updated_at":"2025-06-18T06:37:22.864Z","avatar_url":"https://github.com/Zuellni.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLaSA WebUI\nA simple web interface for [LLaSA](https://huggingface.co/collections/HKUSTAudio/llasa-679b87dbd06ac556cc0e0f44) using [ExLlamaV2](https://github.com/turboderp-org/exllamav2) with an [OpenAI](https://platform.openai.com/docs/guides/text-to-speech) compatible [FastAPI](https://github.com/fastapi/fastapi) server.\n\n## Installation\nClone the repo:\n```sh\ngit clone https://github.com/zuellni/llasa-webui\ncd llasa-webui\n```\n\nCreate a conda/mamba/python env:\n```sh\nconda create -n llasa-webui python\nconda activate llasa-webui\n```\n\nInstall dependencies, ignore any `xcodec2` errors:\n```sh\npip install -r requirements.txt\npip install xcodec2 --no-deps\n```\n\nInstall wheels for [`exllamav2`](https://github.com/turboderp-org/exllamav2/releases/latest) and [`flash-attn`](https://github.com/kingbri1/flash-attention/releases/latest):\n```sh\npip install link-to-exllamav2-wheel-goes-here+cu124.torch2.6.0.whl\npip install link-to-flash-attn-wheel-goes-here+cu124.torch2.6.0.whl\n```\n\n## Models\nLLaSA-1B:\n```sh\ngit clone https://huggingface.co/hkustaudio/llasa-1b             model # bf16\n```\n\nLLaSA-3B:\n```sh\ngit clone https://huggingface.co/annuvin/llasa-3b-8.0bpw-h8-exl2 model # 8bpw\ngit clone https://huggingface.co/hkustaudio/llasa-3b             model # bf16\n```\n\nLLaSA-8B:\n```sh\ngit clone https://huggingface.co/annuvin/llasa-8b-4.0bpw-exl2    model # 4bpw\ngit clone https://huggingface.co/annuvin/llasa-8b-6.0bpw-exl2    model # 6bpw\ngit clone https://huggingface.co/annuvin/llasa-8b-8.0bpw-h8-exl2 model # 8bpw\ngit clone https://huggingface.co/hkustaudio/llasa-8b             model # bf16\n```\n\nX-Codec-2:\n```sh\ngit clone https://huggingface.co/annuvin/xcodec2-bf16            codec # bf16\ngit clone https://huggingface.co/annuvin/xcodec2-fp32            codec # fp32\n```\n\n## Usage\n```sh\npython server.py -m model -c codec -v voices\n```\nAdd `--cache q4 --dtype bf16` for less [VRAM usage](https://www.canirunthisllm.net). You can specify a HuggingFace repo id for `xcodec2`, but you will still need to download one of the LLaSA models above.\n\n## Preview\n![Preview](assets/preview.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuellni%2Fllasa-webui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuellni%2Fllasa-webui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuellni%2Fllasa-webui/lists"}