sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [DeviceMesh] `init_device_mesh` does not support CPU-only
Labels: oncall: distributed,triaged,module: DeviceMesh

Script 1 (no default PG initialized):
```
import torch
import torch.distributed as dist

from torch.distributed._tensor import init_device_mesh


mesh = init_device_mesh(device_type="cpu", mesh_shape=(2,))
inp = torch.randn((4,))
out = torch.randn((8,))
dist.all_gather_into_tensor(
    output_tensor=out, input_tensor=inp, group=mesh.get_dim_groups()[0]
)
```
Error 1:
```
File "/data/users/andgu/pytorch/torch/distributed/distributed_c10d.py", line 1339, in _new_process_group_helper
    backend_class = ProcessGroupNCCL(    
  ValueError: : ProcessGroupNCCL is only supported with GPUs, no GPUs found!
```

```
CUDA_VISIBLE_DEVICES=-1 torchrun --standalone --nproc_per_node=2 repro.py
```

---

Script 2 (default NCCL PG initialized):
```
import torch
import torch.distributed as dist

from torch.distributed._tensor import init_device_mesh

dist.init_process_group(backend="nccl")
mesh = init_device_mesh(device_type="cpu", mesh_shape=(2,))
inp = torch.randn((4,))
out = torch.randn((8,))
dist.all_gather_into_tensor(
    output_tensor=out, input_tensor=inp, group=mesh.get_dim_groups()[0]
)
```

Error 2:
```
Traceback (most recent call last):
  File "/data/users/andgu/distx/repro.py", line 10, in <module>
    dist.all_gather_into_tensor(
  File "/data/users/andgu/pytorch/torch/distributed/c10d_logger.py", line 72, in wrapper
    return func(*args, **kwargs)
  File "/data/users/andgu/pytorch/torch/distributed/distributed_c10d.py", line 2709, in all_gather_into_tensor
    work = group._allgather_base(output_tensor, input_tensor, opts)
RuntimeError: No backend type associated with device type cpu
```

```
CUDA_VISIBLE_DEVICES=0,1 torchrun --standalone --nproc_per_node=2 repro.py
```

cc: @wanchaol @wz337
Repository: PowerToys
Issue: Automatically open File Locksmith when ejecting USB drive fails
Labels: Idea-Enhancement,Product-File Locksmith

### Description of the new feature / enhancement

So basically as the title states, it would be nice if File Locksmith could automatically run if the user attempts to eject/safely remove a USB storage device and fails due to the device being in use. 

### Scenario when this would be used?

This could be used any time that drives are attempted to be ejected/safely removed. I regularly work with removable drives and they seem to fail to remove about 50% of the time, this could save a few clicks every time if I didn't have to open explorer and find the drive in question first.

### Supporting information

_regarding an API for events when failed ejects occur - I am not familiar with how the eject messages work or what the process could be for implementing this feature_
Repository: pytorch
Issue: [DeviceMesh] back DeviceMesh initialization by custom_pg
Labels: oncall: distributed,triaged,module: DeviceMesh

### 🚀 The feature, motivation and pitch

The ask is whether we can expose a way to construct a 1D device mesh from an existing process group.

For context, this is to ensure interoperability of per-parameter FSDP with non-DTensor-based parallelisms.

Since process group does not really have topology built in, the best we can do is a 1D mesh.
I was wondering if we can do this so that we can still allow users to pass in a custom PG into per-parameter FSDP in case they do not want to use init_device_mesh.

To do this, we may need to add a pg option for DeviceMesh and init_device_mesh ctor. 

cc. @wanchaol

### Alternatives

_No response_

### Additional context

_No response_

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @tianyu-l @wconstab @yf225
Repository: terminal
Issue: Maximized Terminal's tab bar jumps up 1pix after switching to Terminal via Windows task bar
Labels: Help Wanted,Needs-Repro,Issue-Bug,Product-Terminal,Area-Windowing

### Windows Terminal version

1.18.2822.0

### Windows build number

10.0.22621.2715

### Other Software

_No response_

### Steps to reproduce

- Switch to an existing Terminal by clicking on in task bar
- Its top bar (which holds the tab switcher) noticeably jumps up 1 pixel or so

It seems that WinUI first draws some horizontal border on top of the Window, but then Terminal takes over and the top bar jumps up to take over that viewport space.

This jumping up is very strange.

Unfortunately, I could not record this problem via Win+G or Win+Alt+R because I could not figure out how to capture just the full screen instead of a single app.

Notepad.exe also has a tab bar but has no such jumping behavior. It's also worth noting, that the app minimize/maximize/cross of Notepad and Terminal are not perfectly aligned when switching between this app. There seems some minor 1pix difference, and also the app-exit cross icon of Terminal is bolder compared to Notepad 

### Expected Behavior

_No response_

### Actual Behavior

N/A
Repository: rust
Issue: Add codegen test(s) for -Zbuild-std-features=panic_immediate_abort
Labels: A-testsuite,C-enhancement,T-compiler,-Zbuild-std,A-panic

The standard library has a feature `panic_immediate_abort` which is for use with `-Zbuild-std` to eliminate all the panic formatting code. As a result, we have a lot of checks for that feature across the library code, to remove `#[inline(never)]` when that feature is enabled, so that panic helpers can be inlined and optimized away.

There are no tests for whether this actually works. I know it mostly works, because I just checked manually. What I did was something like this:

```
RUSTFLAGS="-Cdebuginfo=1 -Cstrip=none -Cpanic=abort -Cembed-bitcode=yes -Clto=fat" cargo +nightly install cargo-nextest -Zbuild-std=panic_abort,std -Zbuild-std-features=panic_immediate_abort --target=x86_64-unknown-linux-gnu --force
nm ~/.cargo/bin/cargo-nextest | grep panic | grep rustfilt
```
What comes out is this:
```
00000000002a1410 t color_eyre::config::panic_verbosity
00000000002a12f0 t color_eyre::config::PanicHook::into_panic_hook::{{closure}}
000000000091e568 b std::panicking::HOOK
00000000002a1110 t core::ptr::drop_in_place<color_eyre::config::PanicHook::into_panic_hook::{{closure}}>
```
That looks acceptable to me.

Someone should use this general procedure to build a test.

1. Put together from scratch or find a small Cargo project, and build it using the above flags except without `-Zbuild-std-features`
2. Write a check that the binary that comes out has everything in a list of panic symbols (the bouds check ones, the ones for `Vec::insert` and `Vec::remove`, the ones for `RefCell`, maybe others?)
3. Rebuild the project but with `-Zbuild-std-features=panic_immediate_abort` and check that all those symbols are gone
Repository: pytorch
Issue: DISABLED test_jvpvjp_nn_functional_conv3d_cuda_float32 (__main__.TestOperatorsCUDA)
Labels: triaged,module: flaky-tests,skipped,module: functorch

Platforms: rocm, linux, win, windows



This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_jvpvjp_nn_functional_conv3d_cuda_float32&suite=TestOperatorsCUDA) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/19069207641).

Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 11 failures and 3 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_jvpvjp_nn_functional_conv3d_cuda_float32`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.


Test file path: `functorch/test_ops.py`

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @zou3519 @Chillee @samdow @kshitij12345 @janeyx99
Repository: flutter
Issue: Engine GTK4 version is a pre-release
Labels: P2,team-linux,triaged-linux

The GTK4 version in the Flutter build directory `build/linux/debian_sid_arm64-sysroot/usr/lib/aarch64-linux-gnu/libgtk-4.so.0.9600.0` is a pre-release version. The soversion was [changed from 0 to 1](https://gitlab.gnome.org/GNOME/gtk/-/commit/2457f3d54c900431e97ba40b5440d7c9094d71e3) when it was released. Building Flutter with GTK4 means it will fail to link against the system version of GTK4 (libgtk-4.so.1).
Repository: godot
Issue: BlendSpace2D outputs `This function in this node... Use call_deferred() instead.` many times when creating a new point.
Labels: bug,topic:editor,topic:animation

### Godot version

4.2.rc2.mono

### System information

Godot v4.2.rc2.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 31.0.15.3734) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

### Issue description

The following error is output to the console when performing the below reproduction steps:

```
Add Animation Point
  This function in this node (/root/@EditorNode@17119/@Panel@13/@VBoxContainer@14/@HSplitContainer@17/@HSplitContainer@25/@HSplitContainer@33/@VBoxContainer@34/@VSplitContainer@36/@PanelContainer@6818/@VBoxContainer@6819/@AnimationTreeEditor@12449) can only be accessed from either the main thread or a thread group. Use call_deferred() instead.
  This function in this node (/root/@EditorNode@17119/@Panel@13/@VBoxContainer@14/@HSplitContainer@17/@HSplitContainer@25/@HSplitContainer@33/@VBoxContainer@34/@VSplitContainer@36/@PanelContainer@6818/@VBoxContainer@6819/@AnimationTreeEditor@12449) can only be accessed from either the main thread or a thread group. Use call_deferred() instead
```

The error will print 32 times on my machine per created point on my machine.

### Steps to reproduce

Assuming the provided MRP:
1. Open `res://Games/Kinship/Characters/HumanoidBase.tscn`
2. Enter the AnimationTree editor
3. Open either of the BlendSpace2D editors
4. Use the "Create point" tool to create a point with any animation

### Minimal reproduction project

[AnimationTreeErrorReproduction.zip](https://github.com/godotengine/godot/files/13483338/AnimationTreeErrorReproduction.zip)
Repository: flutter
Issue: Widget googlemap don't dispose
Labels: p: maps,package,team-ecosystem,P2,triaged-ecosystem

I have many view in my application. Two of them access the map view. and give him the localization and where we are going. When I click previous, to return, my GoogleMap widget's isn't remove and make my application bug. this is
![ScreeShot](https://github.com/flutter/flutter/assets/17700158/8eb2ff00-756d-411d-972e-f81cdc0ea56c)
My code is:
`
```
GoogleMapController? mapController; 
  PolylinePoints polylinePoints = PolylinePoints();

  Set<Marker> markers = Set(); 
  Map<PolylineId, Polyline> polylines = {};


@override
  void dispose() {
    mapController?.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text("Géolocalisation"),
          backgroundColor: Colors.deepPurpleAccent,
        ),
        body: Stack(children: [
          GoogleMap(
            zoomGesturesEnabled: true, 
            initialCameraPosition: CameraPosition(
              target: startLocation, 
              zoom: 14.0,
            ),
            markers: markers, 
            polylines: Set<Polyline>.of(polylines.values), 
            mapType: MapType.normal, 
            onMapCreated: (controller) {
              if (mounted) {
                setState(() {
                  mapController = controller;
                });
                _location.onLocationChanged.listen((l) {
                  rotation = l.heading!;
                  startLocation = LatLng(l.latitude!, l.longitude!);
                  _geolocalisation();
                  mapController?.animateCamera(
                    CameraUpdate.newCameraPosition(
                      CameraPosition(
                          target: LatLng(l.latitude!, l.longitude!),
                          zoom: 16,
                          bearing: l.heading!),
                    ),
                  );
                });
              }
            },
          ),
          Positioned(
              bottom: 0,
              left: 0,
              child: Container(
                  child: Card(
                child: Container(
                    padding: EdgeInsets.all(15),
                    child: Text(
                        "Distance: " + distance.toStringAsFixed(2) + " KM ",
                        style: TextStyle(
                            fontSize: 20, fontWeight: FontWeight.bold))),
              )))
        ]));
  } 
```
`
Thank you
Repository: PowerToys
Issue: BlockNonAdminUserInstall - Some components are installed afterwards and not with the main installer
Labels: Issue-Bug,Area-Setup/Install,Needs-Triage,Area-Enterprise

### Microsoft PowerToys version

0.75.1

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

Installer

### Steps to reproduce

Hi,
we use intune to manage our devices and have following policies enabled:
- AllowAllTrustedApps (https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.Appx::AppxDeploymentAllowAllTrustedApps)
- BlockNonAdminUserInstall (https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.Appx::BlockNonAdminUserInstall)

This prevents the user to install appx/msix on his own. PowerToys gets deployed as a MS store app.

The issue is that PowerToys tries to install further msix on its own:
```
AppX Deployment operation failed for package file:///C:/Users/myuser/AppData/Local/PowerToys/ImageResizerContextMenuPackage.msix with error 0x80070005. The specific error text for this failure is: NULL
AppX Deployment operation failed for package file:///C:/Users/myuser/AppData/Local/PowerToys/WinUI3Apps/PowerRenameContextMenuPackage.msix with error 0x80070005. The specific error text for this failure is: Access is denied.
```

Microsoft does not offer a way to allow specific apps when above mentioned policies are set. Solution would be creating a single package for those deployments and maybe create a dependency in its installation routine.


### ✔️ Expected Behavior

Everything is installed with the main installer

### ❌ Actual Behavior

Some components are getting installed afterwards and are blocked by the policy BlockNonAdminUserInstall 

### Other Software

_No response_
Repository: vscode
Issue: VScode open large text file failed(>200MB)
Labels: under-discussion,editor-textbuffer

This is the issue same as #188461

Now the vscode version is 1.83.1, please find th crash report
[Uploading crash_report.zip…]()
Repository: pytorch
Issue: torch.fft.ifft crashes for empty input
Labels: triaged,module: fft

### 🐛 Describe the bug

When giving torch.fft.ifft empty tensor, it raises error message that is confusing.

```
import torch
import numpy as np

input = torch.tensor(np.random.rand(0,0), dtype=torch.complex64)
output = torch.fft.ifft(input)
print(out)

```

Error message:
```
RuntimeError: Invalid number of data points (0) specified
```

If this function does not support empty tensor, it would be helpful if you can raise an invalid input message for it. If this function supports empty tensor, it would be nice if you can help to fix it.

### Versions

Versions of relevant libraries:
[pip3] numpy==1.23.5
[pip3] torch==2.1.0
[pip3] torchaudio==2.1.0
[pip3] torchvision==0.16.0
[pip3] triton==2.0.0
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               11.3.1               h2bc3f7f_2
[conda] ffmpeg                    4.3                  hf484d3e_0    pytorch
[conda] libjpeg-turbo             2.0.0                h9bf148f_0    pytorch
[conda] mkl                       2021.4.0           h06a4308_640
[conda] mkl-service               2.4.0            py39h7f8727e_0
[conda] mkl_fft                   1.3.1            py39hd3c417c_0
[conda] mkl_random                1.2.2            py39h51133e4_0
[conda] numpy                     1.23.5           py39h14f4228_0
[conda] numpy-base                1.23.5           py39h31eccc5_0
[conda] pytorch                   2.1.0               py3.9_cpu_0    pytorch
[conda] pytorch-mutex             1.0                         cpu    pytorch
[conda] torch                     2.0.0                    pypi_0    pypi
[conda] torchaudio                2.1.0                  py39_cpu    pytorch
[conda] torchvision               0.16.0                 py39_cpu    pytorch
[conda] triton                    2.0.0                    pypi_0    pypi

cc @mruberry @peterbell10
Repository: flutter
Issue: [ios][webview_flutter]: Input field doesn't render properly and keyboard jumps using Xunfei input method
Labels: a: text input,platform-ios,a: internationalization,p: webview,package,team-ecosystem,has reproducible steps,P2,triaged-ecosystem,found in release: 3.16,found in release: 3.18

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1、Create a new Flutter project
2、Create a WebView page (using flutter_inappwebview or webview_flutter plugin), and then load a simple H5 page (which contains only one input tag) into the WebView
3、Launch Project, click  input to  focus,  the Xunfei input method pops up. At this point, you can observe that the effect of the input method popping up is abnormal.  

Look here： https://github.com/flutter/flutter/assets/9799282/701f9094-d5fb-465e-9e51-3fd5ba3bd96e

After testing, this issue does not exist on the Android platform. Also, there is no issue when using the default iOS input method.

### Expected results

animation is normal

### Actual results

animation is abnormal

### Code sample

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


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

https://github.com/flutter/flutter/assets/9799282/c878368e-e146-4379-a359-6c4b657d0863


https://github.com/flutter/flutter/assets/9799282/dc343d7f-df4f-497d-9100-f2b45a799b9b


