sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: tensorflow
Issue: model.fit fails when the number of rows exceeds Int32.MaxValue
Labels: type:bug,TF 2.18

### Issue type

Bug

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

Yes

### Source

source

### TensorFlow version

2.19.0-dev20241117

### Custom code

Yes

### OS platform and distribution

MacOS 15.1.0

### Mobile device

_No response_

### Python version

3.10

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

I would expect model.fit to handle training on extremely large NumPy arrays without limitations.

### Standalone code to reproduce the issue

```shell
import numpy as np
from keras import Sequential
from keras.layers import Dense

n = 2_147_483_648
x = np.zeros(n).astype(np.float32)
y = x

model = Sequential([
    Dense(64, activation="relu", input_shape=(1,)),
    Dense(1, activation="sigmoid")
])
model.compile(optimizer="adam", loss="binary_crossentropy")
model.fit(x=x,y=y, epochs=1, batch_size=1024, verbose=1)
```


### Relevant log output

```shell
ValueError: Invalid value in tensor used for shape: -2147483648
```
Repository: langchain
Issue: bind_tools function fails with AzureMLChatOnlineEndpoint
Labels: Ɑ:  core

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

```
from langchain_community.chat_models.azureml_endpoint import AzureMLChatOnlineEndpoint

llm = AzureMLChatOnlineEndpoint(#AzureMLOnlineEndpoint(
    endpoint_url="https://your-endpoint",
    endpoint_api_type=AzureMLEndpointApiType.dedicated,
    endpoint_api_key="",
    model_kwargs={"temperature": 0.3, "max_new_tokens": 400},
        content_formatter=CustomOpenAIChatContentFormatter(),
)
llm_with_tools = llm.bind_tools(tools)

```

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

---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
Cell In[17], line 1
----> 1 llm_with_tools = llm.bind_tools(tools)

