Skip to content

Add support for grouped (and depthwise) convolutions #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

karthikprasad
Copy link
Contributor

Summary:
So far, we only supported Convs with groups=1 and depthwise convolutions for 1x1 Convs only.

This commit generalizes the per-sample gradient computation for any Conv with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

@karthikprasad karthikprasad self-assigned this Oct 23, 2020
@karthikprasad karthikprasad added the enhancement New feature or request label Oct 23, 2020
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Oct 23, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: 9d11a2a377c8727206422f2e0856591e44bddd49
karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Oct 24, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: 013007018926a53561d19bb25195f4223ad8b22e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Oct 24, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: 4fe4190ed7cd316251a3ea2661768beec6eeecc9
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Oct 26, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: d88d52de7daa81e73fa7509b145c79b5ee931f7d
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Oct 29, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: c3a2dbe089423c3b221159976188d95c509ef3f2
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 30, 2020
karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Nov 2, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: 2027046ca32e8dfd7a069f79d8c20a6320ea21e9
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Nov 2, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: bd2a3ac150e0acfaf36bee3fb4bc5169cf90db75
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Nov 2, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: 40fa521557a5de9748cce94e6b53a4c4e3168cf5
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Nov 6, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Differential Revision: D24488573

fbshipit-source-id: 2a597f934dc4b48eea7a9f31e967c2f5c010ed06
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Nov 6, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Reviewed By: Darktex

Differential Revision: D24488573

fbshipit-source-id: 2a86da52a14d8bbff82c51b4a69023993215576b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Nov 6, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Reviewed By: Darktex

Differential Revision: D24488573

fbshipit-source-id: cda62a93091ee3cce42822f62a5a2a028b9ac03a
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Nov 6, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Reviewed By: Darktex

Differential Revision: D24488573

fbshipit-source-id: 18b0e59b77b2b6c65d7d1667900119b6761fc2fc
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

karthikprasad added a commit to karthikprasad/opacus that referenced this pull request Nov 6, 2020
Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Reviewed By: Darktex

Differential Revision: D24488573

fbshipit-source-id: cf2e0636371472cb095f83ebea5e476a5786f2be
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

Summary:
Pull Request resolved: pytorch#78

So far, we only supported `Conv`s with `groups=1` and depthwise convolutions for 1x1 `Conv`s only.

This commit generalizes the per-sample gradient computation for any `Conv` with a valid groups, thereby adding support for grouped (and depthwise) convoltuons

Reviewed By: Darktex

Differential Revision: D24488573

fbshipit-source-id: 080d8830a7dc4562c88a45439073e49fa352b417
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24488573

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c2a824a.

@karthikprasad karthikprasad deleted the export-D24488573 branch November 26, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. enhancement New feature or request fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants