sourced.ml.core.utils.bigartm

Module Contents

sourced.ml.core.utils.bigartm.execute(cmd, cwd, log)[source]
sourced.ml.core.utils.bigartm.install_bigartm(args=None, target='./bigartm', tempdir=None)[source]

Deploys bigartm/bigartm at the specified path.

Parameters:
  • argsargparse.Namespace with “output” and “tmpdir”. “output” sets the target directory, “tmpdir” sets the temporary directory which is used to clone bigartm/bigartm and build it.
  • target – The path to the built executable. If args is not None, it becomes overridden.
  • tempdir – The temporary directory where to clone and build bigartm/bigartm. If args is not None, it becomes overridden.
Returns:

None if successful; otherwise, the error code (can be 0!).