- 
                Notifications
    
You must be signed in to change notification settings  - Fork 6.5k
 
[tests] make tests device-agnostic (part 4) #10508
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 all commits
      Commits
    
    
            Show all changes
          
          
            48 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      8d0f387
              
                initial comit
              
              
                faaany 88919c0
              
                fix empty cache
              
              
                faaany e32a9ac
              
                fix one more
              
              
                faaany cb7d9d5
              
                fix style
              
              
                faaany a393860
              
                update device functions
              
              
                faaany 2f3ad32
              
                update
              
              
                faaany f3a519f
              
                update
              
              
                faaany b402629
              
                Merge branch 'main' into xpu-enabling
              
              
                faaany d1532d2
              
                Update src/diffusers/utils/testing_utils.py
              
              
                faaany 16cca22
              
                Update src/diffusers/utils/testing_utils.py
              
              
                faaany 3420e1f
              
                Update src/diffusers/utils/testing_utils.py
              
              
                faaany d15618b
              
                Update tests/pipelines/controlnet/test_controlnet.py
              
              
                faaany e814635
              
                Update src/diffusers/utils/testing_utils.py
              
              
                faaany e799516
              
                Update src/diffusers/utils/testing_utils.py
              
              
                faaany d3e8678
              
                Update tests/pipelines/controlnet/test_controlnet.py
              
              
                faaany fed282b
              
                with gc.collect
              
              
                faaany 8577a14
              
                update
              
              
                faaany f08a849
              
                Merge branch 'huggingface:main' into xpu-enabling
              
              
                faaany 35d7a7a
              
                make style
              
              
                hlky 736cc7c
              
                Merge branch 'main' into xpu-enabling
              
              
                hlky c8661f0
              
                check_torch_dependencies
              
              
                hlky d4266a7
              
                Merge branch 'main' into xpu-enabling
              
              
                faaany d820f75
              
                add mps empty cache
              
              
                faaany 6ed4523
              
                add changes
              
              
                faaany b813f16
              
                bug fix
              
              
                faaany c091bcc
              
                Merge branch 'xpu-enabling' into xpu-enabling2
              
              
                faaany f6ae056
              
                enable on xpu
              
              
                faaany 013f555
              
                Merge branch 'main' into xpu-enabling2
              
              
                faaany bb49cab
              
                update more cases
              
              
                faaany ae92d53
              
                Merge branch 'main' into xpu-enabling2
              
              
                faaany 1d1c13d
              
                revert
              
              
                faaany 5226094
              
                revert back
              
              
                faaany 6238972
              
                Merge branch 'main' into xpu-enabling2
              
              
                faaany b07c6a4
              
                Merge branch 'main' into xpu-enabling2
              
              
                hlky 5efca96
              
                Merge branch 'main' into xpu-enabling2
              
              
                faaany 58a3cb0
              
                Merge branch 'main' into xpu-enabling2
              
              
                faaany faa1615
              
                Update test_stable_diffusion_xl.py
              
              
                hlky 7fcb0da
              
                Merge branch 'main' into xpu-enabling2
              
              
                hlky fc57898
              
                Update tests/pipelines/stable_diffusion/test_stable_diffusion.py
              
              
                faaany 55f9658
              
                Update tests/pipelines/stable_diffusion/test_stable_diffusion.py
              
              
                faaany d647900
              
                Update tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py
              
              
                faaany cfbf601
              
                Update tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py
              
              
                faaany 88263e8
              
                Update tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py
              
              
                faaany 2e181a3
              
                Apply suggestions from code review
              
              
                faaany 486f7cc
              
                add test marker
              
              
                faaany 74c53c8
              
                Merge branch 'main' into xpu-enabling2
              
              
                faaany 2d79c4e
              
                Merge branch 'main' into xpu-enabling2
              
              
                hlky 3873465
              
                Merge branch 'main' into xpu-enabling2
              
              
                faaany 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
    
  
  
    
              
  
    
      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.
        
    
  
      
      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.