sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [jit] Properly support slicing of ModuleList
Labels: oncall: jit

## 🐛 Bug


## To Reproduce

```python
class A(nn.Module):
    def __init__(self):
        super().__init__()
        self.x = nn.ModuleList([nn.Linear(10, 10)] * 3)
        self.y = nn.ModuleList([nn.Linear(10, 10)] * 3)

    def forward(self, x):
        ret = []
        for xx, yy in zip(self.x[1:], self.y[1:]):
            ret.append(xx(x) + yy(x))
        return ret

a = A()
script = torch.jit.script(a)
```

Prints:
```
RuntimeError: 
Tried to access nonexistent attribute or method '__call__' of type '__torch__.torch.nn.modules.linear.Linear'. Did you forget to initialize an attribute in __init__()?:
  File "a.py", line 22
        ret = []          
        for xx, yy in zip(self.x[1:], self.y[1:]):     
            ret.append(xx(x) + yy(x))                                                             
                       ~~ <--- HERE
        return ret   
```

However, if I remove both `[1:]`, it is able to work.
Using `.forward(x)` also works, but it disable module hooks in eager mode.

My current workaround is to:
```
for idx, xx in enumerate(self.x):
  if idx > 0:
    # do work
```

Environment: fbcode latest

cc @gmagogsfm
Repository: pytorch
Issue: ConvTranspose1d groups=channels is very slow!!!
Labels: module: cudnn,module: convolution,triaged

## 🐛 Bug

<!-- A clear and concise description of what the bug is. -->

## To Reproduce
```py
import torch
import torch.nn as nn
import torch.nn.functional as F

device = torch.device('cuda')

x = torch.rand(16, 512, 32).to(device)

m1= nn.ConvTranspose1d(512, 512, 6, stride=3, padding=2, output_padding=1).to(device)
m2= nn.ConvTranspose1d(512, 512, 6, stride=3, padding=2, output_padding=1, groups=512).to(device)

%timeit m1(x)
%timeit m2(x)

3.98 ms ± 5.99 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
103 ms ± 574 µs per loop (mean ± std. dev. of 7 runs, 1 loop each)
```

```py
import torch
import torch.nn as nn
import torch.nn.functional as F

device = torch.device('cpu')

x = torch.rand(16, 512, 32).to(device)

m1= nn.ConvTranspose1d(512, 512, 6, stride=3, padding=2, output_padding=1).to(device)
m2= nn.ConvTranspose1d(512, 512, 6, stride=3, padding=2, output_padding=1, groups=512).to(device)

%timeit m1(x)
%timeit m2(x)

19.6 ms ± 3.96 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
39.2 ms ± 2.47 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
```

## Expected behavior

the same speed as the groups=1

## Environment

PyTorch version: 1.6.0
Is debug build: No
CUDA used to build PyTorch: 10.2

OS: Microsoft Windows 10 Enterprise
GCC version: Could not collect
CMake version: Could not collect

Python version: 3.8
Is CUDA available: Yes
CUDA runtime version: 10.2.89
GPU models and configuration: Quadro P620
Nvidia driver version: 441.22
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\cudnn_ops_train64_8.dll

Versions of relevant libraries:
[pip3] numpy==1.19.1
[pip3] torch==1.6.0
[pip3] torchvision==0.7.0
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               10.2.89              h74a9793_1
[conda] mkl                       2020.2                      256
[conda] mkl-service               2.3.0            py38hb782905_0
[conda] mkl_fft                   1.2.0            py38h45dec08_0
[conda] mkl_random                1.1.1            py38h47e9c7a_0
[conda] numpy                     1.19.1           py38h5510c5b_0
[conda] numpy-base                1.19.1           py38ha3acd2a_0
[conda] pytorch                   1.6.0           py3.8_cuda102_cudnn7_0    pytorch
[conda] torchvision               0.7.0                py38_cu102    pytorch



cc @csarofeen @ptrblck
Repository: terminal
Issue: Azure Cloud Shell: Add support for Device Conditional Access
Labels: Help Wanted,Product-Terminal,Issue-Task,Area-AzureShell,Priority-3

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

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

```
Windows build number: 10.0.19042.572
Windows Terminal version (if applicable): 1.3.2651.0
```

# Steps to reproduce
Open Azure Cloud shell and attempt to connect with our Azure tenant

## Pre-requisite
Our company uses Azure Conditional Access policies and require computers to be domain-joined devices in order to connect with our tenant without multi-factor.

# Expected behavior

I would expect the cloud shell to connect once I completed the steps listed in the prompt (i.e. enter pin from device login web site)
https://devblogs.microsoft.com/commandline/the-azure-cloud-shell-connector-in-windows-terminal/

# Actual behavior

