o
    #i                     @   s6   d dl mZ d dlZd dlmZ dejjfddZdS )    )DictN)_ModuleFrame
orig_graphc                 C   s^   t jt j t j }i }i }t| t| j||d dgdi |d		  |j
  |  |S )N )module)torchfxGraphModulennModuleGraphr   tuplenodes	run_outergraphlint	recompile)r   
new_module
seen_nodesseen_modules r   e/home/ubuntu/SoloSpeech/.venv/lib/python3.10/site-packages/torch/distributed/pipelining/_unflatten.py_outline_submodules	   s$   

r   )typingr   r   torch.export.unflattenr   r   r   r   r   r   r   r   <module>   s   