mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-02-19 11:56:43 -05:00
* download all mlirs * fixed install method * download all mlirs (#1727) Co-authored-by: Elias Joseph <elias@nod-labs.com> * added taggs * fix name check for file existence * Remove SD from all_models.csv (#1706) Removes SD from pytests as it has its own test suite. * gpt_langchain.py fixes for pydantic (#1722) * removed dead code --------- Co-authored-by: Elias Joseph <elias@nod-labs.com> Co-authored-by: PhaneeshB <b.phaneesh@gmail.com> Co-authored-by: Ean Garvey <87458719+monorimet@users.noreply.github.com> Co-authored-by: Stefan Kapusniak <121311569+one-lithe-rune@users.noreply.github.com>
CodeGen Setup using SHARK-server
Setup Server
- clone SHARK and setup the venv
- host the server using
python apps/stable_diffusion/web/index.py --api --server_port=<PORT> - default server address is
http://0.0.0.0:8080
Setup Client
- fauxpilot-vscode (VSCode Extension):
- Code for the extension can be found here
- PreReq: VSCode extension (will need
nodejsandnpmto compile and run the extension) - Compile and Run the extension on VSCode (press F5 on VSCode), this opens a new VSCode window with the extension running
- Open VSCode settings, search for fauxpilot in settings and modify
server : http://<IP>:<PORT>,Model : codegen,Max Lines : 30
- Others (REST API curl, OpenAI Python bindings) as shown here
- using Github Copilot VSCode extension with SHARK-server needs more work to be functional.