a
    ¤þdå  ã                   @   s‚   d dl mZ d dlZddlmZ ddlmZmZm	Z	 ddl
mZ ddlmZ dd„ Zejd	krddZne e e e¡¡d
d¡ZdS )é    Né   )ÚThroughputBenchmark)Úenable_minidumpsÚdisable_minidumpsÚenable_minidumps_on_exceptions)Úget_cpp_backtrace)Úrename_privateuse1_backendc                 C   s   t |tƒstdƒ‚|| _d S )Nz#The mod argument should be a string)Ú
isinstanceÚstrÚ	TypeErrorÚ
__module__)ÚobjÚmod© r   ú]/var/www/html/stable-diffusion-webui/venv/lib/python3.9/site-packages/torch/utils/__init__.pyÚ
set_module
   s    
r   Ztorch_deployZshareZcmake)Úos.pathÚpathZ_ospÚsysZthroughput_benchmarkr   Z_crash_handlerr   r   r   Zcpp_backtracer   Zbackend_registrationr   r   Ú
executableZcmake_prefix_pathÚjoinÚdirnameÚ__file__r   r   r   r   Ú<module>   s   
