huggingface / huggingface/candle

Consider using candle built-in interpolate op for image resize

Open
#3,336 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

Hi, i found there were plenty of apps and models inside candle have image resize, for example:
yolo, sam, qwenvl, paddlevl-ocr etc, almost any image based models have resize.

However, current using image crate which is wide kwown slow.

This is problematic when the models runs in REALTIME, it become a massive bottleneck to run vision apps.

Would consider using built-in interpolate op as resize and using kornia-rs io as image decoding and reading

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.