WebHub360 commited on
Commit
6a2cc7a
·
verified ·
1 Parent(s): 75b34f2

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +9 -0
entrypoint.sh CHANGED
@@ -25,6 +25,15 @@ fi
25
 
26
  # Start the text-generation-inference process
27
  echo "Starting text-generation-inference with model: ${MODEL_NAME}"
 
 
 
 
 
 
 
 
 
28
  text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
29
  TGI_PID=$!
30
  echo "Text-generation-inference started with PID: $TGI_PID"
 
25
 
26
  # Start the text-generation-inference process
27
  echo "Starting text-generation-inference with model: ${MODEL_NAME}"
28
+ echo "Python environment:"
29
+ which python3.11
30
+ python3.11 --version
31
+ echo "PYTHONPATH: $PYTHONPATH"
32
+ echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
33
+ echo "Checking for libpython3.11.so.1.0:"
34
+ find / -name "libpython3.11.so*" 2>/dev/null || echo "Library not found"
35
+
36
+ # Start text-generation-inference with detailed error logging
37
  text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
38
  TGI_PID=$!
39
  echo "Text-generation-inference started with PID: $TGI_PID"