</details>


### Logs

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


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[Paste your output here]
```

</details>
Repository: PowerToys
Issue: Keyboard remapper cannot disable Win+Ctrl+Alt+Shift shortcut.
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.75.1

### Installation method

GitHub

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Install and run PowerToys. Activate Keyboard Manager. Using manage shortcuts, attempt to disable the hotkey [ Win+Ctrl+Alt+Shift ] which is native to windows 11.

### ✔️ Expected Behavior

On my computer [ Win+Ctrl+Alt+Shift ] opens a tab in my default browser navigating to the address <https: //www. microsoft365. com/?from=OfficeKey>. I was expecting to be able to disable this behavior using the keyboard mapper, either with [ Win+Ctrl+Alt+Shift +None ] and [ Disabled ] or with [ Win+Ctrl+Alt+Shift+Undefined ] and [ Disabled ].

### ❌ Actual Behavior

Because shortcuts must end with an action key and because [ Win+Ctrl+Alt+Shift ] is composed entirely of modifier keys sans any action keys, the keyboard manager does not recognize it as a valid shortcut when pressing okay. As such, I do not believe it can currently be disabled using the keyboard manager.

### Other Software

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: cannot start, running webui-user.bat does nothing
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

1. i clone the project
2. i run webui-user.bat
3. a cmd terminal opens, and closes immediately
4. nothing happens

### Steps to reproduce the problem

1. i clone the project
2. i run webui-user.bat
3. a cmd terminal opens, and closes immediately
4. nothing happens

### What should have happened?

the app should have downloaded any requirements and started up

### Sysinfo

i cant start WebUI, so i trued adding the argument
nothing is generated anywhere

i tried this `.\webui-user.bat --dump-sysinfo`

as well as this in the file
```
@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=dump-sysinfo

call webui.bat
```


### What browsers do you use to access the UI ?

Brave

### Console logs

```Shell
n/a
```


### Additional information

python --version
Python 3.10.5

win10 pro
Repository: vscode
Issue: Should not install remote extension without asking user
Labels: polish,remote

I used the remote picker and did not have "Dev Containers" extension installed. It was installed without asking me for consent by just picking the related entry.
Repository: neovim
Issue: docs/automation: include luv meta definitions files
Labels: enhancement,documentation,lua

### Problem

Currently, there's no luv _meta file for LSP annotations, and the most used lua LSP is planning to [drop the builtin luv meta file](https://github.com/LuaLS/lua-language-server/discussions/1950), which would require users to download a separate luv meta library.

### Expected behavior

Have the luv meta-file library built in.
### Downside
Adding a large meta library such as luv to the meta files would increase LSP load times.
Repository: ant-design
Issue: Upload - extend `handleBefore` method to be able to pass different config for each file
Labels: Inactive,unconfirmed

### What problem does this feature solve?

Would be nice if we could set up separate action on each 'beforeUpload' call.
I have it integrated with S3 where each file have its own urrl for uploading and righ now we have to create a wrapper what ahve its own state and use the action from state, would be not required if we can change 'action' inside `beforeUpload` call

### What does the proposed API look like?

would be ideal if we could return whole `UploadProps` object but specified properties would be also nice (including `action` ofc)

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: vscode
Issue: Allow to click on the file name to expand
Labels: feature-request,diff-editor

Testing #199155

It looks like I can only click on the expando:

![image](https://github.com/microsoft/vscode/assets/900690/0720577b-8a5a-4b3c-b867-f016680453bd)
Repository: vscode
Issue: Toolbar Flickering When Switching Focus Changes
Labels: bug,diff-editor

Might be related to `when: ContextKeyExpr.has('isInDiffEditor'),`

![Image](https://github.com/microsoft/vscode/assets/2931520/0f3c2214-014c-4b5c-ab2b-ab13802514d6)


![Image](https://github.com/microsoft/vscode/assets/2931520/83b50557-5d4a-430a-99f8-3d4e06a8b01f)
Repository: vscode
Issue: D&D doesn't work under WSL2 dragging from Nautilus into VS Code (both Linux apps)
Labels: bug,file-explorer,linux

Testing #198894