config.py 355 Bytes
Newer Older
jerrrrry's avatar
jerrrrry committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.

ENABLE_EXPERIMENTAL = False


def set_experimental_flag(flag: bool):
    """Set the experimental flag to the given value."""
    global ENABLE_EXPERIMENTAL
    ENABLE_EXPERIMENTAL = flag


def is_experimental_enabled():
    """Return the experimental flag."""
    return ENABLE_EXPERIMENTAL