sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [JIT] Break up JIT Opinfo Tests 
Labels: oncall: jit,better-engineering

## 🚀 Feature:

Currently, `variant_consistency_jit` tests a number of properties. Alias analysis, fusion, autodiff, shape analysis, scripting, tracing. A single failure in any of these tests results in all downstream tests being disabled. While it is great for all of these tests to work, we should not tie the test coverage of all of these properties to each other. 

For example, an empty input to Convolution broke the alias analysis test, so now all jit tests are disabled for Conv. 

We should break up all of the jit properties into separate tests so we dont tie their coverage to each other. 

cc @mruberry 

Separable tests:

- [ ] break up scripting and tracing. these could start by invoking the `check_against_reference` and autodiff tests 
- [ ] break off alias analysis into a separate test (@eellison)
- [ ] break of shape analysis
Repository: flutter
Issue: `gclient sync` on Windows sometimes needs to be run as Administrator
Labels: engine,platform-windows,P3,team-engine,triaged-engine

When I try to run `gclient sync` on my Windows device, I get the following error:

```
________ running 'cipd ensure -log-level error -root C:\Users\gspencer\code\engine -ensure-file C:\Users\gspencer\AppData\Local\Temp\tmpwsfsjbep.ensure' in '.'
[P119436 13:44:02.363 client.go:1718 E] Failed to install fuchsia/third_party/clang/windows-amd64:6u9Xk_Dr7e_2dXmuP5zwTi2yfZ7ChIcJ3aVTfR-154wC - symlink clang.exe C:\Users\gspencer\code\engine\.cipd\pkgs\0\-dkLlv5Kjza9\bin\wy1tHfIub-rr:
A required privilege is not held by the client. (and 14 other errors)
Error: failed to update packages, see the log.
Error: Command 'cipd ensure -log-level error -root C:\\Users\\gspencer\\code\\engine -ensure-file C:\\Users\\gspencer\\AppData\\Local\\Temp\\tmpwsfsjbep.ensure' returned non-zero exit status 1
```

I've tried re-running `cipd auth-login`, blowing away my entire src dir and re-running `gclient sync`, with no change in results.

When I try and build, I get an error that ninja can't find clang (which is not surprising, given the above error).

This is currently stopping me from doing Windows development on the engine.
Repository: pytorch
Issue: Poor Transformer inference scalability on CPU
Labels: module: performance,module: nn,triaged,Stale

## ❓ Questions and Help

Hi, 