File [~\AppData\Local\anaconda3\envs\llm\Lib\site-packages\langchain_core\language_models\chat_models.py:1115]
/anaconda3/envs/llm/Lib/site-packages/langchain_core/language_models/chat_models.py#line=1114), in BaseChatModel.bind_tools(self, tools, **kwargs)
   1108 def bind_tools(
   1109     self,
   1110     tools: Sequence[
   (...)
   1113     **kwargs: Any,
   1114 ) -> Runnable[LanguageModelInput, BaseMessage]:
-> 1115     raise NotImplementedError

NotImplementedError:

### Description

The function should support bind_tool since it is a chat model but got the error as above.

### System Info

Name: langchain-core
Version: 0.3.19

Name: langchain
Version: 0.3.7
Repository: material-ui
Issue: [utils] Use utilities from Base UI
Labels: on hold,package: utils

_on hold until https://github.com/mui/base-ui/pull/827 is merged and Base UI API is stable_

Since Base UI is going to be the upstream project for Core, it makes sense for the utils to be defined there. The dependency on @mui/utils and @mui/types in Base UI was removed in https://github.com/mui/base-ui/pull/827. We need to update @mui/utils (or dependent projects directly) to use these utils from Base UI.

**Search keywords**:
Repository: godot
Issue: Unable to Run Projects on Godot 4.4.dev4 Android
Labels: bug,platform:android,needs testing,topic:export

### Tested versions

Godot v4.4.dev4 - Android - Single-window, 1 monitor - OpenGL ES 3 (Compatibility) - PowerVR Rogue GE8300 -  (4 threads)

### System information

Godot v4.4.dev4 - Android - Single-window, 1 monitor - OpenGL ES 3 (Compatibility) - PowerVR Rogue GE8300 -  (4 threads)

### Issue description

When attempting to run a project in Godot 4.4.dev4 on Android, the screen briefly turns black for a second before the editor reloads itself, returning to the editor without running the game/project. This makes it impossible to run or test any project.


https://github.com/user-attachments/assets/75e21144-09ce-4f35-ae93-374fcbdcafb8



### Steps to reproduce

1. Install Godot 4.4.dev4 on an Android device.

2. Open or create a new project in the editor.

3. Press the "Play" button to run the project.

4. Observe the screen behavior: a black screen appears momentarily, and then the editor reloads without running the project.

### Minimal reproduction project (MRP)

[testnew.zip](https://github.com/user-attachments/files/17812874/testnew.zip)
Repository: electron
Issue: Enabling Vibrancy and backdrop-filter blur doesn't render properly
Labels: platform/windows,platform/macOS,bug :beetle:,has-repro-gist,34-x-y

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

34.0.0-beta.4

### What operating system(s) are you using?

macOS, Windows

### Operating System Version

macOS 15.2 Beta (24C5079e)

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

_No response_

### Expected Behavior

Have an electron application with vibrancy enabled. Get some text or other element and add another element with both a transparent background and the backdrop-filter set to blur(10px) (or any value). This should just have the text in the background render blurred.


### Actual Behavior

However the text in the background gets blurred and not at the same time. An example can be found under the additional informations section

Here is an image of the actual behaviour, the text is not properly blurred as you can see. This works if you disable the vibrancy of the window.

![Image](https://github.com/user-attachments/assets/a267a309-0d5c-457f-981d-5bcc96057f55)


### Testcase Gist URL

https://gist.github.com/RoyalFoxy/750b5723eed2cb65cdb23f253bf2a7c7

### Additional Information

I have used the latest bleeding edge version of electron for this. As you can see I added the background color and the backdrop-filter and it produces a weird effect.

I already had an issue open for this for version 25 from over a year ago https://github.com/electron/electron/issues/39529#issuecomment-2471844991
And that issue was also just a continuation of another issue that got closed from iirc version 16 as it dropped out of support scope
Repository: vscode
Issue: API - expose TextEditor for each extension so that API proposals can be enforced
Labels: bug,api,debt,scm
Repository: go
Issue: cmd/internal/testdir: Test/fixedbugs/issue68525.go failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "cmd/internal/testdir" && test == "Test/fixedbugs/issue68525.go"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8730894001840957681)):

    === RUN   Test/fixedbugs/issue68525.go
    === PAUSE Test/fixedbugs/issue68525.go
    === CONT  Test/fixedbugs/issue68525.go
        testdir_test.go:147: exit status 1
            # command-line-arguments
            callRet: nosplit stack over 800 byte limit
            callRet<26>
                grows 72 bytes, calls runtime.reflectcallmove<0>
                    grows 72 bytes, calls runtime.reflectcallmove<1>
                        grows 72 bytes, calls runtime.bulkBarrierPreWrite<1>
    ...
                                                    grows 56 bytes, calls runtime.asmcgocall<1>
                                                        grows 32 bytes, calls gosave_systemstack_switch<26>
                                                            grows 0 bytes, calls runtime.abort<0>
                                                            8 bytes over limit
                                                        grows 32 bytes, calls runtime.save_g<0>
                                                        8 bytes over limit
                                                        grows 32 bytes, calls runtime.save_g<0>
                                                        8 bytes over limit
            
    --- FAIL: Test/fixedbugs/issue68525.go (43.46s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: PowerToys
Issue: FancyZones - Enable drag and pause action to show zones for snapping
Labels: Needs-Triage

### Description of the new feature / enhancement

Option to enable zones when clicking window title bar, dragging and then pausing for a user-configurable time (eg 1 second) allowing the window to be dropped where desired.  This would remove the need to hold down a key to show the zones and could be used with just the mouse.

### Scenario when this would be used?

I'm a musician and I often have one hand on my piano keyboard.  It would be great to not have to engage both hands to snap.  This could also be considered an accessibility feature as it can make snapping to zones a one-handed operation.

### Supporting information

_No response_
Repository: vscode
Issue: search only in expanded code
Labels: feature-request,search

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

Add checkbox to search window to search only in expanded code. Or don't search in collapsed code.
Repository: opencv
Issue: getUnconnectedOutLayers() does not work with onnx detection models with the new dnn engine
Labels: bug,category: samples,category: dnn

### System Information

OpenCV version: 5.0.0-pre
Operating System / Platform: Ubuntu 22.04
Compiler & compiler version: GCC 11.4.0

### Detailed description

I encountered an issue while using the new DNN engine in OpenCV, which causes a crash when running YOLO models. Type of the output layer is required to process different models differently. 

The following snippet works with ENGINE_CLASSIC:

```cpp
static vector<int> outLayers = net.getUnconnectedOutLayers();
static string outLayerType = net.getLayer(outLayers[0])->type;
```

With new DNN ENGINE, the outLayers is a vector of single element 0. Thus, does not represent the OutLayers in the right way. 

In the net_impl.hpp, [here](https://github.com/opencv/opencv/blob/5.x/modules/dnn/src/net_impl.cpp#L2319), outputNameToId is empty as registerOutput() does not seem to be called anymore. 

This pull request #26486 sets the engine to ```ENGINE_CLASSIC``` to ensure the object detection sample runs correctly.

### Steps to reproduce

```cpp
example_dnn_object_detection yolov8
```

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: PowerToys
Issue: Keyboard manager "swallows" Ctrl within Outlook
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

I have the following defined in Keyboard Manager:

![Image](https://github.com/user-attachments/assets/8de78ffd-2a77-4d5a-a7b6-23c02a8be0b7)

In some circumstances (can't determine what triggers this) only `Ctrl+F` works in Outlook, the `Ctrl` modified is ignored for everything else (`Ctrl+C` can't copy and inserts `c` instead,  `Ctrl+V` doesn't paste but inserts `v` instead, `Ctrl+N` doesn't create a new email, etc.)

Workaround: when this happens, turn Keyboard Manager off then back on.


### ✔️ Expected Behavior

Only the key combinations defined in Keyboard Manager should be affected / remapped.


### ❌ Actual Behavior

`Ctrl+F` works in Outlook, but the `Ctrl` modified is ignored for everything else (`Ctrl+C` can't copy and inserts `c` instead,  `Ctrl+V` doesn't paste but inserts `v` instead, `Ctrl+N` doesn't create a new email, etc.)

### Other Software

_No response_
Repository: vscode
Issue: window terminated unexpectedly
Labels: info-needed,freeze-slow-crash-leak

<!-- ⚠️⚠️ 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: 
- OS Version: 

Steps to Reproduce:

1. Visual Studio Code <2>
The window terminated unexpectedly (reason: 'clean- exit', code: '0')
We are sorry for the inconvenience. You can reopen the window to
continue where you left off.
Don't restore editors

how can i fix this when i restarted and opened my system multiple times but the issue remain not gone.
Repository: PowerToys
Issue: File hash values
Labels: Needs-Triage

### Description of the new feature / enhancement

Being able to show a file hash value, or compare it to a given hash value.
Supply the algorithm as a parameter.

### Scenario when this would be used?

When downloading files it is very useful to know their hash values, and now it is cumbersome to have that shown in Windows Explorer.

### Supporting information

_No response_
Repository: flutter
Issue: [et] Building the engine with Xcode 16
Labels: tool,t: xcode,P2,team-engine,triaged-engine,e: engine-tool

The latest version of MacOS 15.1 requires installing a new version of Xcode (16).

After upgrading XCode from 15 to 16, my engine builds started failing.

Commands to run:

`/Users/dacoharkes/flt/engine/flutter/bin/cache/dart-sdk/bin/dart /Users/dacoharkes/flt/engine/src/flutter/tools/engine_tool/bin/et.dart build --rbe --gn-args=--no-prebuilt-dart-sdk -c android_debug_unopt_arm64`

Error:

`no such sysroot directory: '../../flutter/prebuilts/SDKs/MacOSX14.0.sdk`

Investigation:

```
$ pwd
/Users/dacoharkes/flt/engine/src/flutter/prebuilts/SDKs
$ ls -lah
[...]
lrwxr-xr-x  1 dacoharkes  primarygroup    98B Nov 18 15:05 MacOSX14.0.sdk -> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk
$ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
MacOSX.sdk	MacOSX15.1.sdk	MacOSX15.sdk
```

Indeed MacOS14 is no longer there in Xcode 16.

Maybe I'm holding it wrong? Is there a way to trick the engine build into using `MacOSX15.1.sdk` without making a clean checkout?  @johnmccutchan @matanlurey 

(edit: manually adding a symlink seems to work.)
Repository: react
Issue: next-themes not working with React 19.0.0-rc-66855b96-20241106
Labels: React 19

Description:
I encountered an issue when trying to use the next-themes package with React 19.0.0-rc-66855b96-20241106. The package was working fine with React 18.3.1, but after upgrading to this release candidate version, it failed to function as expected.

Steps to Reproduce:

Initialize a React project with React 19.0.0-rc-66855b96-20241106.
Run the command npm i next-themes to install the package.
Observe that the package does not work as it did in React 18.3.1.
Expected Behavior:
next-themes should work seamlessly as they did in React 18.3.1.

Actual Behavior:
The package does not function properly after the upgrade, and there is no specific error logged to indicate what might be causing the issue.

Environment:

React version: 19.0.0-rc-66855b96-20241106
Node.js version: v22.11.0
Repository: PowerToys
Issue: ALT+ESC remapping fails, disables function completly
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

v0.86.0

### Installation method

GitHub, PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Add a new keyboard shortcut remap for ALT+ESC (switch active window to next)
Observe that the new mapping does not work (nothing happens).
Observe also that the original shortcut does not work (nothing happens).
I'm trying to remap it to ALT+` but other mappings don't work either (for example ALT+F1)

### ✔️ Expected Behavior

The shortcut should be properly mapped to the new configuration

### ❌ Actual Behavior

Nothing happens. Original shortcut also is disabled.

### Other Software

_No response_
Repository: PowerToys
Issue: [FR]: Bring alt-tab selected window to the center of the main monitor, and back to where it came from once it's out of focus
Labels: Needs-Triage

### Description of the new feature / enhancement

I'd like to propose a window management feature that brings an alt-tab selected window to the center of the main monitor and sends it to a different, pre-defined location once alt-tabbed out of focus.



### Scenario when this would be used?

The user story here is that I have a bunch of windows across multiple monitors open and laid out in a particular way that I want to mostly be able to glance at and only periodically interact with. However, when I do need to interact with a particular winodw, I want to bring it to the center of the main monitor for the duration of the interaction and send it back to the pre-defined position once I'm done.

### Supporting information

I think the conceit that can be used is pinning. Pin a window in particular place and then alt-tabbing it in and out of focus carries it between the center of the main monitor and its pinned location.

That should probably be extended to being able to define the in-focus state (location & size of the window).
Repository: pytorch
Issue: multilabel_margin_loss gives incorrect results in torch.compile
Labels: triaged,oncall: pt2,module: pt2 accuracy

### 🐛 Describe the bug

Got different results when running compiled version of torch.nn.functional.multilabel_margin_loss.

Reproducer:

```
import torch

dtype = torch.float32
C = 6
N = 2
reduction = "none"
#backend = "eager" # this works
backend = "aot_eager" # this fails

def func(x, y, reduction):
    result = torch.nn.functional.multilabel_margin_loss(x, y, reduction=reduction)
    return result

input = torch.rand((N, C) if N is not None else C, dtype=dtype)

target = torch.rand(input.shape)
target = torch.multinomial(target, C, replacement=False)

indexes = torch.randint(1, C, (N,) if N is not None else (1,))
indexes_mask = torch.nn.functional.one_hot(indexes, C).to(torch.bool)

target = torch.where(indexes_mask, -1, target)
target = target.reshape(input.shape)

# Both functions give different results
normal_output = func(input, target, reduction)
compile_output = torch.compile(func, backend=backend)(input, target, reduction)

print("Input:", input)
print("Target:", target)
print("Normal output:", normal_output)
print("Compile output:", compile_output)    

torch.testing.assert_close(normal_output, compile_output)
```

Observe numerical inaccuracies also for other reduction modes. Additionally see that with `backend = "eager"` everything run as intended.

### Error logs

```
Input: tensor([[0.1798, 0.5515, 0.3197, 0.8951, 0.9017, 0.3625],
        [0.0736, 0.9311, 0.8952, 0.8994, 0.7971, 0.8615]])
Target: tensor([[ 4,  5,  0,  3, -1,  2],
        [ 5, -1,  1,  4,  0,  3]])
Normal output: tensor([1.1345, 0.7148])
Compile output: tensor([1.9717, 7.5716])
Traceback (most recent call last):
  File "/home/pswider/qnpu/multilabel_repro.py", line 34, in <module>
    torch.testing.assert_close(normal_output, compile_output)
  File "/home/pswider/venv-pure/lib/python3.10/site-packages/torch/testing/_comparison.py", line 1530, in assert_close
    raise error_metas[0].to_error(msg)
AssertionError: Tensor-likes are not close!

Mismatched elements: 2 / 2 (100.0%)
Greatest absolute difference: 6.85684871673584 at index (1,) (up to 1e-05 allowed)
Greatest relative difference: 0.9055964946746826 at index (1,) (up to 1.3e-06 allowed)
```

### Versions

PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
OS: Ubuntu 22.04.5 LTS (x86_64)

cc @chauhang @penguinwu
Repository: PowerToys
Issue: Thinkpad trackpad middle button function as double click.
Labels: Needs-Triage

### Description of the new feature / enhancement

Press the middle button on Thinkpad trackpads, and get a double click.

### Scenario when this would be used?

Every-day use, enhancing workflow a lot all the time.

### Supporting information

_No response_