Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epic: candle integration - image generation #119

Closed
7 tasks
francis2tm opened this issue Mar 13, 2024 · 1 comment · Fixed by #139
Closed
7 tasks

epic: candle integration - image generation #119

francis2tm opened this issue Mar 13, 2024 · 1 comment · Fixed by #139
Assignees

Comments

@francis2tm
Copy link
Contributor

francis2tm commented Mar 13, 2024

To get to a fully functional Image Generation endpoint, the following is required:

  1. Design the API
    • Design a new Image Generation endpoint interface, since OpenAI does not have one we can mimic. This should be the first step, as everything else depends on this.
  2. Implement a backend
  3. Edgen implementation
    • Define an Image Generation endpoint that follows the API directly and translates the API calls to backend calls. This may be implemented according to the already existing traits LLM and Whisper traits in edgen_core.
    • Implement the model endpoint according to the LLM and Whisper endpoints in edgen_server.
    • Implement the loading and downloading logic for the new model kind in edgen_server/src/model.rs.
    • Implement the new endpoint using the backend. edgen_server/src/openai_shims.rs may provide some inspiration.
    • Implement new server routes for the API and connect it to the endpoint (in edgen_server/src/routes.rs).
@francis2tm francis2tm changed the title epic: image generation feat: image generation Mar 13, 2024
@opeolluwa
Copy link
Contributor

hi @francis2tm can you assign the issue to me, also, let's have a call to discuss the structure of the codebase later this week

@francis2tm francis2tm changed the title feat: image generation feat: candle integration - image generation Mar 20, 2024
@francis2tm francis2tm changed the title feat: candle integration - image generation epic: candle integration - image generation Mar 20, 2024
@pedro-devv pedro-devv linked a pull request Apr 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants