sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: `cumprod` triggers INTERNAL ASSERT FAILED when `out` is a tensor on cuda but input is on cpu
Labels: module: error checking,triaged,module: assert failure

### 🐛 Describe the bug

`cumprod` triggers INTERNAL ASSERT FAILED when `out` is a tensor on cuda but input is on cpu

```py
import torch
from torch.func import jacrev
import torch.nn as nn
from torch.autograd.functional import jacobian


torch.manual_seed(420)

m = torch.rand(2, 3, 4, 5, 6, 7)
out = torch.rand([]).cuda()
m_cumprod = torch.cumprod(m, dim=0, out=out)
# RuntimeError: t == DeviceType::CUDA INTERNAL ASSERT FAILED 
# at "../c10/cuda/impl/CUDAGuardImpl.h":25, please report a bug to PyTorch
```

### Versions

```
PyTorch version: 2.0.0.dev20230105
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.1 LTS (x86_64)
GCC version: (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: glibc-2.35

Python version: 3.9.15 (main, Nov 24 2022, 14:31:59)  [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 11.7.99
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 3090
GPU 1: NVIDIA GeForce RTX 3090
GPU 2: NVIDIA GeForce RTX 3090

Nvidia driver version: 515.86.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.4.1
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.23.5
[pip3] torch==2.0.0.dev20230105
[pip3] torchaudio==2.0.0.dev20230105
[pip3] torchvision==0.15.0.dev20230105
[conda] blas                      1.0                         mkl
[conda] mkl                       2021.4.0           h06a4308_640
[conda] mkl-service               2.4.0            py39h7f8727e_0
[conda] mkl_fft                   1.3.1            py39hd3c417c_0
[conda] mkl_random                1.2.2            py39h51133e4_0
[conda] numpy                     1.23.5           py39h14f4228_0
[conda] numpy-base                1.23.5           py39h31eccc5_0
[conda] pytorch                   2.0.0.dev20230105 py3.9_cuda11.7_cudnn8.5.0_0    pytorch-nightly
[conda] pytorch-cuda              11.7                 h67b0de4_2    pytorch-nightly
[conda] pytorch-mutex             1.0                        cuda    pytorch-nightly
[conda] torchaudio                2.0.0.dev20230105      py39_cu117    pytorch-nightly
[conda] torchtriton               2.0.0+0d7e753227            py39    pytorch-nightly
[conda] torchvision               0.15.0.dev20230105      py39_cu117    pytorch-nightly
```

cc @malfet
Repository: puppeteer
Issue: [Bug]: [New headless] can't retrieve HTTPResponse from HTTP 401 pages
Labels: bug,confirmed,P3

### Bug expectation

In old headless mode, `page.goto` retrieves `HTTPResponse` object from 401 pages. We were able to handle 401 pages just like 404 pages.

In new headless mode, `page.goto` throws Error: net::ERR_INVALID_AUTH_CREDENTIALS for 401 pages.  We aren't able to handle 401 pages just like 404 pages.

I'd expect that  `page.goto` retrieves `HTTPResponse` object from 401 pages in new headless.

If this is correct behaviour, please update <https://pptr.dev/api/puppeteer.page.goto/>.

> page.goto will not throw an error when any valid HTTP status code is returned by the remote server, including 404 "Not Found" and 500 "Internal Server Error". The status code for such responses can be retrieved by calling response.status(). 

### Bug behavior

- [ ] Flaky
- [ ] PDF

### Minimal, reproducible example

```TypeScript
import {launch} from 'puppeteer';

(async () => {
    const url = 'https://httpstat.us/401';
    {
        console.log('Old headless');

        const browser = await launch({
            headless: true,
        });
        const page = await browser.newPage();
        const response = await page.goto(url);

        console.log('response:', response);
        console.log('status:', response.status());
    }

    console.log();

    {
        console.log('New headless');
 
        const browser = await launch({
            headless: 'new',
        });
        const page = await browser.newPage();
        const response = await page.goto(url);
 
        console.log('response:', response);
        console.log('status:', response.status());
    }
})();
```


### Error string

net::ERR_INVALID_AUTH_CREDENTIALS

### Puppeteer configuration

_No response_

### Puppeteer version

19.7.5

### Node version

18.15.0

### Package manager

npm

### Package manager version

9.5.0

### Operating system

Windows
Repository: stable-diffusion-webui
Issue: [Feature Request]: make style display as tree-able
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

current 

