Skip to content

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 a team, frankfliu and zachgk as code owners June 3, 2024 20:02
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
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