o
    ÜÜÓhÜ  ã                   @   sr   d dl mZ d dlZddlmZ ddlmZ ddlm	Z	m
Z
 dd„ Ze ¡ r*dZdS e e e e¡¡dd	¡ZdS )
é    Né   )ÚThroughputBenchmark)Úget_cpp_backtrace)Úrename_privateuse1_backendÚ(generate_methods_for_privateuse1_backendc                 C   s   t |tƒs	tdƒ‚|| _dS )z[
    Set the module attribute on a python object for a given object for nicer printing
    z#The mod argument should be a stringN)Ú
isinstanceÚstrÚ	TypeErrorÚ
__module__)ÚobjÚmod© r   úJ/var/www/html/ai/venv/lib/python3.10/site-packages/torch/utils/__init__.pyÚ
set_module   s   

r   ÚshareÚcmake)Úos.pathÚpathÚ_ospÚtorchÚthroughput_benchmarkr   Úcpp_backtracer   Úbackend_registrationr   r   r   Ú_running_with_deployÚcmake_prefix_pathÚjoinÚdirnameÚ__file__r   r   r   r   Ú<module>   s    