sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: transformers
Issue: add MeMViT model
Labels: New model

### Model description

[MeMViT, CVPR 2022](https://arxiv.org/abs/2201.08383) is the most efficient transformer-based video understanding model, and META AI released it. Its efficient online attention calculation mechanism decreases computation by 30 times compared to SOTA video classification models.

It would be an excellent addition to the `transformers` library considering it is the current SOTA on AVA, EPIC-Kitchens-100 action classification, and action anticipation datasets.

### Your contribution

I want to work on adding this architecture to the HuggingFace.

### Open source status
- [x] The model implementation is available
- [x] The model weights are available

### Provide useful links for the implementation

Source code: https://github.com/facebookresearch/MeMViT
Weight files: https://github.com/facebookresearch/MeMViT#model-checkpoints

cc: @NielsRogge @alaradirik
Repository: rust
Issue: Exponential parse time with nested and out-of-order attributes
Labels: I-compiletime,C-bug

Found with a [modified fuzz-rustc](https://github.com/jruderman/fuzz-rustc)

### Code

```rust
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
#![a = { #[y] #![x]
```

### Time complexity

Each additional line roughly doubles the time taken to reject the input.

### Where it's slow

From `-Z time-passes`:

* the slow pass is `parse_crate`

From [sample-head.txt](https://github.com/rust-lang/rust/files/10138299/sample-head.txt): 

* [`annotate_following_item_if_applicable`](https://github.com/rust-lang/rust/blob/1eb62b1235fd77200e6bd967d70e83c0f2497233/compiler/rustc_parse/src/parser/attr.rs#L138) is on the stack repeatedly

### Regression

Regression in nightly-2021-09-06, likely from #88257 (@estebank)

### Version

```
rustc 1.67.0-nightly (1eb62b123 2022-11-27)
binary: rustc
commit-hash: 1eb62b1235fd77200e6bd967d70e83c0f2497233
commit-date: 2022-11-27
host: x86_64-apple-darwin
release: 1.67.0-nightly
LLVM version: 15.0.4
```

@rustbot label +I-compiletime
Repository: opencv
Issue: Error "(-215:Assertion failed) (int)_numAxes == inputs[0].size() in function 'cv::dnn::PermuteLayerImpl::getMemoryShapes" during net.forward for blob containng multiple images
Labels: category: dnn (onnx)

### System Information

OpenCV python version: 4.6.0 (built from c++ sources with cuda)
Operating System / Platform: Windows 10
Python version: 3.10

### Detailed description

Hello,

I am trying to do detections on multiple images at once. So I am putting them into a blob by using `cv2.dnn.blobFromImages` but during net.forward I am getting error:
[ERROR:0@0.155] global D:\CODING\Developement\C++\Libs\OpenCV 4.6.0\modules\dnn\src\net_impl.cpp (1171) cv::dnn::dnn4_v20220524::Net::Impl::getLayerShapesRecursively OPENCV/DNN: [Permute]:(onnx_node!Transpose_200): getMemoryShapes() throws exception. inputs=1 outputs=0/1 blobs=0
[ERROR:0@0.156] global D:\CODING\Developement\C++\Libs\OpenCV 4.6.0\modules\dnn\src\net_impl.cpp (1174) cv::dnn::dnn4_v20220524::Net::Impl::getLayerShapesRecursively     input[0] = [ 2 1 3 85 80 80 ]
[ERROR:0@0.156] global D:\CODING\Developement\C++\Libs\OpenCV 4.6.0\modules\dnn\src\net_impl.cpp (1184) cv::dnn::dnn4_v20220524::Net::Impl::getLayerShapesRecursively Exception message: OpenCV(4.6.0) D:\CODING\Developement\C++\Libs\OpenCV 4.6.0\modules\dnn\src\layers\permute_layer.cpp:161: error: (-215:Assertion failed) (int)_numAxes == inputs[0].size() in function 'cv::dnn::PermuteLayerImpl::getMemoryShapes'

Detecting works fine for single image and function `cv2.dnn.blobFromImage`

Model has been converted to onnx from YOLOv5 .pt

[Data.zip](https://github.com/opencv/opencv/files/10139199/Data.zip)


### Steps to reproduce

```
INPUT_WIDTH = 640
INPUT_HEIGHT = 640	

modelWeights = "yolov5n.onnx"
net = cv2.dnn.readNet(modelWeights)

images = []
images.append(cv2.imread("1.jpg"))
images.append(cv2.imread("2.jpg"))

blob = cv2.dnn.blobFromImages(images, 1/255, (INPUT_WIDTH, INPUT_HEIGHT), [0,0,0], 1, crop=False)
net.setInput(blob)
output_layers = net.getUnconnectedOutLayersNames()
outputs = net.forward(output_layers)
return outputs
```

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: pytorch
Issue: DDP overlapped optimizer: set grads to None enhancements
Labels: oncall: distributed,module: data parallel,module: ddp

### 🚀 The feature, motivation and pitch

https://github.com/pytorch/pytorch/pull/89194 is adding DDP overlapped optimizer with very basic support for setting grads to None, i.e. it will set all DDP managed parameters grads to None. As enhancements, we should:

1. Only set grads to None for the parameters with in backwards optimizers which might not necessarily be all DDP parameters
2. set grads to None as we run the optimizer step, to save memory. Currently peak memory is not reduced because we only set the grads to None at the end of backwards.

There is currently no use case for (1) and DDP reducer current implementation blocks doing (2) effectively, so both of these require follow up discussion.

### Alternatives

_No response_

### Additional context

_No response_

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu
Repository: vscode
Issue: Markdown tip on statusbar panel uses different background color for backtick-marked text
Labels: themes,under-discussion

I am using Dark+ theme.

![image](https://user-images.githubusercontent.com/6726799/205273089-3b45e52b-d608-4757-959e-87c93512f881.png)

Maybe this is intentional, but I thought I'd check.

VS Code version: Code - Insiders 1.74.0-insider (493a541735b84de36b628750ba716a430669cb7f, 2022-12-02T05:21:11.264Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes


<!-- generated by issue reporter -->
Repository: flutter
Issue: When setting the color of ProgressBar, the animation of ProgressBar will not work properly.
Labels: platform-android,a: platform-views,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-android,triaged-android

Wrap the native android code with Fultter. When we set the inderterminateTint in the progressbar component, android:indeterminateTint="#F84D5F", the animation will not work properly.

```
    <ProgressBar
        android:layout_width="32dp"
        android:layout_height="32dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        android:indeterminate="true"
        android:indeterminateTint="#F84D5F"
        android:id="@+id/progress_bar"
        android:visibility="visible"
        />
```


Note that this is a native, native, native... component. We use it by "PlatformView".

![image](https://user-images.githubusercontent.com/95599645/205282923-3f49ba21-bfaa-47a8-9305-f6e055de60df.png)
This loading icon will not have animation. It works fine in the react-native project and native project.

And sorry I don't understand why you asked me to follow this [document](https://api.flutter.dev/flutter/material/ProgressIndicatorThemeData-class.html) in this [issue](https://github.com/flutter/flutter/issues/106644). My problem is that we need to use native android components.
Repository: go
Issue: debug/dwarf: r.Next() returns wrong ent when DWARF5 used.
Labels: NeedsInvestigation,compiler/runtime

### What version of Go are you using (`go version`)?

go 1.19.3

### Does this issue reproduce with the latest release?

yes

### What operating system and processor architecture are you using (`go env`)?

```
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="~/.cache/go-build"
GOENV="~/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/x86_64/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/x86_64"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/x86_64/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/x86_64/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build147440491=/tmp/go-build -gno-record-gcc-switches"
```

### What did you do?
```
0x000142a2:   DW_TAG_subprogram
                DW_AT_low_pc    (0xffffffff81002280)
                DW_AT_high_pc   (0xffffffff810022f0)
                DW_AT_frame_base        (DW_OP_reg7 RSP)
                DW_AT_call_all_calls    (true)
                DW_AT_abstract_origin   (0x000160e6 "rcu_read_unlock")
				
0x000160e6:   DW_TAG_subprogram
                DW_AT_name      ("rcu_read_unlock")
                DW_AT_decl_file ("/x86_64/linux/./include/linux/rcupdate.h")
                DW_AT_decl_line (765)
                DW_AT_prototyped        (true)
                DW_AT_inline    (DW_INL_inlined)
```
Above is extracted from vmlinux (compiled by clang-15) by llvm-dwarfdump-15, when linux kernel compiled with DWARF5 debug info, go debug/dwarf can't decode entry at 0x000160e6 correctly.

Test program
```
package main

import (
    "fmt"
    "debug/dwarf"
    "debug/elf"
)

func main() {
    file, err := elf.Open("vmlinux")
    if err != nil {
        return
    }
    debugInfo, err := file.DWARF()
    if err != nil {
        return
    }

        ent, _ := getEntryByOffset(debugInfo, 0x000142a2)
        fmt.Printf("%v\n", ent)
        ent, _ = getEntryByOffset(debugInfo, 0x000160e6)
        fmt.Printf("%v\n", ent)
}

func getEntryByOffset(debugInfo *dwarf.Data, offset dwarf.Offset) (*dwarf.Entry, error) {
        r := debugInfo.Reader()
        r.Seek(offset)
        return r.Next()
}
```

### What did you expect to see?
The 2nd printf should print ent name as rcu_read_unlock.


### What did you see instead?
The 2nd printf should print ent name of some other subprogram.
Repository: PowerToys
Issue: New feature idea
Labels: Needs-Triage

### Description of the new feature / enhancement

This feature shows to users all possible commands for Power Toys. Maybe a pop-up window with all possible hotkeys selected by user.

### Scenario when this would be used?

When the user don't remember how to use some feature of Power Toys and wants to see all hotkeys to easily remind.

### Supporting information

_No response_
Repository: godot
Issue: LSP warning. `(UNSAFE_PROPERTY_ACCESS): Thu property 'result' is not present in the inferred type 'JSONParseResult'`
Labels: bug,topic:gdscript

### Godot version

3.5.1 stable

### System information

MacOS 13.0.1

### Issue description

<img width="1657" alt="Screenshot 2022-12-02 at 15 17 12" src="https://user-images.githubusercontent.com/14233263/205291202-90605860-b8df-427e-a8dd-87e1107cb15b.png">

Also `# warning-ignore:unsafe_property_access` doesn't ignore the warning. But double ignoring does the job.

### Steps to reproduce

1. Check the **Unsafe Property Access** in **Project Settings -> Debug -> GDScript**
2. Add script:

```
func test_json() -> void:
	var content: JSONParseResult = JSON.parse("[ \"text\" ]")
	# warning-ignore:unsafe_property_access
	print(content.result)
	# warning-ignore:unsafe_property_access
	# warning-ignore:unsafe_property_access
	print(content.result)
```

### Minimal reproduction project

In the "Steps to reproduce section".
Repository: angular
Issue: Incorrect source reference given for "If ngModel is used within a form tag,"
Labels: hotlist: error messages,area: forms,P3

### Which @angular/* package(s) are the source of the bug?

forms

### Is this a regression?

No

### Description

When a name attribute is omitted from a control with ngModel the source reference is incorrect.


### Please provide a link to a minimal reproduction of the bug

https://angular-ivy-khcdot.stackblitz.io

### Please provide the exception or error you saw

```true
ERROR Error: NG01352: If ngModel is used within a form tag, either the name attribute must be set or the form
    control must be defined as 'standalone' in ngModelOptions.

    Example 1: <input [(ngModel)]="person.firstName" name="first">
    Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">
```


### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular 13 (Original discovery)
Angular 15 (StackBlitz - minimal sample)
```


### Anything else?

To replicate
```
<form>
  <label>Name</label>
  <input
    class="w-100"
    pInputText
    type="text"
    [(ngModel)]="person.name">
  <label>Last Name</label>
  <input
    class="w-100"
    pInputText
    type="text"
    name="surname"
    [(ngModel)]="person.surname">
</form>

```
Class
```
@Component({
  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: [ './app.component.css' ]
})
export class AppComponent  {
  name = 'Angular ' + VERSION.major;
  person = {
    name: "John",
    surname: "Smith"
  }
}

```

Error is reported on line 14 ([(ngModel)]="person.surname">) which does have a name attribute when the error is actually on line 7

Also checked if formatting played a role and tested version with attributes on same line - same result.

Not a critical issue but can be frustrating when trying to track an error and the reference points to a line of code that has nothing wrong with it.
Repository: pytorch
Issue: [GradScaler] Inconsistent scale values across different GPUs caused by uneven inputs for AMP DDP training
Labels: triaged,module: amp (automated mixed precision)

### 🐛 Describe the bug

Hello, I want to add [Automatic Mixed Precision (AMP)](https://pytorch.org/docs/master/amp.html?highlight=gradscaler#) training into my DDP training codes.

In my case, different GPUs could have uneven inputs during the training process. Thus I use model.join() to handle this problem and it works.

However, to realize the AMP training, I use the [torch.cuda.amp.GradScaler](https://pytorch.org/docs/master/amp.html#torch.cuda.amp.GradScaler) class. Due to the uneven inputs problem, we get inconsistent scale values after several epochs, which gradually causes a large loss difference and training error. 

For example, 

1. Due to data imbalance, rank 0 could run more batches/iterations using model.join().
![image](https://user-images.githubusercontent.com/23723621/205296877-7ae6b562-b65d-4dee-8e81-bb11aba2ed2f.png)

2. Since growth_interval is same (default: 2000) for rank 0 and 1, after several training epochs, rank 0 and 1 could run different numbers of batchs/iterations, which leads to different growth timestamp of scale. As shown below, at Epoch 17 Iter 2071, they got different scale values.
![image](https://user-images.githubusercontent.com/23723621/205297947-800daa15-5af4-42d6-9d5e-ff956f35c760.png)
![image](https://user-images.githubusercontent.com/23723621/205296993-10019b59-9c7a-4f1e-8870-bdc98ea6cec5.png)

I think this could be a bug of torch.cuda.amp.GradScaler while using uneven inputs for DDP training. 
**There should be some synchronization mechanism to keep the consistency of the scale value (or the growth_tracker) across different GPUs in the case of uneven inputs.**

Thanks a lot if you can help answer my question!


### Versions

pytorch 1.12.1
2 * A100

cc @mcarilli @ptrblck @leslie-fang-intel @jgong5
Repository: godot
Issue: Godot's .NET math types are way slower than System.Numerics
Labels: enhancement,documentation,topic:dotnet,performance

### Godot version

4.0 beta 6

### System information

Win 11, Ryzen 5 5600H, 32GB RAM

### Issue description

Godot's integrated math library for .NET 6 is considerably slower than standard .NET System.Numerics.

<img width="346" alt="image" src="https://user-images.githubusercontent.com/57505542/205300776-73661bcc-5357-4c3a-974c-9998ab230886.png">


### Steps to reproduce

Do pretty much any Vector ops and compare it against System.Numerics. See included project for a small benchmark.

### Minimal reproduction project

[VectorBenchmark.zip](https://github.com/godotengine/godot/files/10141337/VectorBenchmark.zip)
Repository: PowerToys
Issue: [Run-Plugin] Add option to configure browser for web search
Labels: Idea-Enhancement,Product-PowerToys Run

### Description of the new feature / enhancement

PowerToys Run window has a new field to configure the browser to be used when searching for entries on the web. The default value would of course point to the system default browser. Additionally, detection of available/installed browsers to be selected from (instead of having to provide a system path) might be a convenience feature.

### Scenario when this would be used?

I have a "main" browser (FF) set to restore all tabs from previous session for everything work-related that is somewhat permanent and frequently used. I have a secondary "research" browser (Chrome) set to clean up everything each time for quick searches while coding, solving a problem, or dicussing trivia. I don't care what happens to the tabs of the research browser and can simply close it once I'm done.
Given that I could run my search through PowerToys Run, I don't want to manually close all tabs when opened in my main browser but would instead like them to be opened in my research browser. Given that not everybody thinks like that - or simply doesn't care - this should be configurable.

### Supporting information

_No response_
Repository: create-react-app
Issue: Inability to reference tailwind config inside src folder using RCA
Labels: needs triage,issue: bug report

One of tailwindcss selling points is the ability to include the css variables in your javascript logic: https://tailwindcss.com/docs/configuration#referencing-in-java-script.  

With react create app the path to the tailwind config file is fixed in webpack.config.js L72:
```
const useTailwind = fs.existsSync(
  path.join(paths.appPath, 'tailwind.config.js')
);
```
And then some settings are then injected in the `postcssOptions` @ L161


Normally the postcss config for tailwind with a custom configpath would look something like this
```
module.exports = {
    plugins: {
        tailwindcss: {config: 'path/to/config/tailwind.config.js'},
        autoprefixer: {},
    },
}
```

In order to be able to use the referencing provided by tailwind we have to import the `tailwind.config.js` from inside the src folder.
Since react-create-app does not allow for imports from outside of the src folder and does not include a way to provide a custom tailwind.config.js path it seems impossible to fully use the power of tailwind inside react create app.


I guess one of these would fix the issue: (ordered most to least favorable)
- Ability to provide a custom tailwind config path that gets injected into the postcss config
- Overwrite postcss config
- work around for importing file from outside /src
Repository: go
Issue: x/website: link to language spec 
Labels: NeedsDecision,website

<!--
Please answer these questions before submitting your issue. Thanks!
-->
 
### What is the URL of the page with the issue?
 
https://go.dev 
 
### What is your user agent?
 
Safari 16.2
 
### Screenshot
 
<img width="657" alt="image" src="https://user-images.githubusercontent.com/4759874/205308623-a2b2760c-1465-4749-8520-6b7592966e7d.png">
 
### What did you do?
 
Looking for link to the Go Language Specification 

### What did you expect to see?
 
A link in the Docs menu to the Language Spec 
 
### What did you see instead?

The closest link is to the Go User Manual, a page with a lengthy list of fine documentation, but has the Language Spec listed far down.

Please add a link in the Docs menu directly to the Language Spec to improve workflow. Thank you.
Repository: godot
Issue: Forward+: TAA or FSR2 on a transparent viewport causes the viewport to turn opaque
Labels: bug,topic:rendering,confirmed,topic:3d

### Godot version

4.0.beta7

### System information

Fedora 36, Vulkan Forward Plus, AMD Radeon RX 6900 XT

### Issue description

When enabling temporal antialiasing, the viewport becomes opaque if it's currently transparent.

This does not occur with FXAA and MSAA, both of which support transparent viewports (with some visible artifacts though).

TAA disabled | TAA enabled
-|-
![2022-12-02_15 15 36](https://user-images.githubusercontent.com/180032/205313637-bfe3db72-a63c-43e8-a947-c91dc76e9b25.png) | ![2022-12-02_15 15 24](https://user-images.githubusercontent.com/180032/205313626-65db963d-7ed4-491c-96cf-e4193b9d69ff.png)

If it's not possible to support TAA on transparent viewports, I suggest making the transparent viewport property take priority (so it disables TAA), and print a warning if both TAA and transparent viewport are enabled.

### Steps to reproduce

- Enable **Display > Window > Size > Transparent**, **Display > Window > Per Pixel Transparency > Allowed** and **Rendering > Transparent Background** in the advanced Project Settings.
- Notice how the editor 3D viewport (and the running project) features transparency.
- Enable **Use TAA** in the Project Settings.
- Notice how the editor 3D viewport (and the running project) loses transparency.

### Minimal reproduction project

[test_taa_transparent_viewport.zip](https://github.com/godotengine/godot/files/10141797/test_taa_transparent_viewport.zip)