Skip to content

Allow user to integrate custom tuners #19

@micahjsmith

Description

@micahjsmith

Autobazaar currently supports three tuners: gp, gpei, and uniform. It allows users to choose from among them. It is not currently supported to use a different tuner, even if the tuner follows the BTB Tuner API.

Suggested behavior:

  • modify autobazaar.search.PipelineSearcher to take a more flexible input tuner_type
  • if tuner_type is a string, look up a tuner class in btb.tuning.tuners by matching on case-insensitive names with or without Tuner suffix.
  • if tuner_type is a string with the FQ name of a class, then try to import the tuner, confirm it is a subclass of BaseTuner, and then proceed.
  • else if tuner_type is a subclass of btb.tuning.tuners.base.BaseTuner then proceed and instantiate an instance of this tuner
  • else error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions