- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.5k
          Add a disable_mmap option to the from_single_file loader to improve load performance on network mounts
          #10305
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
  
     Merged
                    Changes from 23 commits
      Commits
    
    
            Show all changes
          
          
            27 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      fe205a6
              
                Add no_mmap arg.
              
              
                danhipke a6b4d8f
              
                Fix arg parsing.
              
              
                danhipke 3cf01bf
              
                Update another method to force no mmap.
              
              
                danhipke 2e08242
              
                logging
              
              
                danhipke bcca53b
              
                logging2
              
              
                danhipke c895d86
              
                propagate no_mmap
              
              
                danhipke c081e0b
              
                logging3
              
              
                danhipke 7231c28
              
                propagate no_mmap
              
              
                danhipke 0c472b2
              
                logging4
              
              
                danhipke c4d4d60
              
                fix open call
              
              
                danhipke 4f84222
              
                clean up logging
              
              
                danhipke 5fab6d1
              
                cleanup
              
              
                danhipke 1d8cf69
              
                fix missing arg
              
              
                danhipke 5ef288f
              
                update logging and comments
              
              
                danhipke fec5753
              
                fix merge conflict
              
              
                danhipke 3cc50f0
              
                Merge branch 'main' into no-mmap
              
              
                hlky f80644d
              
                Rename to disable_mmap and update other references.
              
              
                danhipke ffe5aba
              
                [Docs] Update ltx_video.md to remove generator from `from_pretrained(…
              
              
                sayakpaul 3fc4a42
              
                docs: fix a mistake in docstring (#10319)
              
              
                Leojc 9e887b4
              
                [BUG FIX] [Stable Audio Pipeline] Resolve torch.Tensor.new_zeros() Ty…
              
              
                syntaxticsugr dbbcd0f
              
                [docs] Fix quantization links (#10323)
              
              
                stevhliu dfebda2
              
                [Sana]add 2K related model for Sana (#10322)
              
              
                lawrence-cj a6e3745
              
                Merge branch 'main' into no-mmap
              
              
                danhipke 6720c51
              
                Update src/diffusers/loaders/single_file_model.py
              
              
                danhipke 2926158
              
                Update src/diffusers/loaders/single_file.py
              
              
                danhipke 5fdd062
              
                Merge branch 'main' into no-mmap
              
              
                sayakpaul 22b3370
              
                make style
              
              
                DN6 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.