Skip to content

unable to set endpoint argument in server method because of colon arg delimiter #445

@grossjct

Description

@grossjct

🐛 Describe the bug

I would like to be able to set the endpoint of the server method, but since the colon is used as a delimiter in between arguments but is also part of the value itself (since a hostname always has a colon, e.g. localhost:8080) I cannot. This is what I would like to do, but the way that arguments are structured it does not work.

python -m olmocr.bench.convert server:model=gemma-3-27b:endpoint=localhost:8080/v1 --dir ./olmOCR-bench/bench_data

Would it be an option to split the argument into multiple arguments? E.g. hostname, port, path, which then would look like this:

server:model=gemma-3-27b:host=localhost:port=8080:path=v1

Versions

irrelevant for this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions