We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ideally we would not have to use linux commands to do mathematical operations such as multiply or divide.
Below uses one of the examples from the Skypilot documentation to illustrate the current vs desired state.
# service.yaml . . . run: | conda activate vllm PIPELINE_PARALLEL_SIZE=2 TENSOR_PARALLEL_SIZE=$(($SKYPILOT_NUM_GPUS_PER_NODE / 2 )) python -m vllm.entrypoints.openai.api_server \ --tensor-parallel-size $TENSOR_PARALLEL_SIZE \ --pipeline-parallel-size $PIPELINE_PARALLEL_SIZE \ --host 0.0.0.0 --port 8080 \ --model mistralai/Mixtral-8x7B-Instruct-v0.1
# service.yaml . . . run: | conda activate vllm= python -m vllm.entrypoints.openai.api_server \ --tensor-parallel-size ${SKYPILOT_NUM_GPUS_PER_NODE / 2} \ --pipeline-parallel-size 2 \ --host 0.0.0.0 --port 8080 \ --model mistralai/Mixtral-8x7B-Instruct-v0.1
${SKYPILOT_NUM_GPUS_PER_NODE / 2} could be altered, but ideally it would be something inline like this for cleanliness.
${SKYPILOT_NUM_GPUS_PER_NODE / 2}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ideally we would not have to use linux commands to do mathematical operations such as multiply or divide.
Below uses one of the examples from the Skypilot documentation to illustrate the current vs desired state.
Current State
Ideal State
${SKYPILOT_NUM_GPUS_PER_NODE / 2}
could be altered, but ideally it would be something inline like this for cleanliness.The text was updated successfully, but these errors were encountered: