sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: stable-diffusion-webui
Issue: [Bug]: Segmentation Fault during loading weights [Ubuntu + Radeon Duo Pro Polaris]
Labels: bug-report,platform:amd

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Trying to get WebUI working on my Radeon Duo Pro Polaris. Installed the latest amdgpu and rocm drivers, along with latest pytorch version. Everything works fine until loading the weights. When loading the weights, I get a segmentation fault.

I tried to load the model outside of webui with just a standard torch.load and it worked. However, trying to send the model to the GPU gives me the same error.

```
>>> import torch
>>> model = torch.load('models/Stable-diffusion/Anything.ckpt', map_location=torch.device('cuda'))
zsh: segmentation fault (core dumped)  python3
```
I'm using the `HSA_OVERRIDE_GFX_VERSION=10.3.0` environment variable to enable using my GPU with torch. After using this environment variable, previous errors about not being able to find the GPU go away, and it reports cuda (actually rocm + hip) being available.
 ```
>>> torch.cuda.is_available()
True
```

Here's my rocm-smi and torch version
```
======================= ROCm System Management Interface =======================
================================= Concise Info =================================
GPU  Temp (DieEdge)  AvgPwr  SCLK    MCLK    Fan     Perf  PwrCap  VRAM%  GPU%  
0    43.0c           9.1W    300Mhz  300Mhz  19.22%  auto  98.0W     0%   0%    
1    40.0c           9.1W    300Mhz  300Mhz  19.22%  auto  98.0W     0%   0%    
================================================================================
```
```
>>> torch.__version__
'1.13.1+rocm5.2'
```




### Steps to reproduce the problem

see above

### What should have happened?

webui loads

### Commit where the problem happens

310b71f669e4f2cea11b023c47f7ffedd82ab464

### What platforms do you use to access UI ?

_No response_

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

_No response_

### Command Line Arguments

_No response_

### Additional information, context and logs

_No response_
Repository: godot
Issue: Cannot delete files in web editor
Labels: enhancement,discussion,platform:web,topic:editor,confirmed

### Godot version

v3.5.1.stable.official [6fed1ffa3] on web

### System information

Chrome 107.0.5304.110 (Official Build) (64-bit) on ChromeOS 15117.111.0 (Official Build) stable-channel octopus

### Issue description

When using the web editor, it is impossible to delete files. This makes the quick load screen cluttered, wastes disk space, and forces me to resort to a "TRASH" folder.

### Steps to reproduce

1. Create a project on the web editor
2. Create a file
3. Delete it

### Minimal reproduction project

N/A

### Temporary workaround

Creating a trash folder and putting any files that you would delete in there seems to work, as long as you clear it occasionally. You will also have to change the project folder every time you import as a side-effect of this.
Repository: stable-diffusion-webui
Issue: Is it possible to implement Accelerate from Hugging Face for training?
Labels: enhancement

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Hugging Face created a library for training models with multiple GPUs and I have a few machines with multiple GPUs, including one with 10 x 3090s so I'd love to leverage all that power.

### Proposed workflow

1. Go to Train tab
2. Check a box that says "use Accelerate library"
3. Waste less time


### Additional information

Here's the link to Accelerate: https://huggingface.co/docs/transformers/accelerate
Repository: next.js
Issue: PostCSS Configuration Is a Function
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

 Operating System:
      Platform: win32
      Arch: x64
      Version: Windows 10 Pro
    Binaries:
      Node: 16.8.0
      npm: N/A
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 13.1.1
      eslint-config-next: 13.1.1
      react: 18.2.0
      react-dom: 18.2.0

### Which area(s) of Next.js are affected? (leave empty if unsure)

_No response_

### Link to the code that reproduces this issue

https://codesandbox.io/s/hopeful-tom-97quw8?file=/postcss.config.js

### To Reproduce


```
// postcss.config.js
module.exports = ({ file }) => {
  let isDouble = file.includes("Vw") ? 750 : 375;
  return {
    plugins: {
      "@tcstory/postcss-px-to-viewport": {
        viewportWidth: isDouble,
        viewportHeight: 1334,
        unitPrecision: 1,
        viewportUnit: "vw",
        selectorBlackList: [".ignore", ".hairlines"],
        minPixelValue: 1,
        mediaQuery: false,
        exclude: [/^((?!(|m|M)obile).)+$/]
      }
    }
  };
};
```

### Describe the Bug

I want to support the following functions in postcss.config.js, which support px/vw conversion according to the file. The following operations are supported in webpack, and nextjs 10.0.9 also supports them, Please tell me how to solve it

