File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717  - local : tutorials/autopipeline 
1818    title : AutoPipeline 
1919  - local : using-diffusers/custom_pipeline_overview 
20-     title : Community pipelines and models  
20+     title : Community pipelines and components  
2121  - local : using-diffusers/callback 
2222    title : Pipeline callbacks 
2323  - local : using-diffusers/reusing_seeds 
Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ pipeline = DiffusionPipeline.from_pretrained(
6363
6464There are a few ways to load a community pipeline.
6565
66- -  Pass a local  path to ` custom_pipeline `  to load a local community pipeline.
66+ -  Pass a path to ` custom_pipeline `  to load a local community pipeline. The directory must contain a  ` pipeline.py `  file containing the pipeline class .
6767
6868  ``` py 
6969  import  torch
7070  from  diffusers import  DiffusionPipeline
7171
7272  pipeline =  DiffusionPipeline.from_pretrained(
7373      " stabilityai/stable-diffusion-3-medium-diffusers" 
74-       custom_pipeline = " ./ path/tp /pipeline_directory/ " 
74+       custom_pipeline = " path/to /pipeline_directory" 
7575      torch_dtype = torch.float16,
7676      device_map = " cuda" 
7777  )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments