sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Cant' remap ctrl+a/b/f/h/e in find widget?
Labels: feature-request,editor-find

<!-- ⚠️⚠️ 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: Version: 1.88.1
- OS Version: macos ventura 13.6.6 

Steps to Reproduce:

try to remap `ctrl+b` to `cmd+b` as follow:
```
    {
        "key": "cmd+b",
        "command": "-workbench.action.toggleSidebarVisibility"
    },
    {
        "key": "cmd+b",
        "command": "cursorLeft",
        "when": "textInputFocus"
    },
```

expecting that when focus find widget, press `cmd+b` will move cursor back one character --> but it does not work.

this breaks my current workflow that does not favor `ctrl` meta key.

I tried this with `cmd+a`, also not work:
```
    {
        "key": "cmd+a",
        "command": "vscode-neovim.send",
        "when": "findInputFocussed",
        "args": "<C-a>"
    },
```
expecting `cmd+a` in find widget will move to start of pattern in find input box.
Repository: PowerToys
Issue: Add MonitorKeeper functionality to FancyZones please.
Labels: Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

Add MonitorKeeper functionality to FancyZones please.
Windows dont move back to external displays properly. 
None of the options in FancyZones do what this small program does.  
https://github.com/hunkydoryrepair/MonitorKeeper/releases

### Scenario when this would be used?

When Windows (10) goes to sleep the monitors sleep as well moving windows to the primary display.  Waking up displays does not result in windows staying where they were in multi-monitor configuration.  This could only be laptop or laptop with docking station related.  Also, changing monitor configuration between locations often puts windows in seemingly random spots.  

### Supporting information

Searching for solutions didn't offer much help, many many unhelpful results.  Likely SFC /scannow and a bunch of other useless suggestions.
I happened upon MonitorKeeper and it did exactly what I wanted right away.


https://github.com/hunkydoryrepair/MonitorKeeper/releases

Thank you for considering this suggestion.  Love PowerToys
Repository: ollama
Issue: Add  OpenELM 
Labels: model request

