sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: Tensorpipe requires setting both GLOO_SOCKET_IFNAME and TP_SOCKET_IFNAME
Labels: oncall: distributed,triaged

## 🐛 Bug

On the FAIR cluster, `nslookup $(hostname)` reports `127.0.1.1` on every host, and this confuses gloo/tensorpipe, requiring me to pass GLOO_SOCKET_IFNAME and TP_SOCKET_IFNAME in the environment for each worker, with the value set to the right interface for each worker. This is frustrating as it requires encoding knowledge about the network configuration into my training script.

## To Reproduce

Steps to reproduce the behavior:

1. Run the code from https://github.com/pytorch/tensorpipe/issues/201 on the FAIR cluster

https://gist.github.com/froody/e37a7d818d44d7626e3ce3855bd50e61

## Expected behavior

rpc is initialized without having to specify GLOO_SOCKET_IFNAME and TP_SOCKET_IFNAME. I feel like this is reasonable as NCCL is able to establish a connection in the FAIR cluster without NCCL_SOCKET_IFNAME being set. MASTER_ADDR/MASTER_PORT should be enough to establish bidirectional connections between each host in the group. SOCKET_IFNAME should only be needed to override the interface for performance reasons.

## Environment

Collecting environment information...
PyTorch version: 1.6.0
Is debug build: No
CUDA used to build PyTorch: 10.1

OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.10.2

Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration:
GPU 0: Quadro GP100
GPU 1: Quadro GP100

Nvidia driver version: 418.116.00
cuDNN version: Could not collect

Versions of relevant libraries:
[pip3] numpy==1.18.5
[pip3] torch==1.6.0
[pip3] torchtext==0.7.0
[pip3] torchvision==0.7.0
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               10.1.243             h6bb024c_0
[conda] mkl                       2020.1                      217
[conda] mkl-service               2.3.0            py37he904b0f_0
[conda] mkl_fft                   1.1.0            py37h23d657b_0
[conda] mkl_random                1.1.1            py37h0da4684_0    conda-forge
[conda] numpy                     1.18.5           py37ha1c710e_0
[conda] numpy-base                1.18.5           py37hde5b4d6_0
[conda] pytorch                   1.6.0           py3.7_cuda10.1.243_cudnn7.6.3_0    pytorch
[conda] torchtext                 0.7.0                    pypi_0    pypi
[conda] torchvision               0.7.0                py37_cu101    pytorch


cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @jiayisuse @agolynski
Repository: pytorch
Issue: Support for defining/saving custom operators with dynamic schema
Labels: oncall: jit,triaged

## ❓ Questions and Help
Hi All,
Is there a way to define and save an operator which could potentially take any number of inputs and return any number of outputs of any data types. Somewhat similar to saving a node with `Subgraph` attribute. 

If yes, how would that operators schema look like?

Thanks,

### Please note that this issue tracker is not a help form and this issue will be closed.

