sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: langchain
Issue: Hybrid search in pinecone retriever haven't a _aget_relevant_documents function defined, which is mandatory in async setup (upon 'ainvoke' calls on retrievers)
Labels: Ɑ: vector store,🤖:bug,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
from langchain_community.retrievers import PineconeHybridSearchRetriever

retriever = PineconeHybridSearchRetriever(...)
await retriever.ainvoke(query)
```
### Error Message and Stack Trace (if applicable)

not applicable

### Description

**"_aget_relevant_documents"** function is missing from the hybrid search for pinecone retriever (class name: **'PineconeHybridSearchRetriever'** in 'langchain_community.retrievers'). 
**This method is mandatory in an async setup** because as seen it the parent class **BaseRetriever**, a call to _ainvoke_ actually calls the  retriever __aget_relevant_documents_ method.
Fix is simple though :  simply add a "_aget_relevant_documents" method to PineconeHybridSearchRetriever class with the same code that the one into _get_relevant_documents, or even better adapt the code to use the "await" keyword to free the system while processing retrieval.

### System Info

System Information
------------------
> OS:  Windows
> OS Version:  10.0.19045
> Python Version:  3.12.1 (tags/v3.12.1:2305ca5, Dec  7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)]
> VS code 

Package Information
-------------------
> langchain_core: 0.3.15
> langchain: 0.3.3
> langchain_community: 0.3.2
> langsmith: 0.1.136
> langchain_anthropic: 0.2.4
> langchain_chroma: 0.1.4
> langchain_cli: 0.0.35
> langchain_experimental: 0.3.2
> langchain_groq: 0.2.0
> langchain_ollama: 0.2.0
> langchain_openai: 0.2.2
> langchain_pinecone: 0.2.0
> langchain_qdrant: 0.2.0
> langchain_text_splitters: 0.3.0
> langgraph: 0.2.38
> langserve: 0.3.0
Repository: pytorch
Issue: Tensorboard SummaryWriter.add_hparams doesn't log hparam metrics dictionary
Labels: triaged,module: tensorboard

### 🐛 Describe the bug

When trying to add_params, I cannot get the tensorboard to display the metrics.

```python
from torch.utils.tensorboard import SummaryWriter
import numpy as np

with SummaryWriter(r'.\runs\test_01') as writer:
    for i in range(4, 7):
        for j in range(3, 6):
            batch_size, lr = 2**i, 10**(-j)
            writer.add_hparams(
                {
                    'batch_size': batch_size,
                    'learning_rate': lr
                },
                {
                    'accuracy': float(np.random.random())
                },
                run_name=f'{batch_size}_e-{j}'
            )
