sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: App with ios extension didn't launched on ios after update to flutter 3.16
Labels: platform-ios,P3,team-ios,triaged-ios

### Steps to reproduce

In my case i want to run dart code inside ios Notification Service Extension. I can't use main app bundle because ios have memory limitations and i want to use smaller bundle that i can. 

So i was create flutter module, with code that i want to run inside ios extension. 

Pods:
```
module_path = '../packages/flutter_module/'
load File.join(module_path, '.ios', 'Flutter', 'podhelper.rb')

target 'NotificationServiceExtension' do
  use_frameworks!
  use_modular_headers!

  install_flutter_application_pod(module_path)
end
```

[Full example](https://github.com/karabanovbs/flutter_ios_extension_test)

How to run:
```console 
flutter clean && \                                                      
(cd packages/flutter_module && flutter clean) && \
flutter pub get && \
(cd packages/flutter_module && flutter pub get) && \
(cd ios && pod install) && \
(cd packages/flutter_module/.ios && pod install)
```

```console
 flutter run -t lib/main_app.dart
```

This case was working on 3.13, but now broken on 3.16. 

### Expected results

Counter app launched

### Actual results

Counter app not launched. App freeze on splash screen.

However if press Hot Restart, counter app will shown.

### Code sample

<details open><summary>Code sample</summary>

Pls see Steps to reproduce

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

Skip

</details>


### Logs

<details open><summary>Logs</summary>

```console
Skip
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.1.1 23B81 darwin-arm64, locale en-AE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
[✓] VS Code (version 1.85.1)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!
```

</details>
Repository: storybook
Issue: [Bug]: experimental_indexers ignores importPath
Labels: bug,good first issue,help wanted,story index,sev:S3

### Describe the bug

In the experimental indexer docs it says that an indexer can specify an importPath to a target CSF file, but doing so has no effect. Looking at the source code it looks like the importPath returned from an indexer is not used and instead the input source to the indexer will always be used as the importPath.

### To Reproduce

https://github.com/storybookjs/storybook/blob/e942e71e1f5281f9197faab6d61625b0ac8cecfd/code/lib/core-server/src/utils/StoryIndexGenerator.ts#L302

### System

```bash
Storybook Environment Info:

  System:
    OS: macOS 14.2.1
    CPU: (10) arm64 Apple M1 Pro
    Shell: 5.1.16 - /opt/homebrew/bin/bash
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 4.0.2 - ~/.nvm/versions/node/v20.10.0/bin/yarn <----- active
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
  Browsers:
    Chrome: 120.0.6099.109
    Edge: 120.0.2210.121
    Safari: 17.2.1
```


### Additional context

_No response_
Repository: flutter
Issue: Support `flutter run` and `flutter drive` for `Mac Designed for iPad` apps on arm64 Macs
Labels: P2,platform-target-arm,team-ios,triaged-ios

Once `Mac Designed for iPad` are discoverable https://github.com/flutter/flutter/issues/141290 implement `flutter run` and `flutter drive` on these devices.

We originally didn't allow `flutter run` to avoid confusion with macOS-proper development when that platform was not yet in stable (see comment in https://github.com/flutter/flutter/pull/84411).  Now that macOS development has been in stable for awhile, and arm64 Macs are far more prevalent, let's enable this to make it easier for developers to debug their app in whatever way Apple supports.

Test as many as the `run` and `drive` flags as possible.  If any of them don't make sense for `Mac Designed for iPad` throw a `toolExit()` in the respective `validateCommand()` methods so it just fails instead of doing some weird behavior.
https://github.com/flutter/flutter/blob/d1f3ae73eb21187220a9498665352a63b9a547e7/packages/flutter_tools/lib/src/commands/run.dart#L583
https://github.com/flutter/flutter/blob/d1f3ae73eb21187220a9498665352a63b9a547e7/packages/flutter_tools/lib/src/commands/drive.dart#L220

Once implemented, validate it works from the IDE GUI.

Part of https://github.com/flutter/flutter/issues/125741
Repository: vscode
Issue: Debug toolbar can be hidden by window resize
Labels: bug,debug


Type: <b>Bug</b>

1. Start debugging
1. With debug toolbar on right side of window, grab the right side of the window to make it narrower

**Bug**
The debug toolbar remains where it is and ends up being clipped or getting hidden completely


![Image](https://github.com/microsoft/vscode/assets/12821956/e7b772d4-26b5-4755-9c75-317b9e3e105f)





VS Code version: Code - Insiders 1.86.0-insider (Universal) (c973ec767338f7846710cc2ee46e38b4504a044c, 2024-01-10T05:37:20.920Z)
OS version: Darwin arm64 23.2.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M2 Max (12 x 24)|
|GPU Status|2d_canvas: unavailable_software<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: disabled_software<br>multiple_raster_threads: enabled_on<br>opengl: disabled_off<br>rasterization: disabled_software<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: disabled_software<br>video_encode: disabled_software<br>webgl: unavailable_software<br>webgl2: unavailable_software<br>webgpu: unavailable_software|
|Load (avg)|4, 4, 4|
|Memory (System)|64.00GB (0.21GB free)|
|Process Argv|--crash-reporter-id 0fffb5da-9cd7-46fd-9e7f-a1564e8c5fda|
|Screen Reader|no|
|VM|0%|
</details>
<!-- generated by issue reporter -->
Repository: flutter
Issue: Support `flutter build x` for `Mac Designed for iPad` apps on arm64 Macs
Labels: platform-ios,P2,platform-target-arm,team-ios,triaged-ios

Implement `flutter build` for `Mac Designed for iPad` that builds an iPad application package that can be run on arm64 Macs.

From Xcode it's building the  into `path/to/deriveddata/Build/Products/Debug-iphoneos/.XCInstall/Test Create.app`

```
$ ll -R /Users/m/Library/Developer/Xcode/DerivedData/Runner-gnengnkipgqsumexkvwkdczgvrst/Build/Products/Debug-iphoneos/.XCInstall/Test\ Create.app
total 0
drwxr-xr-x@ 4 m  primarygroup  128 Jan  9 15:57 .
drwxr-xr-x  9 m  primarygroup  288 Jan 10 09:49 ..
lrw-r--r--  1 m  primarygroup   18 Jan  9 15:57 WrappedBundle -> Wrapper/Runner.app
drwxr-xr-x  4 m  primarygroup  128 Jan  9 15:57 Wrapper

/Users/m/Library/Developer/Xcode/DerivedData/Runner-gnengnkipgqsumexkvwkdczgvrst/Build/Products/Debug-iphoneos/.XCInstall/Test Create.app/Wrapper:
total 8
drwxr-xr-x   4 m  primarygroup  128 Jan  9 15:57 .
drwxr-xr-x@  4 m  primarygroup  128 Jan  9 15:57 ..
-rw-r--r--   1 m  primarygroup  618 Jan  9 15:57 BundleMetadata.plist
drwxr-xr-x  13 m  primarygroup  416 Jan  9 15:57 Runner.app
```

What this looks like will depend on how we create this bundle as part of `flutter run` and `drive` https://github.com/flutter/flutter/issues/141328

`flutter build ios -d designed-for-ipad` that checks for this well-known identifier and does the special wrapper flow?
An entirely new `BuildSubCommand` `flutter build designed-for-ipad`?

Whatever choice is made, validate `--config-only` works (sets up the Xcode project for iOS but don't actually build the app).

Part of https://github.com/flutter/flutter/issues/125741
Repository: flutter
Issue: Support `flutter install`, `logs` for `Mac Designed for iPad` apps on arm64 Macs
Labels: P2,platform-target-arm,team-ios,triaged-ios

`Mac Designed for iPad` builds an iPad application package that can be run on arm64 Macs.  Implementation of `run` and `drive` are covered in https://github.com/flutter/flutter/issues/141328 and `build` is in https://github.com/flutter/flutter/issues/141332.  

Implement the other device-specific commands or make sure they show an appropriate "unsupported" message.  

- `install`
- `logs` (seems to not work for macOS apps?)
- `screenshot` (this isn't supported for macOS so I'm not sure there's an easy way to do this one)

Part of https://github.com/flutter/flutter/issues/125741

cc @LouiseHsu
Repository: kubernetes
Issue: VolumeAttributesClass post GA work
Labels: sig/storage,lifecycle/frozen,needs-triage

- [ ] [TestPersistentVolumeClaimEvaluatorMatchingResources](https://github.com/kubernetes/kubernetes/blob/master/pkg/quota/v1/evaluator/core/persistent_volume_claims_test.go#L185) TODOs
- [ ] Remove VolumeAttributesClass feature gate, update docs
- [ ] the definition of PVC/PV remove alpha description. 
- [ ] Mark alpha APIs deprecated (since we have the GA API), update docs
- [ ] Remove alpha APIs (since we have the GA API), update docs
- [ ] Mark beta APIs deprecated, update docs
- [ ] Remove beta APIs, update docs

/sig storage
/assign
Repository: flutter
Issue: [file_selector] Do not have create directory button at bottom
Labels: package,team-ecosystem,P2,p: file_selector,triaged-ecosystem

### Use case

Here should has a button to create directory
<img width="800" alt="capture" src="https://github.com/flutter/flutter/assets/56961747/bdf280cf-02cb-4a68-934c-2b58cb3e2f14">

Just like:
<img width="800" alt="capture2" src="https://github.com/flutter/flutter/assets/56961747/a2b2ff48-6b4f-4cb9-b345-54a6c903ff3a">



### Proposal

Here should has a button to create directory
<img width="800" alt="capture" src="https://github.com/flutter/flutter/assets/56961747/bdf280cf-02cb-4a68-934c-2b58cb3e2f14">

Just like
<img width="800" alt="capture2" src="https://github.com/flutter/flutter/assets/56961747/a2b2ff48-6b4f-4cb9-b345-54a6c903ff3a">
Repository: pytorch
Issue: When running the code model.to('mps'), the program gets stuck, but it runs fine on the CPU
Labels: needs reproduction,triaged,module: mps

### 🐛 Describe the bug

/

### Versions

Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: macOS 14.1.1 (arm64)
GCC version: Could not collect
Clang version: 15.0.0 (clang-1500.0.40.1)
CMake version: version 3.27.7
Libc version: N/A

Python version: 3.11.3 (v3.11.3:f3909b8bc8, Apr  4 2023, 20:12:10) [Clang 13.0.0 (clang-1300.0.29.30)] (64-bit runtime)
Python platform: macOS-14.1.1-arm64-arm-64bit
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A

CPU:
Apple M2 Pro

Versions of relevant libraries:
[pip3] No relevant packages
[conda] Could not collect

cc @kulinseth @albanD @malfet @DenisVieriu97 @razarmehr
Repository: transformers
Issue: Proposal for Adding a New Scheduler Strategy for Language Model Pretraining
Labels: Feature request

### Feature request

We try to propose the addition of a new and widely-adopted scheduler strategy for language model pretraining in the Transformers repository. Upon reviewing the current schedulers available in the [Transformers optimization module](https://github.com/huggingface/transformers/blob/main/src/transformers/optimization.py#L338), it appears there is a notable absence of an out-of-the-box implementation for a specific type of scheduler. This particular scheduler is prevalent in recent pre-training models and features a warmup decay, but importantly, it also maintains a limited minimum learning rate post-maximum iteration steps.

This scheduling approach has seen extensive use in several prominent pre-trained large language models (LLMs), including:

1. TinyLLaMA: Implementation details can be found in their [pretraining script](https://github.com/jzhang38/TinyLlama/blob/main/pretrain/tinyllama.py#L375).
2. MindLLM: Described in their research paper, available at [arXiv:2310.15777](https://arxiv.org/pdf/2310.15777.pdf).
3. trlx: Utilized in the TRLx framework, as seen in their [GitHub repository](https://github.com/CarperAI/trlx/tree/main).
4. ...

The introduction of this scheduler into the Transformers library would not only complete the suite of existing scheduling strategies but also provide practitioners with a tool that's already proven its efficacy in recent LLM training methodologies. I believe its inclusion will be beneficial for the community, fostering more efficient and effective pretraining processes.

### Motivation

This issue aims to introduce a novel scheduler into the current Transformers library. The proposed scheduler combines the elements of warmup decay with a distinctive feature - the implementation of a constrained minimum learning rate beyond the maximum iteration steps.

### Your contribution

Yes, we could submit a PR as soon as possible if any huggingface members think this contribution is necessary.
Repository: pytorch
Issue: BatchNorm1d, running_mean and running_var
Labels: module: nn,triaged,needs research

### 🚀 The feature, motivation and pitch

This is regarding the `running_mean` and `running_var` arrays associated with a `BatchNorm1d` layer.  These two vectors are not included in the `model.named_paramers()` list of tuples, but I think they should be.  The reason is that the values in these arrays significantly impact the output of `model.forward()` when just running inference.  For example, NaNs in those two arrays will make the output of the `BatchNorm1d` layer also NaNs if `track_running_stats` is True.  If `running_mean` and `running_var` were included in the `model.named_parameter()` output, this type of problem could easily be detected.

### Alternatives

Any method call that would go through all parameters used in the `forward()` method of a model and confirm that there are no anomalous values at inference time (*not* at train time - I believe `torch.autograd.set_detect_anomaly(True)` takes care of that) would take care of this for me.  Apologies if one already exists!  Google was not giving me anything helpful, but my search terms may not have been great.

### Additional context

I loaded a model that has NaNs in the `running_mean` and `running_var` arrays associated with a `BatchNorm1d` layer.   Iterating over `model.named_paramers()` lead me to the erroneous conclusion that there were no NaNs or Infs in my model (or any particular large or small values).  But I was getting NaNs in the output of `model.forward()` with apparently reasonable input values.  I had to step pretty carefully through the code to figure out that this was occurring in a `BatchNorm1d` call in the first layer.  Now I know the model is the root problem of this situation, what I'm really asking for is an easy way to detect bad (NaN, Inf, >+/-1E+19, etc) values in a model.  Or maybe there is one, in which case I apologize profusely!

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: youtube-dl
Issue: Maybe add shell quoting advice to the basic instructions
Labels: documentation

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape.
- Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [ ] I'm reporting a broken site support
- [ ] I've verified that I'm running youtube-dl version **2021.12.17**
- [ ] I've checked that all provided URLs are alive and playable in a browser
- [ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
- [ ] I've searched the bugtracker for similar issues including closed ones


## Verbose log

<!--
Provide the complete verbose output of youtube-dl that clearly demonstrates the problem.
Add the `-v` flag to your command line you run youtube-dl with (`youtube-dl -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:
 [debug] System config: []
 [debug] User config: []
 [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
 [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
 [debug] youtube-dl version 2021.12.17
 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
 [debug] Proxy map: {}
 <more lines>
-->

```
PASTE VERBOSE LOG HERE
```


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Maybe add the necessary "" to the basic instructions ....?!?!? took me like a whole 5 min to search and figure out that NOWHERE in the original docs informs of the required quotations around the desired URL.
Repository: flutter
Issue: Narrow `DatePickerDialog` has unnecessary scrollbar on months with 6 rows
Labels: framework,f: material design,f: date/time picker,has reproducible steps,P2,team-design,triaged-design,found in release: 3.16,found in release: 3.19

### Steps to reproduce

1. Have a `DatePickerDialog` in your app that can reach its narrow form, and have M3 enabled
2. Run the app (I tried macOS, CanvasKit, and skwasm)
3. Open the date picker if necessary
4. Adjust screen so DatePicker can be in its narrow mode
5. Switch to a month that has 6 rows, such as December 2023
6. Move mouse around within dates view to see scroll bar

### Expected results

Since all rows can be displayed just fine in the dialog, no scroll bar should be there when moving the mouse. No scrolling is possible anyway.

### Actual results

A scrollbar that does nothing shows up in weeks with 6 rows.

### Code sample

<details><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: DatePickerDialog(
            initialDate: DateTime(2023, DateTime.december, 25),
            firstDate: DateTime.utc(2010),
            lastDate: DateTime.utc(2030),
          ),
        ),
      ),
    );
  }
}
```

</details>


### Screenshots

<details open>
<summary>Screenshot</summary>

Narrow `DatePickerDialog` with unnecessary scroll bar:
<img width="380" alt="Narrow date picker with unnecessary scroll bar" src="https://github.com/flutter/flutter/assets/18372958/fd149e78-58af-41cf-b532-15d348047a84">

</details>


### Flutter version info

<details><summary>Version</summary>

```console
Flutter 3.19.0-3.0.pre.43 • channel main • https://github.com/flutter/flutter
Framework • revision f961fdf2ba (4 hours ago) • 2024-01-10 17:37:07 -0500
Engine • revision a045134c91
Tools • Dart 3.4.0 (build 3.4.0-14.0.dev) • DevTools 2.31.0
```

</details>
Repository: stable-diffusion-webui
Issue: [Feature Request]: Extras Tab Scaling Lack Negative Multiplier, or Automatic Maximum Scaler Setting
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 ?

When working with a folder full of images where one side is greater than about 2000 pixels, processing may fail due to Video Card VRAM or some other limitations. The only current solution is to resize all of the images with an external graphics program. If the all of the images are the same size, this works well, if they are not, then manual scaling is often, though not always) the only solution. 

In any case it is an extra step that one must take prior to processing images.

When working with img2img etc. you can by clicking the Yellow Right Angle Tool, get a readout of he image X Y pixel values. Then are two setting for the Scaling feature. One for setting x and y separately, and another for multiplying both x and y at once allowing both + and - values.  In the Extras Tab, you are limited to + values (so you cannot reduce images).

Once again this requires extra manual work unless all of the images in a folder are the same size, and when using the Extras Tab (for Reactor for example), image sizes above your max value makes it unusable. Once again forcing you to use an external graphics program to downscale before you can run img2img etc.

I don't see why A1111 has not already built in an option to scale the input images automatically, so that the maximum size is limited to a user set value such as 1280, or 1600, or 2000 pixels 

### Proposed workflow

**Under the Extras Tab**

**Image Scale readout and negative multiplier** 
1 Add the Triangle Ruler Icon (which is under the img2img mode) to read the image x y pixel count)
2 Then simply allow the Scaling Multiplier to allow Negative Values



**Automatic Scaling**

Text and Icons for User setting  of the following Options (Possibly a Tab in Scaling Section)  
1 Automatic Max Scaling (if checked Automatic mode used, otherwise it is manual)
2 Maximum Pixel width of  Longest Side (type in values such as 1200, 1280, 1600, 2000 etc.)

### Additional information

Unlike in img2img, there is no Right Angle Yellow Ruler to read the image X Y pixel values. This is very useful to know how to set the multiplier so as not to exceed the largest image your hardware is capable of working with.

Currently the Extras Tab Image Scaler has no Negative multiplier. I think this would be easy to implement.