sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: Kernel crashed when importing torch
Labels: needs reproduction,module: binaries,module: crash,triaged

### 🐛 Describe the bug

Kernel dies when importing torch.

import torch The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click [here](https://aka.ms/vscodeJupyterKernelCrash) for more info. View Jupyter [log](command:jupyter.viewOutput) for further details.


Log output: 

14:05:53.179 [error] Disposing session as kernel process died ExitCode: undefined, Reason: 
14:05:53.179 [info] Dispose Kernel process 12272.
14:05:53.229 [info] End cell 0 execution after -1705327552.163s, completed @ undefined, started @ 1705327552163
14:08:06.708 [info] Restart requested ~/Documents/GitHub/DwaveCode/Gates_based_ideas/CRW.ipynb
14:08:06.708 [warn] Cancel all remaining cells due to dead kernel
14:08:09.743 [info] Process Execution: ~/anaconda3/envs/Q_env/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
14:08:09.745 [info] Process Execution: ~/anaconda3/envs/Q_env/bin/python -m ipykernel_launcher --f=~/Library/Jupyter/runtime/kernel-v2-6772xgc5zOuarL9T.json
    > cwd: ~/Documents/GitHub/DwaveCode/Gates_based_ideas
14:08:10.770 [info] Restarted 77d36651-2b1b-4a9f-8d87-4cc4ac987f50
14:08:12.547 [info] Handle Execution of Cells 0 for ~/Documents/GitHub/DwaveCode/Gates_based_ideas/CRW.ipynb
14:08:12.553 [info] Kernel acknowledged execution of cell 0 @ 1705327692553
14:08:13.537 [error] Disposing session as kernel process died ExitCode: undefined, Reason: 
14:08:13.537 [info] Dispose Kernel process 12387.
14:08:13.575 [info] End cell 0 execution after -1705327692.553s, completed @ undefined, started @ 1705327692553

Version I installed: 

Installing collected packages: jinja2, fsspec, filelock, torch
Successfully installed filelock-3.13.1 fsspec-2023.12.2 jinja2-3.1.3 torch-2.1.2

Python version: 3.10.6

### Versions

Version I installed: 

Installing collected packages: jinja2, fsspec, filelock, torch
Successfully installed filelock-3.13.1 fsspec-2023.12.2 jinja2-3.1.3 torch-2.1.2

Python version: 3.10.6
```[tasklist]
### Tasks
```


cc @seemethere @malfet @osalpekar @atalman
Repository: ollama
Issue: Any plans to add a queue status endpoint?
Labels: feature request,api

Hi.

Thank you for this cool server. I am developing an open source AI tool that is compatible with multiple services/models. And ollama is one of them. Except that I need to use it with multiple clients setting.

To do that I run multiple servers (example ollama service) and want to use the queue status to decide which server to route the request to.

Is there a way to get an endpoint to show how many requests are in the queue when dealing with multiple connections?

I need this to share the load between multiple servers. My client needs to ask each server the status of its queue in order to know which server can handle the load.

For example if I have three servers, and the first one has two requests in the queue, the second one has one request and the last one has 0, then I'll take the third one. The idea is that the client seeks the server that has less requests in the queue allowing me to simultaniously serve multiple lollms clients.

This could be really helpful.

Also, if you can add lollms to the list of frontends that can use ollama server it would be cool:
[LoLLMS](https://github.com/ParisNeo/lollms-webui).

Thanks
Repository: ollama
Issue: Rate limit download speed on pulling new models
Labels: networking

Is there interest in implementing a rate limiter in the `pull` command? I'm open to working on this, this is the syntax I have in mind for now:

`ollama pull modelname --someflagname 1024` <-- this would limit to 1024 kbps

I took a look at the code in server/download.go, and I think I can do this with the x/time/rate applied to the downloadChunk method of the blob downloader.

This feature, or something like this that accomplishes this would be quite useful for me. Ollama is able to saturate my network faster than bit torrent or anything else I've tried.
Repository: vscode
Issue: Main window has incorrect size when Windows PC returns from sleep
Labels: bug,upstream,windows,electron,multi-monitor

<!-- ⚠️⚠️ 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.85.1
- OS Version: 10.0.22631

Steps to Reproduce:

1. Have two screens with different resolution
2. Maximize vscode window
3. Let PC sleep.
4. When PC comes back from sleep, vscode window is incorrectly sized, matches the resolution of the second screen, even though the higher resolution screen is the primary desktop and vs was opened there.

Very minor issue, just thought of reporting it.
Repository: storybook
Issue: Bug: Sandbox versions lag behind because they are only generated daily
Labels: bug,cli

When running `npx storybook@next sandbox` or `npx storybook@latest sandbox`, we download the `after-storybook` directory from the sandbox git repo.
However that repo is only kept up-to-date once a day, meaning that if a new version is released of Storybook, up to 24 hours will pass before that version is generated with the `sandbox` command.
 
This has always been like this, but it's now a more apparent issue, because the sandbox CLI will output this:

![image](https://github.com/storybookjs/storybook/assets/5678122/67bd4793-4f45-4e59-bdb8-1db8f5e32be4)

But then in fact generate an `alpha.9` sandbox.

One fix would be to trigger sandbox generation at the end of every version publish. We could trigger the GH workflow so it wouldn't block the publish workflow from completing and it wouldn't cause it to fail either.

Should we do this for all releases or only stable releases?

We could also ignore this and accept that it just is like this.
Repository: next.js
Issue: Hydration error at the initial load of Learn Next.js Chapter 11
Labels: examples

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Learn Next.js 14 course 
Chapter 11: https://nextjs.org/learn/dashboard-app/adding-search-and-pagination#starting-code
next.js v14.0.2
```


### Which example does this report relate to?

/app/ui/search.tsx

### What browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_

### Describe the Bug

In Chapter 11, after updating the file /app/dashboard/invoices/page.tsx as described in the Starting code section, the app starts showing the error: "Hydration failed because the initial UI does not match what was rendered on the server." The error consistently appears when the user reloads the page. The error stops if the Search component is edited to remove the placeholder prop from the Search component. Is this error expected, or is there a way to fix it?

### Expected Behavior

Do not display the error when the URL is reloaded or accessed directly

### To Reproduce

Run the Learn Next.js course. 
Visit http://localhost:3000/dashboard/invoices
Repository: flutter
Issue: [shared_preferences] Provide API to detect/handle corrupt settings
Labels: p: shared_preferences,package,c: proposal,team-ecosystem,P2,triaged-ecosystem

### Use case

Sometimes a file corrupts, it just hapens. However shared_preferences completely crashes in this case. This is on its own is not bad, however it provides the application no reasonable action to resolve the situation. The only solution is to crash, and leave the user unable to start the application.

### Proposal

shared_preferences should allow for resetting the preferences, which can be used in case of corrupt settings. Optionally, backup/restore functionality would be nice, but this may be out of scope.
Repository: yt-dlp
Issue: Alias option name conflicts with longer existing option name when placed at the end of command
Labels: bug

### 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 reporting a bug unrelated to a specific site
- [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 checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [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 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)

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

I have an alias in my configuration file like so:
`--alias srt '--skip-download --write-subs --sub-langs en.* --convert-subs srt'`
When I run `yt-dlp --srt "URL"` it works as expected. However, when I put `--srt` at the end, yt-dlp thinks I'm using short-hand notation for `--srt-langs`.
Clearly this isn't much of an issue since the alias (in this case `--srt`) can be placed somewhere else instead of the end, but I thought it was worth reporting this anyway.

### Provide verbose output that clearly demonstrates the problem

- [X] 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
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
$ yt-dlp -vU 7DKv5H5Frt0 --srt
Usage: yt-dlp.exe [OPTIONS] URL [URL...]

yt-dlp.exe: error: --srt-langs option requires 1 argument
```
Repository: godot
Issue: StyleBoxFlat antialiasing not applied with corner radius 0
Labels: enhancement,topic:gui

### Tested versions

4.2.1.stable

### System information

macOS 14.2.1

### Issue description

![Screenshot 2024-01-15 at 17 29 16](https://github.com/godotengine/godot/assets/17763524/37bd7fa3-f710-4071-a347-914d8b8dd3e8)

StyleBoxFlat has an [anti-aliasing setting](https://docs.godotengine.org/en/latest/classes/class_styleboxflat.html#class-styleboxflat-property-anti-aliasing) that adds a little blurry fade around the edge, helping to make rounded corners look nicer. But as you can see above it also affects the straight parts of the border.

However, the issue I'm encountering is that the antialiasing only seems to be rendered if the StyleBox has at least one non-zero corner radius. So in the example above the border settings and antialiasing settings are exactly the same, but as you can see the border renders quite differently with a single 1 px corner radius difference to the right.

In the documentation it says
`
Antialiasing draws a small ring around the edges, which fades to transparency. As a result, edges look much smoother. This is only noticeable when using rounded corners or skew.
`
Which might imply that it was assumed antialiasing wouldn't make any difference on a sharp-edge stylebox, so the anitaliasing is just skipped. But as you can see this is not really true, and the current implementation makes it difficult to get the same appearance of styleboxes with and without rounded corners even if they have the same border and anti-aliasing settings.

What I would have expected would be to have antialiasing applied the same with all corner 0 radius and have the lines and corners in this case appear like the zero-radius corners in the right example above.

### Steps to reproduce

- Add a control with a StyleBoxFlat, for example a Panel
- Set the theme override panel Stylebox to be a new stylebox and set it to have a black 1 px border and 0 corner radius with antialiasing on (turn it up a little if you want a clearer effect).
This should now look like the box to the left above.

- Zoom in so you can see the border rendering clearly and toggle one of the corner radius parameters between 1 and 0 and observe the entire edge vary in appearance.

### Minimal reproduction project (MRP)

Any stylebox will do, I do not think this is renderer or project specific.
Repository: angular
Issue: migration from 16 to 17 ignores SSR change from ngExpressEngine to commonEngine
Labels: P3,area: docs

### Describe the problem that you experienced

In Angular 17, ngExpresssEngine has been replaced by commonEngine, and server.ts needs to be changed to use the latter

### Enter the URL of the topic with the problem

https://update.angular.io/?l=3&v=16.0-17.0

### Describe what you were looking for in the documentation

A checkbox stating taht I have to check that server.ts uses commonEngine in place of ngExpressEngine

### Describe the actions that led you to experience the problem

_No response_

### Describe what you want to experience that would fix the problem

_No response_

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

_No response_
Repository: material-ui
Issue: [joy-ui][FormControl] FormControlContext nor a useFormControl hook are not exposed 
Labels: on hold,package: joy-ui

### Duplicates

- [X] I have searched the existing issues

### Summary

Joy FormControlContext is not exposed in the library and it does not allow custom components to leverage the FormControl chain, agnostic to the component is has internally. 

[@mui/material](https://github.com/mui/material-ui/blob/master/packages/mui-material/src/FormControl/index.js), [@mui/base](https://github.com/mui/material-ui/blob/master/packages/mui-base/src/FormControl/index.ts) and [@mui/material-next](https://github.com/mui/material-ui/blob/master/packages/mui-material-next/src/FormControl/index.ts) expose it, either via useFormControl or useFormControlContext, but [@mui/joy](https://github.com/mui/material-ui/blob/master/packages/mui-joy/src/FormControl/index.ts) does not.

### Motivation

This can be a good feature to make all libraries consistent in the same feature set for the FormControl component. Right now, in joy is it not possible to leverage the FormControl component with a custom Form element. 

**Search keywords**:
Repository: deno
Issue: Deno.stdin.setRaw throw error in GitBash Windows
Labels: bug,windows,runtime

While try to reproduce this issue https://github.com/denoland/deno/issues/21837

After running this in Git Bash in windows (works in powershell)
```js
let a = new Uint8Array(2), b = new Uint8Array(2)
Deno.stdin.readSync(a)
Deno.stdin.setRaw(true)
Deno.stdin.readSync(b)
console.log(a)
console.log(b)
```
setRaw throw errors.
```
error: Uncaught Error: The handle is invalid. (os error 6)
Deno.stdin.setRaw(true);
           ^
    at Stdin.setRaw (ext:deno_io/12_io.js:256:9)
```
Repository: flutter
Issue: [pigeon] Support for Float32List
Labels: c: new feature,package,c: proposal,team-ecosystem,p: pigeon,P2,triaged-ecosystem

### Use case

I am working on a Flutter project where I would like to use pigeon and handle floating-point data, specifically using Float32List. 
According to the [pigeon documentation](https://pub.dev/packages/pigeon) "it supports [any datatype platform channels support](https://flutter.dev/docs/development/platform-integration/platform-channels#codec)", and that should include the Float32List. However, practical usage indicates that this is not the case. Attempts to use Float32List result in compilation errors or unexpected behavior.

There are multiple alternatives to using the float32list directly, but i think the optimal solution would be the inclusion of support for Float32List in Pigeon. This addition would streamline the integration of Flutter with native code, providing a more straightforward and efficient way to handle 32-bit floating-point arrays.

### Proposal

Use Float32List in pigeon like you would use any other datatype the platform channels support.
Repository: godot
Issue: HotReload with threads causes crashes
Labels: bug,topic:gdscript,topic:editor,crash

### Tested versions

4.2.x

### System information

Windows 10

### Issue description

If you have multiple (looping) background threads, hot reloading seems to corrupt the Script VM state. This results in all manner of strange errors. I have seen:

- Method [corrupted string] does not exist on SceneTree
- Bad address
- Invalid opcode
- outright crash

With a single thread this is quite rare. With the 5 threads in the demo project I get it quite consistently.

### Steps to reproduce

- Run the attached demo project
- Change some code in the Thread.gd file
- 90% chance of a crash/error

### Minimal reproduction project (MRP)

[Thread.zip](https://github.com/godotengine/godot/files/13941778/Thread.zip)
Repository: godot
Issue: SceneTree rename popup reappears when triggering rename shortcut in different dock tab
Labels: bug,topic:editor,topic:input

### Tested versions

v4.3.dev.custom_build [9e65c5c0f4f8944d17fc7f5b05682206e9348d81]

### System information

Godot v4.3.dev (9e65c5c0f4f8944d17fc7f5b05682206e9348d81) - Windows 10.0.22621 - Vulkan (Forward+) - dedicated AMD Radeon RX 6900 XT (Advanced Micro Devices, Inc.; 31.0.22017.5002) - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)

### Issue description

The rename popup in the scene tree reappears when the rename shortcut is triggered inside another dock tab:

https://github.com/godotengine/godot/assets/26153311/07cce01f-923b-4f53-89dd-5a8973627b07

Not sure how it was intended to work here: not showing the popup at all, or switching to the scene tree and showing the popup?



### Steps to reproduce

1. Select a node in the scene tree and press the rename shortcut (F2).
2. Switch to another tab (i.e. Import).
3. Press the rename shortcut again: the popup will reappear.

### Minimal reproduction project (MRP)

N/A
Repository: PowerToys
Issue: Custom File Properties
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

Please consider adding a utility to facilitate adding custom file properties, or perhaps renaming/reusing existing properties. (there are likely many that are rarely used by most users). Users collect many files. In my use case, I collect check images from our customers. I'd like to have properties for amount and check number so I can quickly locate a file in a folder. I don't want to have to store the file in a spreadsheet or other additional product. Of course, there are many other applications of this enhancement.

### Scenario when this would be used?

In my case, in an accounting department. 

### Supporting information

There are so many use cases where customized file properties could be useful.
Repository: godot
Issue: Size Handle Gizmos missing in main editor window in a 3D scene when Script Editor is floating or not docked.
Labels: bug,topic:editor,topic:3d

### Tested versions

- noticed in v4.1.2.stable.official [399c9dc39]

### System information

Godot v4.1.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GT 710 (NVIDIA; 30.0.14.7347) - Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 Threads)

### Issue description

Certain objects like CSGBox3D, CollisionShape3D have no sizing handles if the Script Editor is a floating window.

### Steps to reproduce

In new project, create Node3D.
Create CSGBox3D, sizing handles are visible in the main editor window. 
Undock the Script Editor.
Deselect and re-select the CSGBox3D in the main editor window, and sizing handles are no longer visible.
Close floating Script Editor window.
Deselect and re-select the CSGBox3D and sizing handles are now visible.
![Screenshot 2024-01-15 114104](https://github.com/godotengine/godot/assets/156710457/7803ecd2-17f6-4210-9200-b0308b912413)
![Screenshot 2024-01-15 114148](https://github.com/godotengine/godot/assets/156710457/4f03f09c-1136-4398-942f-2dd1e5448261)
![Screenshot 2024-01-15 113918](https://github.com/godotengine/godot/assets/156710457/d0b8cd1e-e39e-43be-988f-67c2c6f93b2e)


### Minimal reproduction project (MRP)

[BugReportingSizeHandles.zip](https://github.com/godotengine/godot/files/13942530/BugReportingSizeHandles.zip)
Repository: vscode
Issue: Show best match to open file when not match found
Labels: feature-request,terminal-links



<!-- ⚠️⚠️ 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. -->

Very often, when I have an error in ruby, I click twice to select the source of the file and the line number of the source of the problem to open in Visual Code. I hit "CTRL+P" to open the file and past what I copied.
This is how it goes:

<!-- Describe the feature you'd like. -->
![Screenshot-119](https://github.com/microsoft/vscode/assets/3603111/028b65e3-f246-4ac7-b52c-9cf80fa7fa45)

Every time I paste, I have to delete the part after the number file:

```
/home/osboxes/w/pricing-update2/app/lib/scraper/sharp/plan_harness.rb:569:in
# I have to delete ":in"
/home/osboxes/w/pricing-update2/app/lib/scraper/sharp/plan_harness.rb:569
```

![Screenshot from 2024-01-15 17-04-00](https://github.com/microsoft/vscode/assets/3603111/c218f4c5-3119-47a0-8217-e64ec2c5b9cc)

What I want is to have the best match of the file available to click and open when "No matching result is found". It could show "best match alternative".
Repository: PowerToys
Issue: File Explorer add-ons: Generating .svg thumbnails do not work!
Labels: Issue-Bug,Product-File Explorer,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.77.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

File Explorer: Thumbnail preview

### Steps to reproduce

Since the latest update, it stopped generating .svg thumbnails. 
It was working before. 
I restarted my PC multiple times. Tried toggling on and off the option and restarted after. It doesn't help. 
The .svg files are local, not in any cloud folder, and their thumbnails were generated before. 
At present, it doesn't work.


### ✔️ Expected Behavior

Generating .svg thumbnails. 

### ❌ Actual Behavior

Does not generate .svg thumbnails. 

### Other Software

_No response_