Skip to content

chatglm model configuration file name can not be recognized by triton backend #537

Closed

Description

@forrestjgq

Hi:

Usually we expect engine takes a config.json file, but examples/chatglm makes an exception, using file name like chatglm3xxx-config.json. It's ok for tensorrt-llm to run.py, but can not be deployed in triton with tensorrt-llm backend(will report an error says [ or { is expected but not found, actually it is the missing config.json file)

If there is no special consideration, would you please follow the common rules and just name it config.json?

ps:
I could change the filename myself, but it will be ugly in our automatic deployment.

Activity

  1. wili-65535 commented on Dec 5, 2023

    @wili-65535
    Collaborator

    Thank you for your suggestion! We have fixed this ugly behaviour in the new main branch, and now all configuration files are named as "config.json"
    https://github.com/NVIDIA/TensorRT-LLM/blob/main/examples/chatglm/build.py#L658

  2. added
    triaged
    on Dec 5, 2023
  3. byshiue commented on Apr 2, 2024

    @byshiue
    Collaborator

    Close this bug because it is inactivated. Please reopen it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

triaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions