Skip to content

Commit f931326

Browse files
committed
remove gpu check when running the controller
1 parent 32051fc commit f931326

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/deployer.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -496,12 +496,6 @@ def run_controller(self):
496496
"/var/run/docker.sock not found, please check if Docker is running and Docker Compose is installed."
497497
)
498498

499-
try:
500-
subprocess.check_call(["nvidia-smi"])
501-
self.gpu_available = True
502-
except Exception:
503-
logging.info("No GPU available for the frontend, nodes will be deploy in CPU mode")
504-
505499
network_name = f"{os.environ['USER']}_nebula-net-base"
506500

507501
# Create the Docker network

0 commit comments

Comments
 (0)