Skip to content

Commit

Permalink
tgi-entrypoint: exec instead of spawning a child process
Browse files Browse the repository at this point in the history
reason: otherwise parent will receive the signals when we'd like tgi to receive them
keeping the parent/child is not necessary and would require the parent to handle signals to forward them properly to the child

Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com>
  • Loading branch information
oOraph committed Oct 17, 2024
1 parent a6a0c97 commit b240fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgi-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

ldconfig 2>/dev/null || echo 'unable to refresh ld cache, not a big deal in most cases'

text-generation-launcher $@
exec text-generation-launcher $@

0 comments on commit b240fd1

Please sign in to comment.