How to use tez - 4 common examples

To help you get started, we’ve selected a few tez examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apache / ambari / ambari-server / src / main / resources / common-services / TEZ / 0.9.0.3.0 / package / scripts / tez_client.py View on Github external
def configure(self, env, config_dir=None, upgrade_type=None):
    """
    Write tez-site.xml and tez-env.sh to the config directory
    :param env: Python Environment
    :param config_dir: During rolling upgrade, which config directory to save configs to.
    E.g., /usr/$STACK/current/tez-client/conf
    """
    import params
    env.set_params(params)
    tez(config_dir)

tez

tez - a simple pytorch trainer

Apache-2.0
Latest version published 2 years ago

Package Health Score

42 / 100
Full package analysis

Popular tez functions