
    &`ia                     L    d Z ddlZddlZddlmZmZ d Z G d de          ZdS )zA
Constants.

Contains constants used to setup collective groups.
    N)Enumautoc                     | st          d          t          j        |                                                                           }|S )zGenerate the unique name for the NCCLUniqueID store (named actor).

    Args:
        group_name: unique user name for the store.
    Return:
        str: SHA1-hexlified name for the store.
    zgroup_name is None.)
ValueErrorhashlibsha1encode	hexdigest)
group_namehexlified_names     m/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/ray/util/collective/const.pyget_store_namer      sH      0.///\*"3"3"5"566@@BBN    c                   B    e Zd ZdZ e            d fZed             ZdS )ENVz*ray.util.collective environment variables.c                     | pddk    S )NTrue )vs    r   <lambda>zENV.<lambda>   s    ak6f-D r   c                 Z    | j         \  }} |t          j        | j                            S )z?Return the output of the lambda against the system's env value.)valueosgetenvname)self_
default_fns      r   valzENV.val   s+     
:z")DI..///r   N)__name__
__module____qualname____doc__r   NCCL_USE_MULTISTREAMpropertyr   r   r   r   r   r      sH        44466#D#DD0 0 X0 0 0r   r   )r#   r   r   enumr   r   r   r   r   r   r   <module>r'      s~    
  				          	0 	0 	0 	0 	0$ 	0 	0 	0 	0 	0r   