-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Add modulation input for DeformConv2D #2791
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
Merged
fmassa
merged 4 commits into
pytorch:master
from
Licht-T:add-modulation-for-deformable-convolution
Nov 9, 2020
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -455,21 +455,17 @@ jobs: | |
resource_class: gpu.small | ||
environment: | ||
image_name: "pytorch/manylinux-cuda101" | ||
PYTHON_VERSION: << parameters.python_version >> | ||
steps: | ||
- checkout | ||
- designate_upload_channel | ||
- run: | ||
name: Generate cache key | ||
# This will refresh cache on Sundays, nightly build should generate new cache. | ||
command: echo "$(date +"%Y-%U")" > .circleci-weekly | ||
- restore_cache: | ||
{% raw %} | ||
keys: | ||
- env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe the recommended way to handle invalid caches on CI is to change the key name, instead of having it be |
||
{% endraw %} | ||
- run: | ||
name: Setup | ||
command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh | ||
command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh | ||
- save_cache: | ||
{% raw %} | ||
key: env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} | ||
|
@@ -533,18 +529,14 @@ jobs: | |
name: windows-gpu | ||
environment: | ||
CUDA_VERSION: "10.1" | ||
PYTHON_VERSION: << parameters.python_version >> | ||
steps: | ||
- checkout | ||
- designate_upload_channel | ||
- run: | ||
name: Generate cache key | ||
# This will refresh cache on Sundays, nightly build should generate new cache. | ||
command: echo "$(date +"%Y-%U")" > .circleci-weekly | ||
- restore_cache: | ||
{% raw %} | ||
keys: | ||
- env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} | ||
{% endraw %} | ||
- run: | ||
name: Setup | ||
command: .circleci/unittest/windows/scripts/setup_env.sh | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those changes are also present in #2973, and there is some discussion going on with @mthrok on the best way to solve this.
In order to move forward with this PR, I'll be merging this as is but let's maybe revisit this implementation in a follow-up PR following @mthrok and @seemethere feedback.