huggingface / huggingface/candle

conv-transpose2d backwards support

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

Description

I was making a UNet and ran into the lack of backwards support for conv_transpose2d.

https://github.com/huggingface/candle/blob/563a79afa1c6a5ad75ab88aef805f79fb1559f73/candle-core/src/backprop.rs#L312-L314

Also looking into alternatives like Upsampling2d like support but didn't find that option. Was wondering what the timeline would be like to get this supported? Either conv_transpose2d backwards or upsampling2d for both.

Thank you.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at candle-core/src/backprop.rs around lines 312-314 and inspect how conv_transpose2d currently lacks backward support. Compare the requested alternatives in the issue, then define done as adding backward support for conv_transpose2d or providing the proposed upsampling2d support, with appropriate validation in the existing project tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.