Apple released several open source LLMs that are designed to run on-device. 
[Huggingface Link](https://huggingface.co/apple/OpenELM)
Repository: stable-diffusion-webui
Issue: [Feature Request]: Image Formats passed to api calls
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 ?

  init_image parameter for img2img using the local path as the corresponding value.
  
When I try to generate an image using an API call, by means of utilizing base64 encoded images as request values (ControlNet or even in init_image), the quality is horrendous, as compared to using publicly accessible urls as request values.

I want to combine the local accessibility (not needing to resort to urls) with the quality produced from url images.
 
Is there any way I can achieve this? 

### Proposed workflow

1. Go to .... 
2. Press ....
3. ...
jhgj

### Additional information

_No response_
Repository: pytorch
Issue: Conflict between bias=False and why_not_sparsity_fast_path in Transformer Module
Labels: module: nn,triaged

### 🐛 Describe the bug

Description: When setting the bias=false for Transformer layers, the model's biases are set to None. When the model is in evaluation mode, why_not_sparsity_fast_path becomes an empty string, allowing entry into the fast path logic. In this part of the logic, where bias is called because it is None, an error occurs.

if not why_not_sparsity_fast_path:
            tensor_args = (
                src,
                self.self_attn.in_proj_weight,
                self.self_attn.in_proj_bias,
                self.self_attn.out_proj.weight,
                self.self_attn.out_proj.bias,
                self.norm1.weight,
                self.norm1.bias,
                self.norm2.weight,
                self.norm2.bias,
                self.linear1.weight,
                self.linear1.bias,
                self.linear2.weight,
                self.linear2.bias,
            )

            # We have to use list comprehensions below because TorchScript does not support
            # generator expressions.
            _supported_device_type = ["cpu", "cuda", torch.utils.backend_registration._privateuse1_backend_name]
            if torch.overrides.has_torch_function(tensor_args):
                why_not_sparsity_fast_path = "some Tensor argument has_torch_function"
            elif not all((x.device.type in _supported_device_type) for x in ，x.device.type throw error

### Versions

PyTorch: 2.1.2
Python: 3.7
Operating System: Linux

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @bhosmer @cpuhrsch @erichan1 @drisspg
Repository: ollama
Issue: Please consider adding support for RISC-V's rvv build, compilation optimization, and related features.
Labels: feature request

As we know. 😊

RVV (RISC-V Vector) is a vector processing extension for the RISC-V instruction set architecture (ISA). It's designed to provide high-performance computing capabilities for applications that require massive parallelism and data-level parallelism.

RVV is based on the concept of Single-Instruction, Multiple-Data (SIMD) processing, where a single instruction can operate on multiple data elements simultaneously. This allows RVV to perform complex computations on large datasets efficiently.

Some key features of RVV include:

1. **Vector registers**: RVV introduces 32-vector register files, each with a width of 128 bits or 256 bits. These registers can hold multiple values and be used for parallel processing.
2. **Vector instructions**: RVV provides a set of vector instructions that operate on the vector registers. These instructions include basic arithmetic operations (e.g., add, mul), comparisons, and bit-manipulation operations.
3. **Parallel execution**: RVV allows multiple vector instructions to execute in parallel, enabling high throughput for compute-intensive workloads.

RVV is designed to be compatible with other RISC-V extensions, such as the integer and floating-point units (INT and FPU). It's intended for use in a wide range of applications, including:

1. **High-performance computing**: RVV can accelerate scientific simulations, machine learning, and data analytics workloads.
2. **Graphics processing**: RVV can be used for graphics rendering, game development, and other graphical applications that require intense parallel processing.
3. **Data processing**: RVV can improve the performance of data-intensive applications, such as data compression, encryption, and filtering.

By providing a vector processing extension, RVV aims to enable developers to take advantage of the massive parallelism offered by modern computing architectures, while maintaining the flexibility and portability of the RISC-V ISA. 💻

So, how about considering adding support for RVV instruction set optimizations to future versions of Ollama, particularly in terms of their build and support capabilities?
Repository: PowerToys
Issue: FanzyZones not playing well with KVM and multi-monitor configuration
Labels: Issue-Bug,Product-FancyZones,Needs-Triage

### Microsoft PowerToys version

0.79.0

### Installation method

GitHub

### Running as admin

No

### Area(s) with issue?

FancyZones

### Steps to reproduce

Switching between two systems, using a KVM, results in random zone configurations being set when I return to the system.

### ✔️ Expected Behavior

When switching between one system and another, using a KVM switch, my FancyZones zones should persist.

### ❌ Actual Behavior

When using multiple displays (3 in my case), and a KVM switch, the FancyZones settings aren't remembered.  Often times, my layouts are changed to something random, and not previously configured on any other monitor prior to switching away and back, and I have to routinely open the editor to reset my zones back to the way they previously were.
This may be related to the same behavior listed in Issue [24656](https://github.com/microsoft/PowerToys/issues/24656) and [20116](https://github.com/microsoft/PowerToys/issues/20116) as I'm running on Win10 22H2

### Other Software

n/a
Repository: vscode
Issue: Syntax highlighting sometimes gets out of sync
Labels: bug,tokenization

I had this issue raised at https://github.com/Dart-Code/Dart-Code/issues/5082 and although I'd only seen it a few times in the past, I just saw it again today. I was typing in a file, and a bunch of colours got out of sync in my editor.

While my first thought was that it was an issue with the semantic token or textmate info, the "Inspect Tokens and Scopes" command shows in the tooltip that the same scopes are applied to the whole of words that are coloured differently.

Unfortunately I don't have reliable steps to reproduce, it just happens sometimes (it _might_ have started when I saved a file and briefly saw "VS Code is waiting for Code Actions").

Here you can see that VS Code says the foreground color is the same for two positions in this word, yet one part is pink and one part is blue:

![image](https://github.com/microsoft/vscode/assets/1078012/49fb01ca-0306-4612-8a32-fc36cccd05b6)

https://github.com/microsoft/vscode/assets/1078012/d85d8f60-ebd1-4d56-bbf1-51c67af61390
Repository: godot
Issue: Code editor: hover debug empty String / StringName variable shows nothing
Labels: bug,topic:editor

### Tested versions

- Reproducible in: v4.2.1.stable.official [b09f793f5]

### System information

Godot v4.2.1.stable - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 860M (nvidia; 535.161.07) - Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (8 Threads)

### Issue description

While debugging, in the code editor, hovering an  empty String / StringName variable shows nothing (instead of a popup that says `""` or `<empty>` similarly to how `<null>` is displayed).



### Steps to reproduce

1. Add this to some script:

```gd
function _ready():
	var s: String = ""
	var sn: StringName = &""
	pass
```

2. Add a breakpoint on `pass`
3. Run game
4. Hover `s` and `sn` variables

### Minimal reproduction project (MRP)

N/A
Repository: godot
Issue: `RGFloat` Texture with small height gives `Image height must be greater than 0.` error
Labels: bug,topic:core

### Tested versions

Reproducible in 3.5.stable

### System information

Windows 10 - Godot 3.5.stable

### Issue description

The engine is giving an error (`ERROR: Image height must be greater than 0.
   at: (core/image.cpp:933)` ) that the `RGFloat` Texture I'm using has an invalid height, when in fact it has a completely valid, albeit small, height. 
   
  I've had this issue show up with the resolutions `2048x1` `2048x2` `2048x4`. I presume that it is related to https://github.com/godotengine/godot/issues/36940, and the issues persist to up to 16 pixels in height. I have not had this issue with other Texture types.

Any Texture that gives this error will still work normally. In this case, the image used is the Godot `icon.png` turned into a `RGFloat` Texture by making it an emission mask for a `Particle2D`, using the `solid pixels` option. My hypothesis is that it's the preview image in the editor that is actually giving this error.

![image](https://github.com/godotengine/godot/assets/10502115/131d798b-7949-4622-8320-bd4e3827916a)


### Steps to reproduce

1. Add a `Particle2D` node to a scene.
2. Add a `ParticleMaterial` to the node.
3. Select the Particle2D node and click `Particles` in the top bar of the Engine
4. Select `Load Emission Mask`
5. Navigate to the `icon.png` and select it.
6. Use `solid pixels` - this will give a 2048x2px Texture
7. Open the `ParticleMaterial` and open the `Emission Shape` dropdown.
8. An Error reading `ERROR: Image height must be greater than 0.
   at: (core/image.cpp:933)` will appear in the Console.

### Minimal reproduction project (MRP)

Shouldn't be necessary, but just in case!
[RGFloatImageHeight.zip](https://github.com/godotengine/godot/files/15112356/RGFloatImageHeight.zip)
Repository: transformers
Issue: add `stream` to pipeline parameters
Labels: Core: Pipeline,Feature request

### Feature request

add option to stream output from pipeline

### Motivation

using `tokenizer.apply_chat_template` then other stuff then `model.generate` is pretty repetitive and I think it's time to integrate this with pipelines, also it's time to add a **streaming** pipeline too.

### Your contribution

I can provide this resource as a reference.
This is a pr I made with the requested feature https://huggingface.co/google/gemma-1.1-2b-it/discussions/14.
another tip I can provide is don't use **yield** and **return** in the same function, you should separate them (it's a python problem) 
sadly I'm a bit busy lately to open a PR, but if I could find some time I'll try to help out.
Repository: node
Issue: flaky: parallel/test-filehandle-close
Labels: flaky-test,linux

### Test

test-filehandle-close

### Platform

Linux ARM64

### Console output

```console
not ok 1097 parallel/test-filehandle-close
17:19:47   ---
17:19:47   duration_ms: 226.50800
17:19:47   severity: fail
17:19:47   exitcode: 1
17:19:47   stack: |-
17:19:47     node:internal/process/promises:289
17:19:47                 triggerUncaughtException(err, true /* fromPromise */);
17:19:47                 ^
17:19:47     
17:19:47     AssertionError [ERR_ASSERTION]: Missing expected rejection.
17:19:47         at async /home/iojs/build/workspace/node-test-commit-arm-debug/test/parallel/test-filehandle-close.js:13:3 {
17:19:47       generatedMessage: false,
17:19:47       code: 'ERR_ASSERTION',
17:19:47       actual: undefined,
17:19:47       expected: { code: 'EBADF', syscall: 'close' },
17:19:47       operator: 'rejects'
17:19:47     }
17:19:47     
```
```


### Build links

- https://ci.nodejs.org/job/node-test-commit-arm-debug/12571/nodes=ubuntu2004_debug-arm64/

### Additional information
Repository: node
Issue: flaky: benchmark/test-benchmark-crypto
Labels: flaky-test,linux

### Test

test-benchmark-crypto

### Platform

Linux x64

### Console output

```console
11:19:53 not ok 4009 benchmark/test-benchmark-crypto
11:19:53   ---
11:19:53   duration_ms: 3234.66800
11:19:53   severity: fail
11:19:53   exitcode: 1
11:19:53   stack: |-
11:19:53     node:assert:126
11:19:53       throw new AssertionError(obj);
11:19:53       ^
11:19:53     
11:19:53     AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
11:19:53     
11:19:53     1 !== 0
11:19:53     
11:19:53         at main (/home/iojs/build/workspace/node-test-commit-linux/benchmark/crypto/timingSafeEqual.js:21:10)
11:19:53         at /home/iojs/build/workspace/node-test-commit-linux/benchmark/common.js:54:9
11:19:53         at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
11:19:53       generatedMessage: true,
11:19:53       code: 'ERR_ASSERTION',
11:19:53       actual: 1,
11:19:53       expected: 0,
11:19:53       operator: 'strictEqual'
11:19:53     }
11:19:53     
11:19:53     Node.js v22.0.0-pre
11:19:53     node:assert:126
11:19:53       throw new AssertionError(obj);
11:19:53       ^
11:19:53     
11:19:53     AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
11:19:53     
11:19:53     1 !== 0
11:19:53     
11:19:53         at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux/test/common/benchmark.js:28:12)
11:19:53         at ChildProcess.emit (node:events:520:28)
11:19:53         at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
11:19:53       generatedMessage: true,
11:19:53       code: 'ERR_ASSERTION',
11:19:53       actual: 1,
11:19:53       expected: 0,
11:19:53       operator: 'strictEqual'
11:19:53     }
11:19:53     
11:19:53     Node.js v22.0.0-pre
```


### Build links

- https://ci.nodejs.org/job/node-test-commit-linux/nodes=fedora-latest-x64/57416/

### Additional information

_No response_
Repository: PowerToys
Issue: Environment variables split path editing for variables with mutli paths
Labels: Idea-Enhancement,Area-User Interface,Product-Environment Variables

### Description of the new feature / enhancement

A vaiable with muti paths could be edit like this
![image](https://github.com/microsoft/PowerToys/assets/20037151/161e6cff-4d0b-4dfc-80ef-3162294356a1)

while in Powertoys' editor, it only shows a long text,which may easyli result in an error
![image](https://github.com/microsoft/PowerToys/assets/20037151/9b763401-4870-4467-8127-6791b3e3a394)

It seems only path variable could spit path editing
![image](https://github.com/microsoft/PowerToys/assets/20037151/59d92663-4c6d-459d-8606-841678a9ab47)

### Scenario when this would be used?

when edit none 'path' variables with large text, split path editing counld increase efficiency and make less mistake.

### Supporting information

_No response_
Repository: ui
Issue: [bug]: closing dialog by click the dialog overlay will trigger click event by the parent
Labels: bug

### Describe the bug

```tsx
export default function Page() {
  const [open, setOpen] = useState(false);
  return (
    <div
      onClick={(e) => {
        console.log("trigger");
      }}
    >
      <Dialog open={open} onOpenChange={setOpen}>
        <DialogTrigger asChild>
          <Button
            size="sm"
            variant="outline"
            onClick={(e) => e.stopPropagation()}
          >
            test
          </Button>
        </DialogTrigger>
        <DialogContent>
          <DialogHeader>121321</DialogHeader>
        </DialogContent>
      </Dialog>
    </div>
  );
}
```

I have already blocked the bubble of the event with the button. Why does it trigger the parent click event when closing the pop-up window

### Affected component/components

Dialog

### How to reproduce

1. copy my example code above and open the develop consloe
2. click the button to open the dialog, then close it
3. you can see the log in the console

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
macos, google chrome
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: ui
Issue: [bug]: Collapsible's weird pixel shift
Labels: bug

### Describe the bug

Hello team. When i use collapsible, Collapsible is a few pixels wider than CollapsibleTrigger. And CollapsibleTrigger is shifted down by a few pixels.
How can I make it so that the Collapsible is aligned with the top of the CollapsibleTrigger？


<img width="296" alt="截屏2024-04-26 00 05 45" src="https://github.com/shadcn-ui/ui/assets/36350890/82821395-359f-4ea0-bff9-a74feba98ab2">
<img width="213" alt="截屏2024-04-26 00 05 56" src="https://github.com/shadcn-ui/ui/assets/36350890/11c32ee9-b044-4029-82d3-17eab26ff3b2">

### Affected component/components

Collapsible CollapsibleTrigger

### How to reproduce

use test code 
```
    <Collapsible className="w-full border-b border-[#dfe3e8]">
      <CollapsibleTrigger className="w-full h-12">
        <div className="w-full h-full flex flex-col justify-start items-start">
          <div className="w-auto bg-purple-700  rounded-bl rounded-br">
            <p className="text-sm text-white">ccc</p>
          </div>
        </div>
      </CollapsibleTrigger>
      <CollapsibleContent className="w-full">
        <a>aa</a>
      </CollapsibleContent>
    </Collapsible>
```

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@radix-ui/react-collapsible": "^1.0.3",
```
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: ollama
Issue: Add Option to list/switch models with right click on sys try icon
Labels: feature request

Heyy Llamas,

so I got this idea, how about adding an option to show us how many models we have had with a simple right click on the llama icon?
here
![image](https://github.com/ollama/ollama/assets/19349338/889b88c0-1a86-4283-8903-b2abceceeab7)
yeah yeah I know _ollama list_ can show 'em all, but its not convinient when I use Ollama's Rest api with other programms rather than in the terminal.
Sometimes I forgot which one is in my VRAM, thats it.

like this
  llama3
  llama2
  Mixtral
• Phi3
   Phi2
Repository: deno
Issue: node:fs/promises watcher polyfill is not AsyncIterable
Labels: bug,node compat

Version: Deno 1.42.4

The deno polyfill for `node fsPromises.watch()` does not appear to return an `AsyncIterator` [as documented](https://nodejs.org/docs/v20.12.1/api/fs.html#fspromiseswatchfilename-options) here for node.

With deno run, using the returned watcher with `for await` throws `TypeError: watcher is not async iterable`.
The same code works with node. 

```
$ deno run fswatch-node.js
✅ Granted read access to <CWD>.
Watching for file changes in /Users/jldec/opral/deno, press Ctrl+C to exit.
error: Uncaught (in promise) TypeError: watcher is not async iterable
  for await (const event of watcher) {
                            ^
    at run (file:///Users/jldec/opral/deno/fswatch-node.js:8:29)
    at file:///Users/jldec/opral/deno/fswatch-node.js:13:1
    
$ node fswatch-node.js 
Watching for file changes in /Users/jldec/opral/deno-node-fs-promises-watch, press Ctrl+C to exit.
>>>> event { eventType: 'rename', filename: 'foo.bar' }
```

## repro

**[fswatch-node.js](https://github.com/jldec/deno-node-fs-promises-watch/blob/main/fswatch-node.js)** from: https://github.com/jldec/deno-node-fs-promises-watch
```js
import process from "node:process"
import fs from "node:fs/promises"

async function run() {
  const watcher = fs.watch(process.cwd(), { recursive: true })
  console.log(`Watching for file changes in ${process.cwd()}, press Ctrl+C to exit.`);

  for await (const event of watcher) {
    console.log(">>>> event", event)
  }
}

run()
```

Ref: https://github.com/denoland/deno/blob/main/ext/node/polyfills/_fs/_fs_watch.ts#L126C5-L126C18