```

The output doesn't have the accuracy metrics.

![image](https://github.com/user-attachments/assets/8bc91a43-c9a2-4936-b1e1-38d474c891eb)

### Versions

```
PyTorch version: 2.4.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 11 Enterprise (10.0.22631 64-bit)
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:20:11) [MSC v.1938 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-11-10.0.22631-SP0
Is CUDA available: True
CUDA runtime version: 12.4.99
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA RTX 2000 Ada Generation Laptop GPU
Nvidia driver version: 556.12
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Name: 13th Gen Intel(R) Core(TM) i7-13700H
Manufacturer: GenuineIntel
Family: 198
Architecture: 9
ProcessorType: 3
DeviceID: CPU0
CurrentClockSpeed: 2400
MaxClockSpeed: 2400
L2CacheSize: 11776
L2CacheSpeed: None
Revision: None

Versions of relevant libraries:
[pip3] numpy==2.1.2
[pip3] torch==2.4.1+cu124
[pip3] torchaudio==2.4.1+cu124
[pip3] torchmetrics==1.6.1
[pip3] torchvision==0.19.1+cu124
[conda] numpy                     2.1.2                    pypi_0    pypi
[conda] torch                     2.4.1+cu124              pypi_0    pypi
[conda] torchaudio                2.4.1+cu124              pypi_0    pypi
[conda] torchmetrics              1.6.1                    pypi_0    pypi
[conda] torchvision               0.19.1+cu124             pypi_0    pypi
```
Repository: godot
Issue: macOS: Editor briefly hangs upon regaining focus when "Update When Changed" is enabled
Labels: bug,topic:editor,needs testing,performance

### Tested versions

- Reproducible in: v4.4.dev7 [46c8f8c5c], 4.3.stable

### System information

Godot v4.4.dev7 - macOS Sequoia (15.2.0) - Multi-window, 3 monitors - Metal (Forward+) - integrated Apple M1 Pro (Apple7) - Apple M1 Pro (10 threads)

### Issue description

The editor hangs momentarily upon regaining focus when the update spinner mode is set to “Update When Changed.” During this time (approximately one second), it does not accept any input, which disrupts workflows involving frequent focus switching between tools such as IDEs or VCSs.

This issue does not occur when using the “Update Continuously” mode. However, that mode appears to be deprecated.


### Steps to reproduce

- Set the update spinner mode to "Update When Changed."
- Switch focus between the editor and another application (e.g., an IDE or VCS).
- Notice the brief hang when the editor regains focus.

Expected behavior:
The editor should regain focus and accept input immediately, without any delay.

### Minimal reproduction project (MRP)

N/A
Repository: vscode
Issue: A Copilot response containing one or more code blocks, each code block is followed by a nameless toolbar: A11y_Visual Studio Code Client_Copilot chat_Devtools
Labels: bug,accessibility

[[Check out Accessibility Insights!](https://accessibilityinsights.io/)]- Identify accessibility bugs before check-in and make bug fixing faster and easier.

## GitHubTags:
#A11yeDAD; #A11yTCS; #A11ySev3; #DesktopApp; #Win32; #Visual Studio Code Client; #BM-VisualStudioCodeClient-Win32-Jan2024; #WCAG4.1.2; #Devtools;

## Environment and OS details:
Visual Studio Code insider version 1.96.2
Microsoft Windows 11 Enterprise (24H2)
OS Build 26100.2605

## Repro Steps:
1.Open Visual studio code insider
2.Link a GitHub Account
3. Sign Up for Free Copilot Use
4. Sign Up for Free Copilot Use and in copilot chat copilot response containing one or more code blocks. 
5. TAB till tool bar of each code block and inspect it.
6. Observe that a copilot response containing one or more code blocks, each code block is followed by a nameless toolbar.

## Actual:
A copilot response containing one or more code blocks, each code block is followed by a nameless toolbar.

## Expected:
Name should provide for each toolbar container that includes the name of the associated code block.

## User Impact:
Screen reader user will face difficulty, they cannot differentiate between the toolbars.

## Attachment:

![Image](https://github.com/user-attachments/assets/8bba2d5f-e517-4ac9-8d5f-ffd15f1dac0e)
Repository: PowerToys
Issue: Stacked Zones for Fancy Zones
Labels: Needs-Triage

### Description of the new feature / enhancement

1.  the ability to group zones in a distinct collection.
2. For the inactive zones, in the collection, the ability to stack them. That is, only the window title is displayed from the bottom to the top, tilted upright.
3. The active window / zone, is shown in the remaining/free space of the collection frame.

You can see how this works in included mp4, where Obsidian is used as an example of the stacked zones/windows/notes.

https://github.com/user-attachments/assets/d376bfb7-98d2-4d5f-b9da-ed9e760327bf

### Scenario when this would be used?

When I search for information on a subject, I first collect the information bits in different windows / zones, for later re-use. 
This something you typically do when building a training or you need to research a new subject when e.g. coding.
When writing up / summarizing the info, my displays are cluttered with windows and the info is hard to find back.
Firstly, it will already help if I could group the  infosearch windows in a distinct group(s)/collection(s).
Next, seeing the windows / zones titles stacked, will help me a lot to find a specific bit of information faster., view it while keeping the other information bits grouped.

Note: I've tried using a dedicated desktop for the info windows/zones but this is a struggle because I need to switch too much to other desktops (despite using virtuawin). 

### Supporting information

_No response_
Repository: angular
Issue: Remove `assertNoComplexSizes` from `NgOptimizedImage`
Labels: area: common,common: image directive

### Which @angular/* package(s) are relevant/related to the feature request?

common

### Description

Currently you can't use pixel values in `sizes` in `NgOptimizedImage`. 

Code like that:
`sizes="(max-width: 540px) 100vw, (max-width: 960px) 50vw, 370px"`
will cause NG02952 exception in dev mode, because of `assertNoComplexSizes` function in `NgOptimizedImage` directive code. Yet, in production it will produce proper `srcset` and will render just fine.

I've read `NgOptimizedImage` source, and I can't find any logic there that can explain why that assertion is necessary.
I have sizes like that (responsive for mobile/tablet, fixed for desktop) in my production code for regular `img` elements. That limitation of `sizes` stops me from easily switching to `NgOptimizedImage`.




### Proposed solution

Remove `assertNoComplexSizes` assertion from `NgOptimizedImage` source.

### Alternatives considered

Add option to disable `assertNoComplexSizes` assertion conditionally somehow in dev mode.
Repository: excalidraw
Issue: initial text container resize not undoable
Labels: bug,history

If container resizes due to text edit, it's not undoable if you exit without adding text.

1. create small rectangle
2. double-click which resizes it
3. exit without typing
4. undo doesn't restore the dimension change

![Image](https://github.com/user-attachments/assets/4d5acaef-f269-4e39-be53-abafdb62d95b)
Repository: vscode
Issue: Failed to connect to the remote extension host server. (Error: CodeError(AsyncPipeFailed(Os { code: 2, kind: NotFound, message: "No such file or directory" }))
Labels: triage-needed,stale

<!-- ⚠️⚠️ 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: November 2024 (version 1.96)
- OS Version: local Darwin Kernel Version 24.0.0, remote centos 5.4.119-19-0009.3

Steps to Reproduce:

I meet the problem like https://github.com/microsoft/vscode/issues/224384 very frequently. remove remote's `~/.vscode-server/cli/servers` works. but it seriously affects my ability to use

the Remote - SSH's log here:

[debug_vscode.log](https://github.com/user-attachments/files/18395960/debug_vscode.log)
Repository: rust
Issue: suggest broken template code
Labels: A-diagnostics,T-compiler

### Code

```Rust
pub type AM<T> = Arc<Mutex<T>>;
pub trait ArcMutexTrait<T> {
    fn n(t: T) -> AM<T> { Arc::new(Mutex::new(t)) }
    fn get(&self) -> T { self.clone().lock().unwrap() }
}
impl<T> ArcMutexTrait<T> for AM<T> {}
```

### Current output

```Shell
error[E0599]: no method named `lock` found for reference `&Self` in the current scope
 --> src/common.rs:8:39
  |
8 |     fn get(&self) -> T { self.clone().lock().unwrap() }
  |                                       ^^^^ method not found in `&Self`
  |
  = help: items from traits can only be used if the type parameter is bounded by the trait
help: the following trait defines an item `lock`, perhaps you need to add a supertrait for it:
  |
6 | pub trait ArcMutexTrait: lock_api::mutex::RawMutex<T> {
  |                        +++++++++++++++++++++++++++
```

### Desired output

```Shell
something compilable.
```

### Rationale and extra context

_No response_

### Other cases

```Rust

```

### Rust Version

```Shell
rustc 1.84.0 (9fc6b4312 2025-01-07)
binary: rustc
commit-hash: 9fc6b43126469e3858e2fe86cafb4f0fd5068869
commit-date: 2025-01-07
host: aarch64-apple-darwin
release: 1.84.0
LLVM version: 19.1.5
```

### Anything else?

_No response_
Repository: PowerToys
Issue: Something went wrong.
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.0.0

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

I just started my pc and this window was open, telling me to file a bug in this github repo.

### ✔️ Expected Behavior

expected not to see this splash screen and the software to start properly.

### ❌ Actual Behavior

C:\Users\MYNAME\AppData\Local\Microsoft\PowerToys\PowerToys Run\Logs\0.87.0.0\2025-01-13.txt

Version: 0.87.0.0
OS Version: Microsoft Windows NT 10.0.22631.0
IntPtr Length: 8
x64: True
Date: 2025-01-13 12:52:06
Exception:
System.DllNotFoundException: Unable to load DLL 'wpfgfx_cor3.dll' or one of its dependencies: Error performing inpage operation. (0x800703E7)
   at MS.Win32.PresentationCore.UnsafeNativeMethods.MILFactory2.CreateFactory(IntPtr& ppIFactory, UInt32 SDKVersion)
   at System.Windows.Media.FactoryMaker..ctor()
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at Wox.Infrastructure.Image.ImageLoader.Initialize()
   at PowerLauncher.App.<>c__DisplayClass20_0.<OnStartup>b__0()
   at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
   at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)



### Other Software

_No response_
Repository: next.js
Issue: serverExternalPackages config is only in dev mode and not used in build
Labels: Webpack,Turbopack

### Link to the code that reproduces this issue

https://github.com/wmira/nextexternalbug

### To Reproduce

serverExternalPackages only getting used in dev mode. When on build, it totally ignores it and webpack throws an error.

1. Clone this repo [https://github.com/wmira/nextexternalbug](https://github.com/wmira/nextexternalbug)
2. cd server
3. 2. Notice that next.config.ts serverExternalPackages is configured
4. npm install
5. npm run dev
6. go to http://localhost:3000 in your browser. Works fine.
7. [optional] remove serverExternalPackages and do step 5 - 6. It will now throw error
8. npm run build <-- error, if you did step 7, make sure to restore original next config

Is there an option to fully opt out of server-side code bundling?

npm run build error below. 

./node_modules/@duckdb/node-bindings-linux-x64/duckdb.node
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)

Import trace for requested module:
./node_modules/@duckdb/node-bindings-linux-x64/duckdb.node
./node_modules/@duckdb/ ./node_modules/@duckdb/ sync ^\.\/node\-bindings\-.*\-.*\/duckdb\.node$
./node_modules/@duckdb/node-bindings/duckdb.js
./node_modules/@duckdb/node-api/lib/index.js
./src/app/page.tsx


### Current vs. Expected behavior

npm run dev and npm run build should work the same way.

### Provide environment information

```bash
OS: WSL
```

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

Developer Experience, Webpack, Turbopack

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

next build (local)

### Additional context

_No response_
Repository: flutter
Issue: Fix known leak in web engine when running integration tests and remove this "correction", https://github.com/flutter/flutter/issues/121640.
Labels: framework,f: integration_test,team-web

In file packages/flutter_test/lib/src/widget_tester.dart
https://github.com/flutter/flutter/blob/17025dd88227cd9532c33fa78f5250d548d87e9a/packages/flutter_test/lib/src/widget_tester.dart#L1075
Repository: pytorch
Issue: torch.distributed. pipelining  source code page is not accessible.
Labels: module: docs,triaged

### 📚 The doc issue

https://github.com/pytorch/pytorch/blob/main/docs/source/distributed.pipelining.rst?plain=1#L424C1-L491C21 
https://pytorch.org/docs/stable/distributed.pipelining.html#torch.distributed.pipelining.pipeline

When accessing the source code page, a 404 error appears.

thanks 


<img width="1458" alt="Image" src="https://github.com/user-attachments/assets/11cbfc02-878e-4967-9bc0-1eb90eab15b9" />

### Suggest a potential alternative/fix

_No response_

cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @svekars @brycebortree @sekyondaMeta @AlannaBurke
Repository: flutter
Issue: The new FadeForwardsPageTransitionsBuilder breaks when called from ModalRoute
Labels: framework,f: material design,has reproducible steps,P2,team-design,triaged-design,found in release: 3.28

### Steps to reproduce

1. Call Navigator.push in the dialog / bottomsheet.
2. Go back

### Expected results

Normal return to the dialog from which the screen was opened, as with other PageBuilders

### Actual results

It is as if the return animation is not executed. The widgets on the screen appear invisible and shifted to the left.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        pageTransitionsTheme: PageTransitionsTheme(
          builders: {
            for (var platform in TargetPlatform.values)
              platform: FadeForwardsPageTransitionsBuilder(),
            // platform: ZoomPageTransitionsBuilder(),
          },
        ),
      ),
      home: const HomeScreen(),
    );
  }
}

class HomeScreen extends StatelessWidget {
  const HomeScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            showDialog(
              context: context,
              builder: (context) {
                return Dialog(
                  child: Center(
                    child: ElevatedButton(
                      onPressed: () {
                        Navigator.push(
                          context,
                          MaterialPageRoute(
                            builder: (context) => const HomeScreen(),
                          ),
                        );
                      },
                      child: Text('тык 2'),
                    ),
                  ),
                );
              },
            );
          },
          child: const Text('тык'),
        ),
      ),
    );
  }
}
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

https://github.com/user-attachments/assets/832d69ac-261e-4680-b79c-82b3e5e7d56f

![Image](https://github.com/user-attachments/assets/12b4eedd-cea4-43ef-8018-bdf25fa33d5b)

</details>


### Logs

_No response_

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 3.28.0-2.0.pre.38664, on Microsoft Windows [Version 10.0.26120.2705], locale en-US)
[√] Windows Version (Windows 11 or higher, 24H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.11.4)
[√] Android Studio (version 2024.1)
[√] VS Code (version 1.96.2)
[√] Connected device (3 available)
[√] Network resources

• No issues found!
```

</details>
Repository: ollama
Issue: Allow building with BLAS/BLIS now that Ollama's runners are not pure native builds of llama.cpp anymore
Labels: feature request

_A regression of  ~18tks/s to ~8tks/s eval for llama3.2 in a Ryzen Threadripper 1820X._

Up to version `v.0.5.1` I was able to build the official `llama-server` from llama.cpp and use it as part of an Ollama build that skips generation.  I'm using AMD's AOCC compiler and AOCL (A BLIS-flavored implementation tunned for AMD cores) on Linux with `-march=znver1`.

I was building `llama-server` with (with AOCC and AOCL configured) with:
```
cmake -G Ninja -B build \
 -DGGML_BLAS=ON \
 -DGGML_BLAS_VENDOR=AOCL_mt \
 -DCMAKE_C_COMPILER=clang \
 -DCMAKE_CXX_COMPILER=clang++ \
 -DGGML_NATIVE=OFF \
 -DLLAMA_BUILD_TESTS:BOOL=0 \
 -DCMAKE_BUILD_TYPE:STRING=Release \
 -DGGML_AVX:BOOL=1 \
 -DGGML_AVX2:BOOL=1 \
 -DGGML_BLAS:BOOL=1  \
 -DGGML_BUILD_EXAMPLES:BOOL=0 \
 -DBUILD_SHARED_LIBS:BOOL=0 \
 -DGGML_NATIVE:BOOL=0 \
 -DGGML_FMA:BOOL=1 \
 -DGGML_F16C:BOOL=1 \ 
 -DGGML_LTO:BOOL=1 \
 -DCMAKE_C_FLAGS:STRING="-march=znver1" \
 -DCMAKE_CXX_FLAGS:STRING="-march=znver1"  \
 -DCMAKE_INSTALL_PREFIX:PATH=/root/llama.cpp/install \
 -DBLAS_INCLUDE_DIRS:PATH=/root/aocl/5.0.0/aocc/include
```

But now, Ollama doesn't use a pure build of llama.cpp anymore. And to make things worse, it's passing a `runner` argument that `llama-server` doesn't accept.

From my understand the runners are now Go applications that link to llama.cpp at build time.

How can I have a custom build of these Go runners that use BLIS and allow me to pass `-march=znver1` at build time?

p.s.: I'm not a Go developer :(