sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ollama
Issue: Error while trying to run/pull models
Labels: bug,networking

### What is the issue?

I have a good internet connection, but still I am unable to run or pull models in ollama

![image](https://github.com/ollama/ollama/assets/82216452/a5e551d7-b907-4e6f-8647-c06577152392)


### OS

Windows

### GPU

Nvidia

### CPU

Intel

### Ollama version

_No response_
Repository: ui
Issue: [bug]:  doc fix or a fix to include zod in the install command 
Labels: bug

### Describe the bug

Please make sure to mention the manual install of the zod install, otherwise many devs are getting confused with that.

### Affected component/components

Form

### How to reproduce

If I don't manually install zod using npm then it shows the module is not found.

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Microsoft Edge browser running on windows 10
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: next.js
Issue: nested `not-found.tsx` page does not execute script defined in `layout.tsx`
Labels: bug

### Link to the code that reproduces this issue

https://github.com/stefanprobst/issue-next-not-found

### To Reproduce

1. `git clone git@github.com:stefanprobst/issue-next-not-found.git && cd issue-next-not-found`
2. `pnpm install && pnpm run dev`
3. open "http://localhost:3000/", which should show the root not-found page (`app/not-found.tsx`) with a dark background
4. open "http://localhost:3000/en/invalid", which should show the nested not-found page (`app/[locale]/not-found.tsx`) with a light background, because the color-scheme script in `app/[locale]/layout.tsx` did not add the data attribute to the `html` element.

### Current vs. Expected behavior

i expect the data attribute added to the `<html>` element by the script in `app/[locale]/layout.tsx` to not be lost when `notFound()` is called and the `app/[locale]/not-found.tsx` page is displayed.

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb  7 11:40:03 UTC 2
  Available memory (MB): 32032
  Available CPU cores: 4
Binaries:
  Node: 20.12.2
  npm: 10.5.0
  Yarn: 1.22.19
  pnpm: 8.15.5
Relevant Packages:
  next: 14.3.0-canary.9 // Latest available version is detected (14.3.0-canary.9).
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.5
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Not sure

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

_No response_
Repository: transformers
Issue: Support multiple `timm` as backbones with `forward_intermediates` method
Labels: Feature request,Vision

### Feature request

Currently, in `TimmBackbone` requires that the `timm` model has a `return_layers`, which I'm not sure if any model implements:
https://github.com/huggingface/transformers/blob/c15aad0939e691d2ffdbac7ae71921b51fe04e3f/src/transformers/models/timm_backbone/modeling_timm_backbone.py#L80-L83

Lately, `timm` implemented  a `forward_intermediates` method to almost all networks for  feature extraction - [issue](https://github.com/huggingface/pytorch-image-models/issues/2131) and [pr](https://github.com/huggingface/pytorch-image-models/pull/2136).

### Motivation

Thus, will little changes, we will be able to do
```py
import transformers

model = transformers.Mask2FormerModel(
    config=transformers.Mask2FormerConfig(
        use_timm_backbone=True,
        backbone="vit_small_patch16_224",
    ),
)
```

as currently we get the error:
```sh
AttributeError: 'FeatureGetterNet' object has no attribute 'return_layers'
```

### Your contribution

Review and/or implemented the PR
Repository: transformers
Issue: Badam support
Labels: Feature request,optimization

### Feature request

https://arxiv.org/pdf/2404.02827.pdf

Memory efficient optimizer like galore but with less hyperparameters 

### Motivation

https://github.com/hiyouga/LLaMA-Factory/pull/3287

LlamaFactory supports it, but having it in transformers is much more convenient

### Your contribution

-
Repository: vscode
Issue: [A11y] Focus changes to custom editor when clicking on notebook toolbar overflow menu
Labels: bug,help wanted,webview

<!-- ⚠️⚠️ 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?: No (requires custom editor)

<!-- 🪓 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.89.0-insider
- OS Version: Mac Sonoma 14.4.1

Steps to Reproduce:

1. Run the custom-editor-sample in the extension samples repository and open a .pawDraw or .cscratch file
2. Create a new notebook editor (ipynb file) in _side by side_ orientation
<img width="1167" alt="image" src="https://github.com/microsoft/vscode/assets/8560030/7f9d0b2a-ebb0-4099-b19c-74309c6219f0">

4. First focus the notebook and observe that the tab title is highlighted
<img width="138" alt="image" src="https://github.com/microsoft/vscode/assets/8560030/3a32e94a-dcb9-4819-994e-39fe96689e98">
5. Now click the toolbar overflow button and observe that the custom editor tab is now highlighted
<img width="112" alt="image" src="https://github.com/microsoft/vscode/assets/8560030/6b58f28c-1a5e-4017-b069-c2235ddad05e">
<img width="170" alt="image" src="https://github.com/microsoft/vscode/assets/8560030/a2f85014-2f30-42a4-bc45-e446962e0555">

The focus should not change here but it does.
Repository: rust
Issue: Decl macro parser reaching end of input reports as "found `<eof>`" which could be more descriptive
Labels: A-diagnostics,T-compiler

### Code

```Rust
macro_rules! item {
    ($item:item) => {$item}
}
item!(mod x);
```


### Current output

```Shell
error: expected one of `;` or `{`, found `<eof>`
 --> src/lib.rs:4:11
  |
2 |     ($item:item) => {$item}
  |      ---------- while parsing argument for this `item` macro fragment
3 | }
4 | item!(mod x);
  |           ^ expected one of `;` or `{`

error: could not compile `playground` (lib) due to 1 previous error
```


### Desired output

```Shell
error: expected one of `;` or `{`, found end of macro input
 --> src/lib.rs:4:11
  |
2 |     ($item:item) => {$item}
  |      ---------- while parsing argument for this `item` macro fragment
3 | }
4 | item!(mod x);
  |            ^ expected one of `;` or `{`

error: could not compile `playground` (lib) due to 1 previous error
```


### Rationale and extra context

`<eof>` doesn't necessarily tell people much. I imagine there might be newcomers who have no idea what this acronym is supposed to mean without googling it, it's also just an odd assortment of characters with the `<>` going on so I think we can improve on that :) Ideally it would also point to after the last token, since that last token was parsed correctly, though I guess that is difficult for implementation reasons.

In fact I just noticed we do the same outside of macros, that is a bare `mod x` in a file triggers the same so that might be good to adjust as well with a `found end of file` instead.

### Other cases

_No response_

### Rust Version

```Shell
rustc 1.79.0-nightly (805813650 2024-03-31)
binary: rustc
commit-hash: 805813650248c1a2f6f271460d728d1bb852d2a7
commit-date: 2024-03-31
host: x86_64-pc-windows-msvc
release: 1.79.0-nightly
LLVM version: 18.1.2
```


### Anything else?

_No response_

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":null}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: flutter
Issue: Android: Using secure keyboard and `obscureText: true`, the screen scrolls and flashes while switching between input fields.
Labels: a: text input,e: device-specific,platform-android,P3,team-android,triaged-android,fyi-text-input

### Steps to reproduce

When the two input fields switch the cursor, the screen scrolls and flashes


### Expected results

```
@override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ListView(
        children: [
          Column(
            children: <Widget>[
              _input(
                'eqpId'.tr,
                Icons.filter_hdr_outlined,
                obscureText: false,
                controller: inputControllerEqpId,
              ),
              const CustomSpaceHeight(),
              _input(
                'account'.tr,
                Icons.account_circle_outlined,
                obscureText: false,
                controller: inputControllerAccount,
              ),
              _input(
                'password'.tr,
                Icons.password_outlined,
                obscureText: true,
                controller: inputControllerPsw,
              ),
            ],
          ),
          const CustomSpaceHeight(size: CustomSpaceSize.huge),
        ],
      ),
    );
  }
```


```
  Widget _input(
    String label,
    IconData icon, {
    TextEditingController? controller,
    bool autofocus = false,
    required bool obscureText,
    void Function(String)? onChanged,
  }) {
    return TextFormField(
      autofocus: autofocus,
      controller: controller,
      obscureText: obscureText,
      decoration: InputDecoration(hintText: label, prefixIcon: Icon(icon)),
      onChanged: onChanged,
    );
  }
```

### Actual results






### Code sample

*

### 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: opencv
Issue: How can i use the PlaneWarperGpu?
Labels: category: documentation

### Describe the doc issue

Following the documentation there should be a class named PlaneWarperGpu in cv.detail but i cannot find this in Python. I have build opencv with CUDA support. 
Link to the doc: [Doc](https://docs.opencv.org/4.x/d2/d1a/classcv_1_1detail_1_1PlaneWarperGpu.html)

### Fix suggestion

_No response_
Repository: ant-design
Issue: List item add hover color based of current algorithm
Labels: 💡 Feature Request,Inactive

### What problem does this feature solve?

I want to be able to have hover effect on list item with the current algorithm (default/dark)

### What does the proposed API look like?
Add hoverable prop to the List.Item component
If hoverable true then list item bg color should change based on new color which need to be added to List Item - colorBgHover

1. ``` <List.Item hoverable /> ```
2. colorBgHover: '#...'

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: Pipeline Parallelism support for ZeroBubble
Labels: oncall: distributed

### 🚀 The feature, motivation and pitch

# introduction 
Zero Bubble support for pipe see：https://arxiv.org/abs/2401.10241 

# require
when we want to implement this feature. we need to solve the dependency of the weight ant activation grad.

we need to split backward weight grad and backward input grad. 
in this way, shell we change some autograd function to split this two phase? 

### 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 @wz337 @tianyu-l @wconstab @yf225 @chauhang @d4l3k
Repository: flutter
Issue: Proposal : `CupertinoSlidingSegmentedControl` : Add text color for selected and unselected configuration items.
Labels: c: new feature,framework,f: cupertino,c: proposal,P3,team-design,triaged-design

### Use case

EDIT: Currently there are no related properties and configurations now, whether it is theme or config

### Proposal

Add text color when selected and text color when unselected configuration items for CupertinoSlidingSegmentedControl
Repository: godot
Issue: The size of 3D gizmo resize handles is resolution-dependent
Labels: bug,topic:editor,topic:3d

### Tested versions

v4.3.dev.custom_build [658e97c93]

### System information

Godot v4.3.dev (658e97c93) - macOS 14.4.0 - Vulkan (Forward+) - integrated Apple M1 Max - Apple M1 Max (10 Threads)

### Issue description

Their size changes with viewport resolution

![gizmo](https://github.com/godotengine/godot/assets/60579014/82e8f3e3-63a2-4eac-b726-18b353ef2acf)


### Steps to reproduce

Toggle Half Resolution

### Minimal reproduction project (MRP)

N/A
Repository: godot
Issue: Y-size of GraphNodes with RichTextLabel and "Fit Content: True" gets huge when reloading scene
Labels: bug,topic:gui

### Tested versions

Tested on v4.2.1.stable.mono.official [b09f793f5]
NOTE: No scripting is necessary, so mono/non-mono should not matter (in theory).

### System information

Godot v4.2.1.stable.mono - EndeavourOS #1 SMP PREEMPT_DYNAMIC Thu, 11 Apr 2024 01:47:33 +0000 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7800 XT (RADV NAVI32) () - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

### Issue description

Title, basically. When a `GraphNode` contains a `RichTextLabel` with "Fit Content" set to true, reloading the scene will cause the graph node to expand along the Y axis to a ridiculous degree. The issue seems related to the size of the `GraphEdit`, a larger graph will result in larger Y-size. 

### Steps to reproduce

1. Add a `GraphEdit` with one or more `GraphNode`s as children
2. Add a `RichTextLabel` with some text as a child of one of the `GraphNode`s
3. Check the "Fit Content" option
4. Reload the scene
5. The nodes containing the rich text are now huge.

### Minimal reproduction project (MRP)

[graph-edit-rich-text-bug-demo.zip](https://github.com/godotengine/godot/files/15023398/graph-edit-rich-text-bug-demo.zip)

No scripts are used, should be independent of C#/GDscript
Repository: next.js
Issue: Invalid `Cache-Control` header for a not found in catch all segments routes
Labels: bug

### Link to the code that reproduces this issue

https://github.com/axelhzf/next-bug-catch-all-routes-cache-control

### To Reproduce

1. Start the application in production mode
2. Visit a page that does not exist in the catch all segments route `/posts/*`. E.g http://localhost:3000/posts/not_found
3. The server returns the header `Cache-Control: s-maxage=31536000, stale-while-revalidate`

### Current vs. Expected behavior

I excepted `Cache-Control: private, no-cache, no-store, max-age=0, must-revalidate`

The same value that returns a 404 that is not part of a catch all segments route

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:11:05 PDT 2024; root:xnu-10063.101.17~1/RELEASE_X86_64
  Available memory (MB): 32768
  Available CPU cores: 16
Binaries:
  Node: 18.19.0
  npm: 10.2.3
  Yarn: 1.22.17
  pnpm: 7.21.0
Relevant Packages:
  next: 14.2.1 // There is a newer version (14.2.2) available, upgrade recommended!
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: N/A
Next.js Config:
  output: N/A
```


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

Runtime

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

next build (local)

### Additional context

_No response_
Repository: opencv
Issue: Build with MPS?
Labels: feature,priority: low,platform: ios/osx

### Describe the feature and motivation

Is it possible to compile like cuda or CANN for MPS?

### Additional context

_No response_
Repository: kubernetes
Issue: [Flaky] Garbage collector should not delete dependents that have both valid owner and owner that's waiting for dependents to be deleted
Labels: sig/api-machinery,kind/flake,triage/accepted

>              there was a flake of this test today:
> https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/124361/pull-kubernetes-conformance-kind-ga-only-parallel/1780870571198779392

> _Originally posted by @neolit123 in > https://github.com/kubernetes/kubernetes/issues/120570#issuecomment-2063334398_
            

it failed with

```
STEP: Found 1 events. - k8s.io/kubernetes/test/e2e/framework/debug/dump.go:46 @ 04/18/24 08:23:42.251
I0418 08:23:42.251282 68958 dump.go:53] At 2024-04-18 08:23:40 +0000 UTC - event for pod1: {kubelet kind-worker2} OutOfpods: Node didn't have enough resource: pods, requested: 1, used: 110, capacity: 110
I0418 08:23:42.259586 68958 resource.go:168] POD   NODE          PHASE   GRACE  CONDITIONS
I0418 08:23:42.259641 68958 resource.go:175] pod1  kind-worker2  Failed         []
IIRC there was one test that created a lot of pods
```

simpletest-rc-to-be-deleted-8r928

That is the test we need to fail the bug, as it is impacting the other tests

https://github.com/kubernetes/kubernetes/blob/c016b0b9a8ca63dbec1fade0910c2a06017cc4ab/test/e2e/apimachinery/garbage_collector.go#L714-L719

The test run a large number of Pods that may exhaust the capacity of the nodes and make other test to fail because are not able to schedule Pods

/sig api-machinery
Repository: rust
Issue: Known limitations of branch coverage instrumentation
Labels: T-compiler,A-code-coverage

Branch coverage is known to support these branching language constructs:

- `if` and `while`
  - Includes `if let` and let-chains
  - Treats nested `||` and `&&` as separate branches
  - `while` desugars to `if` before MIR building, so we support it as a consequence of supporting `if`
- Standalone `||` and `&&` expressions
  - Nested `||` and `&&` are treated as separate branches
  - The final operand is not a branch, but can be optionally treated as one via #125756
- `let`-`else` statements
- Match arm guards
  - These also desugar to `if` expressions before MIR building
    - This also means that we naturally support `if let` guards
  - But their presence makes it more complicated to instrument match arms, as described below

Branch coverage is known to **not yet support** these branching language constructs:

- [ ] Individual arms and or-patterns in `match` expressions
  - We need to be sure to support (or gracefully not support) all four combinations of:
    - Arms with/without guards
      - The guards themselves are already supported (as indicated above), but their presence also complicates how we instrument the enclosing match arm, and other match arms in the same match
      - Note that the combination of guards and or-patterns results in particularly complex control-flow, because if a guard fails then we keep searching for other or-pattern matches *in the same arm*
    - Arms with/without or-patterns, including arbitrary nesting
  - #124154
    - This draft does not support or-patterns, and might not be able to support them without substantial changes (requiring a different approach)
    - This draft uses complex counter expressions to work around not being able to instrument all the appropriate points in the control-flow graph directly; this ties back into concerns about or-patterns
- [ ] The try `?` operator (which conditionally returns)
  - This is desugared to a `match` expression, so once we support those, supporting `?` should mostly be a matter of expansion-span bookkeeping
- [ ] `.await` expressions (which implicitly “return” when the enclosing future is dropped)
  - This can probably be excluded from any MVP of branch coverage, unless it turns out to be unexpectedly easy after supporting `?`
  - But some users will presumably want this in the long run
- [ ] Any of the above branching constructs that are introduced by macro expansion
  - The current implementation discards any branch span that isn't “directly visible” in the function body

---

## Relevant PR links:

- #122322
- #124223
- #124154

*(Rewritten on 2024-07-11; see edit history for the old text.)*
Repository: PowerToys
Issue: VS Code Task Runner
Labels: Needs-Triage

### Description of the new feature / enhancement

I would love to be able to use VS Code task.json format including the ability to prompt for variables to create scripted tasks. It's the ideal format because it has outcomes, validators, input variables and is nicely structured.  

Bonus points for a visual editor that let's you easily build them up sort of like the GUI for settings in terminal.

### Scenario when this would be used?

If I could hit a shortcut and incrementally search like win+space (or embed it in there) for a task using the vs code task format that I've setup, it would be an excellent way to do simple scripting.

Kicking off tasks this way like for instance having one for winget upgrade --all etc. would be amazing.

### Supporting information

Right now, power automate is the only real viable way to do scripting short of knowing powershell or batch files.  This gives significant power, very easily, and if there was a GUI, people would be able to build these tasks up simply without too much knowledge and they wouldn't break or have other security issues like previous attempts.

And because the standard is already well defined and works wonderfully in vs code, you'd be using a standard that everyone understands.
Repository: PowerToys
Issue: Mouse synchronization operation on all FancyZones
Labels: Needs-Triage

### Description of the new feature / enhancement

Mouse synchronization operation on all FancyZones

### Scenario when this would be used?

Mouse synchronization operation on all FancyZones

### Supporting information

Mouse synchronization operation on all FancyZones
Repository: ollama
Issue: I wrote an uninstallation script.
Labels: feature request

Hi, I wrote an uninstallation script and [this](https://github.com/TikaFlow/tika_grocery/tree/main/delOllama) is my script.
If you think it's not bad, you might consider referencing my script in your [documentation](https://github.com/ollama/ollama/blob/main/docs/linux.md#uninstall).
Thanks！