sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: kubernetes
Issue: [EventedPLEG] EventedPLEG should detect resize completion rapidly
Labels: sig/node,kind/feature,needs-triage

### What would you like to be added?

EventedPLEG should detect completion of pod resizing in the runtime as rapidly as GenericPLEG.

Since v1.32 (#128518), GenericPLEG polls container resources in the runtime at resizing a pod so that it detects resize completion rapidly. This poll is actuated when GenericPLEG relists pods regularly:
https://github.com/kubernetes/kubernetes/blob/d36322f8d76c8e2a456e381bcc6bb43e4bbe602c/pkg/kubelet/pleg/generic.go#L314-L327

EventedPLEG depends on GenericPLEG for this polling:
https://github.com/kubernetes/kubernetes/blob/d36322f8d76c8e2a456e381bcc6bb43e4bbe602c/pkg/kubelet/pleg/evented.go#L430-L432

When EventedPLEG is enabled, GenericPLEG relists pods every five minutes:
https://github.com/kubernetes/kubernetes/blob/d36322f8d76c8e2a456e381bcc6bb43e4bbe602c/pkg/kubelet/kubelet.go#L197

Then, it takes at most five minutes till pod resize appears to be completed in the API.


### Why is this needed?

Pod resize should complete as quickly as if EventedPLEG is not enabled.

Considering maturity of features, I don’t think this issue blocks promotion of InPlacePodVerticalScaling. This issue should be solved for promoting EventedPLEG.
Repository: transformers
Issue: incorrect special_tokens_mask
Labels: bug

### System Info

- `transformers` version: 4.47.1
- Platform: Linux-6.1.85+-x86_64-with-glibc2.35
- Python version: 3.11.11
- Huggingface_hub version: 0.27.1
- Safetensors version: 0.5.2
- Accelerate version: 1.2.1
- Accelerate config: 	not found
- PyTorch version (GPU?): 2.5.1+cu121 (True)
- Tensorflow version (GPU?): 2.17.1 (True)
- Flax version (CPU?/GPU?/TPU?): 0.10.2 (gpu)
- Jax version: 0.4.33
- JaxLib version: 0.4.33
- Using distributed or parallel set-up in script?: False
- Using GPU in script?: False
- GPU type: Tesla T4

### Who can help?

@ArthurZucker @itazap 

### Information

- [x] The official example scripts
- [x] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

```python
from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "HuggingFaceTB/SmolLM2-135M" # same behavior with gpt2
device = "cuda" # for GPU usage or "cpu" for CPU usage
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
outputs = tokenizer("

y", return_tensors="pt", return_special_tokens_mask=True)
```
outputs:
```cmd
{'input_ids': tensor([[  0,   1, 105]]), ..., 'special_tokens_mask': tensor([[0, 0, 0]])}
```

### Expected behavior

outputs:
```cmd
{'input_ids': tensor([[  0,   1, 105]]), ..., 'special_tokens_mask': tensor([[1, 1, 0]])}
```

given that:

```python
tokenizer.special_tokens_map
```

```cmd
{'bos_token': '
',
 'eos_token': '
',
 'unk_token': '
',
 'additional_special_tokens': ['
',
  '
',
  '
',
...
```
Repository: tauri
Issue: [bug] Tray Icon is not shown on Raspberry Pi OS
Labels: type: bug,platform: Linux,status: needs triage

### Describe the bug

Running a Tauri application with tray-icon feature will not show the tray-icon on Raspberry Pi OS.

The tray icon worked fine in Tauri V1 but after migrating to V2, the icon is not shown anymore. However, the context menu still works so you can click on the empty space where normally the icon should be shown.

I've also build the same application (Tauri V2) for Windows, macOS and Linux (Ubuntu) and there the tray icon is shown correctly. It is only not working on Raspberry Pi OS anymore, while it did work fine with Tauri V1.

### Reproduction

Create a Tauri application with tray-icon feature. Use the TrayIconBuilder in Rust and set the icon to the default window icon as it is done in the Tauri documentation in the Rust example (https://v2.tauri.app/learn/system-tray/#change-the-tray-icon). Run the application on Raspberry Pi OS and notice that there is no icon visible in the system tray.

If you hover over the system tray where the icon should be presented and when you have set the tooltip, then you will notice that the tooltip is still shown. Also if you have a context menu defined, then you can still right-click the mouse and the context menu pops up. All functionality works except the icon itself is not visible.

### Expected behavior

Having a Tauri Application with a tray icon correctly defined should show the icon in the system tray. With Tauri V2 it doesn't display the icon on Raspberry Pi OS, while it works fine on all other platforms, even Linux (Ubuntu).

### Full `tauri info` output

```text
[âœ”] Environment
    - OS: Debian 12.0.0 aarch64 (X64) (LXDE-pi-labwc on wayland)
    âœ” webkit2gtk-4.1: 2.46.5
    âœ” rsvg2: 2.54.7
    âœ” rustc: 1.83.0 (90b35a623 2024-11-26)
    âœ” cargo: 1.83.0 (5ffbef321 2024-10-29)
    âœ” rustup: 1.27.1 (54dd3d00f 2024-04-24)
    âœ” Rust toolchain: stable-aarch64-unknown-linux-gnu (default)
    - node: 18.19.0
    - npm: 9.2.0

[-] Packages
    - tauri ðŸ¦€: 2.2.5
    - tauri-build ðŸ¦€: 2.0.5
    - wry ðŸ¦€: 0.48.1
    - tao ðŸ¦€: 0.31.1
    - @tauri-apps/api îœ˜: 2.2.0
    - @tauri-apps/cli îœ˜: 2.2.7

[-] Plugins
    - tauri-plugin-fs ðŸ¦€: 2.2.0
    - @tauri-apps/plugin-fs îœ˜: not installed!
    - tauri-plugin-single-instance ðŸ¦€: 2.2.1
    - @tauri-apps/plugin-single-instance îœ˜: not installed!
    - tauri-plugin-dialog ðŸ¦€: 2.2.0
    - @tauri-apps/plugin-dialog îœ˜: 2.2.0
    - tauri-plugin-autostart ðŸ¦€: 2.2.0
    - @tauri-apps/plugin-autostart îœ˜: not installed!

[-] App
    - build-type: bundle
    - CSP: default-src 'self'; connect-src ipc: http://ipc.localhost
    - frontendDist: ../dist
    - devUrl: http://localhost:5173/
    - framework: Vue.js
    - bundler: Vite
```

### Stack trace

```text

```

### Additional context

_No response_
Repository: yt-dlp
Issue: [starwars/disney] extract original thumbnails
Labels: site-enhancement

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

### Checklist

- [x] I'm asking a question and **not** reporting a bug or requesting a feature
- [x] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [x] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [x] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar questions **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)

### Please make sure the question is worded well enough to be understood

I am batch downloading a bunch (hundreds) of videos from a website with yt-dlp, also downloading their thumbnails and embedding them in the video files. Everything works great.

However, the website is using URL width and height parameters to make the thumbnails smaller. I.e. a thumbnail link looks like this:
`image.jpeg?height=354&region=0%2C0%2C1920%2C1080&width=630`

It would be great if yt-dlp had a feature to be able to ignore those width, height and region parameters and download the original thumbnail file, but as far as I know, it doesn't (please correct me if I am wrong).

So I would like to ask if it is possible (and if so - how) to do the following:
1. Use yt-dlp to quickly download just the .json files for a bunch of videos
2. I will then edit those files using Notepad++ to remove the thumbnail width and height parameters
3. Somehow use yt-dlp to download the videos using the edited json files

Is this possible?

Or is there any other way that I can download the original thumbnail files and also embed them in the video files?

### Provide verbose output that clearly demonstrates the problem

- [ ] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [ ] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell

```
Repository: pytorch
Issue: PyTorch VS2022 official build Windows binary illegal instruction on AVX2(max ISA level) CPU
Labels: module: crash,module: build,module: windows,low priority,module: cpu,triaged

### 🐛 Describe the bug

# Background
This issue is re-submit of https://github.com/pytorch/pytorch/issues/145042, because of we taked about this issue and we think the original issue will make us confuse it is a `XPU` related issue. But acturally it is a `CPU` only issue.

# Reproduce steps:
1. It is easy step to reproduce it, just switch Windows CPU build to VS2022. Reference to https://github.com/pytorch/pytorch/pull/143791 
2. Add `ciflow/binaries` tag to trigger nightly binary build.
3. Download `wheel-py3_10-cpu` wheel from `Artifacts` page https://github.com/pytorch/pytorch/actions/runs/12972478091?pr=143791
4. Install the wheel to the CPU, which max ISA level is `AVX2`.
5. Run the reproduce code via `pytest`:
```python
# cpu_vs2022_inst_issue.py
import torch
class TestClass:
    def test_grid_sampler_2d(self):
        torch.manual_seed(0)
        b = torch.rand(2, 13, 10, 2, dtype=torch.float64)
        a = torch.rand(2, 3, 5, 20, dtype=torch.float64)
        torch.grid_sampler_2d(a, b, interpolation_mode=0, padding_mode=0, align_corners=False)
```
command line:
```cmd
pytest -v cpu_vs2022_inst_issue.py
```

# Root cause

<img width="1395" alt="Image" src="https://github.com/user-attachments/assets/7dcb8960-9653-49ce-9fa7-30085761cf22" />

I debugged it via WinDBG, the reason is VS2022 genarated `AVX512` instruction, and it is run on the client CPU, which max ISA level is `AVX2`.

# Additional information
1. This issue is not impact on currenct PyTorch officical binaries, because of current PyTorch official binaries built by VS2019.
2. The PyTorch CI can't test this issue, due to the CI runs on server CPU, which is support AVX512.
3. I tried to reproduce it on my local VS2022 build environment, but it is can't reproduce. I think it only occurred issue on PyTorch official build environment.
4. I just open this issue for track it, to avoid to upgrade VS2022 and occurred this issue, in the further.
5. It is not impact on official PyTorch binary, so I will add `low priority` tag. 

cc @malfet @seemethere @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
Repository: node
Issue: Add Bun as supported packageManager
Labels: feature request

### What is the problem this feature will solve?

Faster build times and more productive developers. Both Yarn and PNPM as slow when compared to Bun.

### What is the feature you are proposing to solve the problem?

Allow for  "packageManager": "bun@1.2.0" in package.json (https://nodejs.org/api/corepack.html#supported-package-managers)

### What alternatives have you considered?

Deno could be another one to be added but Bun in way more faster at the moment.
Repository: godot
Issue: Native MenuPopup Within MenuBar shows in random location
Labels: bug,topic:gui

### Tested versions

v4.3.stable.steam [77dcf97d8]

### System information

Godot v4.3.stable (77dcf97d8) - Windows 10.0.26100 - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 32.0.11027.1003) - AMD Ryzen 7 2700 Eight-Core Processor (16 Threads)

### Issue description

When creating a MenuBar with a PopupMenu that has `prefer_native_menu=ture`, the menu doesn't show in the correct location (Under the selected menu item). In the attached project it is showing above the window, in my actual application it is showing to the right of my window. I have tested all options of `system_menu_id`, but none seem to affect the position.

![Image](https://github.com/user-attachments/assets/1c5fd3f9-b0b9-48de-bf34-bb536f3d2c77)

Not sure if this is related to #93622, as this happens all the time, and not just after the first time. Also this doesn't use an code.

### Steps to reproduce

- Create a new scene
- Create a `Node` as the scene root
- Add a `MenuBar` as a child of the root
- Add a `MenuPopup` as a child of `MenuBar`
- Set `prefer_native_menu` to `true` on the `MenuPopup` in the Inspector

### Minimal reproduction project (MRP)

[native-menu.zip](https://github.com/user-attachments/files/18550543/native-menu.zip)
Repository: PowerToys
Issue: Keyboard shortcut mappings fail in some applications.
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Keyboard shortcut mappings fail in some applications. For example, the search and path bar in explorer.exe, the control panel, etc. 

### ✔️ Expected Behavior

Keyboard mapping should work properly.

### ❌ Actual Behavior

The whole keyboard mappings seemingly don't work in specific apps. Besides, the PowerToys Run doesn't works in Task Manager. 

### Other Software

_No response_
Repository: godot
Issue: User command line arguments get erased when launching in editor
Labels: discussion,topic:core,documentation

### Tested versions

- Reproductible in v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1650 (NVIDIA; 32.0.15.6076) - Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz (16 Threads)

### Issue description

When passing down arguments in command line like the following:
```./godot -e --path path/to/gdproject -- --optionA```
command line arguments get erased when launching the game with "Run Project".
When printing the following:
```print("user args: ", OS.get_cmdline_user_args())```
I get:
```user args: []```
Whereas when launching the main scene directly through the command line they get passed down correctly:
```./godot --path path/to/gdproject -- --optionA```
```user args: [--optionA]```

I'm not sure if this is a bug or if it's expected behaviour, but in that case, how can I debug a run with specific user args? 

### Steps to reproduce

- Create a blank project
- add a basic scene, and attach the following script to it:
```class_name World
extends Node2D


# Called when the node enters the scene tree for the first time.
func _enter_tree():
	print("user args: ", OS.get_cmdline_user_args())
```

- Start through command line in editor: 
```./godot -e --path path/to/gdproject -- --optionA```

- Look for the "user args" log entry

### Minimal reproduction project (MRP)

[smallproject.zip](https://github.com/user-attachments/files/18550730/smallproject.zip)
Repository: ollama
Issue: Ollama on WSL2 detects GPU but timesout when running inference
Labels: bug

### What is the issue?

I am using ManjaroWSL [https://github.com/sileshn/ManjaroWSL2] on Windows 11, ollama runs fine on WSL, detects my Nvidia 4070 on its start.

The thing is when I load a model and run it, I am facing this error:
`gpu VRAM usage didn't recover within timeout`
and it should that the process is offloaded to the CPU.

I had to install Ollama on the windows side, migrate all my models, and use Ollama API hosted on Windows side to use the GPU. 
I also had several people in my team reporting the same problem.

Models I saw this problem with : llava:13b, it runs lightning fast on the windows side, but too slow on linux.

```
 nvidia-smi
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 561.09         CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...    On  |   00000000:01:00.0  On |                  N/A |
| N/A   57C    P0             27W /  105W |    7390MiB /   8188MiB |     42%      Default |
|                                         |                        |                  N/A |
```



### OS

WSL2

### GPU

Nvidia

### CPU

Intel

### Ollama version

_No response_
Repository: PowerToys
Issue: A feature similar to the New+
Labels: Needs-Triage

### Description of the new feature / enhancement

I would like to recommend a feature like the New+, but instead of creating files/folders, it executes a command/batch script/executable inside the folder. It is really similar to macros in Word, Excel, etc., where in the press of a button you can perform a specific task inside the document.

### Scenario when this would be used?

It would be really great for executing repeated tasks

### Supporting information

No supporting information, but like I said, this feature is already present as macros in Word, Excel, etc.
Repository: rust
Issue: Bad parse error on many token sequences
Labels: A-diagnostics,A-parser,T-compiler

### Code

```Rust
// This is the only one i've found for now
async const FOO: () = ();
```

### Current output

```Shell
error: expected one of `extern`, `fn`, `gen`, `safe`, or `unsafe`, found keyword `const`
 --> src/main.rs:8:7
  |
8 | async const FOO: () = ();
  | ------^^^^^
  | |     |
  | |     expected one of `extern`, `fn`, `gen`, `safe`, or `unsafe`
  | help: `const` must come before `async`: `const async`
  |
  = note: keyword order for functions declaration is `pub`, `default`, `const`, `async`, `unsafe`, `extern`
```

### Desired output

```Shell
error: expected one of `fn`, `gen`, `unsafe`, ..., found keyword `const`
--> src/main.rs:8:7
   |
 8 | async const FOO: () = ();
   | ------^^^^^
   | |     |
   | |     unexpected item
   = note: constants cannot be `async`
```

### Rationale and extra context

this is meant to be a more general version of #134580

as opposed to #134580, however, this does not apply to `const async`, which is better

### Other cases

```Rust
TODO: add more cases
```

### Rust Version

```Shell
$ rustc --version --verbose
rustc 1.86.0-nightly (48a426eca 2025-01-12)
binary: rustc
commit-hash: 48a426eca9df23b24b3559e545cf88dee61d4de9
commit-date: 2025-01-12
host: x86_64-unknown-linux-gnu
release: 1.86.0-nightly
LLVM version: 19.1.6
```

### Anything else?

_No response_
Repository: PowerToys
Issue: Key Shortcuts overlap keyboard default for AltGr
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

WinGet

### Running as admin

No

### Area(s) with issue?

General

### Steps to reproduce

I would like to generalize and reopen https://github.com/microsoft/PowerToys/issues/26506. Things have improved, but this can still be considered a bug (0.87.1):

1) Out of nowhere, a key combination seems to be broken
2) The reason is a shortcut in PowerToys with conflicts
3) This is hard to detect: Even an IT power user might have difficulties to track this down to PowerToys without having to guess that this is one of its many shortcuts
4) The prevention mechanism that is in place (when re-assigning keys, a warning is issued) is **_too late_**:  The key is already set bad on existing setups (no, this wasn't me in a prior setting, I know I wasn't interested in "easyMouse" feature of MWB).

reason is: `AltGr` is technically very close to `left Ctrl`+`right Alt`
`AltGr`+`E` = € is the most common conflict ([reported](https://github.com/microsoft/PowerToys/issues/26557) [several](https://github.com/microsoft/PowerToys/issues/27060) [times](https://github.com/microsoft/PowerToys/issues/27307) [already](https://github.com/microsoft/PowerToys/issues/27161)) but there is at least (for DE layout alone):
`AltGr`+`M` -> µ
`AltGr`+`Q` -> @
`AltGr`+`2` -> ²
`AltGr`+`3` -> ³
`AltGr`+`7` -> {
`AltGr`+`8` -> [
`AltGr`+`9` -> ]
`AltGr`+`0` -> }
`AltGr`+`ß` -> \\
`AltGr`+`<` -> |

So similar issues might occur all over (and may be already occuring and some wonder why there ... symbol doesn't come up without making the connection to PowerToys).

Proposal for a sustainable fix:
1) Collect all potential "bad" combinations, all keys above, plus those in keyboard layouts, and check that they are not set with "`Ctrl`+`Alt`+` `" anywhere in PowerToys
2) Add mechanism (build step?) that prevents the use of those keys in future.
3) Apply reset-option / notification for existing bindings. IMHO not optional as many bad settings are out and people are just wondering why some key combinations are not working anymore.

# Steps to reproduce

- When developing PowerToys
- add keyboard shortcut `Ctrl`+`Alt`+`E` to any function in PowerToys
- Deploy to users
- Use a EU keyboard that has the € sign on on `AltGr`+`E`
- try to Enter anywhere in Windows (for example the text box in Start-Run) in a text box the symbol *€ *


### ✔️ Expected Behavior

Shortcuts for reserved key combinations of `AltGr` in combination with `Ctrl`+`Alt` cannot be used for any function across all PowerToys shortcuts as default.

### ❌ Actual Behavior

nothing notifies existing users that they have a conflicting key binding present.
Danger of re-introdicing similar harmful conflicts remains.

### Other Software

Generic Windows keyboard driver that supports `AltGr` and maps to _left_ `Ctrl`+ _right_ `Alt`
Repository: flutter
Issue: Flutter web icons disappearing on AWS
Labels: waiting for customer response,in triage

### Steps to reproduce

flutter build web --release --no-tree-shake-icons

copy build/web to AWS EC2 instance, rename to static

Serve app using nginx, flask, gunicorn

refresh page on any device (It seems more likely to occur on mobile devices)


### Expected results

The flutter icons appear normally.

### Actual results

See screenshots. The icons appear as either lines or X's, and the browser outputs:
Failed to load resource: the server responded with a status of 503 (Service Temporarily Unavailable) (assets\packages\font_awesome_flutter\lib\fonts\fa-solid-900.ttf)

But, the file exists, and whenever I refresh the page, the icon reappears (Sometimes, sometimes not).

If I do a hard refresh (ctrl + shift + R), the icon sometimes goes away. I assume this is a caching issue? 

I have tried:
updating the flutter.js file to include the service_worker_version 

attaching no-cache headers in my nginx config:
add_header Cache-Control "no-cache, no-store, must-revalidate";

Restarting the services on my backend

### Code sample

<details open><summary>Code sample</summary>

```dart
FaIcon(
                FontAwesomeIcons.linkedin,
                color: iconColor,
                size: iconSize,
              ),
```



</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>
Some appear like this:
![Image](https://github.com/user-attachments/assets/e851fe87-3838-4e9d-bca9-c53c6d15661c)

And others like this:
![Image](https://github.com/user-attachments/assets/8a333a37-6231-4bf8-8b32-261cc9a100a7)
</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[√] Flutter (Channel stable, 3.22.3, on Microsoft Windows [Version 10.0.22621.4751], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.4)
[√] Android Studio (version 2024.1)
[√] VS Code (version 1.96.3)
[√] Connected device (3 available)
[√] Network resources

! Doctor found issues in 1 category
```

</details>