Skip to content

Cleanup IN_FBCODE logic #8648

@NicolasHug

Description

@NicolasHug

#8647 introduced a new way of determining whether the code is running internally. We should remove the existing

IN_FBCODE = os.environ.get("IN_FBCODE_TORCHVISION") == "1"

to avoid any confusion. (That one is only used in tests).

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