sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: TypeScript
Issue: Huge jump in tsc memory usage from 5.5.4 -> 5.6.2
Labels: Needs More Info

### 🔎 Search Terms

"transformTime time", "compile time"

### 🕗 Version & Regression Information

- This changed between versions 5.5.4 and 5.6.2

### ⏯ Playground Link

_No response_

### 💻 Code

`tsc` on 5.6.2 is taking up significantly more memory for unknown reasons. No other dep changes other than typescript upgrade. I've looked into various articles / guides to try and track down how to further investigate this, but thus far I have not found a way to really track what is newly taking up so much more memory. 

### 🙁 Actual behavior

After upgrading to 5.6, the memory usage of my `tsc` is more than double with no other changes to my `.tsconfig.json` file or the underlying code

![CleanShot 2024-10-07 at 22 35 37@2x](https://github.com/user-attachments/assets/e92dcbfd-29b6-4e7e-ac78-3b1807a03264)


### 🙂 Expected behavior

Before upgrade to 5.6, when running `tsc` on my project I get the following diagnostics.

![CleanShot 2024-10-07 at 22 35 01@2x](https://github.com/user-attachments/assets/ffd01e08-b5e7-439f-86aa-0af2b5424f77)


### Additional information about the issue

_No response_
Repository: vscode
Issue: Selection menu is permanently displayed
Labels: bug,upstream,macos,menus

<!-- ⚠️⚠️ 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: 
  Version: 1.94.0
  Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511
  Date: 2024-10-02T13:08:12.626Z
  Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 
  AppleWebKit/537.36 (KHTML, like Gecko) Code/1.94.0 
  Chrome/124.0.6367.243 Electron/30.5.1 Safari/537.36

#### OS Version: 
15.0.1 (24A348)

I am not sure if this is a VS Code bug or if it belongs to macOS, but I managed somehow to get the Selection menu drop-down to be *permanently* displayed (not entirely sure how, but I _think_ I was holding the mouse down while the File -> Open Recent menu was open, and then I tried to click an item but missed and hit an area outside any actual menu item).

The menu remains displayed in defiance of:

- Escape
- Hitting Selection top level menu several times to toggle it on/off
- Right-clicking VS Code icon in dock and do "Show all windows"
- Clicking any of the items in the menu drop-down
- Opening/closing other top-level menus
- Cycling through windows with Cmd+Tab

Whenever VS Code is the foreground app, that menu is visible. I am going to do a sysdiagnose just in case. Please send me a request for specific files from the sysdiagnose if any of them will help you. I will keep it around for a few weeks.

#### Spindump:

[vscode-spindump.txt](https://github.com/user-attachments/files/17287936/vscode-spindump.txt)

#### Screen recording:

https://github.com/user-attachments/assets/696dd342-11a2-473b-ba2d-f7d5974f7f2f
Repository: transformers
Issue: Add Loss Functions for QFormer Training in BLIP-2 Model (ITC, ITM, and ITG)
Labels: Feature request,Multimodal

### Feature request

I propose adding a loss calculation for QFormer training in the BLIP-2 model. Implementing this feature would allow fine-tuning the QFormer and language models for image-text retrieval and captioning tasks, which is crucial for practical applications.

### Motivation

I want to train the BLIP-2 model using the transformers library. In particular, loss functions for Image-Text Contrastive (ITC), Image-Text Matching (ITM), and Image-grounded Text Generation(ITG) are not included, which requires users to manually implement the loss functions.

### Your contribution

I would like to contribute to this open-source project by implementing the loss functions.
Repository: stable-diffusion-webui
Issue: [Feature Request]: Add Custom Notifications for All Tabs (Not Just Text2Img)
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

It would be helpful to have customizable notification sounds across all tabs in the WebUI, not just for Text2Img. This would allow users to set different sounds for processes like img2img, inpainting, or LoRA training, enhancing workflow by making it easier to identify when a task is done, even if they are multitasking or working in other tabs. This builds on the existing notification feature but adds more flexibility and customization.

### Proposed workflow

### How to Access and Use Customizable Notification Sounds Feature:

1. **Settings Menu:**
   - Navigate to the **Settings** tab in the WebUI.
   - Find a new section labeled **Notifications**.

2. **Enable Custom Sounds:**
   - Toggle **Enable Custom Notification Sounds** to activate custom sounds for all tabs.

3. **Select Sounds for Each Tab:**
   - Assign different sounds for **txt2img**, **img2img**, **inpainting**, **LoRA training**, etc.
   - Choose or upload an audio file (e.g., .mp3, .wav) from a dropdown or upload option.

4. **Volume and Notification Options:**
   - Adjust the volume for each sound.
   - Option to play sounds even when the tab is not focused.

5. **Save Preferences:**
   - Click **Save** to apply your custom settings across all tabs.


### Additional information

_No response_
Repository: pytorch
Issue: torch.compile graph break: torch._dynamo.exc.Unsupported: __self__ mismatch for bound method
Labels: high priority,triaged,module: regression,oncall: pt2,module: dynamo,module: graph breaks

### 🐛 Describe the bug

```python
import torch
import torch.nn as nn

def set_attrs_from_orig_model(cls_instance, mod, *func_names):
    cls_instance.__dict__.update(mod.__dict__)
    if func_names is not None:
        for func in func_names:
            setattr(cls_instance, func, getattr(mod, func))

class PatchedMyModule(nn.Module):
    def __init__(self, mod):
        super().__init__()
        set_attrs_from_orig_model(self, mod, "resolve_input")

    def forward(self, x):
        x = self.resolve_input(x)
        return x

class MyModule(nn.Module):
    def __init__(self, input_dim, output_dim):
        super().__init__()
        self.linear = nn.Linear(in_features=input_dim, out_features=output_dim)

    def resolve_input(self, x):
        x = torch.nn.Dropout(0.1)(self.linear(x))
        return x

    def forward(self, x):
        x = self.linear(x)
        return x

module = MyModule(input_dim=1, output_dim=1)
patched_module = PatchedMyModule(module)
compiled_module = torch.compile(patched_module, fullgraph=True)

input_tensor = torch.tensor([1.], dtype=torch.float)
res = compiled_module(input_tensor)
```
fail with: `torch._dynamo.exc.Unsupported: __self__ mismatch for bound method`


### Versions

torch==2.5.0.dev20240909+cpu

cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @amjames @rec
Repository: PowerToys
Issue: Mouse highlighter "Always highlight color" stays on after toggling opacity to zero again
Labels: Issue-Bug,Help Wanted,Priority-3,Product-Mouse Utilities,Status-Reproducible

### Microsoft PowerToys version

0.85.1

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

When you change the transparency to 0, a bug will appear.

https://github.com/user-attachments/assets/a8e37894-7ea4-4a5b-854e-baaacc77bec4



### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: transformers
Issue: Add support for Apple's Depth-Pro
Labels: New model,Vision

### Model description

**Depth Pro: Sharp Monocular Metric Depth in Less Than a Second.**

Depth Pro synthesizes high-resolution depth maps with unparalleled sharpness and high-frequency details. The predictions are metric, with absolute scale, without relying on the availability of metadata such as camera intrinsics. And the model is fast, producing a 2.25-megapixel depth map in 0.3 seconds on a standard GPU. These characteristics are enabled by a number of technical contributions, including an efficient multi-scale vision transformer for dense prediction, a training protocol that combines real and synthetic datasets to achieve high metric accuracy alongside fine boundary tracing, dedicated evaluation metrics for boundary accuracy in estimated depth maps, and state-of-the-art focal length estimation from a single image.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

- Research Paper: [Depth Pro: Sharp Monocular Metric Depth in Less Than a Second](https://arxiv.org/pdf/2410.02073)
- Authors: [Aleksei Bochkovskii](https://arxiv.org/search/cs?searchtype=author&query=Bochkovskii,+A), [Amaël Delaunoy](https://arxiv.org/search/cs?searchtype=author&query=Delaunoy,+A), and others
- Implementation: [apple/ml-depth-pro](https://github.com/apple/ml-depth-pro)
- Models Weights: [apple/DepthPro](https://huggingface.co/apple/DepthPro)
Repository: PowerToys
Issue: Workspaces disables virtual desktop navigation
Labels: Issue-Bug,Needs-Triage,Product-Workspaces

### Microsoft PowerToys version

0.85.1

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

Workspaces

### Steps to reproduce

When enabled, the workspaces option disables keyboard shortcuts for virtual desktops <ctrl>+<win>+<right/left arrow> this makes using virtual desktops quite difficult especially if there is a need to quickly cycle back and forth through them.   

### ✔️ Expected Behavior

To still be able to use virtual desktop default navigation.

### ❌ Actual Behavior

keyboard input appears not to work when using virtual desktop default navigation when power toys workspaces is enabled. Work-a-round was to disable workspaces.

### Other Software

_No response_
Repository: vscode
Issue: Action/Command to show all files of a folder in a single view
Labels: feature-request

<!-- ⚠️⚠️ 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. -->
This idea is actually coming from the new diff view showing multiple files.

Sometimes, in some languages, there are many small files related to one another. Usually, they reside in a folder. An action or command to open all these files in a single editor view, just like the multiple files diff view, will help to navigate the files easily.

This can be further customized by letting extensions open an arbitrary list of files from the workspace in a single editor view.
Repository: tensorflow
Issue: tensorflow.python.ops.parsing_ops.parse_single_sequence_example can cause a crash
Labels: stat:awaiting tensorflower,type:bug,comp:ops

### Issue type

Bug

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

Yes

### Source

binary

### TensorFlow version

tf-nightly 2.19.0-dev20241007

### Custom code

Yes

### OS platform and distribution

Linux Ubuntu 20.04.3 LTS

### Mobile device

Linux Ubuntu 20.04.3 LTS

### Python version

3.10.14

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

I have confirmed that above code would crash on `tf-nightly 2.19.0-dev20241007` (nightly-build)

Please find the [gist](https://colab.research.google.com/drive/17PzKxkDEr3N8E9D9Kk_mT2A1LyPpoZZe?usp=sharing) to reproduce the issue.

### Standalone code to reproduce the issue

```shell
from tensorflow.core.example import example_pb2
from tensorflow.core.example import feature_pb2
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import ops
from tensorflow.python.ops import parsing_ops
example = example_pb2.Example
feature = feature_pb2.Feature
features = lambda d: feature_pb2.Features(feature=d)
bytes_feature = lambda v: feature(bytes_list=feature_pb2.BytesList(value=v))
int64_feature = lambda v: feature(int64_list=feature_pb2.Int64List(value=v))
float_feature = lambda v: feature(float_list=feature_pb2.FloatList(value=v))
feature_list = lambda l: feature_pb2.FeatureList(feature=l)
feature_lists = lambda d: feature_pb2.FeatureLists(feature_list=d)
sequence_example = example_pb2.SequenceExample

def testSequenceExampleListWithWrongShapeFails():
    original = sequence_example(feature_lists=feature_lists({'a': feature_list([int64_feature([2, 3]), int64_feature([2, 3, 4])])}))
    serialized = original.SerializeToString()
    parsing_ops.parse_single_sequence_example(**
        ({
            'example_name': 'in1',
            'serialized': ops.convert_to_tensor(serialized),
            'sequence_features': {'a': parsing_ops.FixedLenSequenceFeature((0, 0), dtypes.int64)}
        }))
testSequenceExampleListWithWrongShapeFails()
```


### Relevant log output

```shell
Floating point exception (core dumped)
```
Repository: kubernetes
Issue: Add Opaque as default type in kubectl create secret .
Labels: kind/bug,area/kubectl,sig/cli,needs-triage

### What happened?

Reference : https://github.com/kubernetes/kubernetes/pull/120337/files#r1408525014
Opaque is not added as default type in code as we see empty string when stating type in help message.
```shell
Options:
...
    --type='':
	The type of secret to create
...
```

### What did you expect to happen?

Options:
```shell
...
    --type='Opaque':
	The type of secret to create
...
```

### How can we reproduce it (as minimally and precisely as possible)?

```shell
kubectl create secret generic --help
```

### Anything else we need to know?

NONE

### Kubernetes version

<details>

```console
$ kubectl version
```

</details>


### Cloud provider

<details>
any
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: tensorflow
Issue: tensorflow.python.ops.signal.dct_ops.dct aborts with "Assertion failure no zero-sized FFTs"
Labels: stat:awaiting tensorflower,type:bug,comp:ops,2.17

### Issue type

Bug

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

Yes

### Source

binary

### TensorFlow version

tf-nightly 2.19.0-dev20241007

### Custom code

Yes

### OS platform and distribution

Linux Ubuntu 20.04.3 LTS

### Mobile device

_No response_

### Python version

3.10.14

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

I have confirmed that above code would crash on `tf-nightly 2.19.0-dev20241007` (nightly-build)
Please find the [gist](https://colab.research.google.com/drive/1oBjZoqp6WZn_VU-CTxZ3bspUc6v9D51s?usp=sharing) to reproduce the issue.

### Standalone code to reproduce the issue

```shell
import numpy as np
from tensorflow.python.eager import def_function
from tensorflow.python.framework import tensor_spec
from tensorflow.python.ops.signal import dct_ops

def test_with_dynamic_dimensions(dct_type, norm, shape, dtype):
    @def_function.function
    def func(signals):
        return dct_ops.dct(signals, n=norm, type=dct_type, norm=None)
    signals_spec = tensor_spec.TensorSpec([None] * len(shape), dtype)
    f = func.get_concrete_function(signals_spec)
    f(np.zeros([0], dtype=dtype))
test_with_dynamic_dimensions(3, None, [3], np.float32)
```


### Relevant log output

```shell
DUCC FFT c2r failed: 
bazel-out/k8-opt/bin/external/ducc/_virtual_includes/fft/ducc/src/ducc0/fft/fft1d_impl.h: 2948 (static Trpass<Tfs> ducc0::detail_fft::rfftpass<float>::make_pass(size_t, size_t, size_t, const Troots<Tfs> &, bool) [Tfs = float]):

Assertion failure
no zero-sized FFTs

Aborted (core dumped)
```
Repository: PowerToys
Issue: PowerRename: Possibility to choose between “Created” and “ Changed” date
Labels: Needs-Triage

### Description of the new feature / enhancement

Hello!

The “Created” date is currently used for _$YYYY.$MM.$DD (see screenshot). But for us, the “Changed” date is often relevant, see screenshot.

It would be helpful to be able to switch in the PowerRename interface whether the “Created” or “Changed” date is used for the current renaming.

I would ask you to check this. 
Thank you very much.
Matthias

![Screenshot 2024-10-08 093416](https://github.com/user-attachments/assets/ea0820d9-09a6-473c-aeab-6c0138370501)


### Scenario when this would be used?

We often receive files (e.g. floor plans) without an index/date in the file name. We would like to add _$YYYY.$MM.$DD to these PDFs with PowerRename so that the “changed” date is visible in the file name.

### Supporting information

v0.83.0
Windows 11, 64bit, German
Repository: next.js
Issue: Consecutive slashes in URL trigger routing error and no page renders in browser when Next.js runs behind gateway
Labels: bug,Navigation,Internationalization (i18n),Pages Router

### Link to the code that reproduces this issue

https://github.com/cosieLq/exampleApp_nextjs/tree/reproduction-double-slash-routing-error

### To Reproduce

1. Start the application (npm run dev or npm run start)
2. Start the gateway (node proxy.js)
3. Go to localhost:8000///about
4. Observe browser console and see 'Error: invariant: invalid relative URL, router received...'

### Current vs. Expected behavior

I expected no error in browser console and the page to render correctly.

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.6.0: Wed Jul 31 20:48:52 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T6020
  Available memory (MB): 16384
  Available CPU cores: 12
Binaries:
  Node: 20.15.1
  npm: 10.7.0
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 15.0.0-canary.179 // Latest available version is detected (15.0.0-canary.179).
  eslint-config-next: N/A
  react: 19.0.0-beta-04b058868c-20240508
  react-dom: 19.0.0-beta-04b058868c-20240508
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


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

Internationalization (i18n), Navigation, Pages Router

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

next dev (local), next start (local), Other (Deployed)

### Additional context

When i18n is disabled in next.config.js, no error will appear and the page renders correctly.
Repository: neovim
Issue: LSP: Cannot use Ctrl-O to scroll through omnifunc menu
Labels: bug,input,has:repro,lsp,completion,insert-mode

### Problem

After pressing `Ctrl-X Ctrl-O` one is supposed to be able to continue pressing `Ctrl-O` to cycle through the options presented. Convenient because you don't have to move your fingers after pressing the combo that brought up the menu in the first place.

I have tested this with both `rust-analyzer` and `clangd` changing _only_  `pattern` and `cmd` in the suggested minimal setup. 

I believe this is a general LSP issue as it happens with two different LSP servers, and it does _not_ happen using the following minimal (albeit stupid) setup:
```vim
function! Nonsense(findstart, base)
    if a:findstart == 1
        return 0
    endif
    return ["lol", "rofl", "mao"]
endfunction

set omnifunc=Nonsense
```
Here I can cycle the matches using all of `Ctrl-[NPO]` as expected, in accordance with the docs:

        CTRL-O  or                                                                                                             
        CTRL-N          Use the next match.  This match replaces the previous                                                  
                        one.                                                                                                   
                                                                                                                               
        CTRL-P          Use the previous match.  This match replaces the                                                       
                        previous one.


### Steps to reproduce using "nvim -u minimal_init.lua"

Going forward with `clangd` here:

```lua
--- CHANGE THESE
local pattern = 'cpp'
local cmd = {'clangd'}
-- Add files/folders here that indicate the root of a project
local root_markers = {'.git', '.editorconfig'}
-- Change to table with settings if required
local settings = vim.empty_dict()

vim.api.nvim_create_autocmd('FileType', {
  pattern = pattern,
  callback = function(args)
    local match = vim.fs.find(root_markers, { path = args.file, upward = true })[1]
    local root_dir = match and vim.fn.fnamemodify(match, ':p:h') or nil
    vim.lsp.start({
      name = 'bugged-ls',
      cmd = cmd,
      root_dir = root_dir,
      settings = settings
    })
  end
})
```

After pressing `Ctrl-X Ctrl-O` on the following partial line (in an otherwise correct C++ file) with the cursor at the end of the line:
```cpp
std::vector<int> v; v.p
```
I see a menu suggesting `pop_back()` and `push_back()`.  Press `Ctrl-O` again and first suggestion is inserted, the menu closed and `Ctrl-O` is interpreted as if I was not using `omnifunc` (i.e. as in `:h i_CTRL_O`). `Ctrl-N` and `Ctrl-P` both still work as expected.

### Expected behavior

I expect `push_back()` to be selected from the `omnifunc` menu.

### Nvim version (nvim -v)

0.10.1

### Language server name/version

clangd 18.1.8

### Operating system/version

Ubuntu 24.04

### Log file

https://gist.github.com/Osse/1ce02d434522e82a8cf7f9eea00a715b
Repository: flutter
Issue: `SNAPSHOT` in plugin `build.gradle` causes false positive warnings in some build analysis systems
Labels: tool,P3,a: plugins,team-android,triaged-android

Hi! I would like to use these plugins

- path_provider_android
- url_launcher_android

in my Flutter application.

My CI/CD procedure checks for any vulnerable dependencies. For these plugins, an unstable version is detected due to the version indicated in the build.gradle file of the native Android components (1.0-SNAPSHOT). Is it possible to align the version in the build.gradle file with the same version as the Dart side plugin?