sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: torchrun to support NUMA affiinity
Labels: oncall: distributed,triaged,module: distributed_tool

### 🚀 The feature, motivation and pitch

Why doesn't torchrun assign processes it launches using NUMA affinity? Data centers have 2 CPUs per node and setting the affinity of the gpus in the same NUMA node as the cpu is crucial for faster throughput to avoid CPU crosstalking to processes on the opposite NUMA node.

grep'ing the source code I see data_loader is doing something with affinities (but it appears to just use it to get the number of cpu-cores in the num_workers suggestion), but I don't think it sets the affinity of workers either. Unless it relies on the child processes of the main processes to automatically be in the same affinity as the paper process?

Thank you!

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225
Repository: godot
Issue: Massive performance issue in 2D viewport when zooming out on huge TileMap
Labels: bug,confirmed,topic:2d,performance

### Tested versions

Tested on 4.2 stable mono
Also tested with custom build https://github.com/godotengine/godot/pull/84963 (compiled my self)

### System information

Godot v4.2.stable.mono - Ubuntu 23.10 23.10 - Wayland - Vulkan (Forward+) - dedicated Intel(R) Arc(tm) A770 Graphics (DG2) () - AMD Ryzen 7 2700X Eight-Core Processor (16 Threads)

### Issue description

I am getting horrible performance on "Forward+" compared to "Compatibility" with large tilemap,
at first, I thought this was a driver issue so I tried intel mesa drivers and the latest Ubuntu repa mesa drivers but none of these solved the problem then i tried with Custom Build(https://github.com/godotengine/godot/pull/84963 ) but that didn't solve the problem.

That being said it is slow with Compatibility but not horrible(on forward it can escalate into a crash..). The most noticeable slowness appears with Zooming out when zoomed in the slowness disappears. 

Selecting the Tilemap node will create the same lag.


![Screenshot from 2023-12-07 01-17-42](https://github.com/godotengine/godot/assets/151171895/804ebac1-cfc7-4d2b-b150-2de26976aa81)



### Steps to reproduce

Create a large tilemap and zoom out this will create the issue.

### Minimal reproduction project (MRP)

[TestTileMapLag.zip](https://github.com/godotengine/godot/files/13592509/TestTileMapLag.zip)
Repository: flutter
Issue: CupertinoDatePicker mode month only and years only
Labels: c: new feature,framework,f: date/time picker,f: cupertino,c: proposal,P2,team-design,triaged-design

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

### Use case

/

### Proposal

Hi i propose you to add month only and years only mode.
Repository: pytorch
Issue: [distributed] add a "small" transformer model to the test suite for testing usage
Labels: oncall: distributed,triaged

We can add a "small" Transformer model to our test suite to test out our existing FSDP/TP/SP APIs to ensure no future breakge and give easy to read example about how to apply our APIs directly in tests.

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @fduwjj @wz337 @tianyu-l @wconstab @yf225
Repository: vscode
Issue: VS Code Will Not Open reason: launch-failed, code: 65
Labels: bug,freeze-slow-crash-leak,windows,under-discussion

<!-- ⚠️⚠️ 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: 1.84.2
- OS Version: Windows 11

Steps to Reproduce:

1. Try to open VS Code. Screen flashes, nothing happens. Error logs show:


2023-12-06 15:36:51.807 [info] update#setState idle
2023-12-06 15:36:51.816 [error] CodeWindow: renderer process gone (reason: launch-failed, code: 65)
2023-12-06 15:36:51.820 [error] [uncaught exception in main]: Error: Render frame was disposed before WebFrameMain could be accessed
2023-12-06 15:36:51.820 [error] Error: Render frame was disposed before WebFrameMain could be accessed
    at Ue (C:\Users\MyUserName\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:106:50321)
    at Function.<anonymous> (C:\Users\MyUserName\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:106:50860)

I have tried un-installing and reinstalling with no success. Opening VS Code in Administrator mode does appear to work and then it opens.

How can I determine where the issue is? This just started happening. Everything was working fine until yesterday.
Repository: PowerToys
Issue: Better Formatting when using unit converter
Labels: Idea-Enhancement,Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

Getting the result of a conversion as a number with thousand seperator and getting the result as the power of ten
like this
%% 1km in mm
result: 1000000
formatted: 1 000 000
power of ten: 1*10^6

### Scenario when this would be used?

better readability

### Supporting information

_No response_
Repository: godot
Issue: Cannot preload resources with built-in scripts
Labels: bug,topic:gdscript

### Tested versions

Godot Engine v4.1.3.stable.mono.official.f06b6836a

### System information

Ubuntu 23.04

### Issue description

If a resource that has a built-in script is preloaded an error is raised that says the script cannot be found.

### Steps to reproduce

Create a new resource and attach a new built-in script that extends `Resource`.
Create a new Node scene with a script that attempts to preload the resource on ready.

### Minimal reproduction project (MRP)

[bug_test.zip](https://github.com/godotengine/godot/files/13593096/bug_test.zip)
Repository: terminal
Issue: [Terminal Chat AI] Add run button to execute suggested commands inline
Labels: Issue-Feature,Product-Terminal,Needs-Tag-Fix,Area-Chat

# Description of the new feature/enhancement

Add support to run generated commands right inside the chat and show the output inline?
 
- i.e. if I ask how to list markdown files, when the command is suggested I could click run (instead of copy) to list the files right inside the chat! 
  - or use action mapped to keyboard shortcut to run last suggested command
- command output would be available in subsequent chat context
  - so I could ask how to modify the `foo.md` file to replace `bar` with `boo`
  - verbose commands wouldn't work out well but that can be up to the end user to decide

TLDR, **interleave chat with command execution**. 

# Proposed technical implementation details (optional)

When commands are suggested the bubble could be a mini shell that would run the command. Could even allow for modifications before running. Then, show the output below, within the same bubble... once that runs further suggestions could be shown and/or the user could ask a follow up question.

Key details about profiles (i.e shell type/name) could be fed in as context to know what shells are available. Which would then allow suggesting/running commands in different shells/profiles.
Repository: vscode
Issue: Only 500 diagnostics are underlined, but there's no indication about the limit
Labels: feature-request,editor-core,editor-textbuffer,languages-diagnostics

<!-- ⚠️⚠️ 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: 1.84.2 (Universal)
- OS Version: macOS Sonoma

Steps to Reproduce:

1. Have a file with more than 500 diagnostic errors (e.g. from a linter)
2. See that the "Problems" panel shows all of them, but that there are squiggles only on 500 of them

![image](https://github.com/microsoft/vscode/assets/104916/11f95b5a-8be4-42a4-8c63-42c71f30c1df)
3. See that there's no indication that not all diagnostics are underlined

This is problematic, as it gives a false sense of security about particular lines, as there's no indication about the limitation.

I'd expect some type of persistent message at the top of the file telling me something like "There are X problems in this file, but only Y are highlighted"
Repository: PowerToys
Issue: make it possible to input with power of ten in unit conversion
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

I want to be able to process for example _%% 5*10^2 N/m^2 in N/mm^2_ without any issues



### Scenario when this would be used?

convenience

### Supporting information

_No response_
Repository: yt-dlp
Issue: Use the unmodified input URL in error messages
Labels: enhancement,triage,core:extractor

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm requesting a feature unrelated to a specific site
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Provide a description that is worded well enough to be understood

When outputting error messages in the terminal, yt-dlp should output or at least include the URL exactly as it was given.

`yt-dlp I7MU8nmVoUE` 
should output 
`ERROR: [youtube] I7MU8nmVoUE: ...`

`yt-dlp watch?v=I7MU8nmVoUE` 
should output 
`ERROR: [youtube] watch?v=I7MU8nmVoUE: ...`

`yt-dlp https://youtube.com/watch?v=I7MU8nmVoUE` 
should output 
`ERROR: [youtube] https://youtube.com/watch?v=I7MU8nmVoUE: ...`

Currently, it only outputs the ID regardless of what was input, like `ERROR: [youtube] I7MU8nmVoUE: ...`. This is undesirable because I need to program logic to find the original URL that was input, to get the key for the queue item within my program that is running yt-dlp.

A further suggestion is to make the error messages more consistent and easily parseable. I had this 404 error when inputting a channel as just the @name, which wasn't recognized as a YouTube URL:

```
"ERROR: [youtube] I7MU8nmVoUE: Private video. Sign in if you've been granted access to this video\n" +
`ERROR: [generic] '@xxxchannelxxx' is not a valid URL. Set --default-search "ytsearch" (or run  yt-dlp "ytsearch:@xxxchannelxxx" ) to search YouTube\n`
```

Which makes it difficult to parse, because of the colon in the 1st vs the single quotes in the 2nd. I believe that the best format for error messages would be something more like:
```
`[ERROR] [url:`<original input URL>`] [message:`<message>`]
```

### Provide verbose output that clearly demonstrates the problem

- [ ] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [ ] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

_No response_
Repository: node
Issue: Add a method to unset encoding on a stream
Labels: stream,feature request,never-stale

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

Currently it is impossible to unset the encoding of a `ReadableStream` once `setEncoding` is called. This makes it impossible to obtain `Buffer`s from the stream again after temporarily switching to an encoding. I know that this could be worked around but there is a much better fix which is backward compatible.

In my opinion, this is a major parity issue in the API.

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

I propose adding a new special `buffer` encoding which will unset/reset the encoding so that the stream returns a buffer again.

### What alternatives have you considered?

I originally thought `binary` encoding was supposed to do this but then I found out that it's just an alias for `latin1`! Any alternatives outside of the standard library will always be inferior to a new option which would be available to everyone using new versions with this proposed fix :smile:
Repository: stable-diffusion-webui
Issue: The Run.bat won't work
Labels: bug-report

### Is there an existing issue for this?

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

### What happened?

Traceback (most recent call last):
  File "C:\Users\tarry\Downloads\sd.webui\webui\launch.py", line 48, in <module>
    main()
  File "C:\Users\tarry\Downloads\sd.webui\webui\launch.py", line 39, in main
    prepare_environment()
  File "C:\Users\tarry\Downloads\sd.webui\webui\modules\launch_utils.py", line 356, in prepare_environment
    raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

### Steps to reproduce the problem

Run Run.bat

### What should have happened?

torch should of installed 

### Sysinfo

cant start webUI cause of this

### What browsers do you use to access the UI ?

Other

### Console logs

```Shell
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.6.1
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
Traceback (most recent call last):
  File "C:\Users\tarry\Downloads\sd.webui\webui\launch.py", line 48, in <module>
    main()
  File "C:\Users\tarry\Downloads\sd.webui\webui\launch.py", line 39, in main
    prepare_environment()
  File "C:\Users\tarry\Downloads\sd.webui\webui\modules\launch_utils.py", line 356, in prepare_environment
    raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . .
```


### Additional information

nothing
Repository: flutter
Issue: With "bold text" accessibility setting, Text widget makes extra-bold text *less* bold
Labels: framework,a: accessibility,a: typography,has reproducible steps,P2,team-framework,triaged-framework,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. Reproduce on iOS, or on Android 12+. (I used iOS.)
2. Choose a font that looks different for all the different [`FontWeight`](https://api.flutter.dev/flutter/dart-ui/FontWeight-class.html)s. (My code sample uses "Apple Chancery", a system font on my iPhone.)
3. Make a [`Text`](https://api.flutter.dev/flutter/widgets/Text-class.html) widget whose `style` includes `fontWeight: FontWeight.w900`, the boldest weight.
4. Turn on the "Bold Text" accessibility setting.

### Expected results

The text should be at least as bold as when "Bold Text" is off.

### Actual results

The text is less bold than when "Bold Text" is off. See screenshots below.

### Code sample

<details><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() => runApp(const App());

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    final boldSetting = MediaQuery.boldTextOf(context);

    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: FontWeight.values.map((w) => Text(
              style: TextStyle(fontWeight: w, fontFamily: 'Apple Chancery'),
              '$w; bold setting: $boldSetting',
            )).toList()))));
  }
}
```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

| "Bold Text" off | "Bold Text" on |
| --- | --- |
| ![19C46229-D92E-47AB-ADD5-ED1074A5E697](https://github.com/flutter/flutter/assets/22248748/275ac92b-699b-4e32-9ff2-f772aa21cf87) | ![F1BF1FF7-3753-4EC3-8D0E-2B3DD2ADAF52](https://github.com/flutter/flutter/assets/22248748/332de115-c2f6-4488-99ab-4e39dde308c9) |

</details>


### Logs

<details><summary>Logs</summary>

No interesting logs expected or observed.

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel main, 3.17.0-19.0.pre.5, on macOS 14.1.1 23B81 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.84.2)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

```

</details>
Repository: go
Issue: cmd/compile: pre-allocate a slice of provable length 
Labels: Performance,NeedsInvestigation,compiler/runtime

### Go version

go1.21.2

### What did you do?

Compile the following snippet:
```go
func transform(a []int) []uint {
	var b []uint
	for _, x := range a {
		b = append(b, uint(x))
	}
	return b
}
```

### What did you expect to see?

I would expect it to compile to something like:
```go
func transform(a []int) []uint {
	b := make([]uint, len(a), len(a) + ...) // where ... is some extra capacity to reproduce above behavior
	for i, x := range a {
		b[i] = uint(x)
	}
	return b
}
```

I expect to see the following:
* An implicit call to `makeslice` of a given length and capacity. The elements within the length need not be explicitly zeroed (since it can be provably overwritten).
*  The `append` call in the loop be essentially rewritten as an index operation, thus avoiding a call to `runtime.growslice` in every iteration of the loop.

The conversation of `int` to `uint` is for demonstration, but the above optimization should be doable for any conversion that does not panic.

### What did you see instead?

Right now, this compiles more or less to what you see in the original code snippet.
Repository: flutter
Issue: queryProductDetails doesn't show new price when I decrease the selling price on android
Labels: platform-android,p: in_app_purchase,package,has reproducible steps,P3,team-android,triaged-android,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

Step 1: Buy a subscription then cancel it and wait for it to expire
Step 2: Decrease the selling price and end a legacy price cohort
Step 3: open the app and call queryProductDetails => It returns the old price but when click buy, it shows a new price on the dialog
So is there any cache in here
![Screenshot 2023-12-07 at 10 59 21](https://github.com/flutter/flutter/assets/91038708/19e15dd7-04b7-44e1-965f-98a9a92fcd73)
![Screenshot 2023-12-07 at 10 59 50](https://github.com/flutter/flutter/assets/91038708/73906a7f-15f1-4230-8050-1838cf44760d)


### Expected results

show the new price

### Actual results

show the old price, it will show the new price in the next day

### Code sample

<details><summary>Code sample</summary>

```dart
nothing special here
```
</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</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]
```
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.10.6, on macOS 13.4 22F66 darwin-x64, locale en-VN)
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Development/flutter/3.10.6. Consider adding /Development/flutter/3.10.6/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[!] Android Studio (version 2023.1)
    ✗ Unable to find bundled Java version.
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
[✓] VS Code (version 1.82.2)
[✓] Connected device (3 available)
[✓] Network resources

</details>
Repository: pytorch
Issue: Please increase "Number of CUDA devices" recognized by pytorch. 
Labels: module: cuda,triaged

### 🚀 The feature, motivation and pitch

```
RuntimeError: Number of CUDA devices on the machine is larger than the compiled max number of gpus expected (16). Increase that and recompile.
```

https://github.com/pytorch/pytorch/blob/main/c10/cuda/CUDAMacros.h

Current macro is set to 16. We have 19 gpus on a single machine. Please increase this value to 32 or better, 2048 for future proofing.  As virtualization of gpu slices become prevalent, 16 is not enough. For example, even a single 8x A100 node can be MIGed  into more than 16 slices. 

### Alternatives

_No response_

### Additional context

_No response_

cc @ptrblck