sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: transformers
Issue: The examples in the examples directory are mostly for fine-tuning pre-trained models？how to trian from  scratch
Labels: New model

### Model description

no 

### Open source status

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

### Provide useful links for the implementation

_No response_
Repository: ollama
Issue: Llama 3.1 70b 128k context not fitting 96Gb
Labels: bug,nvidia,memory

### What is the issue?

Not only it doesn't fit 96Gb (offloading only 10 layers out of 81), but processing actual ~128k request crashes with `CUDA error: out of memory` on 160Gb (will all layers offloaded)

As mentioned here https://github.com/ollama/ollama/issues/6279#issuecomment-2342546437_
this is obviously a bug

### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.3.10
Repository: pytorch
Issue: Setting a `float` value to `in_channels`, `out_channels` and `kernel_size` argument of `nn.Conv1d()` gets indirect errors and in_channels and kernel_size with with non-bools
Labels: module: nn,module: error checking,triaged

### 🐛 Describe the bug

Setting a `float` value to `in_channels`, `out_channels` and `kernel_size` argument of [nn.Conv1d()](https://pytorch.org/docs/stable/generated/torch.nn.Conv1d.html) gets the indirect errors as shown below:

```python
import torch
from torch import nn
                             # ↓↓
conv1d = nn.Conv1d(in_channels=1., out_channels=3, kernel_size=(True,)) # Error
```

> TypeError: empty(): argument 'size' failed to unpack the object at pos 2 with error "type must be tuple of ints,but got float"

```python
import torch
from torch import nn
                                             # ↓↓
conv1d = nn.Conv1d(in_channels=1, out_channels=3., kernel_size=(True,)) # Error
```

```
TypeError: empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType), but expected one of:
 * (tuple of ints size, *, tuple of names names, torch.memory_format memory_format = None, torch.dtype dtype = None, torch.layout layout = None, torch.device device = None, bool pin_memory = False, bool requires_grad = False)
 * (tuple of ints size, *, torch.memory_format memory_format = None, Tensor out = None, torch.dtype dtype = None, torch.layout layout = None, torch.device device = None, bool pin_memory = False, bool requires_grad = False)
```

```python
import torch
from torch import nn
                                                            # ↓↓
conv1d = nn.Conv1d(in_channels=1, out_channels=3, kernel_size=1.) # Error
```

> TypeError: empty(): argument 'size' failed to unpack the object at pos 3 with error "type must be tuple of ints,but got complex"

So, the errors should be something like those directly as shown below:

> `in_channels` must be `int`.

> `out_channels` must be `int`.

> `kernel_size` must be `int` or `tuple` or `list` of `int`.

### Versions

```python
import torch

torch.__version__ # 2.4.0+cu121
```

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @malfet
Repository: node
Issue: Suggestion with cluster module when use "maxConnection" in its worker process
Labels: cluster,feature request

### What is the problem this feature will solve?

When the node service is under a very high load, multiple connections are processed at the same time in one worker ( we use the cluster module currently in our project ). We set the "maxConnections"  to limit the connections of the worker. But we found that if a new request reach the limit of the "maxConnections", the request will retry on other workers. I think can we have an option, if a new request reach the limit, we can just drop the request instead of retrying the request on other workers ? Because as the system is under a very high load, the other workers may also be very busy at this moment. Here is a example on "**v22.7.0**".

```javascript
const cluster = require('cluster');
const http = require('http');
const process = require('process');

if (cluster.isPrimary) {
  console.log(`Master ${process.pid} is running.\n`);
  for (let i = 0; i < 1; i++) {
    cluster.fork();
  }
} else {
  const server = http.createServer((req, res) => {
    res.writeHead(200);
    res.end('hello world\n');
  });

  server.maxConnections = 0;

  server.listen(8000, () => {
    console.log(`Worker ${process.pid} started`);
  });
}
```

### What is the feature you are proposing to solve the problem?

For example, add An option "--maxconnections-drop-request"  to the node "Command-line options" while on start up.

### What alternatives have you considered?

_No response_
Repository: opencv
Issue: [TFLITE IMPORTER] STRIDED_SLICE
Labels: feature,category: dnn

### Describe the feature and motivation

I am trying to load a yolov3 model in tflite format. When calling cv::dnn::readNetFromTFLite() i get error:

```
[ERROR:0@1.988] global tflite_importer.cpp:252 populateNet DNN/TFLite: Problem during import of operator [STRIDED_SLICE]:(model_12/tf.strided_slice/StridedSlice) (192/208). Exception: OpenCV(4.10.0-dev) /home/pf/Downloads/repos/opencv-4.x/modules/dnn/src/tflite/tflite_importer.cpp:246: error: (-213:The function/feature is not implemented) Unsupported operator type STRIDED_SLICE in function 'populateNet'

terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.10.0-dev) /home/pf/Downloads/repos/opencv-4.x/modules/dnn/src/tflite/tflite_importer.cpp:246: error: (-213:The function/feature is not implemented) Unsupported operator type STRIDED_SLICE in function 'populateNet'
```

### Additional context

I am using opencv master. Unfortunately I can't drop the model weights as they are over 25MB.
Repository: terminal
Issue: [Windows Terminal]: Selected state of controls present in 'Find' is not visible properly in dark mode.
Labels: Help Wanted,Issue-Bug,Area-Accessibility,Product-Terminal,HCL-E+D,A11yUsable,HCL-WindowsTerminal

### Windows Terminal version

1.22.2362.0

### Windows build number

27695.1000

### Other Software

**Test Environment:**
OS: Windows 11 Version Dev (OS Build 27695.1000)
App: Windows Terminal Preview

### Steps to reproduce

**Pre-requisite:**
Settings> Personalization> Colors> Choose your Mode> Dark Mode.

**Repro steps:**
1. Open the 'windows terminal' application.
2. Follow the above-mentioned pre-requisite step.
3. Now expand the dropdown control.
4. Navigate to any application like PowerShell and open it.
5. PowerShell editor window will open.
6. Now press 'Ctrl + Shift + F' to open 'Find'.
7. Now select some controls in find.
8. Observe the issue.

**User experience:**
The low visibility of selected controls in dark mode negatively affects users, especially those with visual impairments or users who rely on dark mode for visual comfort. This issue impairs usability by making it harder to confirm selected options.

**Attachment:**
[Usable - Selected state of controls present in find is not properly visible in dark mode.zip](https://github.com/user-attachments/files/16958299/Usable.-.Selected.state.of.controls.present.in.find.is.not.properly.visible.in.dark.mode.zip)

### Expected Behavior

The selected state of the controls within the "Find" control should be clearly visible, even in dark mode. Proper contrast and visual indicators should ensure that users can easily identify which options are selected.

### Actual Behavior

In dark mode, the selected state of controls within the "Find" control is not clearly visible. The lack of proper highlighting or contrast makes it difficult to distinguish which controls are selected.
Repository: opencv
Issue: [ONNX IMPORTER] Concat
Labels: feature,category: dnn (onnx)

### Describe the feature and motivation

I am trying to load a yolov3 model in ONNX format. When calling cv::dnn::readNetFromONNX() i get error:

```
[ERROR:0@0.322] global onnx_importer.cpp:1036 handleNode DNN/ONNX: ERROR during processing node with 2 inputs and 1 outputs: [Concat]:(onnx_node!/fpn/Concat) from domain='ai.onnx'
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.10.0-dev) /home/pf/Downloads/repos/opencv-4.x/modules/dnn/src/onnx/onnx_importer.cpp:1058: error: (-2:Unspecified error) in function 'handleNode'
> Node [Concat@ai.onnx]:(onnx_node!/fpn/Concat) parse error: OpenCV(4.10.0-dev) /home/pf/Downloads/repos/opencv-4.x/modules/dnn/src/layers/concat_layer.cpp:108: error: (-201:Incorrect size of input array) Inconsistent shape for ConcatLayer in function 'getMemoryShapes'
>
```

The model works great with onnxruntime and supports dynamic shapes provided both height and width are divisible by 32 (max stride of yolov3 model).

I am using opencv master

### Additional context

_No response_
Repository: PowerToys
Issue: Still program not detected by workspace
Labels: Issue-Bug,Needs-Triage,Product-Workspaces

### Microsoft PowerToys version

0.84.1

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

Workspaces

### Steps to reproduce

Launch Family Tree Heritage. Capture with Workspaces. Observe not captured.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

Program should be detected after bug fix

### Other Software

Family Tree Heritage Gold
FTH Version 16: Build 16.0.12
Powered by Ancestral Quest
Copyright (c) 1994-2023 Incline Software, LC
Published by Individual Software, Inc.
Copyright (c) 2002-2023
Repository: PowerToys
Issue: Error keyboard manager
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.84.1

### Installation method

Microsoft Store

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

The reassigned keys do not work after restarting the system.  It is necessary to force open the settings section of the Keyboard Manager and press the on/off function. There has already been a similar problem. She was fixed and now she's back again.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: tauri
Issue: [bug] Tauri 2.0.1-rc10 on Windows - Refused to execute inline script in isolation mode
Labels: type: bug,status: needs triage

### Describe the bug

Running the latest RC of Tauri version 2 on Windows with isolation mode active results in an error like Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-16386336672808645265' 'sha256-Ptr6AdEVRnAzjWNLKfOsbSdF0wBZquJ8JC9yowI7oUU=' 'sha256-BimfdWigiGKqCgqYSKsBLTLCR4WMW0TQcnrCL0CsVCM=' 'sha256-Ptr6AdEVRnAzjWNLKfOsbSdF0wBZquJ8JC9yowI7oUU='". Either the 'unsafe-inline' keyword, a hash ('sha256-zTUpprM6DaX+a1WejnBsJRGhqeeHrm1DViGQwA5rHK8='), or a nonce ('nonce-...') is required to enable inline execution.

Somehow that only happens in isolation mode.

### Reproduction

https://github.com/inzanez/csp-issue

### Expected behavior

_No response_

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 128.0.2739.67
    ✔ MSVC:
        - Visual Studio Build Tools 2022
        - Visual Studio Professional 2017
    ✔ rustc: 1.80.1 (3f5fd8dd4 2024-08-06)
    ✔ cargo: 1.80.1 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.17.0
    - npm: 10.8.2

[-] Packages
    - tauri 🦀: 2.0.0-rc.11
    - tauri-build 🦀: 2.0.0-rc.10
    - wry 🦀: 0.43.1
    - tao 🦀: 0.30.0
    - tauri-cli 🦀: 1.6.1
    - @tauri-apps/api : 2.0.0-rc.4
    - @tauri-apps/cli : 2.0.0-rc.13

[-] Plugins
    - tauri-plugin-fs 🦀: 2.0.0-rc.3
    - @tauri-apps/plugin-fs : 2.0.0-rc.2
    - tauri-plugin-shell 🦀: 2.0.0-rc.3
    - @tauri-apps/plugin-shell : 2.0.0-rc.1
    - tauri-plugin-dialog 🦀: 2.0.0-rc.5
    - @tauri-apps/plugin-dialog : 2.0.0-rc.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: flutter
Issue: Ability to manually resize columns by dragging separator
Labels: c: new feature,framework,f: material design,c: proposal,P3,team-design,triaged-design

### Use case

On the web, we often have users would ask if they could resize the columns of our DataTables like in Google Sheets.

There is a workaround using DataTable described here: https://www.technicalfeeder.com/2023/01/flutter-resize-table-column-by-dragging/

There are also packages that provide their own implementations of tables:
- (commercial) https://pub.dev/packages/syncfusion_flutter_datagrid
- (MIT) https://pub.dev/packages/pluto_grid

### Proposal

It would be great if we could provide a callback to the DataColumn `onResize` which would have a signature similar to `void Function(double width)`.
If this callback is provided, then the user would be able to resize this column by dragging the border on the right of the column. The callback would then be fired with the new width of the column so that it can be saved for when the user comes back to the page.
Repository: vscode
Issue: Azure DevOps - Enable seamless Azure DevOps repository cloning in VSCode similar to GitHub
Labels: feature-request,git

<!-- ⚠️⚠️ 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. -->
Hi,

I’m currently working on a remote Linux server via SSH using VSCode, and I’ve noticed a significant difference in the way VSCode handles cloning repositories from GitHub compared to Azure DevOps.

For GitHub repositories, VSCode handles the OAuth credential management seamlessly. When I clone a GitHub repository, it only asks for my credentials the first time, and I believe it’s VSCode managing this process, making it extremely convenient.

However, when I try to clone a repository from Azure DevOps, this seamless integration is missing. I have to resort to using tools like Git Credential Manager, configuring GPG keys, or setting up other complex solutions. While I have been able to get these methods working, they are cumbersome and add unnecessary complexity to the workflow.

I also tried the Azure Repos extension, but it’s not a good solution. It seems to clone the repository in an isolated environment where I can only edit code — no access to the console, no debugging capabilities, nothing beyond basic code editing. This severely limits its usefulness for any real development work.

Is there any way that VSCode can handle cloning Azure DevOps repositories in a similar way to GitHub? It would be fantastic if the OAuth process for Azure DevOps could be integrated into VSCode just like it is for GitHub, allowing for a smoother experience.

Thanks for considering this feature request!
Repository: ollama
Issue: Support Mistral's new visual model: Pixtral-12b-240910
Labels: model request

Mistral AI just dropped Pixtral, their 12b model with vision support.

- https://github.com/mistralai/mistral-common/releases/tag/v1.4.0
- https://www.reddit.com/r/LocalLLaMA/comments/1fe3x1z/mistral_dropping_a_new_magnet_link/
Repository: flutter
Issue: [flutter_markdown][Localization issues] padding is EdgeInsets instead of EdgeInsetsGeometry
Labels: a: internationalization,package,team-ecosystem,P2,p: flutter_markdown,triaged-ecosystem

### Steps to reproduce

Package doesn't support `EdgeInsetsDirectional` passed for padding.

### Expected results

`EdgeInsetsDirectional` should be accepted for padding

### Actual results

Package doesn't support `EdgeInsetsDirectional` passed for padding.

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[Paste your output here]
```

</details>
Repository: flutter
Issue: [web] Icon tree shaking doesn't work well on web
Labels: tool,platform-web,a: build,has reproducible steps,P2,team-web,triaged-web,found in release: 3.24,found in release: 3.26

Let's say we have the following example
```
% flutter create foo && cd foo
```
and modify `lib/main.dart`
```diff
import 'package:flutter/material.dart';

+ final IconData unusedGlobalVariable = 
+     IconData(0xe411, fontFamily: 'MaterialIcons');

void main() {
  runApp(const MyApp());
}
...
```

This added `unusedGlobalVariable` isn't used anywhere. So when compiling the program it should be tree shaken away. Any actual uses of `IconData` are in fact constant uses.

=> Tree shaking of icon fonts should therefore work.

This seems to work as expected when building a native app
```
% flutter build apk --release                          
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1384 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Running Gradle task 'assembleRelease'...                           46.1s
✓ Built build/app/outputs/flutter-apk/app-release.apk (18.9MB)
```

But when building a web build we get an error:
```
flutter build web --release

This application cannot tree shake icons fonts. It has non-constant instances of IconData at the following locations:
  - file:///.../lib/main.dart:4:5
Target web_release_bundle failed: Error: Avoid non-constant invocations of IconData or try to build again with --no-tree-shake-icons.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      IconTreeShaker._findConstants (package:flutter_tools/src/build_system/targets/icon_tree_shaker.dart:321:7)
<asynchronous suspension>
#2      IconTreeShaker._getIconData (package:flutter_tools/src/build_system/targets/icon_tree_shaker.dart:110:45)
<asynchronous suspension>
#3      IconTreeShaker.subsetFont (package:flutter_tools/src/build_system/targets/icon_tree_shaker.dart:179:5)
<asynchronous suspension>
#4      copyAssets.<anonymous closure> (package:flutter_tools/src/build_system/targets/assets.dart:163:25)
<asynchronous suspension>
#5      Future.wait.<anonymous closure> (dart:async/future.dart:520:21)
<asynchronous suspension>
#6      copyAssets (package:flutter_tools/src/build_system/targets/assets.dart:129:3)
<asynchronous suspension>
#7      WebReleaseBundle.build (package:flutter_tools/src/build_system/targets/web.dart:475:29)
<asynchronous suspension>
...
#20     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#21     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#22     main (package:flutter_tools/executable.dart:94:3)
<asynchronous suspension>

Compiling lib/main.dart for the Web...                             30.2s
Error: Failed to compile application for the Web.
```
Repository: PowerToys
Issue: PowerToys Workspaces: run as
Labels: Needs-Spec,Needs-Triage,Product-Workspaces

### Description of the new feature / enhancement

It would be great to add the possibility to start apps with an other user or be able to use the user command line to start apps ex:
C:\Windows\System32\runas.exe /savecred /user:toto "cmd /c start \"\" mmc %SystemRoot%\system32\dsa.msc"

### Scenario when this would be used?

This would be very practical to start multiple apps in a work environment where I have to use multiple users for different apps.

### Supporting information

_No response_
Repository: pytorch
Issue: `randint(max)` causes a graph break, but not `rand().mul(max).floor().to(torch.long)` (on CPU)
Labels: triaged,oncall: pt2,module: fakeTensor,module: dynamo,module: pt2-dispatcher

### 🐛 Describe the bug

The following code causes a graph break (on CPU):
```python
    def policy(obs, epsilon):
        q_values = q_network_detach(obs)
        actions = torch.argmax(q_values, dim=1)
        actions_random = torch.rand(actions.shape, device=actions.device).mul(n_act).floor().to(torch.long)
        # actions_random = torch.randint_like(actions, n_act)
        use_policy = torch.rand(actions.shape, device=actions.device).gt(epsilon)
        return torch.where(use_policy, actions, actions_random)
```
but not the same function with the first version of `action_random` uncommented (which supposedly does the same job)

The graph break reads:
```
W0911 10:15:45.971000 28832 torch/_dynamo/exc.py:284] [0/0] Backend compiler failed with a fake tensor exception at 
W0911 10:15:45.971000 28832 torch/_dynamo/exc.py:284] [0/0]   File "/Users/vmoens/Repos/rl/leanrl/leanrl/dqn_torchcompile.py", line 208, in policy
W0911 10:15:45.971000 28832 torch/_dynamo/exc.py:284] [0/0]     return torch.where(use_policy, actions, actions_random)
W0911 10:15:45.971000 28832 torch/_dynamo/exc.py:284] [0/0] Adding a graph break.
[...]
  File "/Users/vmoens/venv/rl/lib/python3.11/site-packages/torch/_subclasses/fake_impls.py", line 147, in dispatch_to_op_implementations_dict
    return op_implementations_dict[func](fake_mode, func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/vmoens/venv/rl/lib/python3.11/site-packages/torch/_subclasses/fake_impls.py", line 386, in local_scalar_dense
    raise DataDependentOutputException(func)
torch._subclasses.fake_tensor.DataDependentOutputException: aten._local_scalar_dense.default
[...]
torch._dynamo.exc.Unsupported: Backend compiler failed with a fake tensor exception at 
  File "/Users/vmoens/Repos/rl/leanrl/leanrl/dqn_torchcompile.py", line 208, in policy
    return torch.where(use_policy, actions, actions_random)
Adding a graph break.
```

### Versions

nightly

cc @ezyang @chauhang @penguinwu @eellison @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames @rec @zou3519 @bdhirsh
Repository: vscode
Issue: Editor Rulers do not account for Tab display size
Labels: bug,editor-contrib

Summary:
When working in Visual Studio Code (VS Code), the editor rulers are visually misaligned with code indentation when using tabs. The rulers assume that every tab is displayed as a fixed number of spaces, but this does not dynamically account for the display width set for tabs. As a result, when tabs are displayed at a size different from the default, the rulers become inaccurate.

Expected Behavior:
The rulers should adjust according to the tab display size. When the tab width is set to 2 spaces, rulers should account for each tab character as occupying 2 columns in the editor, ensuring that the visual representation of the code matches the ruler guide.

Actual Behavior:
The rulers treat each tab as a fixed number of spaces, regardless of the user-configured tab width. This leads to visual misalignment between the ruler and the code when working with non-standard tab sizes.