Skip to content

feat: add gpustack model provider - #10158

Merged
crazywoola merged 1 commit into
langgenius:mainfrom
gitlawr:provider-gpustack
Nov 1, 2024
Merged

crazywoola merged 1 commit into
langgenius:mainfrom
gitlawr:provider-gpustack

Conversation

@gitlawr

@gitlawr gitlawr commented Nov 1, 2024 •

Copy link
Copy Markdown
Contributor

Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

Add GPUStack as a new model provider.
Related docs PR: langgenius/dify-docs#352

Fixes #9935

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  1. Install GPUStack and deploy the llama-3.2-1b-instruct llm, bge-m3 text embedding model, bge-reranker-v2-m3 rerank model in GPUStack.
  2. Set GPUSTACK_SERVER_URL and GPUSTACK_API_KEY as in api/tests/integration_tests/.env.example
  3. Run the integration tests.

@gitlawr
gitlawr marked this pull request as ready for review November 1, 2024 08:43
@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. ⚙️ feat:model-runtime 📚 documentation Improvements or additions to documentation labels Nov 1, 2024
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Nov 1, 2024
@crazywoola
crazywoola merged commit 76b0328 into langgenius:main Nov 1, 2024
AlwaysBluer added a commit to AlwaysBluer/dify that referenced this pull request Nov 2, 2024
…m-vdb

* 'lindorm-vdb' of github.com:AlwaysBluer/dify: (39 commits)
  Feat : add LLM model indicator in prompt generator (langgenius#10187)
  chore: enable vision support for models in OpenRouter that should have supported vision (langgenius#10191)
  chore : code generator preview hint (langgenius#10188)
  fix: webapp upload file (langgenius#10195)
  fix(api): replace current_user with end_user in file upload (langgenius#10194)
  feat(document_extractor): integrate unstructured API for PPTX extraction (langgenius#10180)
  fix(tools): suppress RuntimeWarnings in podcast audio generator (langgenius#10182)
  [fix] fix the bug that modify document name not effective (langgenius#10154)
  fix(workflow model): ensure consistent timestamp updating (langgenius#10172)
  fix: Cannot find declaration to go to CLEAN_DAY_SETTING (langgenius#10157)
  feat: add gpustack model provider (langgenius#10158)
  refactor(tools): Avoid warnings. (langgenius#10161)
  refactor(migration/model): update column types for workflow schema (langgenius#10160)
  Feat/add-remote-file-upload-api (langgenius#9906)
  fix: upload remote image preview (langgenius#9952)
  clean un-allowed special charters when doing indexing estimate (langgenius#10153)
  refactor(service): handle unsupported DSL version with warning (langgenius#10151)
  Add VESSL AI OpenAI API-compatible model provider and LLM model (langgenius#9474)
  feat: synchronize input/output variables in the panel with generated code by the code generator (langgenius#10150)
  Refined README for better reading experience. (langgenius#10143)
  ...
Nov1c444 pushed a commit that referenced this pull request Nov 5, 2024
Yeuoly pushed a commit that referenced this pull request Nov 5, 2024
iamjoel pushed a commit that referenced this pull request Nov 7, 2024
idonotknow pushed a commit to AceDataCloud/Dify that referenced this pull request Nov 16, 2024
Ssazurov pushed a commit to Ssazurov/dify that referenced this pull request Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GPUStack as a Model Provider in Dify

2 participants