sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: tensorflow
Issue: failed to make cuFFT batched plan:5
Labels: TF 2.9

Hi,
    I installed nvidia-docker images and used tensorflow2.9.1 (as below).

![1735200614747](https://github.com/user-attachments/assets/25e1d5bc-0dd1-4571-b7c4-d2c4c79f2d20)

The container created by this images works fine on GTX-1080-Ti、RTX-3080、A10 or A100 GPU, but when we use it on L40 GPU, it give the following error:

	>>> import numpy as np
	>>> import tensorflow as tf
	2024-12-26 16:21:08.701508: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation o
	rders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
	>>> gpus = tf.config.experimental.list_physical_devices(device_type='GPU')
	>>> for gpu in gpus:
	...   tf.config.experimental.set_memory_growth(gpu, True)
	...
	>>> x = tf.constant(np.random.rand(1, 1600), dtype=tf.float32)
	2024-12-26 16:21:57.835357: I tensorflow/core/platform/cpu_feature_guard.cc:194] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in perfor
	mance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX
	To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
	2024-12-26 16:21:58.194129: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 43151 MB memory:  -> device: 0, name: NVIDIA L40, pci bus id: 0
	000:b1:00.0, compute capability: 8.9
	>>> y = tf.signal.stft(x, 400, 160, 512)
	2024-12-26 16:22:10.408524: E tensorflow/stream_executor/cuda/cuda_fft.cc:225] failed to make cuFFT batched plan:5
	2024-12-26 16:22:10.408568: E tensorflow/stream_executor/cuda/cuda_fft.cc:430] Initialize Params: rank: 1 elem_count: 512 input_embed: 512 input_stride: 1 input_distance: 512 output_embed: 257 output_stride: 1 out
	put_distance: 257 batch_count: 8
	2024-12-26 16:22:10.408584: F tensorflow/stream_executor/cuda/cuda_fft.cc:439] failed to initialize batched cufft plan with customized allocator: Failed to make cuFFT batched plan.
	Aborted (core dumped)

It seems the operation `tf.signal.stft` can not work on L40 GPU （it's ok on the same machine with CPU）, what's wrong? And you can see, even add **allow memory growth** as this issue [https://github.com/ContinuumIO/anaconda-issues/issues/11628](url) described, it does't work at all.
Repository: create-react-app
Issue: [JEST] Error prettier.resolveConfig.sync is not a function when run unit test with Jest
Labels: needs triage,issue: bug report

With current react-scripts, I got below issue when using with **Prettier v3**. Seems like it's resolved in latest Jest version. However, react-scripts just supports **Jest v27**.

This issue happens if using **snapshot** function (i.e, **toMatchInlineSnapshot**) in my test.

`TypeError: prettier.resolveConfig.sync is not a function

      at runPrettier (node_modules/jest-snapshot/build/InlineSnapshots.js:390:30)
      at TestScheduler.scheduleTests (node_modules/@jest/core/build/TestScheduler.js:333:13)
      at runJest (node_modules/@jest/core/build/runJest.js:404:19)`
Repository: ant-design
Issue: Image组件添加预览图片大小
Labels: unconfirmed

### What problem does this feature solve?

现在的预览图出现会有一个默认的行内样式为transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotate(0deg);在分辨率为2k或者4k得屏幕上，如果浏览器缩放为100%的话，点击图片预览会导致弹出得预览图很小，希望能开放一个字段用来改变详情图的默认大小

### What does the proposed API look like?

 <Image
       ...
       preview={{
           mask: (
             <span>预览</span>
           ),
           img: {
              style: {
                  transform: translate3d(0px, 0px, 0px) scale3d(2, 2, 1) rotate(0deg);,  // 设置图片预览时的缩放
               },
             },
           }}
 />

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: Impossible to edit .gdshaderinc files in the built-in shader editor reliably
Labels: bug,topic:editor,topic:shaders

### Tested versions

Reproducible in: v4.3.stable.mono.official [77dcf97d8]

### System information

Windows 10 -  v4.3.stable.mono.official [77dcf97d8]

### Issue description

It is borderline impossible to edit .gdshaderinc files in the built in Shader Editor because at some point, Shader Editor starts jumping between opened files on each warning/error, because the shaders are evaluated at every single slight pause during writing of the code.

This leaves external code editors with insufficient autocomplete as the only option to reliably edit .gdshaderinc files.

### Steps to reproduce

1. Modify .gdshaderinc file that is included by other shader(s) the godot project uses in the open scene

Result: The Shader Editor jumps to other file on every pause during typing
Expected: The Shader Editor never jumps between files

### Minimal reproduction project (MRP)

I did my best to try to create a minimalistic repro project, but I haven't managed to repro it from scratch. It always starts to happen only when the project reaches some complexity. Below is the video showcasing that it happens in complex project but not in the simple one:
https://youtu.be/nN4xDDwYzSE
Repository: go
Issue: proposal: io: add `RuneWriter` interface
Labels: Proposal

### Proposal Details

Today i was surprised that `io` does not define a `RuneWriter` interface, it think that we should add one, considering that it is implemented by types in the std, also we already have a `io.RuneReader` interface and `io.ByteWriter`/`io.ByteReader`.

`(*strings.Builder).WriteRune`
`(*bytes.Buffer).WriteRune`
`(*bufio.Writer).WriteRune`

Proposed API:

```go
type RuneWriter interface {
        // WriteRune writes the UTF-8 encoding of Unicode code point r, 
        // and returns the number of bytes written. In case of an error
        // while writing, the WriteRune method might write part of a
        // UTF-8 representation of that rune.
        // If the rune is out of range, it writes the encoding of [utf8.RuneError].
	WriteRune(r rune) (int, error)
}
```
Repository: vscode
Issue: Rerun Tasks
Labels: feature-request,tasks

<!-- ⚠️⚠️ 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. -->

<!-- Describe the feature you'd like. -->

I'm aware there is already "Rerun Last Task" functionality, but this request is for rerunning any of the tasks that appear here:

![Image](https://github.com/user-attachments/assets/30678fbd-44ac-43b4-9e61-c48d4625b5a3)

For example, I could right click either of these and there would be a "Rerun" option in the menu. If I select multiple, it could run all of them (I use "dedicated terminal per task", but if someone is using "reuse for all tasks" I'm not sure how good the UX would be with them all running in the same terminal. Maybe in this case, ignore the users preference and run each task in a separate terminal?).

Also, a keybind that reruns the task I currently have open/selected/focused would be extremely helpful:

![Image](https://github.com/user-attachments/assets/7deed07d-c271-4baa-a4ef-379ccc919812)

If the tasks are split-screen, maybe there could be a configuration option to either run all that are joined to the selected, or just the specific one with focus.

![Image](https://github.com/user-attachments/assets/04397c22-bbeb-4f61-8de4-37c2f738d565)

Thank you for this amazing ide, it's one of the best pieces of software I've used.
Repository: vscode
Issue: vscode server on mac ssh UnpackFailed, probably using wrong tar
Labels: ssh

<!-- ⚠️⚠️ 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/No

<!-- 🪓 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.96.2 for client
- OS Version: mac sequoia 15.2 for the remote server

Steps to Reproduce:

1.  install a tar (GNU tar) 1.35 on mac
2.  ssh to that mac using vs remote
3.  got error
  Status    UnpackFailed  

the log is: 
[18:06:19.890] > tar --version: tar (GNU tar) 1.35
> Copyright (C) 2023 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Written by John Gilmore and Jay Fenlason.
[18:06:19.905] > 
[18:06:19.920] > tar: This does not look like a tar archive
> tar: Skipping to next header
> tar: Exiting with failure status due to previous errors
[18:06:19.929] > 
> ERROR: tar exited with a non-zero exit code: 2
> Already attempted local download, failing



what is the cause of this?  I tried to `alias tar=/usr/bin/tar` in ~/.bash_profile  but the problem persists.
Repository: pytorch
Issue: `@torch.jit.script` causes `pytest-cov` to miss function body
Labels: oncall: jit,feature

### 🐛 Describe the bug

When decorating a function with `@torch.jit.script`, its body's code coverage is ignored by `pytest-cov`. Even with exhaustive testing, the coverage report always considered the function code as uncovered.

### Instructions to reproduce

```
root/
│
├── ml_framework/
│   └── module.py
│
└── tests/
    └── test_module.py
```

`module.py`
```python
import torch

@torch.jit.script
def function() -> int:
    return 0
```

`test_module.py`
```
from unittest import TestCase

from module import function


class TestModule(TestCase):
    def test_function(self) -> None:
        self.assertEqual(0, function())
```

Run:
```
pytest --cov=ml_framework.module test_module.py --cov-report html cov/
```

- with the decorator (the function body is tested hence should appear as covered)
<img width="400" alt="image" src="https://github.com/user-attachments/assets/c1b2e28e-b61b-4126-a2ac-b38b8a511844" />

- without the decorator
<img width="400" alt="image" src="https://github.com/user-attachments/assets/201d21e1-e822-4daa-8bb8-e41748e45de5" />


### Versions

PyTorch version: 2.2.2
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 14.6.1 (x86_64)
GCC version: Could not collect
Clang version: 15.0.0 (clang-1500.3.9.4)
CMake version: Could not collect
Libc version: N/A

Python version: 3.11.7 (main, May 15 2024, 22:19:42) [Clang 15.0.0 (clang-1500.3.9.4)] (64-bit runtime)
Python platform: macOS-14.6.1-x86_64-i386-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz

Versions of relevant libraries:
[pip3] mypy==1.13.0
[pip3] mypy-boto3-ecr==1.35.21
[pip3] mypy-boto3-s3==1.35.76.post1
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] onnx==1.17.0
[pip3] onnxruntime==1.20.1
[pip3] pytorch-lightning==2.4.0
[pip3] torch==2.2.2+cpu
[pip3] torchmetrics==1.4.2
[pip3] torchvision==0.17.2+cpu

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
Repository: pytorch
Issue: MPSNDArray 限制了单个 NDArray 的内存大小上限为 4GB
Labels: needs reproduction,module: crash,triaged,module: mps

### 🐛 Describe the bug

/AppleInternal/Library/BuildRoots/b11baf73-9ee0-11ef-b7b4-7aebe1f78c73/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:850: failed assertion `[MPSNDArray initWithDevice:descriptor:isTextureBacked:] Error: total bytes of NDArray > 2**32'
[1]    13512 abort      /opt/homebrew/Caskroom/miniforge/base/envs/pyTrim/bin/python 
/opt/homebrew/Caskroom/miniforge/base/envs/pyTrim/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '


However, my program only consumes little ram, but with several very large tensor, the total ram is enough. How to overcome this limit?

### Versions

pytorch                   2.5.1           cpu_generic_py312h99d64c8_6    conda-forge
I am using mac mini with m4Pro, 64G RAM， macos15.2，

cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen
Repository: langchain
Issue: Usage Details is not coming for OpenAiAssistantRunnable.
Labels: investigate

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

```python

OpenAIAssistantFinish(
                return_values={
                    "output": answer,
                    "thread_id": run.thread_id,
                    "run_id": run.id,
                },
                log="",
                run_id=run.id,
                thread_id=run.thread_id,
            ) 
```
this only return following fields, it should return usage details as well

### Error Message and Stack Trace (if applicable)

_No response_

### Description

I want to charge user on based on tokens and im using open ai assistant but its not returning usage details so even call backs does not have any usage details as well.

### System Info

System Information
------------------
> OS:  Darwin
> OS Version:  Darwin Kernel Version 24.0.0: Mon Aug 12 20:54:26 PDT 2024; root:xnu-11215.1.10~2/RELEASE_ARM64_T8112
> Python Version:  3.11.6 (v3.11.6:8b6ee5ba3b, Oct  2 2023, 11:18:21) [Clang 13.0.0 (clang-1300.0.29.30)]

Package Information
-------------------
> langchain_core: 0.3.18
> langchain: 0.3.7
> langchain_community: 0.3.7
> langsmith: 0.1.142
> langchain_chroma: 0.1.4
> langchain_google_genai: 2.0.6
> langchain_openai: 0.2.6
> langchain_text_splitters: 0.3.2
> langchain_unstructured: 0.1.5

Optional packages not installed
-------------------------------
> langgraph
> langserve

Other Dependencies
------------------
> aiohttp: 3.10.10
> async-timeout: Installed. No version info available.
> chromadb: 0.5.18
> dataclasses-json: 0.6.7
> fastapi: 0.115.5
> filetype: 1.2.0
> google-generativeai: 0.8.3
> httpx: 0.27.0
> httpx-sse: 0.4.0
> jsonpatch: 1.33
> numpy: 1.26.4
> openai: 1.54.3
> orjson: 3.10.11
> packaging: 24.2
> pydantic: 2.9.2
> pydantic-settings: 2.6.1
> PyYAML: 6.0.2
> requests: 2.32.3
> requests-toolbelt: 1.0.0
> SQLAlchemy: 2.0.35
> tenacity: 9.0.0
> tiktoken: 0.8.0
> typing-extensions: 4.12.2
> unstructured-client: 0.25.9
> unstructured[all-docs]: Installed. No version info available.
Repository: PowerToys
Issue: PowerToys Run stop working
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.87.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Win + R

[PowerToysReport_2024-12-26-09-54-13.zip](https://github.com/user-attachments/files/18252218/PowerToysReport_2024-12-26-09-54-13.zip)


### ✔️ Expected Behavior

The PowerToys Run window should replace the Windows default Run window.

### ❌ Actual Behavior

The PowerToys Run window does not show and falls back to the Windows default Run window.

After upgrading from 0.86 to 0.87.1 it stopped working.
Running as admin, restarting the program, re-enabling the PowerToys Run, rebooting the system, or re-installing the program do not resolve the issue.

### Other Software

_No response_
Repository: excalidraw
Issue: safari: double-click to create text doesn't work due to focus issues
Labels: bug

steps:

1. focus a button in the properties panel using DevTools
2. double click on canvas to create text won't work

Tested on Safari 15.

The focus step tends to happen during normal use of excalidraw.
Repository: vscode
Issue: DEBUG LOGS IN TERMINAL
Labels: info-needed,triage-needed

<!-- ⚠️⚠️ 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. -->

<!-- Describe the feature you'd like. -->
Beautiful list of logs need for us in terminal
Repository: PowerToys
Issue: PowerToys 0.87.1 can't be installed/updated using Winget
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.87.1

### Installation method

WinGet

### Running as admin

Yes

### Area(s) with issue?

Installer

### Steps to reproduce

To reproduce this bug, you'll need to update powertoys using winget or install it using `winget install powertoys --source winget` or upgrade it with `winget upgrade powertoys`

### ✔️ Expected Behavior

Version 0.87.1 would install properly after running the commands 

### ❌ Actual Behavior

The installer fails with the following error: `Installer failed with exit code: 1603`, the only way to get this PowerToys version installed is to manually download the machine wide version from GitHub

### Other Software

[WinGet-Microsoft.PowerToys.0.87.1-2024-12-26-07-00-16.265.log](https://github.com/user-attachments/files/18253013/WinGet-Microsoft.PowerToys.0.87.1-2024-12-26-07-00-16.265.log)
Repository: vscode
Issue: suggestion widget focus ,but can't use page down or ↓,it can't work nomally
Labels: suggest

When there is only one option and focus on the weiget, it cannot move the text down in the widget by Page down, but it can work when there are multiple options.

https://github.com/user-attachments/assets/6ba31585-0ce4-4744-b9a2-8f84fed80172

I think the behavior between them is not right.

VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.26100
Modes:


<!-- generated by issue reporter -->
Repository: svelte
Issue: Feature request: standard way to provide default prop values with TypeScript
Labels: feature request

### Describe the problem

Currently, the only documented way to create default props is by [destructuring them](https://svelte.dev/docs/svelte/$props#Fallback-values). While this is fine for small components, larger components benefit from using the `props.` prefix.

```svelte
<script lang="ts">
const props: {
  name: string;
  age?: number; // how to give age a default value?
} = $props();
</script>

<div>{props.name}</div>
<div>{props.age}</div>
```

I mean, I can do this:

```svelte
<script lang="ts">
interface Props {
  name: string;
  age?: number;
}

const defaultProps = {
  age: 40,
};

const props: Props = $props();
const props2 = {...defaultProps, ...props};
</script>

<div>{props2.name}</div>
<div>{props2.age}</div>
```

...which gives me the correct assignment and proper typing, but it's just [an ugly React hack](https://stackoverflow.com/questions/40209352/how-to-specify-optional-default-props-with-typescript-for-stateless-functiona/73040312#73040312).

### Describe the proposed solution

Vue 3 provides the [`withDefaults`](https://vuejs.org/api/sfc-script-setup.html#default-props-values-when-using-type-declaration) API, which is a rather elegant solution to the problem:

```
const props = withDefaults(defineProps<{
  name: string;
  age?: number;
}>(), {
  age: 40,
});
```

Something similar could be added to the Svelte runes API.

### Importance

i cannot use svelte without it
Repository: tauri
Issue: [bug] tray disappears in macOS
Labels: type: bug,platform: macOS,status: needs triage

### Describe the bug

The tray in macOS behaves inconsistently. It appears and disappears unpredictably under these circumstances:
- When I run or build the app, the tray sometimes disappears.
- Changing the title in the setup causes the tray to vanish, but also not always.
- Restarting macOS temporarily resolves the issue, but after a few app restarts or recompiles, the tray disappears again.

Additional observations:
- Occasionally, the tray reappears if I wait while the app is still running.
- No errors or panics are logged during these events.

### Reproduction

```rust
#[tauri::command]
fn change_tray_title(app_handle: AppHandle, title: String) {
    println!("title from frontend: {}", title);

    let tray_handle = app_handle.tray_by_id("tray").unwrap();

    if let Err(e) = tray_handle.set_title(Some(&title)) {
        eprintln!("failed to set title: {}", e);
    } else {
        println!("title set successfully to '{}'", title);
    }
}
```

### Expected behavior

tray should not vanish on title or icon changes

### Full `tauri info` output

```text
[✔] Environment
    - OS: Mac OS 15.0.1 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.12.0
    - pnpm: 8.7.5
    - npm: 10.5.0
    - bun: 1.0.2

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.0
    - tao 🦀: 0.30.6
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-shell 🦀: 2.2.0
    - @tauri-apps/plugin-shell : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
```


### Stack trace

```text
no errors
```


### Additional context

_No response_