sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: stable-diffusion-webui
Issue: [Bug] [Artix] Python package ‘‘Accelerate’’ prevents the start of SDiff operations
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?
https://forum.artixlinux.org/index.php/topic,6176.new.html#new

### Steps to reproduce the problem
1. Clone everything from this Git project
2. Modify as the 4 configs as given in a friend’s thread on Artix forums which i’m also asking the same for him here
3. Run `src.conf` then `webui.sh` by Bash
4. Read your Python backtracks, and w/o so means ok to start SDiff
5. Look at which Python apps inside that backtrack are causing issues and modify the requirements again in order to test over until no more backtracks are, you’re done! 👍🏻 

### What should have happened?
Normally running w/o being stopped by any Python backtracks

### Sysinfo
```
[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.1.1+cu121)
    Python  3.10.11 (you have 3.10.13)
  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
```
```
OS   : Artix Linux amd64 on BtrFS root
APU  : AMD R4750G
RAM  : 48GB
WebUI: Latest on 31 August (based on SDiff XL1.6)
```

### What browsers do you use to access the UI ?
Falkon (Qt)
Brave dev; Firefox beta; Ungoogled Chromium (Gtk+)

### Console logs
https://pastebin.com/EjqWYVYc

### Additional information
(No response)
Repository: pytorch
Issue: test_vmapvjpvjp_linalg_tensorsolve_cpu_float32 fails with precision issue
Labels: triaged,module: functorch

### 🐛 Describe the bug

`python test/functorch/test_ops.py -k test_vmapvjpvjp_linalg_tensorsolve_cpu_float32` fails with

> AssertionError: Tensor-likes are not close!
> 
> Mismatched elements: 6 / 288 (2.1%)
> Greatest absolute difference: 0.0005550384521484375 at index (0, 2, 1, 0, 2) (up to 0.0001 allowed)
> Greatest relative difference: 0.0002498962276149541 at index (0, 1, 0, 0, 2) (up to 0.0001 allowed)


See also https://github.com/pytorch/pytorch/issues/102673 where this test is observed to fail on "debug 3.11 only" but here I see the same(?) issue on 3.10 non-debug.

Notable the difference is always the same even across machines