### Expected Behavior

postcss.config Support functional

### Which browser are you using? (if relevant)

chrome 108.0.5359.72

### How are you deploying your application? (if relevant)

_No response_
Repository: rust
Issue: `[async block]: Future<Output = Ty>` obligations don't provide inference guidance
Labels: A-inference,C-bug,A-async-await,AsyncAwait-Triaged,T-types

I tried this code:

```rust
use std::future::Future;

trait Trait {}
impl Trait for () {}

fn foo(_: impl Future<Output = Box<dyn Trait>>) {}

fn main() {
    foo(async { Box::new(()) })
}
```

I expected to see the code compile successfully. Instead, it fails with:

```
error[[E0271]](https://doc.rust-lang.org/nightly/error-index.html#E0271): expected `[async block@src/main.rs:10:9: 10:31]` to be a future that resolves to `Box<(dyn Trait + 'static)>`, but it resolves to `Box<()>`
  --> src/main.rs:10:9
   |
10 |     foo(async { Box::new(()) })
   |     --- ^^^^^^^^^^^^^^^^^^^^^^ expected trait object `dyn Trait`, found `()`
   |     |
   |     required by a bound introduced by this call
   |
   = note: expected struct `Box<(dyn Trait + 'static)>`
              found struct `Box<()>`
note: required by a bound in `foo`
  --> src/main.rs:7:23
   |
7  | fn foo(_: impl Future<Output = Box<dyn Trait>>) {}
   |                       ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `foo`
```

... should this work? Similar code works for closures: [playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=2953e822b54cc5cd4ebb8037ab64e60f)

I've got an experimental branch with some changes underway that *could* make this work (they don't work currently, but for somewhat orthogonal reasons) -- but first, I'm curious whether @rust-lang/types thinks this **should** work. Not going to keep on wasting my time if not.

~~

Ironically, this function compiles:

```rust
async fn bar() -> Box<dyn Trait> {
    Box::new(())
}
```

... because we *do* use the expectation `impl Future<Output = Box<dyn Trait>>` in the desugared async function. This *only* happens for async functions though, and not for async blocks (or presumably async closures).

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"compiler-errors"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: rust
Issue: Can this tag #![deny(const_item_mutation)] open default?
Labels: C-enhancement

I think it's a critical issue when someone don't aware of this. So better to open default.
Repository: PowerToys
Issue: Set mouse cursor speed per screen for different resolutions
Labels: Idea-New PowerToy,Needs-Triage,Product-Mouse Utilities

### Description of the new feature / enhancement

Adjust the mouse pointer speed for each individual monitor when the resolutions are different.

### Scenario when this would be used?

With a multi-display setup where the screens are different resolutions, the pointer speed is drastically different between them. My primary is a 1080p 60hz monitor and the secondary is a 4k 60hz TV. Currently my choice is to set the cursor speed just right for 1080p and make it agonizingly slow for 4k, or set it uncomfortably fast for 1080p.

### Supporting information

Someone made a tool for this years ago, but it was never fully realized.

Application and source code is still available here:
https://web.archive.org/web/20150419035942/http://shanedidona.com/programspage
Repository: yt-dlp
Issue: Support v.qq.com iframe URLs
Labels: site-enhancement,triage

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I remove or skip any mandatory\* field

### Checklist

- [X] I'm requesting a site-specific feature
- [X] I've verified that I'm running yt-dlp version **2023.01.02** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

USA

### Example URLs

https://v.qq.com/txp/iframe/player.html?vid=a00269ix3l8&tiny=0&auto=1

### Provide a description that is worded well enough to be understood

https://v.qq.com/x/cover/7ce5noezvafma27/a00269ix3l8.html is a supported URL (it appears in the `_TESTS` of `yt_dlp/extractor/tencent.py`). Downloading this URL works fine.

https://v.qq.com/txp/iframe/player.html?vid=a00269ix3l8&tiny=0&auto=1 is the same video but accessed at a URL used for embedding v.qq videos in an iframe in another site. Downloading this URL appears to be unsupported.

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[debug] Command-line config: ['-vU', 'https://v.qq.com/txp/iframe/player.html?vid=a00269ix3l8&tiny=0&auto=1']
[debug] User config: []
[debug] System config: []
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version 2023.01.02 [d83b0ad] (pip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.15.0-56-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f 31 Mar 2020, glibc 2.31)
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1754 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.02, Current version: 2023.01.02
yt-dlp is up to date (2023.01.02)
[generic] Extracting URL: https://v.qq.com/txp/iframe/player.html?vid=a00269ix3l8&tiny=0&auto=1
[generic] player: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] player: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://v.qq.com/txp/iframe/player.html?vid=a00269ix3l8&tiny=0&auto=1
```
Repository: PowerToys
Issue: PowerToys Run: Refresh display after stopping/starting service
Labels: Needs-Triage

### Description of the new feature / enhancement

Since PowerToys Run remembers the last query upon start it would be very helpful if the result was refreshed, at least for services.

### Scenario when this would be used?

I'm running Apache and when I need to change the configuration I call up !apache and stop the service, then adjust the configuration and then want to start the service again. But because of the cached result in PowerToys Run it still displays the stop button instead of the run button for the Apache service. I first have to modify the input to force a refresh. It would be a small but helpful addition if the status of a service was updated directly after you click run/stop in PowerToys Run.

### Supporting information

_No response_
Repository: flutter
Issue: Auto generate equals/hash on pigeon generated classes
Labels: package,customer: money (g3),team-ecosystem,p: pigeon,P2,triaged-ecosystem

Internal: b/222218041

Let the generated classes be used directly more easily throughout the rest of the program.
Repository: stable-diffusion-webui
Issue: [Bug]: zero (0) attention/emphasis does not negate effect of word completely
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?

Using (word:0) results in a (potentially significant) difference in output compared to not using it in the prompt.

### Steps to reproduce the problem

1. Use a prompt with "(word:0)" and without "(word:0)".
2. Observe the result.

### What should have happened?

Minimal change in the output between the two, aka (something:0) being ignored.
As this makes for quick testing between using/not using a certain word, by only having to change a single character.
This could be a settings toggle, as not to break old prompts that make use of zero emphasis.

### Commit where the problem happens

251ecee6949c36e9df1d99a950b3e1af2b5fa2b6

### What platforms do you use to access UI ?

Windows

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

```Shell
--xformers
```


### Additional information, context and logs

```
a cat sitting on a fence
Steps: 30, Sampler: Euler a, CFG scale: 6.5, Seed: 1151843274, Size: 512x712, Model hash: 49d8db92, Batch size: 3, Batch pos: 0
```
![cat_on_fence](https://user-images.githubusercontent.com/1423624/210957832-86830399-20b1-4215-a5b3-a0fa62700b74.png)
```
a cat sitting on a (burning:0) fence
Steps: 30, Sampler: Euler a, CFG scale: 6.5, Seed: 1151843274, Size: 512x712, Model hash: 49d8db92, Batch size: 3, Batch pos: 0
```
![cat_on_burning_fence](https://user-images.githubusercontent.com/1423624/210957847-c110b1df-92e1-47ec-beb3-2a7913b9ff4c.png)
```
a (lazy:0) cat sitting on a (burning:0) fence (sleeping soundly:0)
Steps: 30, Sampler: Euler a, CFG scale: 6.5, Seed: 1151843274, Size: 512x712, Model hash: 49d8db92, Batch size: 3, Batch pos: 0
```
![lazy_cat_on_burning_fence_sleeping_soundly](https://user-images.githubusercontent.com/1423624/210958622-e82a5b07-d5c3-443b-b678-70062e0b6cab.png)
Repository: stable-diffusion-webui
Issue: [Feature Request]: Support for Intel Oneapi/Vulkan versions of pytorch as well
Labels: enhancement,platform:mac

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

This is a brilliant project and I like that it supports most versions of pytorch. 

A large group of users on unsupported machines, intel, windows, etc get excluded from the performance options (which are basically cuda and wannabe-cuda) . Many of these machines have fairly decent hardware, just that it doesn't run cuda/rocm. There are pytorch versions like oneapi or vulkan, etc that would really take the reach of this project out to those with lesser machines, so to say. https://pytorch.org/tutorials/recipes/recipes/intel_extension_for_pytorch.html

I'm not a coder, but they have a pytorch version in the works similar to cuda/rocm, but it seems to support a lot of intel CPUs and GPUs, including discrete GPUs and older ones abandoned by ROCm https://github.com/intel/intel-extension-for-pytorch/tree/xpu-master

 and adapting the code doesn't seem to be excessively complicated. 
https://intel.github.io/intel-extension-for-pytorch/xpu/1.10.200+gpu/tutorials/examples.html
https://intel.github.io/intel-extension-for-pytorch/xpu/1.10.200+gpu/tutorials/api_doc.html

It would make the project accessible to those with simpler laptops/desktops.

https://towardsdatascience.com/pytorch-stable-diffusion-using-hugging-face-and-intel-arc-77010e9eead6

### Proposed workflow

1. Go to .... 
2. Press ....
3. ...


### Additional information

_No response_
Repository: PowerToys
Issue: Screenshot with necessary in-built editor
Labels: Needs-Triage

### Description of the new feature / enhancement

It takes a lot of work to take screenshots and use the marque tool or make circles, arrows and all these necessary stuff within the windows screenshot tool. It would be great if there could be a feature in the PowerToys where users could take screenshots and use simple highlighting tools like rectangles, circles & arrows without leaving the app.

### Scenario when this would be used?

While taking screenshots.

### Supporting information

I don't have any resources, but it would positively impact many users is what I feel.
Repository: PowerToys
Issue: ChatGPT Integration
Labels: Idea-Enhancement,Run-Plugin

### Description of the new feature / enhancement

Is it possible to integrate chatgpt in PowerToys Run app?

### Scenario when this would be used?

When I press ALT+SPACE I want to interact with chatgpt.

### Supporting information

_No response_
Repository: vscode
Issue: Workspace Trust - icon on the status bar cannot be pinned and always resets the state after a restart
Labels: bug,workspace-trust

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.74.2
- OS Version: windows_NT ia32 10.0.19045


The Workspace Trust icon on the status bar cannot be pinned and always resets the state after a restart
![image](https://user-images.githubusercontent.com/119792950/210972497-4043485a-278f-4202-aa97-f037d1664f0f.png)

Steps to Reproduce:
1.Open a trusted workspace
2. Right-click the status bar
3. Check "Workspace trust"
4. Restart the workspace you just had
5. The Trust Workspace icon on the status bar is found to disappear
Repository: vscode
Issue: Inlay hints request sent on both press and release hotkey
Labels: under-discussion,inlay-hints

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.74.2
- OS Version: Ubuntu 22.04

Steps to Reproduce:

1. Launch a simple language server, logging inlay hint requests.
2. Set `Editor > Inlay Hints` to offUnlessPressed.
3. Press Ctrl-Alt, release Ctrl-Alt.
4. Observe in the logs that two requests were sent instead of just one.

![Captura desde 2023-01-06 17-58-02](https://user-images.githubusercontent.com/1279852/210999028-e8299a2b-2857-49a4-b854-54daa80acc0c.png)
Repository: stable-diffusion-webui
Issue: [Bug]: Segmentation fault running on docker with Radeon 5700
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

I'm tryin to run this in a docker container on an Ubuntu 22.04.1 machine with a Radeon 5700 ITX GPU (8 GB), a Ryzen 5 3600 CPU, and 16 GB of RAM.

I followed the instructions from the wiki: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs#running-inside-docker

When I try to start the UI, I get a segmentation fault:

```
(venv) root@borg:/dockerx/stable-diffusion-webui# TORCH_COMMAND='pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/rocm5.1.1' python launch.py --precision full --no-half
Python 3.9.5 (default, Nov 23 2021, 15:27:38) 
[GCC 9.3.0]
Commit hash: c9bded39ee05bd0507ccd27d2b674d86d6c0c8e8
Installing requirements for Web UI
Launching Web UI with arguments: --precision full --no-half
No module 'xformers'. Proceeding without it.
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading weights [81761151] from /dockerx/stable-diffusion-webui/models/Stable-diffusion/model.ckpt
Applying cross attention optimization (Doggettx).
Segmentation fault (core dumped)
```

I upgraded to python 3.9 following the instructions in the wiki, with the same results.

I suspect it might be related to this other issue, but created a new issue as I'm not sure: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/6403

### Steps to reproduce the problem

1. Set up the docker container as instructed in the wiki
2. Start the UI with the command provided in the wiki

### What should have happened?

UI should start up.

### Commit where the problem happens

c9bded39ee05bd0507ccd27d2b674d86d6c0c8e8

### What platforms do you use to access UI ?

Linux

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

_No response_

### Command Line Arguments

```Shell
I use `--precision full` and `--no-half` as instructed in the wiki.

I also tried removing them in any combination, with no result.
```


### Additional information, context and logs

The image id of the docker image I'm using is `614789dfdb38`.

Find the dumped core here (2.8 GB): https://drive.google.com/file/d/1n-ulnrYZ1pjkF9xUJgYasCY3qk8rr5vW/view?usp=share_link