Posts: 12.055
	Threads: 66
	Joined: May 2017
	
	
 
	
	
		I did not update the dev version, only the test .exe only upload.
Cu Selur
	
 
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 12.055
	Threads: 66
	Joined: May 2017
	
	
 
	
		
		
		16.12.2024, 13:40 
(This post was last modified: 16.12.2024, 14:51 by Selur.)
		
	 
	
		Did you test the test (Hybrid_deoldify) version?
	
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 987
	Threads: 81
	Joined: Feb 2020
	
	
 
	
	
		Yes it works as expected. 
 
But in my dev version 2024.12.15.1 the RealESRGAN resizer is not working.
The generated script is the following
clip = RealESRGAN(clip=clip, model=5, device_index=0, trt=True, trt_cache_dir=r"D:\PProjects\vs-deoldify_dev\clips", trt_workspace_size=1073741824, trt_int8=False, denoise_strength=0.50, num_streams=1) # 2960x2160
 
And I get the following error:
2024-12-16 14:16:20.625
Failed to evaluate the script:
Python exception: realesrgan() got an unexpected keyword argument 'trt_int8'
Could you check ?
Dan
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 12.055
	Threads: 66
	Joined: May 2017
	
	
 
	
	
		Will check.
	
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 12.055
	Threads: 66
	Joined: May 2017
	
	
 
	
	
		I missed that the option was removed in:
https://github.com/HolyWu/vs-realesrgan/...36331c5L91
=> will fix
Cu Selur
	
 
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 12.055
	Threads: 66
	Joined: May 2017
	
	
 
	
	
		=> Uploading a new dev&torch package, will be up in ~1hour.
Cu Selur
	
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 987
	Threads: 81
	Joined: Feb 2020
	
	
 
	
	
		Installed new torch packages and dev version and not it seems OK.
You should add in Hybrid the support for vs-realesrgan new parameter: num_batches.
As stated in the release of v5.1.0: Improve performance by using separate streams and non_blocking for moving tensors between CPU and GPU. Now num_streams arg has negligible influence on performance compared to num_batches arg.
So by enabling num_batches the performance of vs-realesrgan should improve significantly.
Dan
	
	
	
	
	
 
 
	
	
	
		
	Posts: 12.055
	Threads: 66
	Joined: May 2017
	
	
 
	
	
		Quote:Installed new torch packages and dev version and not it seems OK.
not -> now ?
Is it okay or not?
Quote:You should add in Hybrid the support for vs-realesrgan new parameter: num_batches.
will add later, first wanted to be sure the other stuff is okay.
Cu Selur
	
 
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
 
 
	
	
	
		
	Posts: 987
	Threads: 81
	Joined: Feb 2020
	
	
 
	
	
		 (16.12.2024, 19:17)Selur Wrote:  Quote:Installed new torch packages and dev version and not it seems OK.
not -> now ?
Is it okay or not?
It's OK, but I haven't had time to test it extensively yet. 
Dan
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 12.055
	Threads: 66
	Joined: May 2017
	
	
 
	
	
		Ok, uploaded a new dev which adds num_batches support to RealESRGAN.
Cu Selur
	
	
	
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.