So I assume the problem is a to tight tolerance which for many ops is [already increased](https://github.com/pytorch/pytorch/blob/272e38e78b0d5d5c9727d5013b985d075175a61d/test/functorch/test_ops.py#L825-L839), so I guess `{torch.float32: tol(atol=1e-03, rtol=5e-04)}` would be appropriate here

### Versions

PyTorch 2.1.0 with Python 3.10 on Intel Saphire Rapids

cc @zou3519 @Chillee @samdow @kshitij12345 @janeyx99
Repository: go
Issue: proposal: net/http: add context cancelation reason for server handlers
Labels: Proposal

### Proposal Details

While serving HTTP request we have `req.Context()` that can be propagated down the pipe. This context can be canceled either by standard library - by `http.Server` itself in case of communication issues or by `http.TimeoutHandler`. But also it can be canceled by user code.
It would be nice to have ability to clarify the reason why context was canceled (in case it was canceled by standard library). Logged reason will make you 100% sure and should make investigation of such context cancellation errors easier.

I'm ready to make a PR in case this proposal is considered useful.
Repository: flutter
Issue: `flutter create package` should create example projects for each platform
Labels: c: new feature,tool,c: proposal,team-tool

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

After #119844 is resolved. There seems to be no easy way to create a flutter **widget** package. Now `flutter create package` creates a dart package with no example folder to run a demo app on each platform, and no widget test files. While the `pubspec.yaml` in generated project still depends on flutter though. If I'm writing a simple button widget and would like to publish it to pub.dev, where should I get started?

### Proposal

Developers should be encouraged to create dart packages via `dart create package`. `flutter create package` should create a full widget package with widget test files, and an example project to quickly test the widget on each platform.
Repository: godot
Issue: Pin joint initialized with only one Rigidbody will make this Rigidbody rotate around itself
Labels: bug,topic:physics,topic:3d

### Godot version

v4.3.dev [d76c1d0e5]

### System information

Godot v4.3.dev (d76c1d0e5) - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Laptop GPU (NVIDIA; 31.0.15.3203) - 12th Gen Intel(R) Core(TM) i7-12700H (20 Threads)

### Issue description

While inspecting the issue #75522, I found that if a PinJoint3D (I did not try with 2D physics) has only one Rigidbody3D attached to it, this body will rotate around the PinJoint.

### Steps to reproduce

- Create a PinJoint3D
- Create a Rigidbody3D, and move so that its position is different as the node position
- Set the RigidBody3D as the NodeA of the PinJoint (NodeB does exactly the same)
- Start the scene, you will see that the Rigidbody moves as a pendulum around the PinJoint

### Minimal reproduction project

[JointWeirdBehaviour.zip](https://github.com/godotengine/godot/files/13513464/JointWeirdBehaviour.zip)

*Edit* : According to the source code, this is a feature. I think this should be documented. I let the bugsquad set the right label or close my issue!
Repository: godot
Issue: FSR 2.2 jittering when viewing a ViewportTexture that spans the whole root Viewport with FSR on the root Viewport
Labels: topic:rendering,documentation,topic:3d

### Godot version

4.2.stable.official [46dc27791]

### System information

Godot v4.2.stable - Ubuntu 23.04 23.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (nvidia; 535.129.03) - AMD Ryzen 5 2600X Six-Core Processor (12 Threads)

### Issue description

FSR 2.2 when enabled creates an effect that can only be described as psychedelic and jittery
I have also noticed that GPU particles leave behind trails of stray pixels with it enabled. 

Video example from my game:
(The jittering is visible at all times, you can see the peculiar trail at around 0:37 for one example)

https://github.com/godotengine/godot/assets/991507/a9a68f59-b8bc-40e2-81b0-5712a63b8f65

Video example from included minimal demo (editor view) :


https://github.com/godotengine/godot/assets/991507/f892c48a-44eb-43ec-9b3f-f40d740a9f91


It seems to be related to the apparent load of the GPU, but that is just conjecture. I have no idea what is going on. There is ghosting that appears at random as well. 

### Steps to reproduce

Enable FSR 2.2
Witness insanity

### Minimal reproduction project

[FSR_Bug.zip](https://github.com/godotengine/godot/files/13513716/FSR_Bug.zip)
Repository: neovim
Issue: Treesitter: `ts_match_limit` of 256 is not always enough
Labels: bug,treesitter

### Problem

I have run into a problem with highlighting in `InspectTree` caused by `ts_match_limit` being "only" 256. 

The bug shows up when I highlight the tree based on the nesting level and the branch contains a large subtree.  

<img width="407" alt="Screenshot 2023-11-30 at 14 50 34" src="https://github.com/neovim/neovim/assets/7075380/72d3f312-9c12-4414-a6cd-24c75749b366">

I tried to build with no change to the code other than
```diff
- ts_query_cursor_set_match_limit(cursor, 256);
+ ts_query_cursor_set_match_limit(cursor, 1024);
```
in `neovim/src/nvim/lua/treesitter.c` and that fixes the issue:

<img width="415" alt="Screenshot 2023-11-30 at 14 53 42" src="https://github.com/neovim/neovim/assets/7075380/b2e39fb9-7484-4a55-bafe-fa4ce4816e03">

Note: This is mainly a problem in the languages that build a tree all within some top level node. E.g. the pictures are from the `README.md` of neovim, where the whole tree is inside a top level `section`. 

(Thank you @lucario387 for helping me figure out what causes the bug.)

### Steps to reproduce

I think this is already a known issue, see:
- #22055
- #22497

I can include exact steps of reproduction if you want? But I already narrowed down the exact line of code causing this above, so I don't think it should be necessary?

### Expected behavior

I can see in the discussion in #22055 that `ts_match_limit` is set relatively low for performance reasons, so I am not sure if simply raising the limit again is a good solution.

In #22055 it was mentioned that it might be better to set a timeout for the query itself and raise the limit, so maybe that is the best solution?

Either way I am mainly creating this issue to have an open issue about finding a solution to this, since #22055 is closed. 

### Neovim version (nvim -v)

NVIM v0.10.0-dev-1721+g01b91deec-Homebrew

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

macOS 14.1.1

### Terminal name/version

wezterm 20231030-074559-75909682

### $TERM environment variable

wezterm

### Installation

tested repo and homebrew
Repository: flutter
Issue: TextField with TextAlign.end imposes unintended behaviour when character before last one is a space.
Labels: a: text input,framework,f: material design,has reproducible steps,P2,team-framework,triaged-framework,found in release: 3.16,found in release: 3.17

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

- Create the demo app and add a Textfield with the alignment to the right

``` dart
TextField(
   textAlign: TextAlign.end,
),
```

- Enter Text like "21 %". Important! Enter a space between the number and the %.
- Unfocus
- Refocus
- Push the backspace key
- Observe behaviour as described below

### Expected results

Intended behaviour is, that the Textfield should now contain: "21 " (Space as last character). If we push backspace again, the 1 should be deleted.

### Actual results

The cursor jumps behind the 1. The field shows "21" iso "21 " (21 SPACE). If we push backspace again, nothing happens and "21" remains to be shown iso "2".

### Code sample

<details><summary>Code sample</summary>

```dart
TextField(
   textAlign: TextAlign.end,
),
```

</details>


### Screenshots or Video

_No response_

### Logs

_No response_

### Flutter Doctor output

Actual Windows Version is 11.

<details><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.16.1, on Microsoft Windows [Version 10.0.22631.2715], locale de-DE)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.2)
[√] Android Studio (version 2022.2)
[√] Connected device (3 available)
[√] Network resources

• No issues found!
```

</details>
Repository: pytorch
Issue: Sparse block tensors (`torch.sparse`)
Labels: module: sparse,feature,triaged

### 🚀 The feature, motivation and pitch

I am working with weight matrices that look as follows:

<img src="https://github.com/pytorch/pytorch/assets/20706203/78f7284b-5819-406c-8e30-4cf29d6e5447" width="400">

As you can tell, considerable parts of the tensor are 0 and do not influence the output. Typically, between 25% and 50% of my values are 0. I have been looking into the torch.sparse functionality, because I thought that my tensor could be nicely decomposed into a block tensor consisting of the orange, green, and blue blocks. However, it seems that none of the available torch.sparse layouts make sense for my use case.

1. Does the current torch.sparse implementation provide a way for me to convert my dense tensors into sparse tensors?
2. Could you add a layout that allows for my tensors to be saved and multiplied more efficiently?

### Alternatives

_No response_

### Additional context

Tensors of the shape I'm using are found in model merging and federated learning use-cases. For example, https://arxiv.org/abs/1805.09791 decomposes the tensors manually in order to not store all the zeros. https://arxiv.org/abs/1905.12022 simply stores all the zeros (as far as I'm aware).

cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer
Repository: flutter
Issue: Contextual authentication strings for local_auth on Android
Labels: c: new feature,platform-android,p: local_auth,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

We are building an app, that uses the [local_auth](https://pub.dev/packages/local_auth) package in order to protect the user's content. 

I have noticed that on Android there is no way of telling which authentication method the user has access to. This is due to Android's design of classifying authenticators in `weak` & `strong`. The [local_auth](https://pub.dev/packages/local_auth) flutter packages adopts this. So far so good.  

Thus, currently it's not possible to customize the texting in our app. Rather than suggesting to use "face" or "fingerprint", we can only use a generic wording such as "biometric". 

Reading the Android docs, I came across this relatively new API starting with Android 12. It provides different UI strings depending on the combination of device hardware and configuration. It's just what we need. 

Unfortunately, it's not added to the [local_auth](https://pub.dev/packages/local_auth) package yet. 

 - https://source.android.com/docs/security/features/biometric#device-specific-strings 
 - https://developer.android.com/reference/android/hardware/biometrics/BiometricManager.Strings#getButtonLabel()


### Proposal

I would like to retrieve Device-specific authentication strings through the [local_auth](https://pub.dev/packages/local_auth) package for local authentication on Android.
Repository: go
Issue: cmd/compile: fatal error: checkptr: pointer arithmetic computed bad pointer value
Labels: NeedsInvestigation,compiler/runtime

### Go version

go version go1.21.3 linux/amd64

### What operating system and processor architecture are you using (`go env`)?

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/username/.cache/go-build'
GOENV='/home/username/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/username/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/username/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.3'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2422207597=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

I want to cast an unintptr to unsafe.Pointer.
When running with `-race` it crashes:
```
fatal error: checkptr: pointer arithmetic computed bad pointer value
```

Here is the code
```go
func (selfStruct *TextureID) c() (result C.ImTextureID, fin func(
        self := selfStruct.Data

        return (C.ImTextureID)(unsafe.Pointer(self)), func() {} // <- this line causes crash
}
```

### What did you expect to see?

No panic when running with -race

In reference to https://github.com/golang/go/issues/64111 as a solution of that issue I was suggested to use uintptr as an alternative to unsafe.pointer.
However I need to cast it (for a while) to unsafe.pointer to be able to pass it to C function taking `void*`


### What did you see instead?

```
fatal error: checkptr: pointer arithmetic computed bad pointer value
```
Repository: puppeteer
Issue: Don't set CDP-specific custom preferences for Firefox when running with the WebDriver BiDi protocol
Labels: bug,confirmed,bidi,firefox

As I just noticed (and @OrKoN confirmed) Puppeteer uses always the same preferences for Firefox independently if it is using the `CDP` or `WebDriver BiDi` protocol. Problematic here are the [following preferences](https://github.com/puppeteer/puppeteer/blob/957a8293bb1444fd51fd5673002a7781e8127c9d/packages/browsers/src/browser-data/firefox.ts#L224-L227):

* `'fission.bfcacheInParent: false`
* `'fission.webContentIsolationStrategy': 0`

Those should really only be set for CDP but never for WebDriver BiDi because they turn of some important features of Firefox and actually enable some kind of legacy (unsupported) mode.

@OrKoN is there an easy way to let Puppeteer set these two preferences automatically ONLY when the `CDP` protocol is used?
Repository: neovim
Issue: Text getting lost when `normal! o` inside `TextChangedI` triggered on newline
Labels: bug-vim,has:workaround,needs:vim-patch,events

### Problem

After entering a newline that triggers a `TextChangedI` autocmd that runs `normal! o`, some text is being deleted.
See steps below for detail.

### Steps to reproduce

1. With the following file:
```
abcdef
123456
ghijkl
```
2. With the following `init.vim`:
```vim
function Callback()
    call cursor(1, 4) " place the cursor on the letter d
    normal! o
endfunction
autocmd TextChangedI * call Callback()
```
3. Open the file with neovim
4. Move the cursor to the second line
5. Type `o` or `A<cr>`

The result looks like:
```
abc

123456

ghijkl
```
Note the `def` missing on the first line. Furthermore, if I undo with `u`, the `def` is still missing.

### Expected behavior

I expect the file to look like
```
abcdef

123456

ghijkl
```

### Neovim version (nvim -v)

v0.9.4

### Vim (not Nvim) behaves the same?

no, vim behaves correctly, 9.0.2081

### Operating system/version

Fedora 38

### Terminal name/version

xterm

### $TERM environment variable

xterm-256color

### Installation

system package manager
Repository: react
Issue: [DevTools Bug]: Extension breaks PRTG web interface
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

presumably any PRTG installation

### Repro steps

Try to load PRTG in Firefox. Note many tabs won't load properly, browser console network panel will show NS_BINDING_ABORTED errors coming from jQuery.

Not sure what the actual problem is, but disabling React Developer Tools lets all those pages load successfully with no errors reported in the console.

It would be cool if I could tell React Developer Tools to NEVER load on certain pages, but it doesn't look like that's an option.

### How often does this bug happen?

Every time

### DevTools package (automated)

_No response_

### DevTools version (automated)

_No response_

### Error message (automated)

_No response_

### Error call stack (automated)

_No response_

### Error component stack (automated)

_No response_

### GitHub query string (automated)

_No response_
Repository: go
Issue: x/tools/gopls: completion should also provide just the function name
Labels: FeatureRequest,gopls,Tools,gopls/completion

### gopls version

v0.14.2

### go env

```shell
irrelevant
```


### What did you do?

I have an existing expression f(a), and I would like to replace it with f(protocol.FWithLongName(a)). After typing protocol.F, the only useful completion offered is the function snippet, which would complete as
f(protocol.FWithLongName(x protocol.TypeWithLongName, y TypeOfSecondArg)(a))
which requires too much editing.

### What did you expect to see?

I would like to have seen both the function snippet and just the function names as suggested completions.

### What did you see instead?

The unsyntactic completion described above. gopls is not looking at the context when it proposed a snippet where there is already an argument.

### Editor and settings

_No response_

### Logs

_No response_
Repository: next.js
Issue: Bug in "unstable_cache" function when the callback function returns "undefined"
Labels: bug,Pages Router

### Link to the code that reproduces this issue

https://github.com/prasad-pul/reproduction-app-unstable-cach-bug

### To Reproduce

The `unstable_cache` function errors out if the original callback function returns **undefined**

Little bit of investigation showed that this error is occurring inside the unstable_cache function at this point 👇

<img width="1476" alt="Screenshot 2023-11-29 at 3 36 17 PM" src="https://github.com/vercel/next.js/assets/84544020/2a72ee16-32b6-4e07-98e7-c0a7aba36b9b">

To see the error, follow the steps noted 👇 in the `localhost:3000` root `page` after running the **reproduction-app** at the [link above](https://github.com/prasad-pul/reproduction-app-unstable-cach-bug)

**Steps to reproduce the bug**
<img width="644" alt="Screenshot 2023-11-30 at 10 20 34 AM" src="https://github.com/vercel/next.js/assets/84544020/f3f1b9e4-9e36-4369-bb94-7a91485c1676">


**First time as well as after Refresh**
<img width="539" alt="Screenshot 2023-11-30 at 10 22 40 AM" src="https://github.com/vercel/next.js/assets/84544020/0917ae8e-9658-4a14-87ec-346e15c5998a">

**First time**
<img width="374" alt="Screenshot 2023-11-30 at 10 23 06 AM" src="https://github.com/vercel/next.js/assets/84544020/6ffe79df-630b-409d-83a0-6811d1ef06be">

**After Refresh**
<img width="1488" alt="Screenshot 2023-11-30 at 10 23 27 AM" src="https://github.com/vercel/next.js/assets/84544020/7e11cf29-f529-4ae5-9e16-21940afa4d1e">



### Current vs. Expected behavior

Current behavior: `unstable_cache` **crashes** when the cb function returns `undefined`
Expected behavior: `unstable_cache` return `undefined` when the cb function returns `undefined`

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 22.6.0: Thu Nov  2 07:43:57 PDT 2023; root:xnu-8796.141.3.701.17~6/RELEASE_ARM64_T6000
Binaries:
  Node: 18.19.0
  npm: 10.2.3
  Yarn: 1.22.19
  pnpm: 8.6.3
Relevant Packages:
  next: 14.0.4-canary.28
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router, Data fetching (gS(S)P, getInitialProps)

### Additional context

_No response_