I was profiling the performance of Transformer inference with Torch on CPU and have found poor scalability by playing with # of threads and CPU affinity. A scalability plot is as follows. 
![image](https://user-images.githubusercontent.com/7344430/144508666-a251bc2d-a3a9-4bac-ab09-0716b0e1a4f8.png)

The workload has a batch size of 1, i.e. one input at a time and torch is compiled with MKL support. 
I also tried to tune the # of intra/inter-op threads but no luck in improving the performance ;( 

Any pointer in where/how to debug the issue is greatly appreciated! 

Many thanks, 
Liwei 

cc @msaroufim @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @bhosmer @cpuhrsch
Repository: rust
Issue: rustdoc: doc attributes are not rendered for re-exports
Labels: T-rustdoc,C-bug,A-cross-crate-reexports

Source:
```Rust
/// Re-export of egui. Use this to access egui functionality.
/// 
/// This way, you don't have to declare egui as a dependency, and this will be
/// guaranteed to be the same version as egui-sfml uses.
pub use egui;
```
Rendering:
![image](https://user-images.githubusercontent.com/1521976/144509527-f9a74785-6277-4598-93d2-cda69e186cff.png)

If not rendering is intentional, there should be a warning that the doc text won't show up in the rendered version.

meta:
`rustdoc 1.59.0-nightly (db9d361a4 2021-11-28)`
Repository: youtube-dl
Issue: Site: https://cu.ntv.co.jp/
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->ERROR: Unable to extract player config; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.06.06**
- [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
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://cu.ntv.co.jp/kyoukaraoreha_08/
- Single video: https://cu.ntv.co.jp/kyoukaraoreha_08/
- Playlist: N/A


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

WRITE DESCRIPTION HERE
Repository: godot
Issue: Game hangs when calling load from a thread
Labels: bug,topic:core,confirmed

### Godot version

3.4-1

### System information

Arch Linux 5.15.5.arch1-1

### Issue description

Game sometimes hangs when calling load from a thread, then calling wait_to_finish. I'm not sure, but I think it specifically happens when loading a resource that's not already in the cache. Adding a pause in the thread before the call to load with something like `yield(get_tree().create_timer(0.001), "timeout")` keeps the game from hanging, so I'm guessing it's some sort of mutex, race condition problem?

Possibly the same issue as #51225

### Steps to reproduce

Add the following script to a node and set the file_path property to a resource not in the cache.

```
extends Node2D

export (String, FILE) var file_path

func _ready():
  var thread = Thread.new()
  thread.start(self, "hang_on_load", file_path)
  thread.wait_to_finish()

func hang_on_load(path):
#  Loading will work if you uncomment this line
#  yield(get_tree().create_timer(0.0001), "timeout")
  return load(path)
```

### Minimal reproduction project

[thread_loading_bug.zip](https://github.com/godotengine/godot/files/7645407/thread_loading_bug.zip)
Repository: pytorch
Issue: `nn.functional.fractional_max_pool2d` and `nn.functional.fractional_max_pool3d` produce incorrect output on non-contiguous inputs
Labels: module: nn,triaged,Stale

To reproduce, disable the corresponding expectedFailures in their OpInfos:

https://github.com/pytorch/pytorch/pull/68922/files#diff-18a0c3e7cd07089b34760028c387d39de1aa393172f1d5f123692106b3a3d144R10432

https://github.com/pytorch/pytorch/pull/68922/files/aef50820ab2048e09f31d6a948ed46d0bd44ed80#diff-18a0c3e7cd07089b34760028c387d39de1aa393172f1d5f123692106b3a3d144R10451



cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345
Repository: create-react-app
Issue: 'create-react-app' is not recognized as an internal or external command, operable program or batch file.
Labels: stale

When I try the "npx create-react-app" command, I get the error:
npm WARN exec The following package was not found and will be installed: create-react-app
'create-react-app' is not recognized as an internal or external command,
operable program or batch file.

I have node v16.13.1 and npm 8.1.2 I'm on windows 10. This has worked for me in my other windows 10 machine but it doesn't work in this new machine.
I have added C:\Users\İrem Nur\AppData\Roaming\npm\node_modules to the PATH.
Still I can't get create-react-app to work.
Repository: flutter
Issue: [Android] TalkBack doesn't work on the right screen on dual screen smartphone
Labels: e: device-specific,platform-android,engine,a: accessibility,P2,team-android,triaged-android

## Steps to Reproduce

Reproducible on any flutter app. 

1. Open flutter app on dual screen device (Surface Duo 1/2 for example)
2. Move the app to the right screen
3. Enable Android TalkBack (screen narrator)
4. Try to click/move focus to any item in the app.

When the app open on left the screen, or in dual screen mode, TalkBack works as expected.

<details>
<summary>flutter doctor -v</summary>

```text
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-x64, locale en-US)
    • Flutter version 2.5.3 
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (7 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/.../Library/Android/sdk
    • Platform android-31, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Maksym’s iPhone (mobile) • 00008101-000E61993684001E • ios            • iOS 15.0.2 19A404
    • macOS (desktop)          • macos                     • darwin-x64     • macOS 12.0.1 21A559 darwin-x64
    • Chrome (web)             • chrome                    • web-javascript • Google Chrome 96.0.4664.55

• No issues found!
```
</details>
Repository: node
Issue: worker_threads resource limits option not working with cluster module
Labels: cluster,worker

### Version

v17.2.0

### Platform

20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64

### Subsystem

worker_threads

### What steps will reproduce the bug?

index.mjs
```
import http from 'http';
import cluster from 'cluster';
import path from 'path';
import { Worker } from 'worker_threads';

import v8 from 'v8';

if (cluster.isPrimary) {
  const workersEnv = {
    NODE_OPTIONS: `--max-old-space-size=512`
  };

  cluster.fork(workersEnv);

  const worker = new Worker('./worker.mjs', {
    resourceLimits: {
      maxOldGenerationSizeMb: 200,
    }
  });

  worker.postMessage('main');
} else {
  const worker = new Worker('./worker.mjs', {
    resourceLimits: {
      maxOldGenerationSizeMb: 200,
    }
  });

  worker.postMessage('worker');
}
```

worker.mjs
```
import v8 from 'v8';
import { parentPort } from 'worker_threads';

parentPort.on('message', (type) => {
  const { heap_size_limit } = v8.getHeapStatistics();
  console.log(`[${type}] heap_size_limit: ${heap_size_limit}`);
});
```

output:
```
[main] heap_size_limit: 260046848
[worker] heap_size_limit: 587202560
```

### How often does it reproduce? Is there a required condition?

Whenever I use `worker_threads` module with a `cluster` -  worker resourceLimits option is ignored. 

### What is the expected behavior?

Expected output:
```
[main] heap_size_limit: 260046848
[worker] heap_size_limit: 260046848
```

### What do you see instead?

Max old space heap size probably was inherited from parent process (cluster) and resource limits option was ignored.

### Additional information

This behavior may cause the memory leak on the worker to be handled incorrectly. Worker process will be killed if old heap space reach cluster process limits, not options I've passed.
Repository: material-ui
Issue: [TablePagination] page range delimiter changed MUIv5
Labels: breaking change,component: pagination

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

In updating to Material-UI v5.2.2 (from v5.0.6) I have noticed that the character used to delimit page ranges in the <TablePagination> component has changed. Previously, it was using `-` (minus sign), now it's using `–` (%E2%80%93).

I noticed this because I have some tests validating a few paging scenarios in my app and when they broke with an update to v5.2.2 it was difficult to track down the cause because `1-10 of 10` looks nearly identical to `1–10 of 10` in the error logging.

### Expected behavior 🤔

Can this be reverted to the old delimiter, a minus sign, `-`?
It has used this character since at least MUIv4 and when the change breaks any automated testing, it's not obvious why.

### Steps to reproduce 🕹

Steps:
(Tested in Jest tests and in latest Chrome browser on MacOS)

1. Install MUI v5.2.2
2. Render a table with pagination, such as https://mui.com/components/tables/#sorting-amp-selecting
3. Note that pagination range uses new delimiter character (can be compared against earlier 5.x releases)


### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary>`npx @mui/envinfo`</summary>

```
    @emotion/react: ^11.7.0 => 11.7.0
    @emotion/styled: ^11.6.0 => 11.6.0
    @mui/base:  5.0.0-alpha.58
    @mui/icons-material: ^5.2.0 => 5.2.0
    @mui/lab: ^5.0.0-alpha.58 => 5.0.0-alpha.58
    @mui/material: ^5.2.2 => 5.2.2
    @mui/private-theming:  5.2.2
    @mui/styled-engine:  5.2.0
    @mui/styles: ^5.2.2 => 5.2.2
    @mui/system:  5.2.2
    @mui/types:  7.1.0
    @mui/utils:  5.2.2
    @types/react: ^17.0.37 => 17.0.37
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    typescript: ~4.5.2 => 4.5.2
```
</details>
Repository: flutter
Issue: [Proposal] set singleton mode in webview_flutter iOS
Labels: platform-ios,p: webview,package,c: proposal,P3,team-ios,triaged-ios

``` dart
Column(
  children: [
    SizedBox(
      height: MediaQuery.of(context).padding.top,
    ),
    const Flexible(
      child: WebView(
        initialUrl: 'http://10.0.26.87:8800/',
        javascriptMode: JavascriptMode.unrestricted,
      ),
    ),
    const Flexible(
      child: WebView(
        initialUrl: 'http://10.0.26.87:8800/',
        javascriptMode: JavascriptMode.unrestricted,
      ),
    ),
  ],
),
```
There are two same webviews on the page, the code is very simple, that is get the value in localStorage every second and display it.

```tsx
const App = () => {
  const [state, setState] = useState(localStorage.getItem('ttt') ?? 'none')
  const [time, setTime] = useState(0)

  useEffect(() => {
    /**
     * get localStorage every second and display it
     */
    setInterval(() => {
      setTime((t) => t + 1)
      setState(localStorage.getItem('ttt') ?? 'none')
    }, 1e3)
  }, [])

  return (
    <ul>
      <li>{time} seconds</li>
      <li>{state}</li>
      <li>
        <button
          onClick={() => {
            localStorage.setItem('ttt', Math.random().toString())
          }}
        >
          add random
        </button>
      </li>
    </ul>
  )
}
```

# iOS Preview

The two webviews have the same initial value (this is correct), but when I update one of the values, the other does not update (but the timer can be seen to be working properly)

https://user-images.githubusercontent.com/8766034/144547583-a9ad2634-4c8a-445e-8b7f-320c4ddc3274.MP4

# Android Preview

On Android devices, everything works fine


https://user-images.githubusercontent.com/8766034/144547986-14424868-4829-410b-b592-24e280e676d0.MP4


# Other

iOS: 15.1.1
webview_flutter: 2.3.1
Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale zh-Hans-CN)
Repository: transformers
Issue: [Benchmark] HF Trainer on RTX-3090
Labels: Benchmarks,WIP

# 🖥 Benchmarking `transformers` w/ HF Trainer on RTX-3090

We are going to use a special benchmarking tool that will do all the work for us. https://github.com/huggingface/transformers/pull/14934

This is the index post and specific benchmarks are in their own posts below:

1. [fp16 vs bf16 vs tf32 vs fp32](https://github.com/huggingface/transformers/issues/14608#issuecomment-1004390803)
2. [gradient accumulation steps](https://github.com/huggingface/transformers/issues/14608#issuecomment-1004392537)
3. [gradient checkpointing](https://github.com/huggingface/transformers/issues/14608#issuecomment-1004422281)
4. [batch size](https://github.com/huggingface/transformers/issues/14608#issuecomment-1004392537)
5. [optimizers](https://github.com/huggingface/transformers/issues/14608#issuecomment-1005219385)
6. [combining winning strategies](https://github.com/huggingface/transformers/issues/14608#issuecomment-1005229426) **~2x speed improvement!**
7. [RTX-3090 vs A100](https://github.com/huggingface/transformers/issues/15026#issuecomment-1005235845)

See also the [same benchmarks for A100](https://github.com/huggingface/transformers/issues/15026)

TODO:
- other suggestions?

Note that each benchmark was run only once, so multiple runs and averaging is probably going to give slightly different results. The purpose here though is to see relative differences roughly and not try to give an exact number.
Repository: flutter
Issue: Vectorize geometry.dart in dart:ui
Labels: engine,c: performance,perf: speed,P2,team-engine,triaged-engine

We should be able to back `OffsetBase` by a `Float64x2` and then vectorize the operators on Offset and Size as well as some other things like lerp. This should show some improvements in performance.

It might or might not be an improvement to vectorize Rect. For better or worse, we switched Rect to use 64 bit doubles internally, so we could not vectorize it as a Float32x4, but it. might help to do 2x Float64x2s. At the same time, when we pass Rects back to Skia we give it 32 bit values - the main problem is that when we use Rect in the framework, we don't want precision loss from casting to/from 32 and 64 bit values to throw things off, which was the motivation for going to 64 bit doubles to begin with.

I'm not sure if this could help web as well or not /cc @yjbanov or @hterkelsen
Repository: pytorch
Issue: `torch.sspaddmm` should broadcast the input tensor
Labels: module: sparse,triaged,Stale

## 🐛 Bug

`torch.sspaddmm(input, mat1, mat2)` is equivalent with `torch.addmm(input, mat1, mat2)` and `torch.sparse.addmm(input, mat1, mat2)` except input and mat1 are sparse. So it should broadcast the input tensor like the other two.

## To Reproduce

```python
import torch
input = torch.rand([1, 1])
mat1 = torch.rand([2, 3])
mat2 = torch.rand([3, 3])
res1 = torch.addmm(input, mat1, mat2)
print("addmm pass")
input = input.to_sparse()
mat1 = mat1.to_sparse()
res2 = torch.sspaddmm(input, mat1, mat2)
```
Result:
```
addmm pass
Traceback (most recent call last):
    res2 = torch.sspaddmm(input, mat1, mat2)
RuntimeError: sspaddmm: Argument #1: Expected dim 0 size 2, got 1
```

## Expected behavior

It should broadcast the input tensor and not raise this kind of error.

## Environment

- PyTorch Version (e.g., 1.0): 1.10.0, 1.9.0
- OS (e.g., Linux): Linux
- How you installed PyTorch (conda, pip, source): conda
- Python version: 3.9.5
- CUDA/cuDNN version: 11.1
- GPU models and configuration: RTX 3090


cc @nikitaved @pearu @cpuhrsch @IvanYashchuk
Repository: ant-design
Issue: Popover not works as expected when using with Menu.Item
Labels: Inactive

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/zi-ding-yi-jin-du-tiao-yang-shi-antd-4-17-2-forked-fgmmj?file=/index.js)

### Steps to reproduce
1. hover on menuItem
2. another popover will appear ❌ 



### What is expected?
only one popover is rendered

### What is actually happening?
two popovers is rendered 

| Environment | Info |
|---|---|
| antd | 4.17.2 |
| React | 17.0.2 |
| System | All |
| Browser | All |


https://user-images.githubusercontent.com/17810913/144559274-2c913557-9cab-4124-b4df-efa817b606e4.mov


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: I want to know how to read the LMDB file once when using DDP
Labels: oncall: distributed,module: dataloader

Hi, I meet a question. I have an LMDB dataset of about 50G. My machine has 100G memory and 8 V100 GPUs of 32GB.
the format of My dataset is like:

```
class MyDataset(Dataset):
    def __init__(self, img_lmdb_dir) -> None:
        super().__init__()
        self.env = lmdb.open(    # open LMDB dataset
            img_lmdb_dir, readonly=True,
            create=False)  
        self.txn = self.env.begin(buffers=True)
    def __len__(self) -> int:
        raise NotImplemented
    def __getitem__(self, index: int):
        ...
         return ...
```

As you can see, I open an LMDB dataset at the "init" method. However, if I use 8 GPUs. The each process will build this dataset and open LMDB dataset 8 times.  One LMDB need 50G, so 8 LMDB needs 400G, which is more than my machine's memory.

So, I want to know how to use the LMDB file to accelerate to load training data and meanwhile total memory cost is lower than in my environment.

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: ant-design
Issue: tree 组件开启虚拟滚动 , 只溢出一点内容,滚动条却只容器有高度的一半
Labels: help wanted,Inactive,🧶 Low Priority

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
https://codesandbox.io/s/antd-reproduction-template-forked-m1g57

### Steps to reproduce
父容器高度200  孩子dom高度210 只超过了10px造成的滚动

### What is expected?
滚动条高度应该较大

### What is actually happening?
滚动条高度最大只能到容器高度的一半

| Environment | Info |
|---|---|
| antd | 4.17.2 |
| React | react |
| System | windows |
| Browser | 最新Chrome |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: Missing instruction in recipe for Andoid/mobile interpreter
Labels: oncall: mobile,Stale

## 📚 Documentation

In the Android section of the [(BETA) EFFICIENT MOBILE INTERPRETER IN ANDROID AND IOS](https://pytorch.org/tutorials/recipes/mobile_interpreter.html) recipe, a block of instructions is missing:

> Update the dependencies part of `ImageSegmentation/app/build.gradle` to **???[MISSING]???**

![image](https://user-images.githubusercontent.com/34301767/144567637-fa931cd0-8196-41ef-a410-55ad5ee23146.png)