sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: tensorflow
Issue: LD_LIBRARY_PATH to set when installing tensorflow[and-cuda] with pip or poetry
Labels: stat:awaiting response,type:feature,type:build/install,type:docs-feature

### Issue type

Documentation Feature Request

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

binary

### TensorFlow version

2.18.0

### Custom code

No

### OS platform and distribution

Linux Fedora 41

### Mobile device

_No response_

### Python version

3.12

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

Nvidia RTX 3060

### Current behavior?

Installing `tensorflow[and-cuda]` is very easy and avoid installing cuda packages on our computers. It's then very confortable to be able to drop virtual envs.
But there is a bad behavior.

From scratch:

```bash
rm -rf .venv
mkdir .venv
poetry add "tensorflow[and-cuda]"



# check
poetry run python mytest.py

W0000 00:00:1737317404.258825   10111 gpu_device.cc:2344] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
```

As you can see, no CUDA shared library is loaded.

The solution is to generate the `LD_LIBRARY_PATH` finding directories name of any ".so" files related to "nvidia":

```bash
export LD_LIBRARY_PATH=$(find .venv -name "*.so*" | grep -P "nvidia" | xargs dirname | sort -u | paste -d: -s -)
echo $LD_LIBRARY_PATH
.venv/lib/python3.12/site-packages/nvidia/cublas/lib:.venv/lib/python3.12/site-packages/nvidia/cuda_cupti/lib:.venv/lib/python3.12/site-packages/nvidia/cuda_nvcc/nvvm/lib64:.venv/lib/python3.12/site-packages/nvidia/cuda_nvrtc/lib:.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/lib:.venv/lib/python3.12/site-packages/nvidia/cudnn/lib:.venv/lib/python3.12/site-packages/nvidia/cufft/lib:.venv/lib/python3.12/site-packages/nvidia/curand/lib:.venv/lib/python3.12/site-packages/nvidia/cusolver/lib:.venv/lib/python3.12/site-packages/nvidia/cusparse/lib:.venv/lib/python3.12/site-packages/nvidia/nccl/lib:.venv/lib/python3.12/site-packages/nvidia/nvjitlink/lib

# and now:
poetry run python mytest.py

I0000 00:00:1737317342.317060    9825 gpu_device.cc:2022] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4169 MB memory:  -> device: 0, name: NVIDIA GeForce RTX 3060 Laptop GPU, pci bus id: 0000:01:00.0, compute capability: 8.6
```

I'm not sur if I have to create the issue here or to Nvidia (where?), but it could be interesting to propose this solution for who has the same problem.

### Standalone code to reproduce the issue

```shell
poetry run python -c "import tensorflow;tensorflow.keras.Sequential().compile()"
```

### Relevant log output

```shell

```
Repository: next.js
Issue: `unstable_cache` doesn't serialize non-primitive data types
Labels: Runtime

### Link to the code that reproduces this issue

https://github.com/devjmetivier/next-unstable-cache-args-serialization

### To Reproduce

1. Open homepage
2. Change sort order with input
3. See request cache behavior

### Current vs. Expected behavior

Cache doesn't work (as expected) because passing arguments to `unstable_cache` of any non-JSON serializable data type (Map, in this example) results in the same deterministic output.

<img width="363" alt="Image" src="https://github.com/user-attachments/assets/2403c912-de84-4cd3-8f1b-7bfa22f535b7" />

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Nov 14 18:19:02 PST 2024; root:xnu-11215.41.3~13/RELEASE_ARM64_T8132
  Available memory (MB): 32768
  Available CPU cores: 10
Binaries:
  Node: 22.12.0
  npm: 10.9.0
  Yarn: 1.22.22
  pnpm: 9.15.3
Relevant Packages:
  next: 15.2.0-canary.16 // Latest available version is detected (15.2.0-canary.16).
  eslint-config-next: N/A
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.3
Next.js Config:
  output: N/A
