Skip to content

Commit

Permalink
Fixed incorrect sql statements from scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mason committed Dec 18, 2024
1 parent 4e6794a commit 6826825
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docker-compose/init-scripts/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ SET client_min_messages = warning;
SET row_security = off;
SELECT pg_catalog.set_config('search_path', 'public', false);


--
-- Seed Data for Name: users; Type: TABLE DATA; Schema: public; Owner: postgres
--
Expand Down Expand Up @@ -151,7 +152,7 @@ INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, fram
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (16, 'NIM-mixtral-8x7b-instruct-v01', 'latest', 'nvcr.io/nim/mistralai/mixtral-8x7b-instruct-v01:latest', '', 1, 8000, 1);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (17, 'NIM-mixtral-8x22b-instruct-v01', 'latest', 'nvcr.io/nim/mistralai/mixtral-8x22b-instruct-v01:latest', '', 1, 8000, 1);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (18, 'MS-Swift', '1.0', 'ms-swift:1.0-cuda12.1-devel-ubuntu22.04-py310-torch2.4.0', '', 1, 8000, 2);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, type) VALUES (19, 'OpenCompass', '0.3.5', 'opencompass:0.3.5', '', 1, 4);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (19, 'OpenCompass', '0.3.5', 'opencompass:0.3.5', '', 1, 8000, 4);

--
-- Truncate Data for Name: runtime_architectures; Type: TABLE DATA; Schema: public; Owner: postgres
Expand Down
3 changes: 1 addition & 2 deletions docker/etc/server/initialize.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ SET row_security = off;
SELECT pg_catalog.set_config('search_path', 'public', false);



--
-- Seed Data for Name: users; Type: TABLE DATA; Schema: public; Owner: postgres
--
Expand Down Expand Up @@ -152,7 +151,7 @@ INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, fram
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (16, 'NIM-mixtral-8x7b-instruct-v01', 'latest', 'nvcr.io/nim/mistralai/mixtral-8x7b-instruct-v01:latest', '', 1, 8000, 1);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (17, 'NIM-mixtral-8x22b-instruct-v01', 'latest', 'nvcr.io/nim/mistralai/mixtral-8x22b-instruct-v01:latest', '', 1, 8000, 1);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (18, 'MS-Swift', '1.0', 'ms-swift:1.0-cuda12.1-devel-ubuntu22.04-py310-torch2.4.0', '', 1, 8000, 2);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, type) VALUES (19, 'OpenCompass', '0.3.5', 'opencompass:0.3.5', '', 1, 4);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (19, 'OpenCompass', '0.3.5', 'opencompass:0.3.5', '', 1, 8000, 4);

--
-- Truncate Data for Name: runtime_architectures; Type: TABLE DATA; Schema: public; Owner: postgres
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/charts/csghub/charts/server/initialize.sql
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, fram
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (16, 'NIM-mixtral-8x7b-instruct-v01', 'latest', 'nvcr.io/nim/mistralai/mixtral-8x7b-instruct-v01:latest', '', 1, 8000, 1);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (17, 'NIM-mixtral-8x22b-instruct-v01', 'latest', 'nvcr.io/nim/mistralai/mixtral-8x22b-instruct-v01:latest', '', 1, 8000, 1);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (18, 'MS-Swift', '1.0', 'ms-swift:1.0-cuda12.1-devel-ubuntu22.04-py310-torch2.4.0', '', 1, 8000, 2);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, type) VALUES (19, 'OpenCompass', '0.3.5', 'opencompass:0.3.5', '', 1, 4);
INSERT INTO runtime_frameworks (id, frame_name, frame_version, frame_image, frame_cpu_image, enabled, container_port, type) VALUES (19, 'OpenCompass', '0.3.5', 'opencompass:0.3.5', '', 1, 8000, 4);
--
-- Truncate Data for Name: runtime_architectures; Type: TABLE DATA; Schema: public; Owner: postgres
--
Expand Down

0 comments on commit 6826825

Please sign in to comment.