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

Logging has no formating when using docker enviroment instead of command #1880

Open
1 of 4 tasks
onel opened this issue May 11, 2024 · 0 comments
Open
1 of 4 tasks

Logging has no formating when using docker enviroment instead of command #1880

onel opened this issue May 11, 2024 · 0 comments

Comments

@onel
Copy link

onel commented May 11, 2024

System Info

latest tgi docker image (I think 2.0)
ubuntu 20

Information

  • Docker
  • The CLI directly

Tasks

  • An officially supported command
  • My own modifications

Reproduction

  1. Start tgi using docker compose using command. eg
    command: --model-id TechxGenus/starcoder2-3b-GPTQ --quantize gptq --port 3000
    the logs look like this
    image

  2. Remove command option and move all the args to enviroment. eg

    environment:
      - PORT=3000
      - MODEL_ID=TechxGenus/starcoder2-3b-GPTQ
      - QUANTIZE=gptq

Logs loose formatting
image

Expected behavior

Logs should retain formatting.

Not really the biggest issue 🤗

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

No branches or pull requests

1 participant