![image](https://user-images.githubusercontent.com/167966/225187859-cfa361ed-e2ce-4058-b958-5a564228d2c9.png)

------

expected

when name is `a#b#c`

display as 

```
- a
- - b
- - - c
```

this is help when we gave many of style and want group it for better display


### Proposed workflow

1. Go to .... 
2. Press ....
3. ...


### Additional information

_No response_
Repository: flutter
Issue: [Impeller] Add utilities to FilterInput for generating efficient rendering Entities
Labels: engine,P3,e: impeller,team-engine,triaged-engine

Add a FilterInput utility that takes an input transform and outputs an Entity that can be used to most efficiently render the input. Useful for a lot of situations, like: https://github.com/flutter/flutter/issues/122660
Repository: node
Issue: `mkdir` with the `recursive` flag hides `EROFS` readonly file system errors with `ENOENT`
Labels: fs

### Version

`v19.7.0`

### Platform

`Linux 0a51b4117477 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64 Linux`

### Subsystem

`fs`

### What steps will reproduce the bug?

1. Clone https://github.com/Silic0nS0ldier/nodejs-mkdir-recursive-hides-erofs
2. With repo root as `cwd`, run commands listed in `README`. Reported issue is first test case.

### How often does it reproduce? Is there a required condition?

Provided the target of `mkdir` is a read only filesystem and the directory does not already exist, this issue reproduces 100% of the time.

### What is the expected behavior? Why is that the expected behavior?

An error with the error code `EROFS`.

### What do you see instead?

An error with the error code `ENOENT`.

### Additional information

On AMD64 systems the digest will need to be re-acquired, as this reproduction was created on an ARM64 host.
Repository: ant-design
Issue: Plan of Menu refactor
Labels: Inactive,improvement,🎱 Collaborate PR only

## 优化点

- [x] `rc-trigger` 升级为 `@rc-component/trigger` https://github.com/ant-design/ant-design/pull/42554
- [ ] JSX 语法糖移除，数据驱动以获得更高性能（HOC 兼容？）
- [ ] 优化渲染逻辑，减少 `active` 等属性带来的不必要渲染 https://github.com/ant-design/ant-design/issues/32681

## 需要解决的问题

> 可以补充

- [x] https://github.com/ant-design/ant-design/issues/41223
- [x] #35361
- [ ] a 标签问题 https://github.com/ant-design/ant-design/issues/40565
- [x] overflow 子菜单的 offset 问题 https://github.com/ant-design/ant-design/issues/39007 https://github.com/ant-design/ant-design/pull/42648
- [ ] renderItem

## 待定

- [ ] https://github.com/ant-design/ant-design/issues/33776
- [ ] https://github.com/ant-design/ant-design/issues/36338

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: vscode
Issue: `Proxy: System Certificates` will block VsCode extension msal login
Labels: feature-request,proxy

<!-- ⚠️⚠️ 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/No 
This will block extension to use network.

<!-- 🪓 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: Probably the latest
- OS Version: Win

Steps to Reproduce:

1. Check `Proxy: System Certificates`.
2. Using VsCode Teamsfx extension to login M365, will encounter `Error - A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata. Error: Error Error Description: Error: certificate has expired` problem.
3. Uncheck `Proxy: System Certificates` will solve the issue.

Related issue: 
https://github.com/OfficeDev/TeamsFx/issues/7995
https://github.com/microsoft/azuredatastudio/issues/22227
Repository: next.js
Issue: Route cancellation
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
.
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

_No response_

### Link to the code that reproduces this issue

. 

### To Reproduce

. 

### Describe the Bug

Hello all, just wanted to check up regaring route cancelation, Are we ever going to see an official approach?
It's a very desired feature
https://github.com/vercel/next.js/discussions/32231


### Expected Behavior

Ahould have a clear approach on how to do it. 

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: flutter
Issue: ListView ListTile items on hold overlay over bottom navigation TabBar
Labels: framework,f: material design,d: api docs,has reproducible steps,P2,workaround available,found in release: 3.7,found in release: 3.9,team-design,triaged-design

## Steps to Reproduce

1. Execute `flutter run` on the code sample
2. Hold on any ListTile item that's low next to the bottom navigation bar

**Expected results:** The ripple should be under the navigation bar

**Actual results:** It overlays the navigation bar

<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        home: const MyHomePage(),
        themeMode: ThemeMode.dark,
        darkTheme: ThemeData.dark(useMaterial3: true));
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter Demo Home Page'),
      ),
      bottomNavigationBar: const DefaultTabController(
          length: 3,
          child: TabBar(tabs: <Widget>[
            Icon(Icons.home),
            Icon(Icons.home),
            Icon(Icons.home)
          ])),
      body: ListView.builder(
          itemCount: 20,
          itemBuilder: (context, index) {
            return ListTile(
                subtitle: const Text('bottom data'),
                title: const Text('top data'),
                onTap: () {});
          }),
    );
  }
}

