Skip to content
New issue

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

Convert cuda env tgi variables to lmi #2013

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

sindhuvahinis
Copy link
Contributor

@sindhuvahinis sindhuvahinis commented Jun 3, 2024

Description

Translating some of the cuda env variables to LMI format.

Testing:
Bashed into a container and tested this bash script. bash /usr/local/bin/dockerd-entrypoint.sh serve

@sindhuvahinis sindhuvahinis requested review from zachgk, frankfliu and a team as code owners June 3, 2024 20:02
@@ -47,6 +47,12 @@ translateTGIToLMI "SM_NUM_GPUS" "TENSOR_PARALLEL_DEGREE"
translateTGIToLMI "MAX_CONCURRENT_REQUESTS" "SERVING_JOB_QUEUE_SIZE"
translateTGIToLMI "MAX_BATCH_PREFILL_TOKENS" "OPTION_MAX_ROLLING_BATCH_PREFILL_TOKENS"
translateTGIToLMI "MAX_BATCH_SIZE" "OPTION_MAX_ROLLING_BATCH_SIZE"
translateTGIToLMI "ENABLE_CUDA_GRAPHS" "OPTION_ENFORCE_EAGER"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one needs to be translated to the opposite value, right? If enable_cuda_graphs = true, enforce_eager = false

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it

@sindhuvahinis sindhuvahinis merged commit c6ff51b into deepjavalibrary:master Jun 3, 2024
7 checks passed
sindhuvahinis added a commit to sindhuvahinis/djl-serving that referenced this pull request Jun 4, 2024
@sindhuvahinis sindhuvahinis deleted the env branch June 20, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants