sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: stable-diffusion-webui
Issue: [Bug]: Agent Scheduler /queue api endpoint 
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

The "agent-scheduler/v1/queue" API endpoint is returning "current_task_id" is not from Agent Sheduler, but from Stable diffusion.

now it looks like this: "current_task_id: "task(txt2img-0KWIGFX)"";

but it supposed to look like this: "current_task_id: "b4e8c06b-05d7-447d-858c-74f9cb323d52"";


### Steps to reproduce the problem

Create a task with agent sheduler API endpoint "/agent-scheduler/v1/queue/txt2img", and while task is generating call an  "agent-scheduler/v1/queue" endpoint

### What should have happened?

Should return task id from agent-scheduler not stable diffusion task id

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

_No response_

### Sysinfo

[sysinfo-2024-03-02-20-25.json](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/14470685/sysinfo-2024-03-02-20-25.json)


### Console logs

```Shell
Nothing to show, no error in concole
```


### Additional information

_No response_
Repository: vscode
Issue: Customizable and Persistent Workspace Layouts
Labels: feature-request,under-discussion,layout,settings-sync

<!-- ⚠️⚠️ 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. -->
I propose introducing a feature in VS Code that allows users to configure and save different workspace layouts tailored to specific development modes (e.g., debugging, coding, testing). This would significantly enhance the development experience.

**Features:**
- Users should be able to create, name, and save different workspace layouts.
- Each layout should allow for customizing the arrangement and size of panels within the VS Code interface (e.g., Explorer, Terminal, Output, Debug).
- The ability to switch between saved layouts easily, potentially through a dedicated button or keyboard shortcut.
- Contextual loading of layouts: Ideally, specific layouts could be automatically loaded based on the current development mode (e.g., debug mode layout automatically activates when debugging starts).
Repository: stable-diffusion-webui
Issue: [Bug]: 1.8.0 Prompt truncated when it contains escape sequence characters
Labels: bug-report

### Checklist

- [x] The issue exists after disabling all extensions
- [x] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

Updated to 1.8.0 and used prior prompts from SD images.  The results windows shows that upon reaching "&#x27;" the remainder of prompt is ignored after '&' character, even though the prompt window contains the entire prompt.  Occurs at first instance of sequence.  



### Steps to reproduce the problem

Prompt window contains:
(Of course! Imagine a charming black-and-white poster from 1956 featuring a polar bear dressed in a suit and glasses, seated at a desk covered in paperwork and various writing instruments. The Arctic landscape serves as the backdrop, with icebergs and snowdrifts providing a serene yet humorous contrast to the bear&#x27;s bureaucratic duties. A banner above reads &quot;Tax Time Hits Even the Frozen Frontier - File Accurately, Bear-ly!&quot; capturing both puns and the sense of responsibility associated with tax season. In the corner, a tiny red inkwell symbol represents the Internal Revenue Service (IRS) of that era, further adding to the whimsical tone of this delightful poster.:1)

Result window contains:
(Of course! Imagine a charming black-and-white poster from 1956 featuring a polar bear dressed in a suit and glasses, seated at a desk covered in paperwork and various writing instruments. The Arctic landscape serves as the backdrop, with icebergs and snowdrifts providing a serene yet humorous contrast to the bear&

As example of truncation.
The escape sequence in prompt is part of Oobabooga being used as input, but effect the same if typed with "&#27"
 The effect in this example is minor (but safe).

### What should have happened?

Results window should show entire prompt as before.

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

Microsoft Edge

### Sysinfo

System does not indicate any error condition occurred.

### Console logs

```Shell
no console start up issue reported.
```


### Additional information

_No response_
Repository: vscode
Issue: javascript and typescript: "conditions" configuration setting for conditional export resolution in package.json
Labels: feature-request,extension-host

<!-- ⚠️⚠️ 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. -->

I want vscode to resolve a "vscode" condition for conditional exports in my package.json. My use case is to resolve my TypeScript module, so that I can use "Go to" actions without having to bundle my code/ generate a source map.

Alternatively, vscode could add a setting for user conditions, like node.js does: https://nodejs.org/api/packages.html#resolving-user-conditions.
Repository: stable-diffusion-webui
Issue: [Bug]: Folder tree in Checkpoint tab doesn't show when enabled
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

In v1.8.0 when going to the Checkpoint tab and enabling folder view, the pane appears but does not list the folder tree I have.

### Steps to reproduce the problem

Open Webui
Go to Checkpoint tab
Click icon to show folder tree

### What should have happened?

Webui should show the folder tree for my Checkpoints in the side window that shows when folder tree icon is clicked

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

Google Chrome, Microsoft Edge

### Sysinfo

[sysinfo-2024-03-03-03-15.json](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/14471542/sysinfo-2024-03-03-03-15.json)


### Console logs

```Shell
venv "I:\zzzz_stablediffusion-other\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.8.0
Commit hash: bef51aed032c0aaa5cfd80445bc4cf0d85b408b5
Launching Web UI with arguments: --ckpt-dir i:\y_stable-diffusion\models\Stable-diffusion --vae-dir i:\y_stable-diffusion\models\VAE --esrgan-models-path i:\y_stable-diffusion\models\ESRGAN --lora-dir i:\y_stable-diffusion\models\Lora --embeddings-dir i:\y_stable-diffusion\embeddings --hypernetwork-dir i:\y_stable-diffusion\models\hypernetworks --gfpgan-models-path i:\y_stable-diffusion\models\GFPGAN
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [68caded5ad] from i:\y_stable-diffusion\models\Stable-diffusion\zz_inpainting\aZovyaPhotoreal_v2InpaintVAE.safetensors
Creating model from config: I:\zzzz_stablediffusion-other\stable-diffusion-webui\configs\v1-inpainting-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 50.1s (prepare environment: 12.4s, import torch: 14.2s, import gradio: 5.6s, setup paths: 6.1s, initialize shared: 0.5s, other imports: 6.0s, list SD models: 0.5s, load scripts: 2.1s, create ui: 2.4s, gradio launch: 0.3s).
Applying attention optimization: Doggettx... done.
No Image data blocks found.
No Image data blocks found.
Model loaded in 6.2s (create model: 0.7s, apply weights to model: 4.6s, apply dtype to VAE: 0.2s, load textual inversion embeddings: 0.4s, calculate empty prompt: 0.2s).
```


### Additional information

![nolist](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/27007377/6132d4d7-231c-458d-9e59-5dfa25c6055c)
Repository: node
Issue: Module resolution failure when using "#/" in `imports`
Labels: esm,loaders

### Version

v20.11.1

### Platform

Microsoft Windows NT 10.0.22631.0 x64

### Subsystem

npm

### What steps will reproduce the bug?

1. Create a minimal `package.json` that specifies the following in `imports`:

``` json
{
  "imports": {
    "#/*": "./*"
  }
}
```

2. Create two files at the project root:

``` js
// file1.js
import number from '#/file2.js';
console.log(number);
```

``` js
// file2.js
export default 2;
```

3. Execute the first script: `node file1.js`
4. Observe the error:

```
TypeError [ERR_INVALID_MODULE_SPECIFIER]: Invalid module "#/file2.js" is not a valid internal imports specifier name
```


### How often does it reproduce? Is there a required condition?

This happens every time a key/value pair in `imports` has a forward slash (`/`) immediately following the pound sign (`#`).

### What is the expected behavior? Why is that the expected behavior?

I would expect that `file1.js` is able to resolve `file2.js` with the specified alias. The documentation does not specify that this is an invalid setting.

### What do you see instead?

```
TypeError [ERR_INVALID_MODULE_SPECIFIER]: Invalid module "#/file2.js" is not a valid internal imports specifier name
```

### Additional information

There is no indication that the above configuration would not work based on the documentation. Indeed, even WebStorm's IntelliSense resolves this alias _as if_ it would work.

Of course, setting the alias to to `"#src/*": "./*"` and changing `file1.js` to use `import number from '#src/file2.js';` would work. However, I feel that would be inelegant. Imagine we have a project structure where all the files of interest are in `src/`, such as the following:

```
└── test-project/
    ├── src/
    │   ├── components/
    │   │   └── SomeComponent.js
    │   └── pages/
    │       └── SomePage.js
    └── package.json
```

It would be much cleaner to be able to import these files with minimal boilerplate, such as:

``` js
import SomeComponent from '#/components/SomeComponent.js';
import SomePage from '#/pages/SomePage.js';
```

...as opposed to having some needless additional text or specifying each directory as an alias:

``` json
{
  "imports": {
    "#components/*": "./src/components/*",
    "#pages/*": "./src/pages/*"
  }
}
```
Repository: react-native
Issue: [android] Border with alpha color and radius blends differently on Android
Labels: Issue: Author Provided Repro,Platform: Android,Newer Patch Available

### Description

A view with border radius and alpha color does not blend well compared to one without

I tried looking for a similar issue but it doesn't appear to have been reported yet

### Steps to reproduce

https://snack.expo.dev/@hcmlroldan/alpha-border-color

### React Native Version

0.73.0

### Affected Platforms

Runtime - Android

### Output of `npx react-native info`

```text
I believe this is not needed.. I used a Snack and Expo Go. But this is reproducible on 0.72.x as well
```


### Stacktrace or Logs

```text
Not a crash
```


### Reproducer

https://snack.expo.dev/@hcmlroldan/alpha-border-color

### Screenshots and Videos

# iOS
![image](https://github.com/facebook/react-native/assets/11716376/82f66b02-69fb-4668-b09b-11da9bee9ab6)

# Android
![image](https://github.com/facebook/react-native/assets/11716376/aeb7f611-5d4f-4d87-8883-f1370a93b70b)
Repository: go
Issue: cmd/go: When `go list -m -json -versions` returns no versions, it does not include an `Origin`
Labels: NeedsInvestigation,GoCommand,modules

### Go version

go version go1.22.0 windows/amd64

### Output of `go env` in your module/workspace:

```shell
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\myname\AppData\Local\go-build
set GOENV=C:\Users\myname\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\myname\go\pkg\mod
set GONOPROXY=github.com/myname/*
set GONOSUMDB=github.com/myname/*
set GOOS=windows
set GOPATH=C:\Users\myname\go
set GOPRIVATE=github.com/myname/*
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Users\myname\scoop\apps\go\current
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Users\myname\scoop\apps\go\current\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.22.0
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\myname\AppData\Local\Temp\go-build3669545043=/tmp/go-build -gno-record-gcc-switches
```


### What did you do?

Execute `go list -m -json -versions fyne.io/fyne/v2/cmd/fyne` on go version 1.22.0 and 1.21.7.

### What did you see happen?

Execute `go list -m -json -versions fyne.io/fyne/v2/cmd/fyne`.
Output:
```json
{
        "Path": "fyne.io/fyne/v2/cmd/fyne"
}
```
Origin field is not output.

Execute with go version 1.21.7.
```json
{
        "Path": "fyne.io/fyne/v2/cmd/fyne",
        "Origin": {
                "VCS": "git",
                "URL": "https://github.com/fyne-io/fyne",
                "Subdir": "cmd/fyne",
                "TagPrefix": "cmd/fyne/",
                "TagSum": "t1:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="
        }
}
```

Origin field is output.

### What did you expect to see?

I would like to get the output of the Origin field in go version 1.22.0 as well.
Repository: PowerToys
Issue: Setup Failed
Labels: Issue-Bug,Area-Setup/Install,Needs-Triage

### Microsoft PowerToys version

0.75.1.0

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

General, Always on Top

### Steps to reproduce

since version 0.75.1.0 i can't update my powertoys. Before that, i usually download exe from github and it always work. So i think maybe i should use geek uninstaller to remove the old version and then it would be OK, but it still said there is a old version in my computer. So log file:
[logfile.txt](https://github.com/microsoft/PowerToys/files/14472021/logfile.txt)
![X9S`2YO6ET1A4M`V$%IB$T9](https://github.com/microsoft/PowerToys/assets/127008073/09f00504-f35e-47bd-ab29-3b7796a249b4)


### ✔️ Expected Behavior

successfully setup

### ❌ Actual Behavior

fail to setup

### Other Software

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: Change the model the app crashes without errors 
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

Hi, I'm not a techie, but everything was working fine for me until the last update. Now when I change the model the app crashes without errors and I'm not sure what I can do about it

I have about 10 different SDXL models, the app loads from one of them by default and changing to any other causes the app to crash

### Steps to reproduce the problem

1. Start webui
2. Change model

### What should have happened?

The selected model is loaded

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

Google Chrome

### Sysinfo

[sysinfo-2024-03-03-06-54.json](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/14472026/sysinfo-2024-03-03-06-54.json)


### Console logs

```Shell
venv "D:\stable-diffusion-webui-1.8.0\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.8.0-RC
Commit hash: <none>
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [8557e300af] from D:\stable-diffusion-webui-1.8.0\models\Stable-diffusion\afroditeXL2_dmp++_3m_sde_or_exponential_cfg_5-7_steps_20-40.safetensors
Creating model from config: D:\stable-diffusion-webui-1.8.0\repositories\generative-models\configs\inference\sd_xl_base.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 8.5s (prepare environment: 1.8s, import torch: 3.2s, import gradio: 0.8s, setup paths: 0.7s, initialize shared: 0.2s, other imports: 0.4s, load scripts: 0.7s, create ui: 0.5s, gradio launch: 0.3s).
Couldn't find VAE named None; using None instead
Applying attention optimization: Doggettx... done.
Model loaded in 4.5s (load weights from disk: 0.6s, create model: 0.4s, apply weights to model: 3.1s, calculate empty prompt: 0.2s).
Для продолжения нажмите любую клавишу . . .
```


### Additional information

_No response_
Repository: transformers
Issue: ProcessorMixin doesn't properly instantiate image processors
Labels: Feature request

### System Info

Transformers dev version v4.38.2

### Who can help?

@ArthurZucker @amyeroberts 

### Reproduction

Let's say you define your processor as follows:
```python
from transformers.processing_utils import ProcessorMixin

class LlavaProcessor(ProcessorMixin):

    attributes = ["image_processor", "tokenizer"]
    image_processor_class = ("CLIPImageProcessor", "ViTImageProcessor")
    tokenizer_class = ("LlamaTokenizer", "LlamaTokenizerFast")
```
(this is mainly for demo purposes, since for PR #29012 I'd like to have `LlavaProcessor` work with 2 different image processor classes)

Then, even though you create a processor as follows:
```python
from transformers import ViTImageProcessor, LlavaProcessor, LlamaTokenizer

image_processor = ViTImageProcessor.from_pretrained("google/vit-base-patch16-224")
tokenizer = LlamaTokenizer.from_pretrained("meta-llama/Llama-2-7b-chat-hf")

processor = LlavaProcessor(image_processor=image_processor, tokenizer=tokenizer)

processor.push_to_hub("nielsr/my-awesome-processor")
```

Reloading it:

```python
from transformers import LlavaProcessor

processor = LlavaProcessor.from_pretrained("nielsr/my-awesome-processor")
print(type(processor.image_processor))
```
This is still going to be of type `CLIPImageProcessor`, even though we want to load `ViTImageProcessor`.

This is because of the way we decide which class to load [here](https://github.com/huggingface/transformers/blob/831bc25d8fdb85768402f772cf65cc3d7872b211/src/transformers/processing_utils.py#L497-L512). Namely, if one defines a tuple for the `image_processor_class` attribute of the processor, then always the first class is used.

### Expected behavior

The processor should reload the `ViTImageProcessor` instead of `CLIPImageProcessor`.

The current workaround is to do this:

```python
from transformers.processing_utils import ProcessorMixin

class LlavaProcessor(ProcessorMixin):

    attributes = ["image_processor", "tokenizer"]
    image_processor_class = "AutoImageProcessor"
    tokenizer_class = ("LlamaTokenizer", "LlamaTokenizerFast")
```

This correctly instantiates the image processor. However, in PR #29012, @amyeroberts [suggested](https://github.com/huggingface/transformers/pull/29012#discussion_r1503995662) that the use of the Auto class is discouraged and it might be more appropriate to define the specific classes.

I remember from the past that Sylvain had no problem regarding the use of the Auto class, but I'm up for discussion. It's definitely a bit inconsistent that we define explicit classes for the tokenizers, but not for the image processor.

Looking at it, I  think the Auto class serve the exact purpose of what we're trying to achieve: loading the proper image processor class based on the preprocessor_config.json. Hence I'm wondering whether we shouldn't be leveraging the Auto classes by default for the `image_processor_class` and `tokenizer_class` attributes of multimodal processors.
Repository: godot
Issue: mouse_position is not consistent in one _process() call in Godot 4
Labels: bug,discussion,topic:porting,topic:input

### Tested versions

Reproducible in: v4.3.dev4 [df78c0636], v4.2.1.stable [b09f793f5] - Not reproducible in: v3.5.3.stable [6c814135b]

### System information

Godot v4.3.dev4.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4050 Laptop GPU (NVIDIA; 31.0.15.4626) - AMD Ryzen 5 7640HS w/ Radeon 760M Graphics (12 Threads)

### Issue description

`get_local_mouse_postion()` or `get_global_mouse_position()` returns different coordinates call by call in one `_process()`. 

[EDIT] Turns out (thanks to comments below) this is due to a ''feature'' of `DisplayServer.mouse_get_position()`, which returns the mouse position out of the Godot frame system. Discussion on design may be needed.

### Steps to reproduce

1. Create a new project and a scene with any root node 
2. Add a **CanvasLayer** as a child
3. Add a **ColorRect** as a child node of the layer, use `PRESET_FULL_RECT` anchors
4. Attach the script below to the ColorRect
5. Run the scene and move mouse around quickly
6. In my laptop `get_local_mouse_position()` and `get_global_mouse_position()` are not consistent
```
extends ColorRect

func _process(_delta: float) -> void:
	var global_position_first = get_global_mouse_position()
	var global_position_second = get_global_mouse_position()
	var position_first = get_local_mouse_position()
	var position_second = get_local_mouse_position()
	
	if global_position_first != global_position_second:
		print(global_position_first, global_position_second, " Why global position D:")
	if position_first != position_second:
		print(position_first, position_second, " Why local position D:")
```

### Minimal reproduction project (MRP)

N/A