class_docstr: Runs trials on Azure Container Instances.
docstr: Runs remote execution of trials via Azure Container Instances.
  
  Args:
      store (Store): Store that houses trials.
      azure_tenant_id (str): Azure tentant ID.
      azure_client_id (str): Azure client ID.
      azure_client_secret (str): Azure client secret.
      subscription_id (str): Azure subscription ID.
      resource_group (str): Azure resource group.
      image (str, optional): Image to execute. Defaults to "interpretml/powerlift:0.0.1".
      n_running_containers (int, optional): Max number of containers to run simultaneously. Defaults to 1.
      num_cores (int, optional): Number of cores per container. Defaults to 1.
      mem_size_gb (int, optional): RAM size in GB per container. Defaults to 2.
      raise_exception (bool, optional): Raise exception on failure. Defaults to False.
      wheel_filepaths (List[str], optional): List of wheel filepaths to install on ACI trial run. Defaults to None.
      docker_db_uri (str, optional): Database URI for container. Defaults to None.
docstr_tok: ["Runs","remote","execution","of","trials","via","Azure","Container","Instances",".","Args",":","store","(","Store",")",":","Store","that","houses","trials",".","azure_tenant_id","(","str",")",":","Azure","tentant","ID",".","azure_client_id","(","str",")",":","Azure","client","ID",".","azure_client_secret","(","str",")",":","Azure","client","secret",".","subscription_id","(","str",")",":","Azure","subscription","ID",".","resource_group","(","str",")",":","Azure","resource","group",".","image","(","str",",","optional",")",":","Image","to","execute",".","Defaults","to","``","interpretml\/powerlift:0.0.1","''",".","n_running_containers","(","int",",","optional",")",":","Max","number","of","containers","to","run","simultaneously",".","Defaults","to","1.","num_cores","(","int",",","optional",")",":","Number","of","cores","per","container",".","Defaults","to","1.","mem_size_gb","(","int",",","optional",")",":","RAM","size","in","GB","per","container",".","Defaults","to","2.","raise_exception","(","bool",",","optional",")",":","Raise","exception","on","failure",".","Defaults","to","False",".","wheel_filepaths","(","List","[","str","]",",","optional",")",":","List","of","wheel","filepaths","to","install","on","ACI","trial","run",".","Defaults","to","None",".","docker_db_uri","(","str",",","optional",")",":","Database","URI","for","container",".","Defaults","to","None","."]
code: def __init__(
      self,
      store: Store,
      azure_tenant_id: str,
      azure_client_id: str,
      azure_client_secret: str,
      subscription_id: str,
      resource_group: str,
      image: str = "interpretml/powerlift:0.0.1",
      n_running_containers: int = 1,
      num_cores: int = 1,
      mem_size_gb: int = 2,
      raise_exception: bool = False,
      wheel_filepaths: List[str] = None,
      docker_db_uri: str = None,
  ):
      """Runs remote execution of trials via Azure Container Instances.
  
      Args:
          store (Store): Store that houses trials.
          azure_tenant_id (str): Azure tentant ID.
          azure_client_id (str): Azure client ID.
          azure_client_secret (str): Azure client secret.
          subscription_id (str): Azure subscription ID.
          resource_group (str): Azure resource group.
          image (str, optional): Image to execute. Defaults to "interpretml/powerlift:0.0.1".
          n_running_containers (int, optional): Max number of containers to run simultaneously. Defaults to 1.
          num_cores (int, optional): Number of cores per container. Defaults to 1.
          mem_size_gb (int, optional): RAM size in GB per container. Defaults to 2.
          raise_exception (bool, optional): Raise exception on failure. Defaults to False.
          wheel_filepaths (List[str], optional): List of wheel filepaths to install on ACI trial run. Defaults to None.
          docker_db_uri (str, optional): Database URI for container. Defaults to None.
      """
      from multiprocessing import Manager
  
      self._image = image
      self._n_running_containers = n_running_containers
      self._num_cores = num_cores
      self._mem_size_gb = mem_size_gb
  
      self._docker_db_uri = docker_db_uri
      self._azure_json = {
          "tenant_id": azure_tenant_id,
          "client_id": azure_client_id,
          "client_secret": azure_client_secret,
          "subscription_id": subscription_id,
          "resource_group": resource_group,
      }
      super().__init__(
          store, n_running_containers, raise_exception, wheel_filepaths
      )
  
file_path: interpret/python/powerlift/src/powerlift/executors/azure_ci.py
imports: from powerlift.executors.localmachine import LocalMachine
  from powerlift.bench.store import Store
  from typing import Iterable, List
  from powerlift.executors.base import handle_err
label_desc: Use image node_id 1 to create a new AzureContainerInstance object from inherited base classes: LocalMachine with example: obj = AzureContainerInstance(store, azure_tenant_id, azure_client_id, azure_client_secret, subscription_id, resource_group, image, n_running_containers, num_cores, mem_size_gb, raise_exception, wheel_filepaths, docker_db_uri)