sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: 境界線のないマウスが接続されない
Labels: Issue-Bug,Needs-Triage,Product-Mouse Without Borders

### Microsoft PowerToys version

v0.84.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

アンインストールしても接続されない

### ✔️ Expected Behavior

接続したい

### ❌ Actual Behavior

ノートパソコン側は正常に反応していて新しいキーの生成も問題なし
デスクトップ側のみ新しいキー生成にも反応せず接続確認もできない

### Other Software

_No response_
Repository: pytorch
Issue: [ONNX] Single model export for HF models prompt and token phase
Labels: module: onnx,triaged

### 🚀 The feature, motivation and pitch

The kv_cache is used only during the token phase, not during the prompt phase. As a result, the exported model currently works only with one of these phases, depending on the example_inputs provided. There is no direct way to export a model that supports both phases simultaneously.

Efforts have been made outside this project to address this issue, such as in [this pull request](https://github.com/huggingface/optimum/pull/1257) on the Hugging Face Optimum repository. It would be ideal to have this functionality supported natively by the exporter, allowing users to avoid extra dependencies and offering greater flexibility in modifying the source model before exporting.

cc @justinchuby, @xadupre, @titaiwangms, @shubhambhokare1 

### Alternatives

_No response_

### Additional context

_No response_
Repository: ant-design
Issue: 动态规则rules为空时，已校验出的错误无法被消除
Labels: help wanted,Inactive

### Reproduction link

https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-sr3vgc?workspaceId=f8c8b8be-9c36-4d85-adcf-c7766abab738

### Steps to reproduce

1. 选中昵称是否需要校验，此时会显示昵称的错误信息
2. 取消昵称是否需要校验，此时不会取消昵称错误信息
![image](https://github.com/user-attachments/assets/a90db864-685d-4565-ae32-ba09b35e40cb)


### What is expected?

当rules为空数组时，能正确的将错误信息去掉

### What is actually happening?

当rules为空数组时，无法移除已经校验的错误信息

| Environment | Info |
| --- | --- |
| antd | 4.24.16 |
| React | 17.x |
| System | mac os |
| Browser | chrome |

---
经过断点排查发现这个错误来自rc-form-field/src/useForm.ts#904 当rule为空时，无法不再触发校验逻辑。 代码如下

![app](https://github.com/user-attachments/assets/9cc7b3de-a244-4485-b44f-58e1e7dcc75d)

### 目前的临时解决方案
```

/**
 * 空规则标识
 * gai
 */
const EMPTY_RULE_SYMBOL = Symbol('EMPTY_SYMBOL');

/**
 * 为了规避rc-form-field的校验bug
 * 具体代码可以参考rc-form-field/src/useForm.ts#904
 * @returns
 */
export const createEmptyRule = (): any => {
  return {
    [EMPTY_RULE_SYMBOL]: true,
  };
};

// 需要为空时
setRules([createEmptyRule]);
```

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: I recommend adding a configuration item that ignores case when the user enters instructions
Labels: Needs-Triage

### Description of the new feature / enhancement

Want to be able to ignore case when typing instructions

### Scenario when this would be used?

 when typing instructions

### Supporting information

Current situation

![image](https://github.com/user-attachments/assets/630090b4-87f5-4bbc-9105-c5f2f853814b)
![image](https://github.com/user-attachments/assets/ff8027cf-23e1-4cb5-8982-d6e55d6adf1b)
Repository: tauri
Issue: [feat] When there are multiple webviews, how do I control the hierarchical relationship of each webview?
Labels: type: feature request,scope: unstable flag

### Describe the problem

After creating multiple webviews, I cannot control the hierarchical relationship of each webview. For example, I need A webview to be displayed above B, or C to be displayed above A webview.
note: This scenario is mainly used for menu webview and main webview. The menu webview needs to be always displayed on top of other webviews.

### Describe the solution you'd like

It can be controlled through settings, such as webview.level(2). The larger the value, the higher the level.

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: pytorch
Issue: automatic_dynamic_shapes for mark_unbacked
Labels: triaged,module: dynamic shapes

### 🐛 Describe the bug

@jansel and I talked about the exponential specialization problem from 0/1 specialization way back at the very beginning of PT2. Well, I've finally found a case of this actually happening in prod.

Internal xref: https://fb.workplace.com/groups/6829516587176185/posts/1509273649710841/

The example here is there are a number of tensor inputs, whose size ranges 0 - N. Usually these are well above 0/1, but very occasionally one of the inputs is 0/1. This triggers a recompilation. It happens rarely enough that a recompilation only happens  every few hours, and the compilation is relatively quick (so no NCCL timeout), so you end up with a lot of compiles.

Is there some way to potentially detect this situation and automatically mark mark_unbacked? Not sure...

### Versions

main

cc @chauhang @penguinwu
Repository: vscode
Issue: Misalignment of Running script with Output text in Terminal
Labels: bug,terminal,confirmation-pending,python

<!-- ⚠️⚠️ 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.93.1
- OS Version: Windows 10 Pro 22H2
- Screen resolution: 1366 x 768 (sharing as I don't have access to other resolutions or better hardware) 

Steps to Reproduce:

1. Open the sidebar and/or panel to see the output. 
2. Run a simple program.
3. Check the output for inconsistency with the Python run script and the output. 
4. Problem fixes itself if the size of the panel is adjusted by dragging the border. 

### Screenshots 
Before dragging:
![image](https://github.com/user-attachments/assets/cb61c9db-d747-4a3e-bfab-3dc7a09c7b75)

After dragging: 
![image](https://github.com/user-attachments/assets/9671de89-4e07-4cf9-94f3-d6907f054c43)

Same in sidebar: 
![image](https://github.com/user-attachments/assets/c42658f3-6c8d-4f66-a287-8ad9ccd7926f)

Sidebar after dragging: 
![image](https://github.com/user-attachments/assets/88f77ce6-364c-4f29-8100-77fa9f1c5c1b)

Code for the simple python program: 
```py 
import pandas as pd 
import numpy as np 

a = {'A':1, 'B':2, 'C':3, 'D':4}
s = pd.Series(a)
print(s)
```
Repository: flutter
Issue: Add date selection callbacks to the DatePickerDialog and DateRangePickerDialog
Labels: c: new feature,framework,f: material design,waiting for PR to land (fixed),f: date/time picker,c: proposal,P3,team-design,triaged-design

### Use case

The date selection callbacks are missing from the date picker dialogs.

### Proposal

1. Expose the `onDateChanged` callback from **CalendarDatePicker** to **DatePickerDialog**.
2. Expose `onStartDateChanged` & `onEndDateChanged` from **DateRangePickerDialog**.
Repository: create-react-app
Issue: 
Facebook appa
Labels: needs triage

If you have a general question about Create React App or about building an app with Create React App we encourage you to post in GitHub Discussions instead of this issue tracker. The maintainers and other community members can provide help and answer your questions there: https://github.com/facebook/create-react-app/discussions

If you're looking for general information on using React, the React docs have a list of resources: https://reactjs.org/community/support.html

If you've discovered a bug or would like to propose a change please use one of the other issue templates.

Thanks!
Repository: pytorch
Issue: tensor.triu_(1) not working properly with large matrix
Labels: high priority,module: cuda,triaged,module: 64-bit,module: linear algebra,module: correctness (silent),module: python frontend

### 🐛 Describe the bug

Ideally, tensor.triu_(1) should fill lower triangular part with 0. However, it fails to do so when the matrix is large. For example:
```
q_len = 100000
causal_mask = torch.full((q_len, q_len), float('-inf')).to(device='cuda')
causal_mask.triu_(1)  # Fill lower triangular part with 0
```
result:
```
tensor([[0., -inf, -inf,  ..., -inf, -inf, -inf],
        [0., 0., -inf,  ..., -inf, -inf, -inf],
        [0., 0., 0.,  ..., -inf, -inf, -inf],
        ...,
        [-inf, -inf, -inf,  ..., -inf, -inf, -inf],
        [-inf, -inf, -inf,  ..., -inf, -inf, -inf],
        [-inf, -inf, -inf,  ..., -inf, -inf, -inf]], device='cuda:0')
```
The first row that is not started with 0 is 42950.

### Versions

Collecting environment information...
PyTorch version: 2.1.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.29.6
Libc version: glibc-2.35

Python version: 3.10.14 (main, May  6 2024, 19:42:50) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-4.19.91-014.15-kangaroo.alios7.x86_64-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA A100-SXM4-80GB
Nvidia driver version: 535.54.03
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU: skipped

Versions of relevant libraries:
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] open_clip_torch==2.26.1
[pip3] torch==2.1.2
[pip3] torchvision==0.16.2
[pip3] triton==2.1.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] open-clip-torch           2.26.1                   pypi_0    pypi
[conda] torch                     2.1.2                    pypi_0    pypi
[conda] torchvision               0.16.2                   pypi_0    pypi
[conda] triton                    2.1.0                    pypi_0    pypi

cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @ptrblck @jianyuh @nikitaved @pearu @mruberry @walterddr @xwang233 @Lezcano @albanD
Repository: godot
Issue: Unhelpful error: Cannot assign contents of "Array[Object]" to "Array[Object]".
Labels: bug,topic:core,topic:gdscript

### Tested versions

v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 670 (NVIDIA; 30.0.14.7514) - Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (8 Threads)

### Issue description

This issue is about two related things:

1. An error message that is not helpful in determining what the actual problem with the code is.
2. A difference in behavior between 4.3 and 4.2.2 for the same code.
    - Namely that 4.2.2 either runs without an error or gives a more helpful error, while 4.3 always gives an unhelpful error.

To save/load data to/from disk, I'm converting a dictionary to bytes using `var_to_bytes()` and then converting it back with `bytes_to_var()`. One of the dictionary's keys is of type `Array[Animation]`. I get an error when trying to assign an `Array[Animation]` variable to have the same value as this key from the `bytes_to_var()` dictionary.

Godot v4.3.stable.official [77dcf97d8] gives the following error, which is not very helpful in explaining what the problem is:
```
E: Cannot assign contents of "Array[Object]" to "Array[Object]".
  <C++ Error>    Method/function failed.
  <C++ Source>   core/variant/array.cpp:245 @ assign()
```

Running the same code in Godot v4.2.2.stable.official [15073afe3] works without any error.

But if I use a custom Resource instead of a built-in one, 4.2.2 also gives an error, but it is different and helped me realize that the converted variable wasn't what I was expecting it to be:
```
E: Attempted to assign an object of type 'EncodedObjectAsID' into a TypedArray, which does not inherit from 'Resource'.
  <C++ Error>    Condition "!ClassDB::is_parent_class(object->get_class_name(), class_name)" is true. Returning: false
  <C++ Source>   core/variant/container_type_validate.h:129 @ validate_object()
```

I understand that the problem with my code is that I didn't allow Objects to be converted to/from bytes. But the error in 4.3 was not helpful to me in understanding what was going wrong. And also there also seems to be a difference in behavior with the code working without complaint in 4.2.2 but giving an error in 4.3.

### Steps to reproduce

Run code in MRP using Godot 4.3 to see error in debugger. My code was using a custom Resource but I still get the error in 4.3 with the code below.

### Minimal reproduction project (MRP)

```gdscript
var dict := {}
var arr: Array[Animation] = []
dict.some_key = arr
var bytes = var_to_bytes(dict)
var new_dict: Dictionary = bytes_to_var(bytes)
var new_arr: Array[Animation] = Array(new_dict.get("some_key", []), TYPE_OBJECT, &"Animation", Animation)
```
Repository: godot
Issue: Error: Couldn't load project data at path ".". occurring to someone trying to play my browser only game on itch.io
Labels: platform:web,needs testing,topic:export

### Tested versions

Verson 4.3

### System information

Godot v4.3.stable - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3070 Ti (NVIDIA; 32.0.15.6081) - 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz (16 Threads)

### Issue description

This issue has only happened to one person who has tried playing my game on itch.io in Chrome and OperaGX. 

The game is not downloadable and is only available to play in the browser. 
The project file was not changed after I submitted it to the game jam.

They posted this screenshot showing the error:
![image_2024-09-25_162158886](https://github.com/user-attachments/assets/40d57c9e-85f7-4980-b82d-9719e16e13e2)

I'm new to game development and the engine so apologies in advance if I've done this incorrectly

### Steps to reproduce

Unsure of steps as this has only occurred once with one person. No one else seems to have this issue. 


### Minimal reproduction project (MRP)

N/A
Repository: ant-design
Issue: FloatButton Group 不支持尺寸设置或者自动撑开，导致内容超过以后无法全部显示
Labels: Inactive,improvement

### What problem does this feature solve?

https://stackblitz.com/edit/react-kcgl2x?file=demo.tsx


现在FloatButton group的 ant-float-btn-body size是写死的，固定32px，.ant-float-btn-icon 也是写死的18px ，无法自适应,，也无法设置， 如果内容超出就很难看



可以看上面demo代码效果

要解决只能是覆盖css


 

![image](https://github.com/user-attachments/assets/0cc7a9fb-6005-456d-845d-cc76e08e9104)

![image](https://github.com/user-attachments/assets/491d2665-f467-405c-bef8-10469c7046a5)


![image](https://github.com/user-attachments/assets/3bc21568-2c55-4a17-a97c-d4e9d9b13f6f)


### What does the proposed API look like?

1 自适应内容
2 或者可以设置 .ant-float-btn-body  .ant-float-btn-icon 的 style

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: node
Issue: UV_USE_IO_URING does not update file handle position
Labels: confirmed-bug,fs,libuv,linux

I suspect possible regression. Not sure what version but must have been recent:

```js
await stream.promises.pipeline(src, fs.createWriteStream(dstPath))
```

Will not create a full sized file. I suspect that since `createWriteStream` doesn't explicitly set `position` during writes it expects the file handle position to be properly updated, which does not seem to be the case with URING.
Repository: rust
Issue: incorrect revision syntax is silently accepted
Labels: C-enhancement,T-bootstrap,A-compiletest

https://github.com/rust-lang/rust/blob/1b5aa96d6016bafe50e071b45d4d2e3c90fd766f/tests/ui/traits/coherence-alias-hang.rs#L1-L5

This test never actually tests the new solver. It has to be `//@[next] compile-flags: -Znext-solver`. We should lint here ✨
Repository: flutter
Issue: DropdownMenu.didUpdateWidget should re-match initialSelection when dropdownMenuEntries have changed
Labels: framework,f: material design,c: proposal,P3,workaround available,team-design,triaged-design

### Use case

In my use case, the ` DropdownMenu.dropdownMenuEntries` are asynchronously fetched from the database and assigned after the Future has been resolved. The `initialSelection`, however, has already been set in the first build cycle.

The problem lays in that in `DropdownMenu.didUpdateWidget()`, where the `initialSelection` is not matched again against the updated menu entries. See https://github.com/flutter/flutter/blob/9d42f826d71b1b9beb2d8c07bcdad731ba78968d/packages/flutter/lib/src/material/dropdown_menu.dart#L552-L557

This will lead to an empty field not showing the matching `initialSelection`, but yet showing a correct list of items in the dropdown. Quite confusing...

Finding out the cause after debugging, I use the following, hopefully temporary, workaround:
```
DropdownMenu<String>(
  initialSelection: items.isEmpty ? null : _selectedItem ?? widget.item,
  ... etc
)
```

### Proposal

I would like the `initialSelection` to be matched again against the new value set for `dropdownMenuEntries` as is done when the intialSelection has changed. See https://github.com/flutter/flutter/blob/9d42f826d71b1b9beb2d8c07bcdad731ba78968d/packages/flutter/lib/src/material/dropdown_menu.dart#L561-L569

IMHO this should be provided by Flutter directly.
Repository: rust
Issue: Github sometimes closes issues that have been re-opened
Labels: T-infra,A-meta

When a commit contains the magic words `Fixes #xxx`, if that commit gets pushed to a repo by someone with permissions to close rust-lang issues, the issue will be closed. (I don't know the exact requirements, but it's something like this.) When a PR has these magic words in the PR description, that gets added to the merge commit message, and causes the same issue. This can lead to accidental issue closure when such a commit gets merged into our repo, then the issue gets reopened, and then the commit gets pushed somewhere.

I've seen this a few times over the last years. The most recent one is https://github.com/rust-lang/rust/issues/102048.

@rust-lang/infra is there anything we can do here? Like disable the "auto close based on commit message" feature (but keep it for PR descriptions!)? If not, maybe this could be added to the wishlist for the next meeting you have with Github people.
Repository: ollama
Issue: Support loading concurrent model(s) on CPU when GPU is full
Labels: feature request

### What is the issue?

I deployed the qwen2.5:72b-instruct-q6_K model, which occupies 4*3090 and a total of 75G GPU memory. When I use llama3:latest, it will not use RAM and CPU (755G/128 core), it will unload qwen2.5:72b-instruct-q6_K and load llama3:latest to GPU, even though qwen2.5:72b-instruct-q6_K is in use at this time.

### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.1.10
Repository: tauri
Issue: [feat] 避免每次从网络上拉取资源，有必要做的脚本优化
Labels: type: feature request

### Describe the problem

网络的不稳定性会，打包过程中由于拉取资源需访问网络导致速度很慢或被中断

### Describe the solution you'd like

动态生成的build_appimage.sh中多处都是需要从网络上拉取资源，尤其是从raw.githubusercontent.com拉取镜像资源，导致中国国内用户因为国家防火墙问题无法继续。
希望提供资源的可选下载地址，并且拉取资源可选择由本地复制。

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: 快捷键指南功能，显示的指南都是英文的
Labels: Needs-Triage

### Description of the new feature / enhancement

指南显示的文本会智能根据当前语言翻译过来

### Scenario when this would be used?

快捷键指南

### Supporting information

_No response_
Repository: go
Issue: runtime: make `injectglist` starting spinning m
Labels: Performance,NeedsInvestigation,compiler/runtime

### Proposal Details

Can we set the parameter `spinning` of the `runtime.startm` function be set to true by default to make full use of spinning ms to run tasks and avoid additional thread wake up, such as `runtime.injectglist` and `runtime.handoffp`?
Repository: three.js
Issue: WebGPURenderer: BatchedMesh triangles aren't reported in renderer.info.render.triangles
Labels: Bug

### Description

Currently BatchMesh didnt report his triangle number correctly which can be inconvenient for debugging. 

As see in this example the renderer.info.render.triangles isnt updated correctly : https://jsfiddle.net/15k3c4xb/15/

### Reproduction steps

1. add a batchmesh to the scene
2. log the renderer.info.render.triangles

### Code

```js
import * as THREE from 'three'
import { OrbitControls } from 'three/addons/controls/OrbitControls.js'
let mesh, renderer, scene, camera, controls

init()

function init() {
	// renderer
	renderer = new THREE.WebGPURenderer({ alpha: false })
	renderer.setSize(window.innerWidth, window.innerHeight)
	renderer.setPixelRatio(window.devicePixelRatio)
	renderer.setAnimationLoop(animate)
	document.body.appendChild(renderer.domElement)

	// scene
	scene = new THREE.Scene()

	// camera
	camera = new THREE.PerspectiveCamera(40, window.innerWidth / window.innerHeight, 1, 100)
	camera.position.set(15, 0, 0)

	// controls
	controls = new OrbitControls(camera, renderer.domElement)


	const box = new THREE.BoxGeometry(1, 1, 1)
	const sphere = new THREE.SphereGeometry(1)
	const material = new THREE.MeshStandardNodeMaterial()

	const batchedMesh = new THREE.BatchedMesh(10, 5000, 10000, material)
	const boxGeometryId = batchedMesh.addGeometry(box)
	const sphereGeometryId = batchedMesh.addGeometry(sphere)

	const dummy = new THREE.Object3D()
	let rand = ()=> THREE.MathUtils.randFloat ( -5,5)

  for(let i=0; i<5; i++){
  	let instance = batchedMesh.addInstance(Math.random()>.5?boxGeometryId:sphereGeometryId)
    dummy.position.set(rand(), rand(), rand())
    dummy.rotation.set(rand(), rand(), rand())
    dummy.updateMatrix()
    batchedMesh.setMatrixAt(instance, dummy.matrix)
  }

	scene.add(batchedMesh)
  
	scene.add(new THREE.DirectionalLight(0xDDDDDff, 2))

	animate()

}

function animate(now = 0) {
	renderer.renderAsync(scene, camera)
	const { drawCalls, triangles } = renderer.info.render
  const { geometries } = renderer.info.memory
  document.querySelector(".drawcallsCount").innerHTML = drawCalls 
  document.querySelector(".trianglesCount").innerHTML = triangles 
  document.querySelector(".geometriesCount").innerHTML = geometries 
}
```


### Live example

https://jsfiddle.net/15k3c4xb/15/

### Screenshots

_No response_

### Version

r168

### Device

_No response_

### Browser

_No response_

### OS

_No response_