sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: rustdoc: Make sure that items are not constructed multiple times during doc inlining
Labels: T-rustdoc

In https://github.com/rust-lang/rust/pull/96282#issuecomment-1105571011 there was some suspicion that it may happen.

By making sure that items, and `Attributes` in particular, are not constructed multiple times we may improve rustdoc's performance and uncover some logical bugs.
Repository: vscode
Issue: Add separator between view actions and global panel actions
Labels: feature-request,ux,layout

I find this a bit problematic:
* it is inconsistent with the primary side bar that does not have it
* it shows after the "...", even though it is a primary action

![image](https://user-images.githubusercontent.com/900690/164627860-8db5db09-a6c9-4eee-a6dd-5ee0f7cae8d0.png)

//cc @misolori @daviddossett
Repository: pytorch
Issue: RuntimeError: bucket_count == per_bucket_sizes.size()INTERNAL ASSERT FAILED at "/opt/conda/conda-bld/pytorch_1646755853042/work/torch/csrc/distributed/c10d/reducer.cpp":980, please report a bug to PyTorch. 
Labels: oncall: distributed,triaged

### 🐛 Describe the bug

```bash
bucket_count == per_bucket_sizes.size()INTERNAL ASSERT FAILED at "/opt/conda/conda-bld/pytorch_1646755853042/work/torch/csrc/distributed/c10d/reducer.cpp":980, please report a bug to PyTorch. 
```

### Versions

```bash
python collect_env.py
Collecting environment information...
PyTorch version: 1.11.0
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.3 LTS (x86_64)
GCC version: (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.31

Python version: 3.8.12 (default, Oct 12 2021, 13:49:34)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.17
Is CUDA available: True
CUDA runtime version: 11.2.152
GPU models and configuration: 
GPU 0: Tesla V100-PCIE-32GB
GPU 1: Tesla V100-PCIE-32GB
GPU 2: Tesla V100-PCIE-32GB
GPU 3: Tesla V100-PCIE-32GB

Nvidia driver version: 510.60.02
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.1.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.1.1
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.21.2
[pip3] torch==1.11.0
[pip3] torchaudio==0.11.0
[pip3] torchvision==0.12.0
[conda] blas                      1.0                         mkl    defaults
[conda] cudatoolkit               10.2.89              hfd86e86_1    defaults
[conda] ffmpeg                    4.3                  hf484d3e_0    pytorch
[conda] mkl                       2021.3.0           h06a4308_520    defaults
[conda] mkl-service               2.4.0            py38h7f8727e_0    defaults
[conda] mkl_fft                   1.3.1            py38hd3c417c_0    defaults
[conda] mkl_random                1.2.2            py38h51133e4_0    defaults
[conda] numpy                     1.21.2           py38h20f2e39_0    defaults
[conda] numpy-base                1.21.2           py38h79a1101_0    defaults
[conda] pytorch                   1.11.0          py3.8_cuda10.2_cudnn7.6.5_0    pytorch
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] torchaudio                0.11.0               py38_cu102    pytorch
[conda] torchvision               0.12.0               py38_cu102    pytorch
```

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: vscode
Issue: View badge can get stale
Labels: bug,layout

Steps to Reproduce:

1. have SCM changes view with 1 change so that you see a badge over the SCM activity icon
2. move SCM changes view into secondary side bar
3. discard the change

=> 🐛  the "1" does not disappear.

Same seems to happen when I move the view back into the sidebar.

![Recording 2022-04-22 at 09 44 10](https://user-images.githubusercontent.com/900690/164637083-155b1eed-9566-4bec-8804-05012232f4f2.gif)
Repository: vscode
Issue: Text selection (with left click + drag down) does not scroll window up within notebook cells
Labels: polish,notebook-cell-editor

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
Version : 1.66.2 (user setup)
Validation : dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date : 2022-04-11T07:46:01.075Z
Electron : 17.2.0
Chromium: 98.0.4758.109
Node.js : 16.13.0
V8 : 9.8.177.11-electron.0
Système d’exploitation : Windows_NT x64 10.0.19044

Steps to Reproduce:

1. Open a notebook, past long text within a cell
2. Insure that the cell end is occulted by window bottom
3. Left Click somewhere within the cell, drag down past the window bottom 

I guess the window should scroll up as it does in any editor, here it does not. Sorry if duplicated, but strangely I could not find this exact issue reported.
Repository: godot
Issue: Tree: still keeps scrolling when and after dragging tree items 
Labels: bug,topic:gui

### Godot version

3.4.4.stable.mono

### System information

MacOS 11.6.5

### Issue description

In Tree, when the scrolling bar is showing. and also is dragging a treeitem.
The scrolling bar will also moving while dragging, and will continue moving after dragging is over.
should have another click on tree to stop it.
(not the behavior in scene tree editor)

furthermore, I have found no doucment for how to control or disable the scrolling behavior.
also get the internal vscroll node in tree can not prevent scrolling



### Steps to reproduce

just create a scene with tree and attach this script
````
extends Tree
signal moved(item, to_item, shift)

func _ready():

        set_hide_root(true)

        var root = create_item()
        var child1 = create_item(root)
        var child2 = create_item(root)
	for i in 20:
		var subchild1 = create_item(child1)
		subchild1.set_text(0, "Subchild1")





func get_drag_data(position): # begin drag
	var selected = get_selected()
	if !selected: return
	
        set_drop_mode_flags(DROP_MODE_INBETWEEN | DROP_MODE_ON_ITEM)

	# preview
	var cl = ColorRect.new()
	cl.color = Color('#6640FF')
	cl.rect_size = Vector2(40,15)
	var preview = Label.new()
	preview.text = selected.get_text(0)
	preview.rect_position = Vector2(8,2)
	cl.add_child(preview)
	set_drag_preview(cl)

	return selected


func can_drop_data(position, data):
	return data is TreeItem # you shall not pass!


func drop_data(position, item): # end drag

	var to_item = get_item_at_position(position)
	var shift = get_drop_section_at_position(position)
	emit_signal('moved', item, to_item, shift)

````

### Minimal reproduction project

_No response_
Repository: godot
Issue: Bug? with cursor during execution
Labels: topic:editor,needs testing

### Godot version

v3.5.beta4.official [b6968ab06]
3.4.2

### System information

win10 64

### Issue description

When the script editor is activated and there is a run, the cursor is displayed in text edit even though it is outside the script field.

In this video you can see that although the cursor is over the execution buttons, it is shown editing text.

https://user-images.githubusercontent.com/19652075/164676021-1f66683d-f55a-4b6c-9f37-a349d3229547.mp4




### Steps to reproduce
In the script editor.
Run the scene.
Before the execution window appears, move the cursor to the script editor so that the cursor changes to a text editing cursor.
The execution window will appear.
Now the cursor will stay with the text editing aspect.

You can see all this in the video.

### Minimal reproduction project

...
Repository: vscode
Issue: Warn when auth extension is disabled
Labels: bug,authentication

Issue Type: <b>Bug</b>

1. Cmd + P -> "Live Share: Sign in"
2. Select "Sign in with Microsoft account"
3. Nothing happens for a few seconds
4. Get a popup with the following error message: "Signing in: Auth token returned by microsoft provider is empty."

I never go through any sign in process and vscode does not open a browser window for me to sign in, which leads me to believe that maybe there's some invalid value stored in the extension context. I have previously been able to use Live Share for months. It only stopped working recently. I have not been able to figure out how I can clear the secret storage for an extension. Reinstalling the extension does not solve the issue, nor does reinstalling vscode itself, presumably because of #123817.

If I do the same thing using Insiders it works, so either there's a bug that's been fixed in Insiders without me being able to find any related issue or PR, or I have some messed up state that isn't shared between Code and Insiders.

EDIT: Indeed, moving `~/Library/Application Support/Code` to another location fixes it, but then I also lose all my settings and such, which is what I'm trying to avoid. How can I delete just the storage for the Microsoft authentication?

VS Code version: Code 1.66.2 (Universal) (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:49:20.994Z)
OS version: Darwin x64 21.4.0
Restricted Mode: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|5, 4, 4|
|Memory (System)|16.00GB (0.02GB free)|
|Process Argv|--crash-reporter-id f07fdb15-d771-43b9-9481-f9f22ad749e3|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (6)</summary>

Extension|Author (truncated)|Version
---|---|---
github-markdown-preview|bie|0.2.0
vscode-eslint|dba|2.2.2
prettier-vscode|esb|9.5.0
vsliveshare|ms-|1.0.5527
vsliveshare-audio|ms-|0.1.91
vsliveshare-pack|ms-|0.4.0


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebug:30475216

```

</details>

<!-- generated by issue reporter -->
Repository: storybook
Issue: Please provide support for addDecorator in main.js
Labels: feature request,needs triage

**Is your feature request related to a problem? Please describe**
In your next version you are planning to get rid off configure and addDecorator. This would ruin our storybook components support.
In our project we are using addDecorator to attach translations and styles to stories.

_wrapper.js example:_
```
const Wrapper = injectSheet(globalStyle)(
  ({ children }: { children: JSX.Element }) => children
);
const StoryWrapper = (story: () => JSX.Element) => (
  <LocaleProvider>
    {(locale: string) => (
      <LocalizationContainer key={locale} locale={locale}>
        <ThemeProvider theme={extendedIplUiTheme}>
          <FontsProvider>
            <Wrapper>{story()}</Wrapper>
          </FontsProvider>
        </ThemeProvider>
      </LocalizationContainer>
    )}
  </LocaleProvider>
);

StoryWrapper.defaultName = 'Story Wrapper';
export default StoryWrapper;
```

_config.js example:_
`
  import { addDecorator, configure } from '@storybook/react';
  addDecorator(wrapper);
`

**Describe the solution you'd like**
You could add new add-on type for such wrappers. For example: 'my-add-on/wrapper'.

**Alternative solution would be**
Don't remove addDecorator and config.js support in the next release.

**Are you able to assist to bring the feature to reality?**
Probably, I could try to assist, but I need some guidance..
Repository: go
Issue: x/website: go.dev/doc/install links to the darwin/amd64 installer for Apple Silicon users
Labels: NeedsInvestigation,website

From @dmitshur's comment in https://github.com/golang/go/issues/47578#issuecomment-894457978 (thanks!)

> To my knowledge, likely out of device fingerprinting concerns, browsers don't officially expose the underlying system architecture, so web pages typically look the same regardless of whether the user is visiting from a macOS device with an Intel or Apple CPU.
> 
> I'm aware there are some workarounds, like getting the device GPU vendor name and checking for a known substring that M1 devices have. An example of that being used is the VLC home page, https://www.videolan.org/, which changes its default download link using that heuristic.
> 
> So, I'm not sure that we should try to add automatic detection. If we make both downloads Featured, they should be equally visible and hopefully easier to pick the intended one.

I think detecting the underlying system may be difficult. Then, I think we should investigate alternatives

* Offer "Universal" as the default, but also provide "Intel Chip" and "Apple Silicon" options.
* Present both options for MacOS users: Either drop-down menu or two different download block. If we take this route, add first-time go user-friendly description to refer to each architecture (I rarely see darwin-arm64 or darwin-amd64 outside the go community)
Repository: vscode
Issue: Git - Source control tab does not recognize repository on codespaces / github.dev on slow internet connections
Labels: bug,git

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version:
```
Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:44:45.971Z (1 wk ago)
```
- OS Version: N/A

Steps to Reproduce:

1. Throttle your internet connection to "slow coffee shop wireless". The google speed test says 6 down and 0.5 up at the moment.
2. Open a codespaces from a github repository. If you can view logs try looking up "https://joshunger-alltrails-monorepo-vwp5jrpf5p5.github.dev/".
3. Open source control tab.

EXPECTING: source control tab recognizes repository.
ACTUAL: source control tab does not recognize repository.

On a slow internet connection, this reproduces 90%+ of the time. On a fast internet connection, 100 down, I haven't seen it.

<img width="949" alt="image" src="https://user-images.githubusercontent.com/2301847/164726103-88892f59-0f29-440e-8b53-708ba4a8d319.png">
Repository: pytorch
Issue: Observing a strange behavior - Row parallelism
Labels: module: numerical-stability,module: nn,triaged,module: correctness (silent)

### 🐛 Describe the bug

Hi there!
I am trying to manually reproduce this scheme, which corresponds to a model row parallelism paradigm:
![Screenshot from 2022-04-22 15-55-48](https://user-images.githubusercontent.com/49240599/164728838-3f78585b-1018-4366-a499-95133fdeaa89.png)
Therefore I have written a small snippet of code to reproduce the scheme above, the assertion passes for small ```batch_size```, ```hidden_dim``` and ```output_dim``` values (for example: ```batch_size = 1 \ hidden_dim = 4 \ output_dim = 2```) but strangely the assertion does not pass anymore for large values (specifically 10, 40, 20). What could explain this behavior?

Code snippet (tried on google colab):
```
import torch
import torch.nn as nn
import torch.nn.functional as F

batch_size = 10
hidden_dim = 40
output_dim = 20
sliced_dim = hidden_dim//2

dummy_mlp = nn.Linear(hidden_dim, output_dim, bias=False)
parameters = torch.nn.Parameter(torch.randn(output_dim, hidden_dim))

dummy_mlp.weight = parameters

dummy_input = torch.randn(batch_size, hidden_dim)

sliced_input_1, sliced_input_2 = torch.split(dummy_input, sliced_dim, dim=-1)

sliced_output_1 = F.linear(sliced_input_1, dummy_mlp.weight[:, :sliced_dim])
sliced_output_2 = F.linear(sliced_input_2, dummy_mlp.weight[:, sliced_dim:])

final_output = dummy_mlp(dummy_input)

assert torch.equal(final_output, sliced_output_1 + sliced_output_2)
```

Thank you very much in advance for your help!!

### Versions

Collecting environment information...
PyTorch version: 1.10.0+cu111
Is debug build: False
CUDA used to build PyTorch: 11.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.5 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
CMake version: version 3.12.0
Libc version: glibc-2.26

Python version: 3.7.13 (default, Mar 16 2022, 17:37:17)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
Is CUDA available: True
CUDA runtime version: 11.1.105
GPU models and configuration: GPU 0: Tesla T4
Nvidia driver version: 460.32.03
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.5
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.21.6
[pip3] torch==1.10.0+cu111
[pip3] torchaudio==0.10.0+cu111
[pip3] torchsummary==1.5.1
[pip3] torchtext==0.11.0
[pip3] torchvision==0.11.1+cu111
[conda] Could not collect

cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345
Repository: go
Issue: meta: intermittent `unexpected disconnect while reading sideband packet` when fetching golang.org/x repos since 2022-03-25
Labels: NeedsInvestigation

```
#!watchflakes
post <- `unexpected disconnect while reading sideband packet`
```

```
            	golang.org/x/sys/cpu: golang.org/x/sys@v0.0.0-20211216021012-1d35b9e2eb4e: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in $WORK/gopath/pkg/mod/cache/vcs/da0444fc0003f84a590bd6521553c0531086778bca13ec63ace9e0dd258f4b51: exit status 128:
            	error: 46048 bytes of body are still expected
            	fetch-pack: unexpected disconnect while reading sideband packet
            	fatal: early EOF
            	fatal: index-pack failed
```

`greplogs --dashboard -md -l -e 'unexpected disconnect while reading sideband packet'`

[2022-04-21T16:18:44-b941a10/linux-amd64-longtest](https://build.golang.org/log/ecaed26e9643ceaafe0256f8ae1a0a9bd6561208)
[2022-04-11T16:31:42-910a33a/linux-amd64-longtest](https://build.golang.org/log/ec4cdb039366433d48bae21f7f739ff49d4fa48c)
[2022-04-11T16:31:40-6130b88/linux-386-longtest](https://build.golang.org/log/89d924cd02cbd9b729e860726af06787e6f50eed)
[2022-03-25T18:19:09-f25631b/linux-386-longtest](https://build.golang.org/log/3b34e6588c768cc1cae3b330af60a2e8fc07fe0b)

Since I assume we haven't recently changed the `git` version on the builders, this looks to me like either a networking issue on the builders or a regression in the Git server that hosts `go.googlesource.com`. @golang/release: could you investigate and/or escalate appropriately?
Repository: godot
Issue: 'Failed to build project solution'
Labels: topic:editor,needs testing,topic:dotnet

### Godot version

v3.4.4.stable.mono.official [419e713a2]

### System information

Windows 10

### Issue description

whenever i try playing scene to see if my code works i get a "Failed to build 
 project solution" i downloaded the latest .NET thing and still doesn't work i double checked my code and yeh idk im just starting out with C# like prolly 10 mins in and i dont know what to do to fix it

### Steps to reproduce

make a sprite
add an image to the sprite
select sprite and click on script button
write code into the script
run the scene

### Minimal reproduction project

_No response_
Repository: go
Issue: x/website: go.dev (index page) and go.dev/learn macOS download link downloads amd64 version
Labels: NeedsInvestigation,website

How about adding an arm64 download entry for growing M1 user base?

```
   Download packages for Windows 64-bit, MacOS (intel|apple), Linux
```  

I still see M1 users' bug reports originated from wrong tool chain installation.
I want to eliminate sources of confusion as much as possible.
Repository: rust
Issue: Show crate features in rustdoc
Labels: T-rustdoc,C-feature-request

Show crate features generated in rustdoc.