sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: Failed to create Gloo new group after initialized with NCCL
Labels: oncall: distributed,module: nccl

## 🐛 Bug

In our project [Tencent/PatrickStar](https://github.com/Tencent/PatrickStar), we need to create a NCCL comm group and a Gloo comm group in order to utilize both GPU reduce scatter and CPU comm operations. However, it seems that after initialized with NCCL, the Gloo group could not detect the master address and master port, but instead using localhost (127.0.0.1).

I'm afraid the reason is that the NCCL store and Gloo store are not compatible with each other so that the new Gloo group could not read the master addr saved by NCCL group.

The relevant error message is:

```bash
Traceback (most recent call last):
Traceback (most recent call last):
  File "test_new_group.py", line 4, in <module>
  File "test_new_group.py", line 4, in <module>
        cpu_comm = torch.distributed.new_group(backend="gloo")cpu_comm = torch.distributed.new_group(backend="gloo")

  File "/opt/conda/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2843, in new_group
  File "/opt/conda/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2843, in new_group
        pg = _new_process_group_helper(pg = _new_process_group_helper(

  File "/opt/conda/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 668, in _new_process_group_helper
  File "/opt/conda/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 668, in _new_process_group_helper
    pg = ProcessGroupGloo(prefix_store, rank, world_size, timeout=timeout)
    RuntimeErrorpg = ProcessGroupGloo(prefix_store, rank, world_size, timeout=timeout): 
[/opt/pytorch/pytorch/third_party/gloo/gloo/transport/tcp/pair.cc:799] connect [127.0.0.1]:1453: Connection refused
RuntimeError: [/opt/pytorch/pytorch/third_party/gloo/gloo/transport/tcp/pair.cc:799] connect [127.0.0.1]:4005: Connection refused
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 6027) of binary: /opt/conda/bin/python3
```

## To Reproduce

```python
# test_new_group.py
import torch

torch.distributed.init_process_group(backend="nccl")
cpu_comm = torch.distributed.new_group(backend="gloo")
```

Run :

```bash
python3 -m torch.distributed.launch --nproc_per_node=1 \
               --nnodes=2 --master_addr=$MASTER_ADDR --master_port=$MASTER_PORT \
              --node_rank=$NODE_RANK \
              test_new_group.py
```

Note that the code should work with only one machine or the second new group is created with backend "nccl".

## Expected behavior

User should be allowed to create 2 comm group of different types.

## Environment

I'm using the NGC container: `nvcr.io/nvidia/pytorch:21.09-py3`

 - PyTorch Version (e.g., 1.0): 1.10.0
 - OS (e.g., Linux): linux
 - Python version: 3.8
 - CUDA/cuDNN version: 11.4
 - GPU models and configuration: A100


cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: flutter
Issue: Command in integration_test README not working
Labels: a: tests,framework,d: api docs,f: integration_test,P2,team-framework,triaged-framework

The last command from here https://github.com/flutter/flutter/blob/master/packages/integration_test/README.md#android-device-testing suggests this

> To run integration_test/foo_test.dart on a local Android device (emulated or physical):
>
>```
>./gradlew app:connectedAndroidTest -Ptarget=`pwd`/../integration_test/foo_test.dart
>```

However, it doesn't work

<details>
<summary>Logs</summary>

```
FAILURE: Build failed with an exception.

* What went wrong:
Task '../integration_test/foo_test.dart' not found in root project 'android'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 964ms
```
</details>
Repository: storybook
Issue: [Storybook 6.3.2] Vue 2 slot value not reactive/updating
Labels: bug,vue,args

**Describe the bug**
When in Storybook for Vue 2 I change the slot value it is not reactive/updating. It does updates when I switch from "Canvas" to "Docs".

**To Reproduce**

![chrome-capture](https://user-images.githubusercontent.com/6161307/142852903-589ed79c-7051-4d5f-9cf8-0838103578d2.gif)

**System**
Environment Info:
  System:
    OS: Windows Server 2016 10.0.14393
    CPU: (4) x64 Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz
  Binaries:
    Node: 14.17.6
    npm: 7.24.0 
  Browsers: {}
  npmPackages:
    @storybook/addon-actions: ^6.3.2 => 6.3.8 
    @storybook/addon-essentials: ^6.3.2 => 6.3.8 
    @storybook/addon-links: ^6.3.2 => 6.3.8 
    @storybook/addon-postcss: ^2.0.0 => 2.0.0 
    @storybook/addons: ^6.3.4 => 6.3.8 
    @storybook/builder-webpack5: ^6.3.2 => 6.3.8 
    @storybook/manager-webpack5: ^6.3.2 => 6.3.8 
    @storybook/theming: ^6.3.4 => 6.3.8 
    @storybook/vue: ^6.3.2 => 6.3.8 

**Additional context**
The slots implementation is based upon the answer on https://github.com/storybookjs/storybook/discussions/12691.

Many thanks for this awesome product!
Repository: flutter
Issue: [Proposal] Add label to Divider
Labels: framework,f: material design,c: proposal,team-design,triaged-design

## Use case

Have information about list items following a `Divider` in a `ListView`.

## Proposal

Add parameters to `Divider`:
*  `Widget? label` - most often a `Text` widget to display additional information
* `AlignmentGeometry alignment = Alignment.center' - to place label within `Divider`
Repository: material-ui
Issue: [docs] No more links to component implementations in documentation
Labels: new feature

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

In the past, the documentation would have links to the component implementation.
This was really helpful to dig into the code a bit more, especially when designing component style overrides, as the source code is really helpful for this.

I would like to propose reintroducing these links again throughout the documentation and perhaps even having them in a unified location within the docs.

While I understand, that the implementation _should_ not matter for a library to be used, there are often situations where it is still extremely helpful - especially in the cases of style overrides.

The current alternative of always navigating through the source tree on github works as well of course, but is cumbersome and I really miss the simplicity of the links in the past.

### Examples 🌈

_No response_

### Motivation 🔦

As described above:
- Simplify looking up the implementation for some components to understand inner workings which are not (or only in rare cases) documented
- Simplify creating style overrides by having easy access to the base implementation
Repository: godot
Issue: Black line displays on the last frame on an animation using AnimationPlayer
Labels: bug,topic:rendering,topic:2d

### Godot version

3.4 stable

### System information

Windows 10. IntelCore I3-2310M

### Issue description

A small black bar appears on the last frame of the animation using Animation Player
![2021-11-22_18-16-35](https://user-images.githubusercontent.com/94852696/142886996-4728ecc4-e762-45f7-95f1-b44d752dfd1c.png)


### Steps to reproduce

Play animation with no loop, Set scale of node with polygons (-1,1) for mirror effect
In project - go left (A) and jump (W)

### Minimal reproduction project

[Архив ZIP - WinRAR.zip](https://github.com/godotengine/godot/files/7582302/ZIP.-.WinRAR.zip)
Repository: go
Issue: cmd/cgo: missing documentation about "dllexport" redeclaration problem on windows/arm64
Labels: Documentation,NeedsFix,compiler/runtime

In #46502, we observed build errors on `windows/arm64` due to redeclaration warnings about mismatched `dllexport` attributes.

That was ultimately resolved by [CL 327309](https://golang.org/cl/327309), for which the commit message states:
> This [forward-declaring C-exported Go functions] is not something user code will ever do, so no need to make it work in cgo.

However, we know from #19837 that user code _does_ sometimes need to forward-declare C-exported Go functions, in order to pass the C wrappers as callbacks to other C functions. Absent a fix for that issue, the workaround applied in CL 327309 at least ought to be documented.

----

The only restriction currently documented for forward-declarations in the C preamble (https://pkg.go.dev/cmd/cgo@master#hdr-C_references_to_Go) is:
> Using //export in a file places a restriction on the preamble: since it is copied into two different C output files, it must not contain any definitions, only declarations. If a file contains both definitions and declarations, then the two output files will produce duplicate symbols and the linker will fail. To avoid this, definitions must be placed in preambles in other files, or in C source files.

It does not say anything about avoiding forward-_declarations_, nor about a need to forward-declare functions exported by Go with any particular attributes or keywords.
Repository: next.js
Issue: Multiple assets emit different content to the same filename ../main.js.nft.json
Labels: Output (export/standalone),Webpack

We are trying to migrate from a CRA-based React app to NextJS by importing the root component directly in the Next build. Our plan is to get Next building our bundles, and then we can migrate the pages out one by one without having to do everything at once.

The project uses npm workspaces.

```typescript
// new-app/pages/index.tsx
import RootComponent from '@watershed/app/src/admin/AdminRoot';

function HomePage() {
  return <RootComponent />;
}

export default HomePage;

```

When we run `next build` we get an unexpected error without enough context to resolve:
```

> @watershed/app-admin@0.1.0 build
> next build

info  - Checking validity of types
info  - Creating an optimized production build
Failed to compile.

Conflict: Multiple assets emit different content to the same filename ../main.js.nft.json

> Build failed because of webpack errors
npm ERR! Lifecycle script `build` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace: @watershed/app-admin@0.1.0
npm ERR!   at location: /Users/adamrneary/github/ghg/client/workspaces/app-admin
```

What would be the best way to diagnose this? Is this something folks have seen before? Happy to collaborate on a fix, but I am not sure where to start. Thanks in advance for your time!
Repository: material-ui
Issue: [StaticDatePicker][StaticDateRangePicker] components don't allow for keyboard control of selected day
Labels: bug 🐛,package: lab

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

A DatePicker allows the user to open up a calendar by tabbing to the calendar icon, hitting space/enter, then they are able to change the date with the arrow keys a select a new date by then pressing the space bar or enter.

A StaticDatePicker or StaticDateRangePicker allows the user to change the month in the same way (tabbing to the arrows, then hitting space bar or enter) but it doesn't allow the user to change the date by using the arrow keys in the same way as a DatePicker.

### Expected behavior 🤔

The user should be able to change the date and select it in the same way as a DatePicker allows when the modal calendar pops up.

### Steps to reproduce 🕹

https://codesandbox.io/s/customdaterangepickerday-material-demo-forked-18nx3?file=/demo.js:1983-2004

Steps:

1. Tab onto a StaticDatePicker or StaticDateRangePicker date
2. Press an arrow key to try and change the date
3. Nothing happens


### Context 🔦

We are trying to get our website accessible for use by persons with disabilities

### Your environment 🌎

<details>
  <summary>`npx @mui/envinfo`</summary>

```
System:
    OS: Windows 10 10.0.22000
  Binaries:
    Node: 14.17.5 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.14.14 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 95.0.4638.69
    Edge: Spartan (44.22000.120.0), Chromium (96.0.1054.29)
  npmPackages:
  npmPackages:
    @emotion/react: 11.5.0 => 11.5.0 
    @emotion/styled: 11.3.0 => 11.3.0
    @mui/base:  5.0.0-alpha.55
    @mui/core:  5.0.0-alpha.54
    @mui/icons-material: 5.1.0 => 5.1.0
    @mui/lab: ^5.0.0-alpha.55 => 5.0.0-alpha.55
    @mui/material: 5.1.0 => 5.1.0
    @mui/private-theming:  5.1.0
    @mui/styled-engine:  5.1.0
    @mui/styles: 5.1.0 => 5.1.0
    @mui/system:  5.1.0
    @mui/types:  7.1.0
    @mui/utils:  5.0.1
    @mui/x-data-grid-pro: 5.0.0-beta.7 => 5.0.0-beta.7
    @mui/x-license-pro:  5.0.0-beta.7
    @types/react:  17.0.1
    react: 17.0.2 => 17.0.2
    react-dom: 17.0.2 => 17.0.2
```

Tested on Chrome
</details>
Repository: storybook
Issue: Iteration on the Copy Canvas Link button
Labels: feature request,ui

We were taking a look at the "Copy canvas link" and the "Open canvas in new tab" buttons this morning and @ndelangen suggested we might combine those two into a dropdown.

There are a few benefits that jump out at me:
1. It frees up a little space in the toolbar.
2. The labels are bit clearer.
3. We could add more actions as well like "Copy story link."

On the flip side:
1. It adds an extra click.

I mocked it up quickly to see how it feels:

![Tooltip link](https://user-images.githubusercontent.com/1123119/142911273-f85cc9b5-d591-4b88-a4b6-555c2df18e1a.jpg)

I am still a bit on the fence with this one. It could definitely work.

Does the menu add clarity?
Does the extra click get in the way?

**Are you able to assist to bring the feature to reality?**
Yep!
Repository: pytorch
Issue: RFC: Deprecate Bottleneck
Labels: high priority,module: performance,module: cpu,triaged,module: deprecation,actionable,Stale

While discussing https://github.com/pytorch/pytorch/issues/68433 there appear to be no owners for Bottleneck and it seems to be unmaintained. If this is the case and we are encouraging users to use newer profiling methods we should consider deprecating it ahead of the PyTorch 1.11 release.


cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @bdhirsh @jbschlosser @VitalyFedyunin @ngimel @ilia-cher @robieta @chaekit @gdankel @bitfort @orionr @nbcsm @guotuofeng @guyang3532 @gaoteng-git
Repository: godot
Issue: The add script button is not synchronized with the assign script action
Labels: bug,topic:editor,confirmed

### Godot version

3.4 stable mono

### System information

w10 64

### Issue description
The add script button is not synchronized with the current assigned script state of the node, that is, if I drag a script and assign it to the node, then the create script button should change to "remove script" but, on the contrary , the button does not change its state and continues to show the option to add script.
![Animation](https://user-images.githubusercontent.com/19652075/142915757-49874f41-ebd1-43a4-8047-0a63ed9aa9b8.gif)




### Steps to reproduce

See the gif

### Minimal reproduction project

...
Repository: pytorch
Issue: Add kl_divergence between Normal and Laplace distribution.
Labels: module: distributions,triaged,enhancement,Stale

## 🚀 Feature
Add the Kullback-Leibler divergence between Normal and Laplace distribution to torch.distributions.kl. 

## Motivation

Useful for implementing Bayesian Neural Networks with Laplace prior and Normal posterior.

## Additional
Code in "torch/distributions/kl.py" includes TODO for this (line 668).



cc @fritzo @neerajprad @alicanb @nikitaved
Repository: pytorch
Issue: `softmin` and `softmax` operators support different input dtypes based on whether the `dtype` kwarg is passed
Labels: module: nn,triaged,module: ux

See OpInfos for `softmax`:

https://github.com/pytorch/pytorch/blob/a2e35e167bc80b7f87ed9e1283e273fc0d89d1d3/torch/testing/_internal/common_methods_invocations.py#L9673

cc @albanD @mruberry @jbschlosser @walterddr
Repository: yt-dlp
Issue: [Site support request] Cambutterfly
Labels: site-request,NSFW

### Checklist

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running yt-dlp version **2021.11.10.1**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that none of provided URLs [violate any copyrights](https://github.com/ytdl-org/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and am willing to share it if required

### Region

United States

### Example URLs

Single video: http://www.cambutterfly.co/videos/134088/ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12/


### Description

Please add site support for http://wwww.cambutterfly.co

### Verbose log

```shell
PS C:\Users\me> yt-dlp  -Uv http://www.cambutterfly.co/videos/134088/ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12/
[debug] Command-line config: ['-Uv', 'http://www.cambutterfly.co/videos/134088/ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.11.10.1 (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg n4.4-190-g7e0d640edf-20211024 (setts), ffprobe n4.4-190-g7e0d640edf-20211024
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
yt-dlp is up to date (2021.11.10.1)
[debug] [generic] Extracting URL: http://www.cambutterfly.co/videos/134088/ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12/
[generic] ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12: Downloading webpage
[generic] ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: http://www.cambutterfly.co/videos/134088/ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12/
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1311, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1336, in __extract_info
  File "yt_dlp\extractor\common.py", line 595, in extract
  File "yt_dlp\extractor\generic.py", line 3766, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: http://www.cambutterfly.co/videos/134088/ninna19sexy-sexy-mare-fingering-ass-be52866bdcd2ce12/
```
Repository: pytorch
Issue: `test_variant_consistency_jit` errors for `torch.nn.functional.prelu`
Labels: oncall: jit,Stale

Error:

```
# RuntimeError: Cannot insert a Tensor that requires grad as a constant.
# Consider making it a parameter or input, or detaching the gradient
```


To reproduce, remove this skip: https://github.com/pytorch/pytorch/pull/68521/files#diff-18a0c3e7cd07089b34760028c387d39de1aa393172f1d5f123692106b3a3d144R10261
Repository: pytorch
Issue: Incorrect documentation for `BCEWithLogitsLoss` `weight`?
Labels: module: docs,module: nn,triaged,actionable

## 📚 Documentation

The documentation for the `weight` parameter for the `BCEWithLogitsLoss` class is:

        weight (Tensor, optional): a manual rescaling weight given to the loss
            of each batch element. If given, has to be a Tensor of size `nbatch`.

This implies a vector of N

However the documentation for `F.binary_cross_entropy_with_logits` is different, it states

        weight (Tensor, optional): a manual rescaling weight
            if provided it's repeated to match input tensor shape

And `BCEWithLogitsLoss` simply forwards it's arguments to `F.binary_cross_entropy_with_logits`, so clearly "has to be a Tensor of size `nbatch` is incorrect".

In my tests `weights` can be 1xC, 1x1, Nx1 or NxC (which I guess is what the `F.binary_cross_entropy_with_logits`  docstring is implying). But it's not totally clear and I think the `BCEWithLogitsLoss` is incorrect.

cc @svekars @brycebortree @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @brianjo @kshitij12345
Repository: pytorch
Issue: [docs] Clarify DDP activation checkpointing support
Labels: oncall: distributed,module: docs,triaged,better-engineering,pt_distributed_rampup,module: ddp,Stale

## 📚 Documentation

DDP offers some limited support for working with gradient checkpointing, in situations where module is checkpointed once or twice, with or without shared weights, and different behaviors depending on whether find_unused_parameters=True or not, static_graph=True or not.

This is quite confusing for users and there is no centralized documentation to clearly indicate what is supported and what is not. We should add this to the PT DDP docs: https://pytorch.org/docs/stable/generated/torch.nn.parallel.DistributedDataParallel.html

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang @brianjo @mruberry
Repository: terminal
Issue: UIA in conhost: incorrect word boundaries when text is selected
Labels: Product-Conhost,Help Wanted,Area-Output,Issue-Bug,Area-Accessibility,Priority-1

### Windows Terminal version

Version of OpenConsole included with the wt 1.12 release.

### Windows build number

10.0.22000.348

### Other Software

NVDA master (2022.1) with UIA.

### Steps to reproduce

Paste the following text into a conhost. On my system, this line wraps at the word "upgrade":

`tree.IncompatibleFormatError: This file is too new for the currently running version of Treemendous (0.0.0). Please upgrade to Treemendous 42.0.0 or later.`

Then:
* Select a word, such as by moving to the top of the console and searching for the word "please" with CTRL+f.
* navigate forward in the window by word.

### Expected Behavior

word boundaries are correctly calculated: after the wrapping, NVDA says "upgrade", "to", "Treemendous", etc.

### Actual Behavior

NVDA reads from the start of the line up to some arbitrary point, can't tell what's going on???