now connecting

pull/482/head
mike dupont 11 months ago
parent 2de1e4f991
commit 90c5b5aea3

@ -1,19 +1,22 @@
version: "3"
#version: "3"
services:
swarms:
image: swarm
build : .
network_mode: host
ipc: host
environment:
- OPENAI_API_KEY=sk-1234
# - OPENAI_API_BASE=http://100.96.149.57:7091
- OPENAI_API_BASE=http://127.0.0.1:5000
- OPENAI_API_BASE=http://localhost:5000/v1
command: python3 example.py
restart: always
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]

@ -28,3 +28,4 @@ pytest>=8.1.1
termcolor>=2.4.0
pandas>=2.2.2
fastapi #>=0.110.1
openai

Loading…
Cancel
Save