Releases: ashleykleynhans/runpod-worker-inswapper
Releases · ashleykleynhans/runpod-worker-inswapper
3.0.0
2.0.0
- Removed the option to use a Network Volume because it doesn't make any sense and is significantly slower.
- Added the job id to all of the logs where the job id is known.
1.5.0
- Cache the models outside of the handler so that they aren't loaded on every request.
- Download the models and weights using wget so that the handler doesn't need to be invoked to download them.
- Clean up temporary files on successful as well as failed requests, not only successful requests.
- Added timer to the test scripts.
- Bumped RunPod SDK to version 1.6.2.
1.4.4
- Use
CUDAExecutionProvider
for insightface Face Analysis. - Improved error handling.
1.4.0
- Upgraded to Torch 2.2.0.
- Changed the logic so that if a source image only contains a single face, and the target image contains multiple faces, only the first face in the target image is swapped with the face from the source image (previously the face from the source image would be swapped into all of the faces in the target image).
- Improved logging for the various different types of logic.
- Added installation script for Network Volumes.
- Updated installation instructions for Network Volumes.
- Attempted to add
CUDAExecutionProvider
to insightfaceFaceAnalysis
but unfortunately its still not using it. - Updated RunPod SDK to 1.6.0.
1.2.2
- Improved error handling.
- Refresh worker when there is an exception.
- Bumped to latest RunPod SDK version.
- Changed
CMD
toENTRYPOINT
to suppress spammy Nvidia notice.
1.2.1
- Improved error handling.
1.2.0
- Added support for providing specific face indexes of the faces to swap in the source and target images.
- Added support for either enabling or disabling face restoration.
- Added support for either enabling or disabling face upsampling.
- Added support for either enabling or disabling background enhancement.
- Added support for specifying an upscale value.
- Added support for specifying CodeFormer fidelity.
- Added support for specifying the output format (JPEG/PNG).
1.1.1
- Support swapping multiple faces from a single source image into multiple faces in a target image.
1.1.0
- Added support for swapping all faces in a target image that contains multiple faces with the image in the source image.
- Added support for providing
target_index
in theinput
field to specify the index of the face (left to right) that should be swapped in the target image if the target image contains multiple faces, where 0 is the first face, 1 is the second face, and so on. - Restructured the documentation, improved the examples and added a list of RunPod statuses.