sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: OpenConsole 1.21.2405.06002 doesn't work with Task Scheduler
Labels: Product-Conhost,Issue-Bug,Area-Build

### Windows Terminal version

1.21.1272.0

### Windows build number

10.0.19044.4291

### Other Software

Previously when you replaced `conhost.exe` with `OpenConsole.exe` there would be no problems, but now it breaks Task Scheduler, something between https://github.com/microsoft/terminal/compare/v1.20.11271.0...v1.21.1272.0. OpenConsole `1.20.2405.06001` works without fail.

### Steps to reproduce

1. Replace `conhost.exe` with `OpenConsole.exe` (`cp OpenConsole.exe /c/windows/System32/conhost.exe -f`)
1. Try to run a scheduled task
1. All scheduled tasks will result in `0xC0000142`
1. None actually properly run

### Expected Behavior

Should work as before.

### Actual Behavior

Tasks don't run.
Repository: excalidraw
Issue: Preventing Color Changes in drawio SVGs When Switching to Dark Mode
Labels: enhancement,dark-theme

I am very grateful for your efforts. Excalidraw has always been a tool I am very satisfied with. However, I have recently encountered a small problem.

When I import a drawio SVG in excalidraw, switching to dark mode completely changes the color of the drawio SVG. Is there any way to prevent this from happening?
![image](https://github.com/excalidraw/excalidraw/assets/41460494/90e0e3ae-9c4f-4fa1-b09a-0faece8aa2b4)
![image](https://github.com/excalidraw/excalidraw/assets/41460494/a1877a2e-b015-4375-a237-39e177f5dccc)
Repository: ollama
Issue: error loading model architecture: unknown model architecture: 'qwen2moe'
Labels: model request

### What is the issue?

Qwen1.5-MoE-A2.7B-Chat is installed by convert-hf-to-gguf.py according to the process. After 4-bit quantization, ollamamodelfile is created, but it is not supported when loading. What is the cause of this?

### OS

Windows

### GPU

Nvidia

### CPU

AMD

### Ollama version

0.1.32
Repository: ollama
Issue: The model does not output correctly in Ollama, but it works fine in LM Studio.
Labels: bug

### What is the issue?

I use a small data set to fine-tune the model, and then load it into Ollama. It will speak nonsense, but if I load it into LM Studio, it can be used normally. What is the reason for this? Is there anything that needs to be adjusted?

![image](https://github.com/ollama/ollama/assets/130421680/a1d34eae-a765-4de2-a959-87356eff89f9)
![image](https://github.com/ollama/ollama/assets/130421680/719fca9d-5949-4eaf-b5e7-df333a772f99)


### OS

Windows

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.1.34
Repository: pytorch
Issue: [DTensor][Tensor Parallel] transformer test numerical issue when `dtype=torch.float32`
Labels: triage review,oncall: distributed,triaged,module: dtensor

### 🐛 Describe the bug

The transformer test is at https://github.com/pytorch/pytorch/blob/eb93307dd3ad64b661759e13164535a76496031d/test/distributed/tensor/parallel/test_tp_examples.py#L190

The test passes if we use batch size = 8, sequence length = 8, ModelArgs.dim = 16. For other settings, it can easily fail due to numerical discrepancies between single-GPU and 4-GPU runs.

The problem disappears if we change parameter type to `torch.float64`.

Note:
For fp64, math attention backend will be used, and DTensor doesn't fully support it yet. (One needs to apply some trick to enable the test.)
For fp32, memory-efficient attention backend will be used which is now supported by DTensor.

The numerical issue persists even if we remove attention modules, so seemingly it's not caused by memory-efficient attention.

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @wconstab @yf225 @chauhang @d4l3k @msaroufim
Repository: godot
Issue: Project settings's filter settings doesn't seem very accurate in some cases
Labels: bug,topic:editor

### Tested versions

Godot v4.3.dev (7cdad3331)

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3619) - 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 Threads)

### Issue description

When searching for some settings I found the result might be confusing at first galance, while there is not many project settings and I always can find it manually, IMHO there is room for improvement. I suspect it has something to do with the filering algorithm (so editor setting panel suffers from this inconvience too)

When search for `xr`, I hope the xr part is filtered out and brought to top:

![image](https://github.com/godotengine/godot/assets/8315986/d3bc771a-b1a8-4a72-a88b-358b24890666)


When search for `open`:

![image](https://github.com/godotengine/godot/assets/8315986/29b7075d-f5a1-4cf4-a1d4-a150c733b755)

When search for `Window`, a little weird because it gave me serveral wrong alternatives and they contain nothing, like the image below, the display server is shown but it has nothing inside :

![image](https://github.com/godotengine/godot/assets/8315986/24355fa8-ece9-497c-a406-80f9f5ae661e)

Note there is another problem here, display server belongs to advanced setting but it also showed here.

### Steps to reproduce

Open project settings panel, search for something and observe. 

### Minimal reproduction project (MRP)

N/A
Repository: next.js
Issue: [Parallel and Intercepted Dynamic Routes] Will intercept normal routing
Labels: bug,Parallel & Intercepting Routes

### Link to the code that reproduces this issue

https://github.com/lmy1991/nextgram

### To Reproduce

1.Click on the search block
2.Search route intercepted

### Current vs. Expected behavior

1.Click on the search block
2.The search route will not be intercepted and will redirect normally to the search details page

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
  Available memory (MB): 32495
  Available CPU cores: 16
Binaries:
  Node: 18.17.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.3.0-canary.22 // There is a newer canary version (14.3.0-canary.45) available, please upgrade!
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.5
Next.js Config:
  output: N/A
 ⚠ There is a newer canary version (14.3.0-canary.45) available, please upgrade!
   Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
   Read more - https://nextjs.org/docs/messages/opening-an-issue
```


### Which area(s) are affected? (Select all that apply)

Parallel & Intercepting Routes

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

_No response_
Repository: angular
Issue: Hello world tutorial is broken in several ways
Labels: P2,area: docs-infra

### Describe the problem that you experienced

It appears that the current release of the hello world tutorial has a TON of issues; from parts of code snippets being missing in the step-by-step instructions, to missing files (package.json, etc...) in the downloaded zip files.  I highly recommend someone from the Angular team go try to follow that tutorial right now (using the local development approach; not the browser-based approach, but both seem to be broken in various ways).

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

https://angular.dev/tutorials/first-app/01-hello-world

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

I was looking for a "getting started" tutorial to refresh my Angular knowledge and learn how Angular apps are structured with the new version (v17) of Angular.  The last version I used was v13; and I've read and watched videos on all the new, great stuff you guys have been working on (standalone components, strictly typed reactive forms, etc...).  So I wanted to get some hands-on experience.

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

- I navigated to https://angular.dev and selected "Tutorials" on the left sidebar.
- I selected "Start coding" under the "Build your first Angular app locally via npm", because I would rather use my own IDE.
- Started following the steps and was met with issue after issue.

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

The steps should accurately describe how to follow the tutorial and have successful outcomes, obviously.

### 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

```true
Using the latest version of Chrome and/or Firefox, VS Code, Node v20, npm v10, and Angular 17.
```


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

_No response_
Repository: pytorch
Issue: Improve oneDNN memory alloction performance for pytorch Windows
Labels: module: performance,module: windows,module: cpu,triaged,intel

### 🐛 Describe the bug

We have optimized pytorch memory alloction performance for pytorch Windows, 
please take reference: https://github.com/pytorch/pytorch/issues/102534.
But oneDNN still use Windows system malloc to get temprary buffer, it would be a performance bottle nick. I have submiited a issue(proposal) in oneDNN: https://github.com/oneapi-src/oneDNN/issues/1898 
Here also create a issue to tracking status.

### Versions

NA

cc @msaroufim @peterjc123 @mszhanyi @skyline75489 @nbcsm @vladimir-aubrecht @iremyux @Blackhex @cristianPanaite @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
Repository: kubernetes
Issue: CPUStats.UsageCoreNanoSeconds is inaccurate on windows - 1/10 of the real value.
Labels: kind/bug,sig/windows,lifecycle/stale,needs-triage

### What happened?

The CPU utilization metrics from Kubelet summary API  [`CPUStats.UsageCoreNanoSeconds`](https://github.com/kubernetes/kubernetes/blob/79470526896f8b6ca744c29109bc3455c1a9d199/staging/src/k8s.io/kubelet/pkg/apis/stats/v1alpha1/types.go#L224C2-L224C22) is not accurate on Windows. The value is only 1/10 of the real value which I have other VM level metrics as a proof.

## summary API CPU utilization metric

![image](https://github.com/kubernetes/kubernetes/assets/14968376/f54a5e13-f6f7-4c6f-afc5-8e9704397600)

## VM CPU utilization metric

![image](https://github.com/kubernetes/kubernetes/assets/14968376/ddc08d96-4ef3-4a98-bda5-328ad864ce2e)



### What did you expect to happen?

The `CPUStats.UsageCoreNanoSeconds` should be accurate on Windows too.

### How can we reproduce it (as minimally and precisely as possible)?

```
$ kubectl get --raw "/api/v1/nodes/<NODE>/proxy/stats/summary"
```

T1
```
  "cpu": {
   "time": "2023-12-06T21:23:48Z",
   "usageNanoCores": 8000000,
   "usageCoreNanoSeconds": 20985800000000
  },
```

T2
```
  "cpu": {
   "time": "2023-12-06T21:24:38Z",
   "usageNanoCores": 8000000,
   "usageCoreNanoSeconds": 20986320000000
  },
```

(20986320000000 - 20985800000000)ns / 50s = 0.01 s/s
This matches the magnitude of the metric chart.

### Anything else we need to know?

This problem doesn't exist on Linux.

Call stack
- metric is set here by kubelet - https://github.com/kubernetes/kubernetes/blob/7fe31be11fbe9b44af262d5f5cffb1e73648aa96/pkg/kubelet/winstats/winstats.go#L118-L129
- the data collected by using windows perf counters - https://github.com/kubernetes/kubernetes/blob/7fe31be11fbe9b44af262d5f5cffb1e73648aa96/pkg/kubelet/winstats/perfcounter_nodestats.go#L206-L212
- query here - https://github.com/kubernetes/kubernetes/blob/7fe31be11fbe9b44af262d5f5cffb1e73648aa96/pkg/kubelet/winstats/perfcounters.go#L32

### Kubernetes version

<details>

```console
$ kubectl version
1.27
```

</details>


### Cloud provider

<details>
GKE
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: excalidraw
Issue: Feature Request: Double tap on the screen (!!not apple pencil, which is not currently possible!!) to toggle between eraser and the active tool while working with ipad
Labels: enhancement,mobile

Recently, I have been thinking about how to make toggling the eraser on the iPad more convenient, given that the double tap with Apple pencil doesn't work in excalidraw #5431 .

I wonder whether it's possible to use double tap on the screen(or a a two-finger double tap) to toggle between eraser and the active tool.

**Alternatives I've considered**
I have learned that "E" toggles between the eraser and the active tool. So a feature that allows to assign finger gestures with hotkeys will do the work.
Repository: vscode
Issue: Uncaught TypeError: Cannot read properties of undefined (reading 'element')
Labels: error-telemetry

```javascript
TypeError: Cannot read properties of undefined (reading 'element')
at L.element in src/vs/base/browser/ui/list/listView.ts:795:28
at h.element in src/vs/base/browser/ui/list/listWidget.ts:1601:20
at h.elementAt in src/vs/workbench/contrib/notebook/browser/view/notebookCellList.ts:322:15
at c.w in src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.ts:138:37
at HTMLDivElement.<anonymous> in src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.ts:86:33
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=b58957e67ee1e712cebf466b995adf4c5307b2bd&bH=0fc983f2-1584-7e75-9f3d-886fccaa05ec)
Repository: vscode
Issue: Cannot read properties of undefined (reading 'getLanguageIdByLanguageName')
Labels: error-telemetry

```javascript
TypeError: Cannot read properties of undefined (reading 'getLanguageIdByLanguageName')
at Object.codeBlockRenderer in src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.ts:79:41
at Y.codeBlockRendererSync.Y.codeBlockRenderer.X.code in src/vs/base/browser/markdownRenderer.ts:168:26
at X.parse in out-vscode/vs/workbench/vs/base/common/marked/marked.js:2404:1
at te.parse in out-vscode/vs/workbench/vs/base/common/marked/marked.js:2325:1
at Function.q [as parse] in out-vscode/vs/workbench/vs/base/common/marked/marked.js:2757:1
at a in src/vs/base/browser/markdownRenderer.ts:254:29
at u.render in out/vs/workbench/workbench.desktop.main.js:660:30407
at v.u in src/vs/editor/contrib/hover/browser/marginHoverWidget.ts:153:81
at v.t in src/vs/editor/contrib/hover/browser/marginHoverWidget.ts:139:9
at d.value in src/vs/editor/contrib/hover/browser/marginHoverWidget.ts:53:9
at s.y in src/vs/base/common/event.ts:1156:13
at s.fire in src/vs/base/common/event.ts:1187:9
at y.F in src/vs/editor/contrib/hover/browser/hoverOperation.ts:165:18
at y in src/vs/editor/contrib/hover/browser/hoverOperation.ts:109:9
at y.C in src/vs/editor/contrib/hover/browser/hoverOperation.ts:149:8
at F.a in src/vs/editor/contrib/hover/browser/hoverOperation.ts:67:89
at F.h in out/vs/workbench/workbench.desktop.main.js:152:20100
at F.g in src/vs/base/common/async.ts:1017:9
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=b58957e67ee1e712cebf466b995adf4c5307b2bd&bH=c3d089bc-8585-09af-fefe-f408894119a3)
Repository: flutter
Issue: [web] flutter driver options for testing across browsers are confusing
Labels: a: tests,t: flutter driver,platform-web,c: proposal,P3,team-web,triaged-web

### Use case

As a QA, i need test my flutter project on different web browser : MacOS chrome/firefox/safari/edge, Android chrome, IOS chrome.
But i can only execute flutter test case on MacOS chrome , other web browsers can't be called by native testing framework.

### Proposal

I wanna my flutter test case could run more web browser types.
Repository: excalidraw
Issue: Arrows not Auto Binding / ATTACHING on Shapes
Labels: Arrow Binding

Arrows used to work fine but after the update its not longer attaching to shapes which drives me insane. Please ADD the feature back.
Repository: pytorch
Issue: DefaultCPUAllocator: not enough memory in matrix multiplication broadcasting
Labels: triaged,module: complex

### 🐛 Describe the bug

I am trying to run a matrix multiplication code with trivial broadcasting. 

The following code 
```python
A = torch.load('A.pt') # of shape [1, 2048, 2048]
B = torch.zeros([1, 2048, 2048, 1], dtype=torch.complex64)
print(torch.matmul(A, B).shape)
```
will receive the error message at `torch.matmul`: 
RuntimeError: [enforce fail at alloc_cpu.cpp:114] data. DefaultCPUAllocator: not enough memory: you tried to allocate 68719476736 bytes.

The data is attached in A.zip.

However, if I add an extra  `clone()` to the first line, then the error will disappear. The following code 
```python
A = torch.load('A.pt').clone() # of shape [1, 2048, 2048]
B = torch.zeros([1, 2048, 2048, 1], dtype=torch.complex64)
print(torch.matmul(A, B).shape)
```
would print `[1, 2048, 2048, 1]` as desired.

So there might be bug for torch.matmul to require around 64 GB memory in this computation size. It is also strange that copying the data could avoid the problem.


### Versions

PyTorch version: 2.3.0+cpu
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 11 家庭中文版
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.10.14 | packaged by Anaconda, Inc. | (main, Mar 21 2024, 16:20:14) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22631-SP0
Is CUDA available: False
CUDA runtime version: 12.2.128
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3050 Ti Laptop GPU
Nvidia driver version: 529.19
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture=9
CurrentClockSpeed=2500
DeviceID=CPU0
Family=205
L2CacheSize=9216
L2CacheSpeed=
Manufacturer=GenuineIntel
MaxClockSpeed=2500
Name=12th Gen Intel(R) Core(TM) i5-12500H
ProcessorType=3
Revision=

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.3.0
[conda] mkl                       2021.4.0                 pypi_0    pypi
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] torch                     2.3.0                    pypi_0    pypi

cc @ezyang @anjali411 @dylanbespalko @mruberry @Lezcano @nikitaved @amjames
Repository: ant-design
Issue: 希望AntDesign的Tree组件支持sticky功能
Labels: 💡 Feature Request,Inactive

### What problem does this feature solve?

解决了父节点上滑时不可见的问题。现在很多主流编辑器(比如VS Code)的树形目录已经支持该功能。

### What does the proposed API look like?

比如支持属性sticky=true。具体效果见[react-virtualized-sticky-tree](https://github.com/marchaos/react-virtualized-sticky-tree?tab=readme-ov-file)的[在线示例](https://marchaos.github.io/react-virtualized-sticky-tree/)

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: storybook
Issue: [Bug]: Not possible to map complex types to different types with typescript and react
Labels: bug,needs triage

### Describe the bug

### Summary

I am having issues with mapping complex types to more usable args in storybook.

I created an example using one of your storybook examples and these are the props of the component

```ts
type User = {
  name: string;
};

interface HeaderProps {
  user?: User;
  onLogin?: () => void;
  onLogout?: () => void;
  onCreateAccount?: () => void;
}
```

I then do the mapping as shown in the docs 

```ts
const userOne = { name: 'Jane Doe' };
const userTwo = { name: 'John Smith' };
const userThree = { name: 'bobby' };

const users = { userOne, userTwo, userThree };

const meta = {
  ...
  argTypes: {
    user: {
      options: Object.keys(users),
      mapping: users,
      control: {
        type: 'radio',
      },
    },
  },
} satisfies Meta<typeof Header>;
```

I then render the story like so, which works for storybook and correctly renders `userOne`

```ts
export const LoggedIn: Story = {
  args: {
    user: 'userOne',
  },
};
```

However this throws a type error as `Type 'string' is not assignable to type 'User'.`.


### To Reproduce

https://stackblitz.com/edit/github-xzv4rz?file=src%2Fstories%2FHeader.stories.ts 

### System

```bash
Storybook Environment Info:

  System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.1 - ~/.nvm/versions/node/v18.19.1/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v18.19.1/bin/yarn
    npm: 10.2.4 - ~/.nvm/versions/node/v18.19.1/bin/npm
    pnpm: 9.0.5 - ~/.nvm/versions/node/v18.19.1/bin/pnpm <----- active
  Browsers:
    Chrome: 123.0.6312.87
    Edge: 124.0.2478.80
    Safari: 17.4.1
```


### Additional context

_No response_
Repository: PowerToys
Issue: [Monaco] CSP has no extension associated with it in `monaco_languages.json`.
Labels: Issue-Bug,External Dependency,Product-File Explorer,Product-Peek

### Microsoft PowerToys version

0.80.1

### Installation method

GitHub

### Running as admin

None

### Area(s) with issue?

File Explorer: Preview Pane, Peek

### Steps to reproduce

This piece of code in [`monaco_languages.json`](https://github.com/microsoft/PowerToys/blob/main/src/common/FilePreviewCommon/Assets/Monaco/monaco_languages.json).
```json
{
    "id": "csp",
    "extensions": [],
    "aliases": [
        "CSP",
        "csp"
    ]
}
```
It seems that `.csp` files were intended to be previewable. However since `extensions` is empty, they aren't.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: rust
Issue: Make clarifications for `binary_search` API
Labels: A-docs,T-libs,C-discussion

### Location

https://doc.rust-lang.org/std/primitive.slice.html#method.binary_search

### Summary

Documentation states, that 
```
If the slice is not sorted, the returned result is unspecified and meaningless.
```
but if we try to use binary search on something like `[5,4,3,2,1].binary_search(&5)` it will end up with error, though the slice is sorted in descending order. 
This either requires to fix docs to something like
```
If the slice is not sorted in ascending order, the returned result is unspecified and meaningless.
```
or fix actual binary search algorithm by flipping direction of search in case left and right bounds are flipped.
Repository: angular
Issue: devtools signal lookup incorrectly displays signal with empty string
Labels: area: devtools,cross-cutting: signals

### Which @angular/* package(s) are the source of the bug?

Devtools

### Is this a regression?

Yes

### Description

<img width="373" alt="image" src="https://github.com/angular/angular/assets/375027/9d9455e9-cf2b-47e5-997f-ececbcbc5e32">



### Please provide a minimal reproduction of the bug

just put this on a component:
`value = signal('')`

### Please provide the environment you discovered this bug in (run `ng version`)

```true
`@angular/core@17.3.4`
```
Repository: transformers
Issue: Refusal rejection removal as a feature
Labels: Feature request

### Feature request

It seems to be possible to add or remove 'intentions' or directions in trains of 'thought' in LLMs via a relatively easy method. They suggest both an on the fly measure and to simply change the weights. It's not perfect, but likely a useful tool. 
You could for example try to get rid of certain stereotypes by that method or make a model permanently 'smarter', i.e. reasoning more like an expert. 

### Motivation



[Refusal in LLMs is mediated by a single direction](https://www.lesswrong.com/posts/jGuXSZgv6qfdhMCuJ/refusal-in-llms-is-mediated-by-a-single-direction)

### Your contribution

Hope you have a nice day