```

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

Runtime, Not sure

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

next dev (local), next build (local), next start (local), Vercel (Deployed)

### Additional context

I understand that `unstable_cache` is intended to handle any work inside the function, but I'm encountering an issue when passing iterables like Maps and Sets. These data structures aren't serializable, so their contents can't be cached, forcing me to either change the data type or manually serialize/deserialize the values. It would be helpful if unstable_cache could support these types (iterables) more seamlessly.

Here's where I can see these arguments being dealt with in Next.js:

https://github.com/vercel/next.js/blob/3f3f4bc78145e1bb271781aabd595758dd0686a9/packages/next/src/server/web/spec-extension/unstable-cache.ts#L138-L144
Repository: vscode
Issue: Allow to overwrite when pasting files instead of adding suffix " copy"
Labels: info-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. -->
When pasting files in 'Folder' view, VS Code automatically renames every file if a file with the same name already exists. 

It is very rare in any development situation for names like "ExampleFile copy.txt" to be usable.
It forces developers to always rename those files manually.   
   
There are multiple situations where **overwriting files should be the default action**, such as updating old files with the newest versions.
Currently you need to manually select some files in the folder, delete them, and then paste files from other folder. 
It's quite annoying and troublesome.

Obviously there is a risk ov overwriting by accident so VS Code should behave just like any OS do - ask user if he wants to:

1. Overwrite files with the same names
2. Rename pasted files (current default behaviour)
3. Paste only files that are not yet in the folder
4. Cancel pasting
   
Current VS Code pasting:   
   
1. Copying file with the same name:   
![Image](https://github.com/user-attachments/assets/affbc25e-94b1-4965-a004-adb8ed431068)
   
2. Pasting that file will rename it with suffix " copy":   
![Image](https://github.com/user-attachments/assets/91c20692-0902-4fa4-b16c-d9f05116e5f7)
   


Typical paste merging conflict on Windows 10 allows to "Replace files" (overwrite them)
   
![Image](https://github.com/user-attachments/assets/0fa27144-95f1-42b6-b2a4-74a672ace462)
Repository: godot
Issue: Websocket client cuts message after 2^15 bytes
Labels: bug,topic:network,regression

### Tested versions

- v4.3.stable.official [77dcf97d8]: **ok**
- v4.4.dev1.official [28a72fa43]: **ok**
- v4.4.dev2.official [97ef3c837]: **ok**
- v4.4.dev3.official [f4af8201b]: **ok**
- v4.4.dev4.official [36e6207bb]: **ok**
- v4.4.dev5.official [9e6098432]: **fails**
- v4.4.dev6.official [1f47e4c4e]: **fails**
- v4.4.dev7.official [46c8f8c5c]: **fails**
- v4.4.beta1.official [d33da79d3]: **fails**

### System information

Godot v4.4.beta1 - Windows 11 (build 26100) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce GTX 1080 Ti (NVIDIA; 32.0.15.6614) - AMD Ryzen 9 7900X 12-Core Processor (24 threads)

### Issue description

The Godot Websocket client cuts received messages after 2^15 bytes.

This is a regression since `v4.4.dev5`.

### Steps to reproduce

I could **NOT** reproduce the issue with Godot's builtin websocket server (also included in MRP). I provide another websocket server based on Go.
You can either use the devcontainer and run  `Launch server` or run `cd server && go run main.go` in the terminal. If not using a devcontainer do `cd server && go mod download && go run main.go` (i can also provide binaries if wished)
The server listens on port `9080` and answers `ping` with `pong` and any other message should be a number, which will then send a message with that many `G`s back.
In Godot just hit run, what messages are sent or received are logged to the output.

### Minimal reproduction project (MRP)

[godot-ws.zip](https://github.com/user-attachments/files/18470551/godot-ws.zip)
Repository: ui
Issue: [bug]: tabindex of form inputs leaks out to Sheet
Labels: bug

### Describe the bug

When i put a Form inside a Sheet, the Form inputs tabindex leaks out to the Sheet component.

When i put the same form outside the Sheet, tabindex works as intended.

### Affected component/components

Sheet

### How to reproduce

When i put a Form inside a Sheet, the Form inputs tabindex leaks out to the Sheet component.

When i put the same form outside the Sheet, tabindex works as intended.

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash

```

### System Info

```bash
Chrome OSX
```

### Before submitting

- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues
Repository: tensorflow
Issue: Cannot use GpuDelegate - java.lang.IllegalArgumentException: Internal error: Cannot create interpreter
Labels: comp:lite,TFLiteGpuDelegate