We have a set of [listed resources available on the website](https://pytorch.org/resources). Our primary means of support is our discussion forum:

- [Discussion Forum](https://discuss.pytorch.org/)
https://discuss.pytorch.org/t/how-to-define-and-save-a-custom-operator-with-a-dynamic-schema/92188

cc @gmagogsfm
Repository: pytorch
Issue: Unable to call `super` method with TorchScript
Labels: triage review,oncall: jit,TSRootCause:DynamicBehaviors,TSUsability,TSRootCause:ModuleInheritance

## 🐛 Bug

I have a derived `nn.Module` which calls `super.forward(...)` in its own implementation. When I try to compile the code to TorchScript, I get:

```
Tried to access nonexistent attribute or method 'forward' of type 'Tensor'.:
  File "test.py", line 7
  def forward(self, x):
    return super().forward(x)
           ~~~~~~~~~~~~~ <--- HERE
```

## To Reproduce

```python
import torch
import torch.nn as nn


class Foo(nn.Conv1d):
  def forward(self, x):
    return super().forward(x)


model = Foo(128, 128, 1)
torch.jit.script(model)
```

## Expected behavior

I would expect to get a proper `ScriptModule` out of the `torch.jit.script(...)` line.

## Environment

```
PyTorch version: 1.6.0
Is debug build: No
CUDA used to build PyTorch: 10.2

OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: Could not collect

Python version: 3.8
Is CUDA available: Yes
CUDA runtime version: 10.2.89
GPU models and configuration:
GPU 0: GeForce GTX 1080 Ti
GPU 1: GeForce GTX 1080 Ti
GPU 2: GeForce GTX 1080 Ti
GPU 3: GeForce GTX 1080 Ti

Nvidia driver version: 440.33.01
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.5.1

Versions of relevant libraries:
[pip3] numpy==1.19.1
[pip3] torch==1.6.0
[conda] _tflow_select             2.3.0                       mkl
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               10.2.89              hfd86e86_1
[conda] mkl                       2020.1                      217
[conda] mkl-service               2.3.0            py38he904b0f_0
[conda] mkl_fft                   1.1.0            py38h23d657b_0
[conda] mkl_random                1.1.1            py38h0573a6f_0
[conda] numpy                     1.19.1           py38hbc911f0_0
[conda] numpy-base                1.19.1           py38hfa32c7d_0
[conda] pytorch                   1.6.0           py3.8_cuda10.2.89_cudnn7.6.5_0    pytorch
[conda] tensorflow                2.2.0           mkl_py38h6d3daf0_0
[conda] tensorflow-base           2.2.0           mkl_py38h5059a2d_0
```


cc @suo @gmagogsfm
Repository: go
Issue: internal/goversion: increment Version at start of cycle
Labels: NeedsFix,early-in-cycle,release-blocker,recurring

[`goversion.Version`](https://pkg.go.dev/internal/goversion@master#Version) needs to be incremented by one at the start of each development cycle, to match the upcoming major Go release version.

Once done, this issue should be moved to the next major release milestone.

(CC @golang/release.)
Repository: flutter
Issue: Flutter tries to install old android build tools/platforms to build APK
Labels: platform-android,tool,t: gradle,has reproducible steps,P3,team-android,triaged-android,found in release: 3.19,found in release: 3.22

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Running `flutter create xelophone_flutter`:
![01 Create](https://i.imgur.com/FYMVINx.jpg)
![02 Create](https://i.imgur.com/XlLVq8M.jpg)
2. Files modified:
![03 modified](https://i.imgur.com/b3FH5Q5.jpg)
Properties: *CompileSdkVersion* and *buildToolsVersion*
![04 modified](https://i.imgur.com/TafAU3p.jpg)
Properties: *DistributionUrl*
3. Reproduce the problem
- When running for first time and while no packages are added to app, this app is running as expected (that is, it uses packages API 29 installed in system to build APK)
- If one package is added and repository is updated (`flutter pub get`), then when trying to run app, it tries to install packages API 28 to build APK

**Expected results:** <!-- what did you want to see? -->
![05 Expected](https://i.imgur.com/oeRQkbO.jpg)
**Actual results:** <!-- what did you see? -->
![06 Actual](https://i.imgur.com/Vrxk37p.jpg)

<details>
  <summary>Logs</summary>
<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->
1. Running... *OK*

![10 Run ok](https://i.imgur.com/iAv2caQ.jpg)
![11 Run ok](https://i.imgur.com/SFQlBjA.jpg)
![12 Run ok](https://i.imgur.com/vtx2HAM.jpg)
![13 Run ok](https://i.imgur.com/XQoEakl.jpg)
![14 Run ok](https://i.imgur.com/bKv5lot.jpg)
![15 Run ok](https://i.imgur.com/AOWFse3.jpg)

2. Running... *Wrong*

![16 Run bad](https://i.imgur.com/H9sWQSf.jpg)
![17 Run bad](https://i.imgur.com/SQBb0ta.jpg)
![18 Run bad](https://i.imgur.com/7OodPaf.jpg)

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->
3. Flutter Analyze

![19 Analyze](https://i.imgur.com/COhFits.jpg)

<!-- Finally, paste the output of running `flutter doctor -v` here. -->
4. Flutter Doctor
![08 Doctor](https://i.imgur.com/rqJ5YyR.jpg)

5. SDK Manager
![07 sdk manager](https://i.imgur.com/StICU6v.jpg)

6. Gradle
![09 Gradle](https://i.imgur.com/baY7Uyk.jpg)

7. System
![20 System](https://i.imgur.com/wd6YUer.jpg)
</details>
Repository: storybook
Issue: Addon-docs: DocsPage Controls don't update iframe stories
Labels: bug,has workaround,addon: docs,addon: controls,block: argstable,sev:S2

Controls don't update iframed stories on the `Docs` tab, but **do** update on the `Canvas` tab.

![controls-bug](https://user-images.githubusercontent.com/488689/89959664-8fc8bf00-dc6f-11ea-8388-f2418fbd9ea7.gif)

For frameworks that support inline rendering (`react`, `vue`, `web-components`, etc.), making the docs stories [render inline](https://storybook.js.org/docs/react/writing-docs/doc-blocks#inline-rendering) is a workaround.
Repository: godot
Issue: SoftBody doesn't follow the fixed point in real time.
Labels: bug,topic:physics,topic:3d

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.1.stable.official

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
windows7 X64 GLES3

**Issue description:**
<!-- What happened, and what was expected. -->
I made a dress for the characters in the game.
However, the costumes do not change as the characters move, but there is a delay.
![image](https://user-images.githubusercontent.com/35617666/89964997-361bc100-dc7e-11ea-9b91-9f36e3fe3853.png)


It is normal when not moving.
![image](https://user-images.githubusercontent.com/35617666/89965040-50559f00-dc7e-11ea-8aff-e2976fe9f630.png)

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
[demo.zip](https://github.com/godotengine/godot/files/5060133/demo.zip)
Repository: flutter
Issue: Tell user about "--device-id" after the interactive multiple devices "flutter run" prompt
Labels: tool,a: first hour,P3,team-tool,triaged-tool

`flutter run` now interactively prompts for which device to run when multiple devices are available, and no `--device` flag was specified.

```
Multiple devices found:
iPhone 6s (mobile)     • <device-id-1> • ios            • iOS 13.5.1
iPhone 8 Plus (mobile) • <device-id-2>     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
macOS (desktop)        • macos                                    • darwin-x64     • Mac OS X 10.15.5 19F101
Web Server (web)       • web-server                               • web-javascript • Flutter Tools
Chrome (web)           • chrome                                   • web-javascript • Google Chrome 84.0.4147.105
[0]: iPhone 6s (device-id-1)
[1]: iPhone 8 Plus (device-id-2)
[2]: macOS (macos)
[3]: Web Server (web-server)
[4]: Chrome (chrome)
Please choose one: [0|1|2|3|4]: 
1
Running "flutter pub get" in test_create...
```

After the device selection, it would be nice to print something like:
```
To run on this device next time, try "flutter <exactly the command they ran> --device-id <selected device ID>"
```
like:
```
To always run on this device next time, try "flutter run --release --device-id 23049829583405983"
```
Repository: terminal
Issue: Un-snapping Terminal Placing Cursor in Middle of Previous Command's Output
Labels: Area-Output,Issue-Bug,Product-Terminal,Priority-2

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

<!--
This bug tracker is monitored by Windows Terminal development team and other technical folks.

**Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**.
Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue.

If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible.

-->

# Environment

```none
Windows build number: 10.0.19041.0
Windows Terminal version (if applicable): 1.1.2021.0

Any other software?
* PowerShell Core 7 (also reproducible in other shells)
```

# Steps to reproduce

<!-- A description of how to trigger this bug. -->

1. Snap terminal to the right
2. (In PS7) Type a command that fills the screen (I used ```dotnet new --list``` because I'm checking my installed templates)
![Step2](https://user-images.githubusercontent.com/26214284/89965513-aab91600-dc12-11ea-84c6-141ad74b9d68.png)
3. Unsnap the pane (whether by dragging, maximizing, or double tapping title bar)
4. Type new command (I used cd to a path I was working within)

# Expected behavior

<!-- A description of what you're expecting, possibly containing screenshots or reference material. -->

Terminal should display the new input text at the > mark (seen here in stock PowerShell 7). 
![expectedBehavior](https://user-images.githubusercontent.com/26214284/89965583-c58b8a80-dc12-11ea-84cc-13b80fe526ef.PNG)


# Actual behavior

<!-- What's actually happening? -->

Terminal is currently displaying the text in the middle of the previous commands output.
![actualBehavior](https://user-images.githubusercontent.com/26214284/89965596-cc1a0200-dc12-11ea-86ce-f1d21c5ba65d.png)

I searched for snap and cursor and couldn't find this explicitly (I found a couple of related issues) - if duplicated or in progress please feel free to delete.
Repository: flutter
Issue: Flutter - material support onLongPress on BottomNavigationBar
Labels: framework,f: material design,f: gestures,c: proposal,P3,team-design,triaged-design


the solution out there is adding a gesture detector inside the bar items. this is not clean, and i suggest long press for bottom navigations are valid and adopted ux. so material's BottomNavigationBar should have onLongPress interface provided to developers.

https://stackoverflow.com/questions/56387160/long-press-on-bottomnavigationbaritem
Repository: TypeScript
Issue: QuickInfo for ElementAccessExpression show original type when its type should be narrowed.
Labels: Bug

<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:**  4.0 beta
<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**

**Code**

```ts
type Tmp = { i1: string | null };

function f2(t: Tmp) {
    if (typeof t.i1 === "string") {
        const tmp = t.i1;
        tmp;  // string
        t.i1;//string
    }
}


function f21(t: Tmp) {
    if (typeof t.i1 === "string") {
        const tmp = t["i1"];
        tmp;  // string
        t["i1"]; // string|null
    }
}

function f22(t: Tmp) {
    if (typeof t["i1"] === "string") {
        const tmp = t.i1;
        tmp;  // string
        t.i1;//string
    }
}

function f12(t: Tmp) {
    if (typeof t["i1"] === "string") {
        const tmp = t["i1"];
        tmp;  // string
        t["i1"];// string|null
    }
}
```

**Expected behavior:**
The quickinfo for ElementAccessExpression should also be "string"

**Actual behavior:**
It shows not narrowed type.

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
https://www.typescriptlang.org/play?#code/C4TwDgpgBAKgtmKBeKBvKBLAjALigZ2ACcMA7AcygB8pSBXAGwagF8BuAWAChuAzO0gGNgGAPakovAEwAKYHnhgAlGm5RMvKHPARRm4ADpsyJCgBEhEhTMrUa9VEPY2AeheWy5ey24+e--iERcUkpLDkFBFt7DE1tSD1HIywTcw9raK4HRwBtM2wzAF02KDcCYk8qeiZvX24+AWExCWlZeVgo1SyNLVAE-TyCwtSoCwqMruynLFd3ca9uvz8GoObJLDbI5Ume+N0B-KwikbGrchsd9WBBo+Ky9PIqxgZarhYgA

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
Repository: pytorch
Issue: Avoid dynamic isCustomClassRegistered() checks in kernel call paths
Labels: triaged,module: dispatch

Currently, we ensure that classes of non-primitive op arguments have been registered to the custom class system by calling `isCustomClassRegistered()` in the op call path[1]. It would be excellent to avoid this overhead, but the obvious change - move the check to kernel registration time - isn't possible because we don't require that custom classes be registered before the ops that use them. (We only require that they be registered before they're called.)

We've discussed 3 possible solutions at a high level:
1. Cache lookup results from isCustomClassRegistered(). Reduces but doesn't eliminate call-time overhead, but relatively straightforward and the complexity is localized.
2. Have custom class registration trigger kernel precomputation in the dispatcher, and have precomputation install error kernels for ops whose signatures refer to unregistered custom classes. Eliminates the call-time check entirely, at the expense of precomputation complexity - and in a restricted but real sense this would join the states of the op and custom class registries.
3. Change how things fail when an unregistered class is encountered during IValue construction. Whether this is even possible depends on details of the custom class system that I haven't dug into, but a fast-success-path solution here could be optimal, with a small amount of new complexity serving to eliminate the call-time check.

cc @smessmer per today's chat

[1] we recently deduplicated the dynamic isCustomClassRegistered() check in #42852, but it remains in the call path.

@ezyang describes another current issue related to custom class registration ordering:

> This is already a problem today, where if you use torchbind to register a custom class, you have to arrange for that registration to happen before you reference that class in types
> Right now, all the cases in the codebase where we do this are manually ordered (typically by making sure the defs that refer to the custom class are in the same translation unit as the custom class declaration, in which case you can rely on ordering
Repository: storybook
Issue: Controls: subcomponents doesn't show controls column in prop tables.
Labels: feature request,has workaround,addon: controls

**Describe the bug**
subcomponents doesn't show controls column in prop tables.

**To Reproduce**
my component is like this, it has a father component ConditionPanel, and a child component Item which would be passed into ConditionPanel as children props.
While the father component is showing the controls column, the subcomponent isn't.
![image](https://user-images.githubusercontent.com/25152128/89991627-ac3c1a00-dcb6-11ea-8036-398798687cc0.png)

**Expected behavior**
show all the subcomponents controls, and be able to control the main story.

**Screenshots**

![image](https://user-images.githubusercontent.com/25152128/89991991-397f6e80-dcb7-11ea-99dd-e1c302d73f21.png)
![image](https://user-images.githubusercontent.com/25152128/89991394-5ebfad00-dcb6-11ea-8919-cb9f27dc6b2d.png)

**Code snippets**
my `x.story.js`file
```
import React from 'react'
import ConditionPanel, { Item } from "../components/ConditionPanel/index";
import { Input } from 'antd'
export default {
  title: 'UI/ConditionPanel',
  component: ConditionPanel,
  subcomponents: { 'ConditionPanel.Item': Item }
};
export const Main = (args) => (
  <ConditionPanel {...args} >
    <Item label="test101">
      <Input placeholder="asdsad" style={{width: '100%'}}/>
    </Item>
    <Item label="test101">
      <Input placeholder="asdsad" style={{width: '100%'}}/>
    </Item>
    <Item label="test101">
      <Input placeholder="asdsad" style={{width: '100%'}}/>
    </Item>
    <Item label="test101">
      <Input placeholder="asdsad" style={{width: '100%'}}/>
    </Item>
    <Item label="test101">
      <Input placeholder="asdsad" style={{width: '100%'}}/>
    </Item>
    <Item label="test101">
      <Input placeholder="asdsad" style={{width: '100%'}}/>
    </Item>
  </ConditionPanel>
);
```

**System:**
```
"@babel/core": "^7.10.5",
    "@storybook/addon-actions": "^6.0.0-rc.29",
    "@storybook/addon-controls": "^6.0.3",
    "@storybook/addon-docs": "^6.0.3",
    "@storybook/addon-knobs": "^5.3.19",
    "@storybook/addon-links": "^5.3.19",
    "@storybook/addon-notes": "^5.3.19",
    "@storybook/addon-viewport": "^5.3.19",
    "@storybook/addons": "^5.3.19",
    "@storybook/react": "^6.0.3",
    "babel-loader": "^8.1.0",
    "babel-plugin-import": "^1.13.0",
    "babel-plugin-react-docgen": "^4.1.0",
    "storybook-addon-jsx": "^7.3.3",
    "storybook-addon-react-live-edit": "^2.0.4",
    "storybook-addon-smart-knobs": "^6.0.2",
    "storybook-host": "^5.1.0",
    "storybook-readme": "^5.0.8"
```

**Additional context**
None
Repository: deno
Issue: Add support for PAC proxies
Labels: cli,suggestion,tls

Hello, 

My company has multiple proxies managed by a [PAC](https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_(PAC)_file) .

While I don't have a good design in mind to make `HTTP_PROXY` environment and a PAC configuration coexist, but this is a feature that would ease my usage of deno a lot. 

Regards