sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [FX] Configurability of nested module representation
Labels: triaged,module: fx

Currently, the configuration of module behavior is defined via `is_leaf_module`. For values of this, we do one of two things:

- `True` - For a Module call, don't trace into the Module but emit a `call_module` node in the FX graph
- `False` - Trace through the module. All evidence of the original module callsite is erased, i.e. the implementation of the module is inlined

https://github.com/pytorch/pytorch/pull/44757 was an attempt to make this behavior customizable, i.e. make emitting a module callsite customizable. This allows for tracing through a module and emitting a call to that

cc @ezyang @SherlockNoMad
Repository: youtube-dl
Issue: 2.5 Hour YouTube Live Stream downloads as a 14 second file at 36,000 fps
Labels: question

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [x] I've looked through the README and FAQ for similar questions
- [x] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

I downloaded a live stream from YouTube immediately after it completed and the file successfully downloaded as being around 867mb. However, when I tried to play it, I realized that it had squished the 2.5 hr stream down into a 14 second file with a bitrate of over 400mbps at nearly 36,000 frames per second. The video is no longer available on YouTube in its entirety so simply redownloading is not an option. Has anyone had an error like this before that they were able to resolve? I've attached a picture of the file properties below.

![enter image description here](https://lh3.googleusercontent.com/UuGoHVgbHHRDJxZ_y-mUn6GWOMq4-Q4bSkjT7y_e_gcaSB0-oX3qUmTTOU5p0BDB_ekkoCw-_PiNdJMXhwJRm9rQOjCjfy0UjS6rsoWorf78a6UOtTVvuVXU7trknV7EmmaAYZ2mjJBNBut9mr082RIXXCUcEQd_jrvYKQu32tGUrs5iikH-onq9A-mfzl3PCvVquXCICv29j79023PxFVJYnm1wHCpyzMtnF8SKDvR2s5AerHJDM3KoeP28WfxvTXfGT3TN17fPCQNslZJgdQt0-oldaAH2z4uc-IxR-ZpchpXpsvoAVjKcwi_ViA14qSwk-na7dByu3J6GUxey00pbMUFYDNxJqK-dq_afVq5sf1Eb3zEwUHGYPe4irk_YMcuzrHzESr3sSSF2vbqToIqwWDJnC6C98iHHHpQBoxkOxGpEFr_zttKrxWvw2GhjiWNYJmrYBNK2BfNI7bPPAwOX-GrDWPlr_eSGi_6bUmbgQUIuX8NswbjerqAl_jafi27Uvto2Xg82EqSS7zUHTkJrHiPEkDkhLlXJs0-clDqXwxpdwqnm--dt8acX1uTDwCJ9OqTe8fbRG0ujIwcYiVFdDBZPQxyxBK37obsJ5WzXjRrHCL9TBjEhLIjwSAySY_GKAJ2ZWnXVwg4CNlKAVdsGMPnX9ueB7FNuqSHMgvM5fjOZcKhrnZLtdzZO-XQ=w608-h424-no?authuser=0)
Repository: pytorch
Issue: [fx] symbolic trace "is None" and "is not None" checks
Labels: triaged,module: fx

there are many is None or is not None in 
https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_bert.py, for example:
https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_bert.py#L193

```python
if input_ids is not None:
    input_shape = input_ids.size()
else:
    input_shape = inputs_embeds.size()[:-1]
```

What is the best way to workaround these?



cc @ezyang @SherlockNoMad
Repository: godot
Issue: TileMap - editing tileset by removing previously created tile does not remove the associated bitmask
Labels: bug,topic:editor

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:** 3.2.3
<!-- Specify commit hash if using non-official build. -->


**OS/device including version:** Pop OS 20.04 (Ubuntu-based)
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->


**Issue description:**
<!-- What happened, and what was expected. -->
With a tilemap created, while editing the associated tileset I created a new autotile region. I put a bitmask on the autotile and things were fine. I later decided to redraw the autotile in a different and smaller area. I thought redrawing it would automatically remove any bitmasks associated with the areas removed from the region. However, the bitmasks continued to affect the autotile, even though the tiles now covered a different area. I then tried just deleting the tile altogether and redrawing it from scratch. The old bitmasks continued to affect the behavior of the autotile. I eventually just started the whole tileset from scratch to get rid of the old bitmasks.

**Steps to reproduce:**

Assuming you have a TileMap and have started creating a tileset for it:

1. Create a new large autotile region.
2. Add a bitmask all over it.
3. Redraw the autotile to a smaller region of the same area.
4. Add a better, smaller bitmask to it.
5. Redraw the same autotile region to its original larger state
6. Look at the bitmask.

![corrupted_bitmask](https://user-images.githubusercontent.com/6880594/94852047-2a2ac080-03de-11eb-9a93-8bbcdb2044ab.gif)

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
Any project with a tilemap can be used to view this behavior.
Repository: vscode
Issue: Setting to follow to running cells in a notebook
Labels: feature-request,notebook-execution

When running all cells in a notebook that has large cells, sometimes it's hard to follow along where the current cell is especially when the execution happens fast. I would love for an option that "follows" the actively running cell as it moves through the notebook. Right now I have to manually scroll or use the keyboard to follow.

![ezgif com-gif-maker (6)](https://user-images.githubusercontent.com/35271042/94852271-7a098780-03de-11eb-9d97-949001dd906a.gif)
Repository: pytorch
Issue: Complex and real results do not agree when computing reciprocal or pow(-1) of 0
Labels: triaged,module: complex

## 🐛 Bug

When using a float or double input, the `reciprocal()` or `pow(-1)` of 0 is infinity. However, when the input is complex, the result is NaN. Perhaps this is intended, but it seems wrong to me.

## To Reproduce

```
>>> torch.tensor(0., dtype=torch.float).pow(-1)
tensor(inf)
>>> torch.tensor(0., dtype=torch.cfloat).pow(-1)
tensor(nan+nanj)
>>> torch.tensor(0., dtype=torch.double).pow(-1)
tensor(inf, dtype=torch.float64)
>>> torch.tensor(0., dtype=torch.cdouble).pow(-1)
tensor(nan+nanj, dtype=torch.complex128)
>>> torch.tensor(0., dtype=torch.float).reciprocal()
tensor(inf)
>>> torch.tensor(0., dtype=torch.cfloat).reciprocal()
tensor(nan+nanj)
>>> torch.tensor(0., dtype=torch.double).reciprocal()
tensor(inf, dtype=torch.float64)
>>> torch.tensor(0., dtype=torch.cdouble).reciprocal()
tensor(nan+nanj, dtype=torch.complex128)
```


## Expected behavior

I assume the reciprocal of 0 should always be the same, regardless of whether the type is real or complex.

## Environment

Please copy and paste the output from our
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

PyTorch version: 1.7.0a0+81bb19c
Is debug build: True
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.3 LTS (x86_64)
GCC version: (crosstool-NG 1.24.0.123_1667d2b) 7.5.0
Clang version: Could not collect
CMake version: version 3.18.2

Python version: 3.8 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: 10.2.89
GPU models and configuration: 
GPU 0: TITAN RTX
GPU 1: TITAN RTX

Nvidia driver version: 450.51.06
cuDNN version: /usr/local/cuda-10.2.89/targets/x86_64-linux/lib/libcudnn.so.7
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.19.1
[pip3] torch==1.7.0a0
[conda] magma-cuda101             2.5.2                         1    pytorch
[conda] mkl                       2020.2                      256    conda-forge
[conda] mkl-include               2020.2                      256    conda-forge
[conda] numpy                     1.19.1           py38hbc27379_2    conda-forge
[conda] torch                     1.7.0a0                   dev_0    <develop>

cc @ezyang @anjali411 @dylanbespalko @mruberry
Repository: rust
Issue: Way to disable const_item_mutation lint for one specific const
Labels: A-lints,T-compiler,C-feature-request

The lint added in Rust 1.48 by #75573 warns on anything that looks like mutation of a `const`, such as `CONST.field = some_val` or `VEC.push(0)`.

However, there is at least one compelling reason that a library would want one of its `const` items *with a `Drop` impl* to not trigger that new lint in downstream code. See https://github.com/rust-lang/rust/pull/77251#issuecomment-699580052. We use `CFG.field = some_val` to expose safe global configuration of a library in a way that deliberately strongly triggers "okay I am writing to a global (though safely)" neurons, which an alternative like `::set_whatever(...)` does not.

#77251 weakens the lint to avoid triggering on expressions resembling `CONST.field = some_val` when there is a Drop impl on CONST, though still triggering on `VEC.push(0)` i.e. when a const with a Drop impl is used as a `&mut self` receiver.

However, this compromise is likely to hit false negatives that reduce the overall usefulness of the const item mutation lint. We would rather have a (likely attribute-based) way to disable the lint at the granularity of specific const items only. Something substantially equivalent to:

```rust
#[const_mutation_allowed]
pub const CFG: $t = $v;
```

An actual such attribute still requires more design work, since there are similar lints that we are interested in creating/uplifting in the future (e.g. const items with interior mutability) which also will need granular opt outs, and it may not be ideal to introduce a single-purpose new opt-out attribute for each one of them.

@Aaron1011
Repository: rust
Issue: Duplicate `E0121` errors are emitted for placeholder types `_` in some positions
Labels: A-type-system,C-enhancement,A-diagnostics,T-compiler,D-inconsistent,D-verbose,T-types

```rust
type FOO = fn()  -> _;

fn main() {}
```
produces ([playground link](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=154b17548997e90ab90d0645515a9dbc)):
```
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
 --> src/main.rs:1:21
  |
1 | type FOO = fn()  -> _;
  |                     ^
  |                     |
  |                     not allowed in type signatures
  |                     help: use type parameters instead: `T`

error[E0121]: the type placeholder `_` is not allowed within types on item signatures
 --> src/main.rs:1:21
  |
1 | type FOO = fn()  -> _;
  |                     ^ not allowed in type signatures

error: aborting due to 2 previous errors
```
Repository: flutter
Issue: package:coverage resolve cannot find source files for flutter tests
Labels: tool,dependency: dart,P2,team-tool,triaged-tool

Hey all!

I'm using the localization features in flutter with the generation of language files from `.arb` files. And while this works great, the generated files show up in my coverage report. According to the documentation of the coverage generation, there should be an option to exclude files using  `// coverage:ignore-file` comment in the file. However, this does not seem to work.  (see https://github.com/dart-lang/coverage#ignore-lines-from-coverage )

I would really like to exclude them to have less noise in the overall report and coverage metrics. The dart documentation mentions an additional [commandline parameter `--check-ignore` which needs to be passed to activate this behavior](https://github.com/dart-lang/coverage/blob/3dd55046117786ea7a7fb92bc812a2a5e25643b0/bin/format_coverage.dart#L133-L139), but I do not see something similar in the `flutter test` command.

Would it be an option to add this `--check-ignore` to the `flutter test` command to then pass it along?

I would love to add a PR to add support if you could point me in the right direction for the approach.
Repository: youtube-dl
Issue: Which versions of Python does youtube-dl support (work with) ?
Labels: question

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [X ] I'm asking a question
- [ ] I've looked through the README and FAQ for similar questions
- [ ] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

WRITE QUESTION HERE
Which versions of Python does youtube-dl work with?

I know it works with 2.6 and 2.7.  Does it work with 3.x?
The Python people keep threatening to obliterate 2.x; how will that affect youtube-dl?

Also, how does the Windows EXE version of youtube-dl work?  Does it come bundled with a specific version of Python?  Note: When I use youtube-dl under WIndows, I just use the standard Unix version of the program and it uses my installed version of Python (2.6).
Repository: flutter
Issue: `flutter drive` options `-d` and `--browser-name` have confusing behavior
Labels: tool,t: flutter driver,platform-web,P2,customer: dent,team-web,triaged-web

Currently if you run `flutter drive -d chrome` (and likely `-d edge`) but without `--browser-name` we will run the web test and succeed. However, there are two issues with this:

- We already have a way to specify the browser when running driver tests `--browser-name=BROWSER`, so why is `-d chrome` allowed?
- When running with `-d chrome` you will see the browser opened once, closed immediately, then opened again. It's ultimately harmless but confusing. (hypothesis: the first browser is opened by Flutter tool's existing logic for launching browsers for `flutter run`, and the second browser is launched by WebDriver).

It is also possible to run with `--browser-name` but without `-d`, but that will attempt to run an Android test, which may produce false positives (you think your web test succeeded but you actually ran an Android test).

**Possible solution**: only use the `-d BROWSER` and make it consistent with `flutter run`. Bypass Flutter tool's browser launching logic and delegate to WebDriver.
Repository: flutter
Issue: [gen_l10n] Generate static localization keys
Labels: tool,framework,a: internationalization,c: proposal,P3,team-framework,triaged-framework

## Use case

My business logic is executed in a separate class (ViewModel/BLoC pattern) that doesn't have access to Flutter's `BuildContext`. However, I need to pass localized messages back to the UI in a reactive way (via StreamController/PublishSubject). 

ViewModel class:
```
PublishSubject<String> errorMessage = PublishSubject();

void submit() {
  try {
    // Execute business logic
  } catch(e) {
    // Pass error message to subscriber
    errorMessage.add("submission_error");
  }
}
```

Screen widget:
```
@override
void initState() {
  super.initState();
 
  // Subscribe to error messages
  _viewModel.errorMessage.listen((message) => _showSnackbar(message));
}
```

## Proposal

The gen_l10n tool should generate static keys which can be resolved into localized messages when the `BuildContext` is available. 

That's how Android basically manages all kinds of resources like strings, dimensions or colors. The resource IDs (automatically generated integer constants) can be referenced from anywhere (R.string.submission_error), but can only be converted into strings within the application context.

```
// Generated class
class LocaleKey {
  LocaleKey._();

  static String submissionError = "submission_error";
}
```

Example usage:
```
errorMessage.add(LocaleKey.submissionError);

...

_viewModel.errorMessage.listen((localeKey) {
    String localizedMessage = AppLocalizations.of(context).t(localeKey);
    _showSnackbar(localizedMessage);
}
```

Or with an extension function:
`context.getString(localeKey)`
Repository: flutter
Issue: Add2App : Update docs to show correct error message
Labels: platform-android,tool,d: api docs,t: gradle,a: existing-apps,a: error message,P2,team-android,triaged-android

Trying to follow the instructions for adding flutter to an existing android app and kept getting this error:

> Project :app doesn't exist. To custom the host app project name, set `org.gradle.project.flutter.hostAppProjectName=<project-name>` in gradle.properties.. Expression: (appProject != null). Values: appProject = null

The problem is that error message is incorrect. As you can see right here:
https://github.com/flutter/flutter/blob/39d7a019c150ca421b980426e85b254a0ec63ebd/packages/flutter_tools/gradle/flutter.gradle#L740 the correct property to set is `flutter.hostAppProjectName` (with no org.gradle.project prefix)

Would also be a good idea to point out that this goes in the gradle properties of the root project and to fix the grammar of the error
Repository: flutter
Issue: SkASSERT(!rr.isComplex()) crash in Flutter Gallery
Labels: c: crash,customer: fuchsia,engine,dependency: skia,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-engine,triaged-engine

MacOS, Debug build, happens when hovering the "Back" button of the new Reply email demo.

Stacktrace:
```
sk_abort_no_print() 
SkRRectPriv::GetSimpleRadii(SkRRect const&)::'lambda'()::operator()() 
SkRRectPriv::GetSimpleRadii(SkRRect const&) 
GrRenderTargetContext::drawFastShadow(GrClip const*, SkMatrix const&, SkPath const&, SkDrawShadowRec const&) 
SkGpuDevice::drawShadow(SkPath const&, SkDrawShadowRec const&)
SkCanvas::onDrawShadowRec(SkPath const&, SkDrawShadowRec const&) 
SkCanvas::private_draw_shadow_rec(SkPath const&, SkDrawShadowRec const&) 
SkShadowUtils::DrawShadow(SkCanvas*, SkPath const&, SkPoint3 const&, SkPoint3 const&, float, unsigned int, unsigned int, unsigned int)
flutter::PhysicalShapeLayer::DrawShadow(SkCanvas*, SkPath const&, unsigned int, float, bool, float) 
flutter::PhysicalShapeLayer::Paint(flutter::Layer::PaintContext&) const
```

`spotShadowRRect` looks like this:
```
[0]:{fX:24.2452583, fY:24.2452545}
[1]:{fX:24.2452583, fY:24.2452583}
[2]:{fX:24.2452583, fY:24.2452545}
[3]:{fX:24.2452583, fY:24.2452583}
```
For whatever reason [1].fY is slightly different than the others, which triggers `SkASSERT(!rr.isComplex());`.

```
[✓] Flutter (Channel master, 1.23.0-8.0.pre.56, on macOS 11.0 20A5384c x86_64, locale en-US)
    • Flutter version 1.23.0-8.0.pre.56 at /Users/Matej/Projects/flutter/flutter
    • Framework revision d48300e8a4 (2 days ago), 2020-09-29 15:52:03 -0400
    • Engine revision a6a6fd163b
    • Dart version 2.11.0 (build 2.11.0-177.0.dev)
```
Repository: go
Issue: cmd/doc: support custom output format
Labels: NeedsInvestigation,FeatureRequest

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

1.15.2

### Does this issue reproduce with the latest release?

yes

### What operating system and processor architecture are you using (`go env`)?

darwin/amd64

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->

I am using `go doc` to automatically generate static documentation for internal repositories.

### What did you expect to see?

A way to provide a text/template to control the output format or, alternatively, a way to output the data in a standard machine-parseable format (e.g. json, yaml, ...) that I can use to drive custom output generation.

### What did you see instead?

`go doc` does only provide a single format for direct human consumption.
Repository: pytorch
Issue: Better documentation of vec256 API
Labels: module: docs,triaged,module: vectorization,internals

## 📚 Documentation

The vec256 API (aten/src/ATen/cpu/vec256/vec256.h) doesn't seem to have much documentation, which makes it pretty difficult to figure out how to use it. It took me a significant amount of time just to learn how to write one line of code.

cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh @ailzhang @jlin27 @mruberry @VitalyFedyunin
Repository: youtube-dl
Issue: Add option to substitute one character for another character in the filename
Labels: request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.09.20. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Search the bugtracker for similar feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x ] I'm reporting a feature request
- [ x] I've verified that I'm running youtube-dl version **2020.09.20**
- [x ] I've searched the bugtracker for similar feature requests including closed ones


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

Some videos have "/" character, which cannot be used in filenames. I would like to have an option to replace / with ／ instead of defaulting to a space, so that it'll be easier to post-process or sanitize later.
Repository: godot
Issue: SoftBody It has error get_global_transform
Labels: bug,confirmed,topic:physics,topic:3d

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.3.stable.official

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
GLES2 windows7

**Issue description:**
<!-- What happened, and what was expected. -->
I need to temporarily remove the software object from the scene tree.
After I removed it from the stack I created, an error was reported on the console for each frame.
content is as follows:

`ERROR: get_global_transform: Condition "!is_inside_tree()" is true. Returned: Transform()
   At: scene/3d/spatial.cpp:268`