Hi, I get "Cannot use GpuDelegate - java.lang.IllegalArgumentException: Internal error: Cannot create interpreter" when attempting to use GpuDelegate

I have seen a couple of issue related to this but all seems to be abandoned. I have created a repo replicating the issue.  You can see the config at [https://github.com/NLLAPPS/WhisperOffline/blob/d075a84aa42adc4a05a02ce64b0fcda9416f0e8c/app/src/main/java/com/whispertflite/engine/WhisperEngineJava.java#L114](https://github.com/NLLAPPS/WhisperOffline/blob/d075a84aa42adc4a05a02ce64b0fcda9416f0e8c/app/src/main/java/com/whispertflite/engine/WhisperEngineJava.java#L114)

**System information**
- Android Device information: Samsung S23
- TensorFlow Lite in Play Services SDK version : 16.4.0
- Google Play Services version: 24.50.34

**Standalone code to reproduce the issue**
Clone and run project from [https://github.com/NLLAPPS/WhisperOffline/](https://github.com/NLLAPPS/WhisperOffline/)

**Any other info / logs**
`Created TensorFlow Lite delegate for GPU.
Created interpreter.
Created interpreter.
java.lang.IllegalArgumentException: Internal error: Cannot create interpreter: 
at com.google.android.gms.tflite.NativeInterpreterWrapper.createInterpreter(Native Method)
at com.google.android.gms.tflite.NativeInterpreterWrapper.zzs(com.google.android.gms:play-services-tflite-java@@16.4.0:34)
at com.google.android.gms.tflite.NativeInterpreterWrapper.<init>(com.google.android.gms:play-services-tflite-java@@16.4.0:14)
at com.google.android.gms.tflite.zzd.<init>(com.google.android.gms:play-services-tflite-java@@16.4.0:3)
at com.google.android.gms.tflite.InterpreterFactoryImpl.create(com.google.android.gms:play-services-tflite-java@@16.4.0:4)
at org.tensorflow.lite.InterpreterApi.create(InterpreterApi.java:373)
at com.whispertflite.engine.WhisperEngineJava.loadModel(WhisperEngineJava.java:131)
at com.whispertflite.engine.WhisperEngineJava.initialize(WhisperEngineJava.java:44)
at com.whispertflite.asr.WhisperJava.loadModel(WhisperJava.java:72)
at com.whispertflite.asr.WhisperJava.loadModel(WhisperJava.java:67)
at com.whispertflite.MainActivity.initModel(MainActivity.java:247)
at com.whispertflite.MainActivity.lambda$onCreate$3$com-whispertflite-MainActivity(MainActivity.java:155)
at com.whispertflite.MainActivity$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)`
Repository: godot
Issue: [4.4beta1] When dragging a resource value, the resource details will unexpectedly expand
Labels: bug,topic:editor,regression

### Tested versions

4.4 beta1


### System information

Godot v4.4.beta1 - Windows 10 - Multi-window

### Issue description

> If the resource details are lengthy, you may need to scroll the UI
1. When dragging a resource, the resource details will first expand/collapse
2. If the resource is a script file, the inspector will directly switch to the script interface.
3. This variable will remember the expanded state, but I prefer that resources do not auto-expand when dragged

### before

![Image](https://github.com/user-attachments/assets/5869828e-7ece-4912-8a99-2405720562ea)

### 4.4 beta1

![Image](https://github.com/user-attachments/assets/31329863-cae5-4cf9-9573-0438de3960a9)

### Steps to reproduce

dragging any resource value in the inspector

### Minimal reproduction project (MRP)

N/A
Repository: deno
Issue: deno add fails for npm:date-fns package
Labels: install

`deno add npm:date-fns@latest` (Edit: same happens with `deno cache`)

yields the result:

```
Add npm:date-fns@4.1.0
error: Failed caching npm package 'date-fns@4.1.0'

Caused by:
    Failed moving extracted tarball to final destination
```

During the action, there was a (seemingly) temporary folder in `%AppData%\Local\deno\npm\registry.npmjs.org\date-fns` which is the content of the extracted tarball, but it later got deleted and now just the `registry.json` is still there.

```
deno 2.1.6 (stable, release, x86_64-pc-windows-msvc)
v8 13.0.245.12-rusty
typescript 5.6.2
```
Repository: vscode
Issue: SCM - Commit Message Generation with Branch Names and Project Info
Labels: feature-request,scm

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

### Feature Request: Enhanced Commit Message Generation with Branch Names and Project-Specific Information

#### Description
I would like to suggest an enhancement to GitHub Copilot in Visual Studio Code to allow the commit message generation settings to have access to branch names and project-specific information. This feature would enable more context-aware and relevant commit messages, improving the overall workflow and commit history quality.

#### Use Case
When generating commit messages, having access to the current branch name and project-specific details (such as project name, module names, etc.) can provide more meaningful and descriptive commit messages. This is particularly useful in large projects with multiple branches and modules, where context is crucial for understanding the changes.

#### Proposed Solution
1. **Access to Branch Names**: Allow Copilot to access the current branch name and include it in the commit message suggestions.
2. **Project-Specific Information**: Enable configuration to include project-specific details such as project name, module names, or other relevant metadata in the commit message generation process.
3. **Configuration Options**: Provide settings in VS Code to enable or disable these features, allowing users to customize the level of detail included in commit messages.

#### Example
Consider a branch name that includes a ticket code, such as `feature/PROJ-1234-add-login`. Copilot could extract the ticket code `PROJ-1234` and prefix the commit message with it. For instance, if the commit involves adding a login feature, the generated commit message could be:
`PROJ-1234: Add login feature`

This provides immediate context about the ticket or issue related to the commit, making it easier for team members to track changes and understand the purpose of the commit.

#### Benefits
- Improved commit message relevance and clarity.
- Enhanced context for team members reviewing commit history.
- Streamlined workflow with less manual editing of commit messages.
Repository: neovim
Issue: SIGSEGV when using nvim over serial port at 1,000,000 baud rate
Labels: tui,bug-crash

### Problem

So this weekend I decided to enable serial access to my server via a USB-Serial cable (is a pl2303) and the box advertises a transfer rate of 1Mbps (`1000000` baud rate).



### Steps to reproduce

### Nothing wrong case

**server**:
kernel params: `console=ttyUSB0,115200`

**client**
 `picocom -b 115200 /dev/ttyUSB0`

1. login
2. start nvim
3. nothing wrong

### High baud rate case (1Mbps)

**server**
kernel params: `console=ttyUSB0,1000000`

**client**
 `picocom -b 1000000 /dev/ttyUSB0`

1. login
2. start nvim
3. SIGSEGV, terminal/prompt gets messed have to exit + kill/restart terminal

### Mismatched baud rate

~~**server**~~
~~kernel params: `console=ttyUSB0,1000000`~~

~~**client**~~
 ~~`picocom -b 115200 /dev/ttyUSB0`~~

1. ~~login~~
2. ~~start nvim~~
3. ~~nvim now renders without crashing but ends up taking up 100% CPU on the server and is completely unresponsive. Have to ssh into the server and pkill it (does respond to input like `:q`)~~

Solved in nightly

For reference in all these cases other programs like htop, worked with no issue

### Expected behavior

setting a high baud rate should not crash neovim or cause it to eat 100% of cpu

### Nvim version (nvim -v)

v0.10.3

### Vim (not Nvim) behaves the same?

have not tried, I only use nvim

### Operating system/version

linux 6.12.9

### Terminal name/version

kitty + ghostty

### $TERM environment variable

vt220 (set by default by systemd-getty as of systemd 219)

### Installation

system package manager for arch
Repository: godot
Issue: Rotating 3D camera parent with physics interpolation make it jump around
Labels: documentation,topic:3d

### Tested versions

Reproducible in `4.4-beta1`, `4.4-dev7`, not sure for prior versions

### System information

Windows 11

### Issue description

Rotating camera parent with having physics interpolation enabled on the camera shakes the camera instead of retaining its focus and only interpolating the parent rotation.


### Steps to reproduce

Attached is a minimal reproducible project which rotates the camera parent on mouse scroll and a button to toggle camera interpolation for comparison.


### Minimal reproduction project (MRP)

[rotationbug.zip](https://github.com/user-attachments/files/18470750/rotationbug.zip)
Repository: godot
Issue: [4.4beta1] Save file is not created in Play mode only if I debug the code
Labels: bug,topic:core,needs testing

### Tested versions

4.4 Beta1 .NET using C#

### System information

Godot Engine v4.4.beta1.mono.official.d33da79d3 - https://godotengine.org Vulkan 1.3.289 - Forward Mobile - Using Device #0: NVIDIA - NVIDIA GeForce RTX 4050 Laptop GPU

### Issue description

```cs
public partial class ScoreManager : Node
{
	public static ScoreManager Instance { get; private set; }
	
	private uint _score;
	private uint _highScore;

	private const string ScoreFile = "user://tappy.save";
	
	public override void _Ready()
	{
		Instance = this;
		LoadScoreFromFile();
	}

	public override void _ExitTree()
	{
		SaveScoreToFile();
	}

	public static uint GetScore()
	{
		return Instance._score;
	}

	public static void SetScore(uint score)
	{
		Instance._score = score;
		if (Instance._score > Instance._highScore)
		{
			Instance._highScore = Instance._score;
		}
		SignalManager.EmitOnScored();
	}

	public static uint GetHighScore()
	{
		return Instance._highScore;
	}

	public static void ResetScore()
	{
		SetScore(0);
	}

	public static void IncrementScore()
	{
		SetScore(GetScore() + 1);
	}

	private void LoadScoreFromFile()
	{
		using FileAccess file = FileAccess.Open(ScoreFile, FileAccess.ModeFlags.Read);
		if (file != null)
		{
			_highScore = file.Get32();
		}
	}
	
	private void SaveScoreToFile()
	{
		using FileAccess file = FileAccess.Open(ScoreFile, FileAccess.ModeFlags.Write);
		if (file != null)
		{
			file.Store32(_highScore);
		}
	}

}
```

The _highscore is not saving in play mode the Tappy.save is not generating when the game close. It only work if I debug the code. I think the problam is related with the new game window.

### Steps to reproduce

Use the code that I provide and try to generate the file.

### Minimal reproduction project (MRP)

[MRPTappyPlane.zip](https://github.com/user-attachments/files/18470834/MRPTappyPlane.zip)
Repository: neovim
Issue: mouse: context menu (right click) helps discover lsp/diagnostics
Labels: defaults,complexity:low,lsp

## Problem

We show diagnostics (by default) in the signs column and highlight/underline, but getting more details about the warning/error is not obvious. 

<img width="411" alt="Image" src="https://github.com/user-attachments/assets/37a104db-0c4f-44c5-890c-28615e143104" />


## Expected behavior

- When user right-clicks on a diagnostic, show...
    - a `Show diagnostics` menu item which opens the quickfix list
    - a `Configure diagnostics` menu item which goes to help that mentions
        - `vim.diagnostic.open_float()`
        - `vim.diagnostic.config({ virtual_text = true })`
- Also when right-clicking the sign column item.
Repository: next.js
Issue: Image component crashes in combination with turbopack for webp images. Processing image failed unable to decode image data
Labels: Image (next/image),Turbopack

### Link to the code that reproduces this issue

https://github.com/KilianB/Turbopack-webp-bug

### To Reproduce

1. clear the .next cache folder if applicable.
2. run `npm run dev` and the application will crash

---
3. clear cache
4. run without --turbopack
5. Observe that it works

### Current vs. Expected behavior

An image is shown on the page, it does not crash when using turbopack

````
Processing image failed
unable to decode image data

Caused by:
- Format error decoding WebP: An expected chunk was missing
- An expected chunk was missing
````

![Image](https://github.com/user-attachments/assets/35737abd-6d7b-44d4-ba10-dc5a2211289b)

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
  Available memory (MB): 32699
  Available CPU cores: 4
Binaries:
  Node: 22.12.0
  npm: 10.8.1
  Yarn: 1.22.21
  pnpm: 9.7.1
Relevant Packages:
  next: 15.2.0-canary.16 // Latest available version is detected (15.2.0-canary.16).
  eslint-config-next: N/A
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.3
Next.js Config:
  output: N/A
```

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

Turbopack, Image (next/image)

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

next dev (local)

### Additional context

_No response_