CAFECA-IO / ServerSwarm

micro service group
GNU General Public License v3.0
0 stars 0 forks source link

[Feature] Run Server swarm isunfa on another host and Parameterize and hierarchize the env #24

Closed arealclimber closed 1 month ago

arealclimber commented 1 month ago

[功能] 在另一台主機上執行 Server swarm isunfa 並對環境進行參數化和層次化

arealclimber commented 1 month ago

146 主機上無法運行 nvidia cuda

sudo docker compose up -d

[+] Running 2/3
 ✔ Container isunfa-postgres-1  Running                                                                                                                                  0.0s
 ✔ Container isunfa-qdrant-1    Running                                                                                                                                  0.0s
 ⠙ Container isunfa-ollama-1    Starting                                                                                                                                 0.2s
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown
  nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
   nvidia-docker --version
nvidia-docker:無此指令
arealclimber commented 1 month ago

CleanShot 2024-10-21 at 16 36 29

shirley@cafeca-dev-003:~/workspace/ServerSwarm/isunfa$ docker compose up -d
[+] Running 8/9
 ✔ Network isunfa_default       Created                                                                                                                                                                                                    0.1s 
 ✔ Container isunfa-qdrant-1    Started                                                                                                                                                                                                    0.3s 
 ⠼ Container isunfa-ollama-1    Starting                                                                                                                                                                                                   0.3s 
 ✔ Container isunfa-postgres-1  Started                                                                                                                                                                                                    0.3s 
 ✔ Container isunfa-aich-1      Created                                                                                                                                                                                                    0.0s 
 ✔ Container isunfa-faith-1     Created                                                                                                                                                                                                    0.0s 
 ✔ Container isunfa-isunfa-1    Created                                                                                                                                                                                                    0.0s 
 ✔ Container isunfa-nginx-1     Created                                                                                                                                                                                                    0.0s 
 ✔ Container ofelia             Created                                                                                                                                                                                                    0.0s 
Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]
arealclimber commented 1 month ago

took 4 hrs done