```

</details>

![Screenshot_20230315_080130.png](https://user-images.githubusercontent.com/42890752/225244317-2c321b46-84a9-4c9f-8b39-4e2dd5b49e4c.png)
Repository: flutter
Issue: webview may not render properly when placed in a widget with padding values greater than a certain threshold
Labels: platform-android,a: platform-views,p: webview,c: rendering,e: OS-version specific,has reproducible steps,P3,found in release: 3.7,found in release: 3.9,team-android,triaged-android

this can be reproduced on `Netease mumu simulator`, which can be downloaded from [official website](https://mumu.163.com/update/mac/).  It's a simulator based on android 6

on Huawei Honour 6, android 6, this can also be reproduced.

## Steps to Reproduce

1. click `reloadCaptcha`, a dialog will come out, and contents in webview display completely and normally.
2. change code `EdgeInsets.only(top: 100)` to `EdgeInsets.only(top: 300)`, and `flutter run` again
3. click `reloadCaptcha`, but part of contents in webview display are blank

**Expected results:** after changing margin-top from 100 to 300, contents in webview should be displayed completely

**Actual results:** while setting margin-top to 300, some of webview display blank

<details>
<summary>code sample</summary>

```dart
class _MyHomePageState extends State<MyHomePage> {
    @override
  Widget build(BuildContext context) {
    WebViewController smWebviewController = WebViewController()
    ..setJavaScriptMode(JavaScriptMode.unrestricted)
    ..setNavigationDelegate(NavigationDelegate(
    ))
    ..loadRequest(Uri.parse('https://www.baidu.com/'));

    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Captch example'),
        ),

        body: Column(
          children: [
              MaterialButton(
              child: Text("reloadCaptcha"),

              onPressed: (){

                  showDialog(
                    context: context, 
                    builder: (ctx){
                      return  Container(
                          child: SizedBox(
                            height: 200,
                            width: 300,
                            child: WebViewWidget(controller: smWebviewController),
                          ),
                          margin: EdgeInsets.only(top: 300), // display blank while changing from 100 to 300
                        );
                  });
              }
            ),
          ],
        ),
      ),
    );
  }
}
```
</details>


this can be easily reproduced, the video shows :

https://user-images.githubusercontent.com/22286162/225243191-ab2b3dfb-6a37-46c6-a333-5e1d5cfa3ab9.mp4
Repository: vscode
Issue: Remove invalid entries from Recent Opened etc.
Labels: feature-request,workbench-history

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

For now, when dealing with all those entries in Recent Opened, one may only：
- <q>Clear</q>, or remove everything from the Recent Opened menu, or
- pick & delete them one by one from Recent Opened's list view.

However, for workflows that involves temporary files/folders, and, for example, dir layout changes, a large portion of the paths in Recent Opened can be/become not-exist or invalid.

In those cases, a feature to only remove the invalid entries from Recent Opened will be really convenient and useful.

Update June 2023: (I realized) This feature is also valid for other views with **stored list of paths**, like **Workspace Trust**.

Also see: https://github.com/microsoft/vscode/issues/177401, a dup with some good amount of infomation.

---

For Recent Opened's list view (which can be accessed from `workbench.action.openRecent`, or <kbd>Ctrl</kbd> + <kbd>R</kbd> by default, or `File > Open Recent > More...`), If there can be more visual element added to it, like <del>some formating</del> / coloring / icons... It might also be somewhat useful to change some visual, to show whether the entry/entries are valid or not.

Sometimes one just want to *see* which paths still exist or not, instead of *do* something like delete it from the Recent Opened.
Repository: stable-diffusion-webui
Issue: in Img2Img tab, add a button next to Width/Height to grab the values from the loaded image
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

In Img2Img, so far most of the time, I want my output image to be the same size (or at least the same-aspect ratio) as the input image.

This would be a huge time same and is most probably extremely easy to code.

### Proposed workflow

1. Go to Img2Img
2. Load the input image
3. Press the Fill Size From Input Image button to automatically set the Width and Height field with the same as the input image


### Additional information

_No response_
Repository: godot
Issue: Not possible to set a typed array property from C#
Labels: bug,topic:dotnet

### Godot version

4.0.stable.mono

### System information

Fedora Linux 37

### Issue description

In `foo.gd` there is a property `var arr: Array[int]`. Trying to set it from a C# script using
```
foo.Set("arr", Godot.Collections.Array<int>{ 0, 1, 2 });
```
doesn't work, the array stays empty. Making it untyped (`var arr: Array`) fixes the problem, so there is something with static types.

### Steps to reproduce

1. Create a typed array property in a GDScript
2. Try to set it from a C# script

### Minimal reproduction project

N/A
Repository: transformers
Issue: Add BEiTv3
Labels: New model

### Model description

Microsoft just open-sourced BEiTv3: https://github.com/microsoft/unilm/tree/master/beit3

This is a very powerful vision-language model that can be used as backbone for a variety of downstream tasks, from image classification to VQA to object detection.

Time to add it to HF Transformers! :)

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

https://github.com/microsoft/unilm/tree/master/beit3
Repository: PowerToys
Issue: Key press loop
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

An option where, if a key on the keyboard is provided by the user, this key should be pressed repeatedly. A key to stop the repetition should also be available.

### Scenario when this would be used?

going through multiple cells in excel manually

### Supporting information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: When Img2Img is set to Hidden UI, txt2img's saved prompt style cannot be used.
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

When Img2Img is set to Hidden UI, txt2img's saved prompt style cannot be used and the Web UI settings are not reflected.
If Img2Img is removed from the settings, the above error does not occur.

### Steps to reproduce the problem

1. Go to Web UI settings
2. Press User Interface
3. Set Img2Img to Hidden UI field
4. Press "Apply Settings" 
5. Press "Reload UI"
6. The above error occurs


### What should have happened?

Img2Img is not set to Hidden UI.

### Commit where the problem happens

a9fed7c3

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
--xformers --disable-nan-check
```