I receive the following error:
AADSTS53001: Device is not in required device state: domain_joined. Conditional Access policy requires a domain joined device, and the device is not domain joined.
Trace ID: 24bab79e-1e96-4524-abd1-833c53a30d00
Correlation ID: ddbce269-f8ca-41e5-9d92-d9bb4d63320f
Timestamp: 2020-10-30 07:27:02Z 

# Additional notes
I've been made aware, that we've seen a similar error when using the Azure Storage Explorer.
https://feedback.azure.com/forums/217298-storage/suggestions/36283420-conditional-access-support-for-storage-explorer
Repository: flutter
Issue: WebView: support attribute allowsLinkPreview  for iOS
Labels: c: new feature,platform-ios,f: gestures,p: webview,package,c: proposal,P3,team-ios,triaged-ios

In my case, I need to handle long click. But in iOS, when long click will show preview link popup
Repository: godot
Issue: GIProbe effects on non-baked objects too dark
Labels: topic:rendering

<!-- 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.3.stable.mono.official

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Win10, gtx1060, GLES3

**Issue description:**
<!-- What happened, and what was expected. -->
With a GIProbe in the scene the baked level geometry looks fine. but objects (sphere in this example) not marked as used in bake are way too dark:
![grafik](https://user-images.githubusercontent.com/8841352/98087236-144a6880-1e80-11eb-8893-628c5835ef09.png)

Those objects can also be _marked for used in bake_ (but are not intended to actually be baked), without rebaking, and then they look correct
![grafik](https://user-images.githubusercontent.com/8841352/98087790-e9144900-1e80-11eb-83ce-e34100b40f2b.png)

There should either be a way to exclude those objects or make them look correct without needing to check the bake inclusion (to not accidentally include them in the next rebake)

**Steps to reproduce:**
Bake some scene with giprobe and objects marked for bake. Add another object (meshinstance), move it around the baked scene and notice the shading looking wrong. Mark that object as used in bake and see the shading look correct.
Repository: pytorch
Issue: no member named 'beta1' in 'torch::optim::AdamOptions'
Labels: module: docs,module: optimizer,triaged,actionable

## 🐛 Bug

<!-- A clear and concise description of what the bug is. -->

## To Reproduce

Steps to reproduce the behavior:

1. In https://pytorch.org/tutorials/advanced/cpp_frontend.html
1. torch::optim::Adam generator_optimizer(
    generator->parameters(), torch::optim::AdamOptions(2e-4).beta1(0.5));
1.The error: no member named 'beta1' in 'torch::optim::AdamOptions'

<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->

## Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## Environment

Please copy and paste the output from our
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

You can get the script and run it with:
```
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```

 - PyTorch Version (e.g., 1.0):
 - OS (e.g., Linux):
 - How you installed PyTorch (`conda`, `pip`, source):
 - Build command you used (if compiling from source):
 - Python version:
 - CUDA/cuDNN version:
 - GPU models and configuration:
 - Any other relevant information:

## Additional context

<!-- Add any other context about the problem here. -->


cc @brianjo @mruberry @vincentqb @jbschlosser @albanD
Repository: flutter
Issue: [Feature Request] Allow CuptertinoTabScaffold to have null CupertinoTabBar
Labels: framework,f: cupertino,c: proposal,team-design,triaged-design

## Use case

I want to use a bottom sheet as the primary means to navigate between different sections of my app, analogously to a tab bar. I want each section to maintain it's own Navigator state, so I am using `CupertinoTabScaffold`. However, I do not need the `CupertinoTabBar` to be visible.

This would also make the API between `CupertinoTabScaffold` and `TabBarView` more consistent.

## Proposal

Allow `CupertinoTabScaffold` to have a null `CupertinoTabBar`.
Repository: go
Issue: x/sys/windows/mkwinsyscall: generates invalid calls for GOARCH=386
Labels: OS-Windows,NeedsInvestigation

### What version of Go are you using (`go version`)?

go version go1.15.3 windows/386

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

set GO111MODULE=
set GOARCH=386
set GOBIN=
set GOCACHE=C:\Users\vagrant\AppData\Local\go-build
set GOENV=C:\Users\vagrant\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\vagrant\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\vagrant\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\go\pkg\tool\windows_386
set GCCGO=gccgo
set GO386=sse2
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\vagrant\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m32 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\vagrant\AppData\Local\Temp\go-build184742666=/tmp/go-build -gno-record-gcc-switches

### What did you do?

```go
package foo

//sys _Foo(param1 uint64, param2 int) (success bool, err error) = mylib._Foo
```

### What did you expect to see?

For arches where an uintptr is 32-bit, the first parameter should take two arguments in Syscall:
```go
func _Foo(param1 uint64, param2 int) (success bool, err error) {
        var (
                r0 uintptr
                e1 syscall.Errno
        )
        if unsafe.Sizeof(uintptr(0)) == unsafe.Sizeof(uint64(0)) {
                r0, _, e1 = syscall.Syscall(proc_Foo.Addr(), 2, uintptr(param1), uintptr(param2), 0)
        } else {
                var _p0 [2]uintptr = *(*[2]uintptr)(unsafe.Pointer(&param1))
                r0, _, e1 = syscall.Syscall(proc_Foo.Addr(), 3, _p0[0], _p0[1], uintptr(param2))
        }

        success = r0 != 0
        if success == 0 {
                err = errnoErr(e1)
        }
        return
}
```

### What did you see instead?

```go
func _Foo(param1 uint64, param2 int) (success bool, err error) {
        r0, _, e1 := syscall.Syscall(proc_Foo.Addr(), 2, uintptr(param1), uintptr(param2), 0)
        success = r0 != 0
        if success == 0 {
                err = errnoErr(e1)
        }
        return
}
```

This call won't be valid when GOARCH=386 as `param1` (64bit) is being cast to an uintptr (32bit). The receiver would be expecting 64-bits on the stack for the first argument.
Repository: flutter
Issue: [In app purchase package] Impossible to test a purchase on iOS. 
Labels: platform-ios,p: in_app_purchase,package,P3,team-ios,triaged-ios

Hello, I try the example from in app purchase git, I use my bundle id, my purchase is display and work great on android when I clic on the product button. but on my iOS device I have nothing... no error, just nothing, even in the sandbox testfly. Perhaps It's normal to not show pop up to test purchase before production, but don't found the information.

I add capability of in app puchase in Xcode
I add my id in iOS preference->sandbox account 
my in app purchase is approved 
my bank account is ok 

What can cause this ?  

Thank you
Repository: rust
Issue: Tracking Issue for `#![feature(const_cell_into_inner)]`
Labels: T-libs-api,C-tracking-issue,A-const-eval,disposition-merge,finished-final-comment-period,Libs-Tracked

This is a tracking issue for `#![feature(const_cell_into_inner)]`.

Constantified functions are:
- `UnsafeCell::into_inner`
- `Cell::into_inner`
- `RefCell::into_inner`
- `OnceCell::into_inner`
- ~`Atomic*::into_inner`~ (done)

### Steps

- [x] Implementation (#78728, https://github.com/rust-lang/rust/pull/129382)
- [x] FCP
- [ ] Stabilization PR (#84087)
- [x] https://github.com/rust-lang/rust/pull/123522
Repository: vscode
Issue: SCM - support for filesystem path using ssh://
Labels: feature-request,scm

<!-- ⚠️⚠️ 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. -->
#66046 was closed because Remote Development with VS Code was released and suggested as an alternative to SSH FS in this [comment](https://github.com/microsoft/vscode/issues/66046#issuecomment-488791480). This is not a possible alternative to SSH FS for many users as the ppc architecture is not supported as detailed by microsoft/vscode-remote-release#401.

I woud like to see the VS Code Source Control feature support filesystem paths using ssh:// as originally described in #66046.
Repository: flutter
Issue: TabController addListener invoked multiple times when switching tab index
Labels: framework,f: material design,a: quality,has reproducible steps,found in release: 3.3,found in release: 3.6,team-design,triaged-design

i found is framework code call twice ~ 

source code link => [https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/tab_controller.dart#L210](url)

if duration != null notifyListeners() will call twice? 
the source code is here ⬇️       
```
void _changeIndex(int value, { Duration duration, Curve curve }) {
    assert(value != null);
    assert(value >= 0 && (value < length || length == 0));
    assert(duration != null || curve == null);
    assert(_indexIsChangingCount >= 0);
    if (value == _index || length < 2)
      return;
    _previousIndex = index;
    _index = value;
    if (duration != null) {
      _indexIsChangingCount += 1;
     // first callback
      notifyListeners(); // Because the value of indexIsChanging may have changed.
      _animationController
        .animateTo(_index.toDouble(), duration: duration, curve: curve)
        .whenCompleteOrCancel(() {
          if (_animationController != null) { // don't notify if we've been disposed
            _indexIsChangingCount -= 1;
           // second callback
            notifyListeners();
          }
        });
    } else {
      _indexIsChangingCount += 1;
      _animationController.value = _index.toDouble();
      _indexIsChangingCount -= 1;
      notifyListeners();
    }
  }
```
Repository: flutter
Issue: Add theme for the PaginatedDataTable and bring it up to Material specs
Labels: c: new feature,framework,f: material design,team-design,triaged-design

## Use case

Let us theme the PaginatedDataTable and bring it up to Material specs.

## Proposal

- Add a theme for the PaginatedDataTable
- Bring it up to Material specs by:
  - Replace usages of accentColor with colorScheme.secondaryColor
    - https://flutter.dev/go/material-theme-system-updates
  - Make sure RTL works with the Table
Repository: pytorch
Issue: Conv1D formula in docs is wrong
Labels: module: docs,module: nn,triaged

## 📚 Documentation

in [torch.nn.Conv1d](https://pytorch.org/docs/stable/generated/torch.nn.Conv1d.html) docs the formula that describe the 1D convolution is wrong.

The first symptom that something is odd is that if you compare the formula with [torch.nn.Conv2d](https://pytorch.org/docs/stable/generated/torch.nn.Conv2d.html) it's exactly the same.

Now I'm gonna explain why the Conv1d formula is wrong. Please take a look at the formula exposed in [torch.nn.Conv1d docs](https://pytorch.org/docs/stable/generated/torch.nn.Conv1d.html).

For simplicity, take in count that N=1 and bias=0.
So for an arbitrary out-channel C_out_j, the value it takes it's the product of the linear combination of all the C_in input channels convolutions on the kernel. 

This combination is wrong because in 1D convolution all the C_in channels should be modeled independently of each other (this is precisely the difference between 1d and 2d convolution). So because of this, the output channel C_out_j should only depend on a single C_in channel, and there is no way the output value of an arbitrary output channel could depend on 2 or more C_in channels. 


cc @jlin27 @mruberry @albanD
Repository: go
Issue: x/build: make precise Git commit hash → Go version mapping readily available
Labels: Builders,NeedsInvestigation,FeatureRequest

There are some places in x/build that try to determine a Go version of a Go commit in order to make some decisions (what builders should be run, etc.). So far we've been relying on heuristics to approximate the answer. There's some information in the name of the branch itself. For example, "release-branch.go1.15" can be parsed so we know that any commit on it is Go 1.15. If we know the latest Go release is Go 1.15.x, then we can guess that 
a commit on "master" or "dev.link" branch is likely a development version of Go 1.(15+1).

By now, there is a package `internal/goversion` in the Go tree that tracks the Go version precisely. It's possible to create a service that processes new Git commits as they're pushed and do the work needed to determine the precise Go version of that Git commit (for example, by reading the git tree), then serve answers quickly.

This is an issue for tracking progress made towards having a service that's able to answer such "commit hash -> precise Go version" queries. (Including things like agreeing we want to do this, describing a design, etc.)

CC @golang/release, @mvdan.
Repository: vscode
Issue: Horizonal Scrolling through pointer on scroll bar
Labels: feature-request,editor-scrollbar

Issue Type: <b>Feature Request</b>

Often times when I have to scroll through lines, I have to hold Shift key and then scroll. I request to you include a scroll feature so that if the mouse pointer is on the horizontal scroll bar, while scrolling the scroll wheel, it will scroll horizontally.

VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T14:44:48.716Z)
OS version: Linux x64 5.4.0-52-generic


<!-- generated by issue reporter -->
Repository: create-react-app
Issue: create-react-app doesn't work
Labels: needs triage,issue: bug report

<!--
    Please note that your issue will be fixed much faster if you spend about
    half an hour preparing it, including the exact reproduction steps and a demo.

    If you're in a hurry or don't feel confident, it's fine to report bugs with
    less details, but this makes it less likely they'll get fixed soon.

    In either case, please use this template and fill in as many fields below as you can.

    Note that we don't provide help for webpack questions after ejecting.
    You can find webpack docs at https://webpack.js.org/.
-->

### Describe the bug

I try to initiate a react app with "npx create-react-app test". And it doesn't work.
Here's what I got:
```
npx create-react-app testtest
[..................] | fetchMetadata: sill resolveWithNewModule create-react-app@4.0.0 checking installable status  
```
Then it would just be stuck there forever.


### Did you try recovering your dependencies?
I deleted everything related to nodejs and that still doesn't work.
I'm on windows 10. Node version v14.15.0 and npm version of 6.14.8
Repository: excalidraw
Issue: Ability to set canvas properies via URL (like background color)
Labels: enhancement,discussion

It would be useful to be able to set the canvas background color (including alpha channel) via url param. So something like https://excalidraw.com/?backgroundColor=ffffff00 
opens a transparent canvas, 
or 
https://excalidraw.com/#backgroundColor=ebfbee
opens the whiteboard with ebfbee canvas color. 

I also would like the html/body/#root elements to keep on with no explicit background setting. This makes using excalidraw completely transparent possible. So that I can draw sketches on top of underlying contents. 

To be clear: I have an embedded, transparent web browser as a layer and another content underneath that browser layer. So if excalidraw canvas and background is transparent, then I can doodle mustache on Neo from Matrix.
Repository: flutter
Issue: Update flutter wiki's render speed test page
Labels: a: tests,c: new feature,d: wiki,c: proposal,f: integration_test,P3,team-framework,triaged-framework

The e2e package has been discontinued.

So as to prevent confusion, the render speed performance test page could either be modified to use the integration_test package or be removed altogether