fauxpilot / fauxpilot

FauxPilot - an open-source alternative to GitHub Copilot server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mpirun error

allendred opened this issue · comments

Issue Description

A clear and concise description of what the bug is.
In docker-compose.yml, the command mpirun cannot be found, I found it here /opt/hpcx/ompi/bin/mpirun, but the operation will report an error

    command: bash -c "CUDA_VISIBLE_DEVICES=${GPUS} /opt/hpcx/ompi/bin/mpirun -n 1 --allow-run-as-root /opt/tritonserver/bin/tritonserver --model-repository=/model"
    
    /opt/hpcx/ompi/bin/mpirun: Error: unknown option "-n"

I tried it. In this image moyix/triton_with_ft:22.09 mpirun can recognize these parameters, but once the torch in the Dockerfile is installed, this problem will occur. What is the reason for the problem?

Expected Result

A clear and concise description of what you expected to happen.

How to Reproduce

Manually run docker-compose up -d --remove-orphans --build
Further Information

===============
Docker version 20.10.12, build e91ed57
Docker Compose version v2.15.1

On which OS are you? What GPU are you using?

On which OS are you? What GPU are you using?

system:centos7
GPU: tesla A100 40G