### List of extensions

Config-Presets
a1111-sd-webui-locon
a1111-sd-webui-tagcomplete
ddetailer
multidiffusion-upscaler-for-automatic1111
posex
sd-webui-controlnet
sd-webui-cutoff
sd_web_ui_preset_utils
stable-diffusion-webui-images-browser
stable-diffusion-webui-model-toolkit
stable-diffusion-webui-wd14-tagger

### Console logs

```Shell
venv "D:\AI\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep  5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing xformers
Installing requirements for Web UI


Launching Web UI with arguments: --xformers --disable-nan-check
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
Loading weights [17d6549029] from D:\AI\stable-diffusion-webui\models\Stable-diffusion\nullModelzeros.ckpt
Creating model from config: D:\AI\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: D:\AI\stable-diffusion-webui\models\Stable-diffusion\Anything-V3.0.vae.pt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(2): bad-artist, EasyNegative
Model loaded in 12.2s (create model: 9.1s, apply half(): 0.7s, load VAE: 0.5s, move model to device: 0.7s, load textual inversion embeddings: 1.2s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 33.4s (import gradio: 2.2s, import ldm: 0.9s, other imports: 2.5s, list extensions: 1.8s, load scripts: 5.6s, load SD checkpoint: 12.2s, create ui: 7.7s, gradio launch: 0.3s).
```


### Additional information

Just to be sure, I tried the above steps once from the state right after git clone, but the bug still occurred.
Repository: go
Issue: github: branch protections
Labels: Builders,NeedsInvestigation

As someone in the "go-approvers" github group, I'm always slightly concerned about accidentally pressing the "Merge Pull Request" button when going through PRs.

Can we have branch protection to disable the button by default?
I believe matching the `master` branch with `Require a pull request before merging` with sub-options `Require approvals` and `Require review from Code Owners` will be sufficient to prevent accidental presses.

There's also a `Lock branch` option, though I'm unsure how it'll interact with the sync from upstream.

cc @golang/release
Repository: godot
Issue: Having a Property selected in the Import Panel will break the copy/paste Keyboard Shortcut in Scene Tab
Labels: bug,topic:editor,topic:import

### Godot version

4.0 stable

### System information

Windows 10 and nixos unstable

### Issue description

While a Property is Selected in the Import Panel, using the Copy/Paste Keyboard Shortcut will result in Godot Printing `set [$PropertyName] ` but not properly copy/paste objects.

### Steps to reproduce

1. open a blank Project
2. make a Scene
3. put some file to import
4. go to import settings
5. select a Property by clicking on it
![image](https://user-images.githubusercontent.com/18014034/225309161-99cd4967-b772-48d8-9ae3-101764f9f820.png)
6. go back to Scene tab
7. Try Ctl+c

### Minimal reproduction project

N/A