FangSen9000 Claude commited on
Commit
6b0f4c6
·
1 Parent(s): 2f8d0cb

Add optimized ControlNeXt-SVD-v2 implementation with direct pose input support

Browse files

Major improvements:
- Add run_controlnext_optimized.py with FP16 support, xformers, and GEGLU optimization
- Add direct pose video/images input to bypass DWPose extraction
- Implement smart output naming based on input filename
- Add ComfyUI-ControlNeXt-SVD reference implementation for analysis
- Update README with optimized inference examples
- Add easy_dwpose integration for pose extraction
- Generate example pose videos with text2pose system

Performance optimizations:
- Default FP16 precision for faster inference
- Memory-efficient attention with xformers
- Chunked VAE decoding to reduce memory usage
- GEGLU inplace operations for memory savings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

23 files changed +717 -47
Files changed (23)
ControlNeXt-SVD-v2/git_push2.logDeleted-15
ControlNeXt-SVD-v2/run_controlnext_optimized.pyAdded+383
ControlNeXt-SVD-v2/utils/__pycache__/pre_process_direct.cpython-310.pycAdded
Binary file (5.03 kB). View file
ControlNeXt-SVD-v2/utils/pre_process_direct.pyAdded+182
README.md+16-28
easy_dwpose/__pycache__/__init__.cpython-310.pycAdded
Binary file (240 Bytes). View file
easy_dwpose/__pycache__/dwpose.cpython-310.pycAdded
Binary file (2.83 kB). View file
easy_dwpose/body_estimation/__pycache__/__init__.cpython-310.pycAdded
Binary file (291 Bytes). View file
easy_dwpose/body_estimation/__pycache__/detector.cpython-310.pycAdded
Binary file (4.71 kB). View file
easy_dwpose/body_estimation/__pycache__/pose.cpython-310.pycAdded
Binary file (10.6 kB). View file
easy_dwpose/body_estimation/__pycache__/utils.cpython-310.pycAdded
Binary file (742 Bytes). View file
easy_dwpose/body_estimation/__pycache__/wholebody.cpython-310.pycAdded
Binary file (1.94 kB). View file
easy_dwpose/draw/__pycache__/__init__.cpython-310.pycAdded
Binary file (245 Bytes). View file
easy_dwpose/draw/__pycache__/controlnext.cpython-310.pycAdded
Binary file (7.25 kB). View file
easy_dwpose/draw/__pycache__/openpose.cpython-310.pycAdded
Binary file (3.69 kB). View file
generated_pose_video/GOOD_AFTERNOON_25073_01435_20250803_222800.mp4Added+3
generated_sign_video/output.mp4+2-2
generated_sign_video/test_1.mp4+2-2
generated_sign_video_direct/GOOD_AFTERNOON_25073_01435_20250803_222800.mp4Added+3
generated_sign_video_direct/GOOD_AFTERNOON_25073_01435_20250803_222800_combined.mp4Added+3
useless/abandon_cmd.mdAdded+64
ControlNeXt-SVD-v2/run_controlnext.py → useless/run_controlnext_v1(无优化.pyRenamed
File without content changes
useless/run_with_pose_video.shAdded+59