• Kashif Rasul's avatar
    update expected results of slow tests (#268) · f4781a0b
    Kashif Rasul authored
    
    
    * update expected results of slow tests
    
    * relax sum and mean tests
    
    * Print shapes when reporting exception
    
    * formatting
    
    * fix sentence
    
    * relax test_stable_diffusion_fast_ddim for gpu fp16
    
    * relax flakey tests on GPU
    
    * added comment on large tolerences
    
    * black
    
    * format
    
    * set scheduler seed
    
    * added generator
    
    * use np.isclose
    
    * set num_inference_steps to 50
    
    * fix dep. warning
    
    * update expected_slice
    
    * preprocess if image
    
    * updated expected results
    
    * updated expected from CI
    
    * pass generator to VAE
    
    * undo change back to orig
    
    * use orignal
    
    * revert back the expected on cpu
    
    * revert back values for CPU
    
    * more undo
    
    * update result after using gen
    
    * update mean
    
    * set generator for mps
    
    * update expected on CI server
    
    * undo
    
    * use new seed every time
    
    * cpu manual seed
    
    * reduce num_inference_steps
    
    * style
    
    * use generator for randn
    Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
    f4781a0b
vae.py 20.6 KB