Skip to content

Implement batch inference for multi-apex #25

@EduardoTerres

Description

@EduardoTerres

Use batch inference for efficiency

Edit:

when we perform inference for multi-apex we essentially do a for loop

    gpt_model, tokenizer = get_model_and_tokenizer(force_download, device=device)
    found_domains = set()

    for apex in sorted(domain_groups):
        found_domains |= _get_domains_for_group(...)

    return sorted(found_domains)

Here we are not making use of batch inference, as in we don't batch different apex related subdomains simultaneously.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions