diff --git a/dashboard/src/main/home/inference-dashboard/TemplateForms/Gpt2Form.tsx b/dashboard/src/main/home/inference-dashboard/TemplateForms/Gpt2Form.tsx deleted file mode 100644 index f530ac7cfa..0000000000 --- a/dashboard/src/main/home/inference-dashboard/TemplateForms/Gpt2Form.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import React from "react"; - -import Button from "components/porter/Button"; -import { ControlledInput } from "components/porter/ControlledInput"; -import Spacer from "components/porter/Spacer"; -import Text from "components/porter/Text"; -import VerticalSteps from "components/porter/VerticalSteps"; - -const Gpt2Form: React.FC = () => { - return ( - - Model name - - Lowercase letters, numbers, and "-" only. - - - , - , - ]} - /> - ); -}; - -export default Gpt2Form; diff --git a/dashboard/src/main/home/inference-dashboard/models.tsx b/dashboard/src/main/home/inference-dashboard/models.tsx deleted file mode 100644 index 4c8544d0f4..0000000000 --- a/dashboard/src/main/home/inference-dashboard/models.tsx +++ /dev/null @@ -1,53 +0,0 @@ -export const models = { - "gpt-2": { - name: "GPT-2", - icon: "https://cdn-avatars.huggingface.co/v1/production/uploads/1620805164087-5ec0135ded25d76864d553f1.png", - description: - "GPT-2 is a large transformer-based language model. This is the smallest version of GPT-2, with 124M parameters.", - tags: ["text-to-text", "CPU"], - }, - "llama-3-8b-instruct": { - name: "Llama 3 8B Instruct", - icon: "https://1000logos.net/wp-content/uploads/2021/10/Meta-Symbol.png", - description: - "Llama 3 is an auto-regressive language model that uses an optimized transformer architecture.", - tags: ["text-to-text", "A100"], - }, - "mistral-7b-instruct-v0-2": { - name: "Mistral 7B Instruct v0.2", - icon: "https://mistral.ai/images/news/announcing-mistral.png", - description: - "The Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.2.", - tags: ["text-to-text", "A100"], - }, - "whisper-large-v3": { - name: "Whisper Large v3", - icon: "https://cdn-avatars.huggingface.co/v1/production/uploads/1620805164087-5ec0135ded25d76864d553f1.png", - description: - "Whisper is a pre-trained model for automatic speech recognition (ASR) and speech translation.", - tags: ["audio-to-text", "A100"], - }, - "stable-diffusion-2": { - name: "Stable Diffusion 2", - icon: "https://avatars.githubusercontent.com/u/100950301?s=200&v=4", - description: - "This is a model that can be used to generate and modify images based on text prompts.", - tags: ["text-to-image", "A100"], - }, - "musicgen-large": { - name: "MusicGen Large", - icon: "https://1000logos.net/wp-content/uploads/2021/10/Meta-Symbol.png", - description: - "MusicGen is a text-to-music model capable of genreating high-quality music samples conditioned on text descriptions or audio prompts.", - tags: ["text-to-audio", "A100"], - }, -}; - -export const tagColor = { - "text-to-text": "#3f51b5", - "audio-to-text": "#0E7F5D", - "text-to-image": "#D67400", - "text-to-audio": "#7020C0", - CPU: "#72747E", - A100: "#f50057", -}; diff --git a/go.mod b/go.mod index a0676ba2ff..6d64e1d743 100644 --- a/go.mod +++ b/go.mod @@ -89,7 +89,7 @@ require ( github.com/nats-io/nats.go v1.24.0 github.com/open-policy-agent/opa v0.44.0 github.com/ory/client-go v1.9.0 - github.com/porter-dev/api-contracts v0.2.166 + github.com/porter-dev/api-contracts v0.2.168 github.com/riandyrn/otelchi v0.5.1 github.com/santhosh-tekuri/jsonschema/v5 v5.0.1 github.com/stefanmcshane/helm v0.0.0-20221213002717-88a4a2c6e77d diff --git a/go.sum b/go.sum index 857325f85e..7fc2cb017c 100644 --- a/go.sum +++ b/go.sum @@ -1570,8 +1570,8 @@ github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/polyfloyd/go-errorlint v0.0.0-20210722154253-910bb7978349/go.mod h1:wi9BfjxjF/bwiZ701TzmfKu6UKC357IOAtNr0Td0Lvw= -github.com/porter-dev/api-contracts v0.2.166 h1:WF6C5hvyD564lpSrcWtcpiK8Z3fflkH+K4STGJYZfrc= -github.com/porter-dev/api-contracts v0.2.166/go.mod h1:VV5BzXd02ZdbWIPLVP+PX3GKawJSGQnxorVT2sUZALU= +github.com/porter-dev/api-contracts v0.2.168 h1:3OizOvzyqVP5aDTVVUhbDWIsTYHEyjjMkzrObIKfg/g= +github.com/porter-dev/api-contracts v0.2.168/go.mod h1:VV5BzXd02ZdbWIPLVP+PX3GKawJSGQnxorVT2sUZALU= github.com/porter-dev/switchboard v0.0.3 h1:dBuYkiVLa5Ce7059d6qTe9a1C2XEORFEanhbtV92R+M= github.com/porter-dev/switchboard v0.0.3/go.mod h1:xSPzqSFMQ6OSbp42fhCi4AbGbQbsm6nRvOkrblFeXU4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=