Skip to content

[REQUEST] Clarify sampler override file search mechanism #419

@klement

Description

@klement

Problem

I recently struggled a bit with supplying —override-preset X in (turboderp-org/exllamav3#199).

I found it confusing that tabbyAPI searches for literal sampler_overrides directory in the current working directory. The documentation doesn’t preclude this behaviour, but it feels unexpected? The docs suggest adding a new override to existing sampler_overrides directory hinting that the binary would search for (dirname <binary>)/sampler_overrides.

Solution

Maybe adjust the docstring to make it clear how the search happens. Alternatively, ditch the builtin path transformation mechanism and accept a full path to override.yml file instead. That makes it clear and explicit which file will be read.

Alternatives

No response

Explanation

To make it more explicit what happens.

Examples

No response

Additional context

No response

Acknowledgements

  • I have looked for similar requests before submitting this one.
  • I understand that the developers have lives and my issue will be answered when possible.
  • I understand the developers of this program are human, and I will make my requests politely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions