sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Crash when folding code
Labels: bug,freeze-slow-crash-leak,snap


Type: <b>Bug</b>

Since the last update, when I fold manually my code (any language, js, PHP, HTML, etc..), for example, I fold a part of my code, the UI become white and VS Code crash and disappear within 3 or 4 seconds. 

VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:43:07.605Z)
OS version: Linux x64 5.4.0-182-generic snap
Modes:

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

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz (4 x 1680)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: disabled_software<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|6, 3, 3|
|Memory (System)|15.39GB (7.37GB free)|
|Process Argv|--no-sandbox --force-user-env --crash-reporter-id 5eba499c-ee80-49fd-b721-b550a96f0676|
|Screen Reader|no|
|VM|0%|
|DESKTOP_SESSION|ubuntu|
|XDG_CURRENT_DESKTOP|Unity|
|XDG_SESSION_DESKTOP|ubuntu|
|XDG_SESSION_TYPE|x11|
</details><details><summary>Extensions (30)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-intelephense-client|bme|1.10.4
cookiejs|cpa|1.4.0
profiler-php-vscode|DEV|1.47.15512
githistory|don|0.6.20
jquerysnippets|don|0.0.1
apacheconf-snippets|eim|1.3.0
prettier-vscode|esb|10.4.0
codespaces|Git|1.16.22
remotehub|Git|0.62.0
vscode-pull-request-github|Git|0.88.1
live-sass|gle|6.1.2
todo-tree|Gru|0.0.226
google-translate|han|1.2.9
svn-scm|joh|2.17.0
twig-language-2|mbl|0.9.4
rainbow-csv|mec|3.12.0
easy-jquery|Moh|1.3.0
vscode-docker|ms-|1.29.1
vscode-language-pack-fr|MS-|1.89.2024050109
remote-containers|ms-|0.369.0
remote-repositories|ms-|0.40.0
format-html-in-php|rif|1.7.0
phpdoc-generator|ron|1.1.1
markdown-preview-enhanced|shd|0.8.13
html5-boilerplate|sid|1.1.1
pdf|tom|1.2.2
vscode-phpsab|val|0.0.18
php-debug|xde|1.34.0
php-pack|xde|1.0.3
php-intellisense|zob|1.3.3

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
pythonprt:31056678
dwnewjupyter:31046869
26j00206:31048877

```

</details>

<!-- generated by issue reporter -->
Repository: ollama
Issue: Feature: Allow setting OLLAMA_NUM_PARALLEL per model
Labels: feature request

It would be great if you could set OLLAMA_NUM_PARALLEL per model.

Example use case:

- You have one large "smart" model you only ever want one request at a time going to to avoid using all your memory.
- You have a smaller "fast" fast model (or just one with a smaller context) that you might want to allow a number of parallel requests to.

Perhaps this could be configured with a [modelfile](https://github.com/ollama/ollama/blob/main/docs/modelfile.md) and corresponding [API parameter](https://github.com/ollama/ollama/blob/main/docs/api.md#parameters) rather than at launch time?
Repository: ollama
Issue: Add "use_mmap" to environment variable
Labels: feature request

I recently discovered the potential benefits of the --no-mmap option, particularly for specific system configurations, such as PCs or laptops equipped with only 8GB of system RAM and a GPU with VRAM of 6GB or more, capable of loading entire models onto it.

Loading models with mmap can render the use of 8B models nearly impossible, as it can cause RAM usage to spike to 99% and remain there, often leading to complete freezing of the PC and requiring a hard reset.

Disabling mmap allows users to load 8B models while still having half of the RAM available for other tasks. The only drawback is a slightly longer initial model load time (around 5-10 seconds in my case), which I believe is a worthwhile trade-off. Quick benchmarks even suggest that --no-mmap might be slightly faster for generating tokens.

Now, here's the rationale for adding an environment variable.

Many frontends/UIs utilize Ollama, but a significant portion of them lack the toggle option to set the "nommap". By introducing an environment variable, I can globally set "nommap" and ensure that any frontends will load models with the nommap flag enabled.
Repository: node
Issue: Are primordials safe from monkeypatching the [Symbol.species] method?
Labels: question

I already knew that certain JavaScript builtins can be affected by the value returned by the `@@species` method, but I was surprised to see how much it can muck with theur operation. Does anyone know if primordials are safe from manipulation of it? If not, is there a way to fix that?
Repository: pytorch
Issue: [aot autograd][inline inbuilt nn modules] AOT Autograd changes _version different from eager
Labels: triaged,oncall: pt2,module: pt2-dispatcher

### 🐛 Describe the bug

The test case fails when Dynamo inlines the builtin nn modules. It passes for backend "eager" but fails for backend "aot_eager"

~~~

import torch
import copy
import operator


torch._dynamo.config.inline_inbuilt_nn_modules = True

class MyModel(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.m = torch.nn.BatchNorm1d(100)

    def forward(self, x):
        return self.m(x)

model_for_eager = MyModel()
model_for_compile = copy.deepcopy(model_for_eager)

eager_version_counters = [
    buffer._version for _, buffer in model_for_eager.named_buffers()
]
compile_version_counters = [
    buffer._version for _, buffer in model_for_compile.named_buffers()
]

compiled_f = torch.compile(model_for_compile, backend="aot_eager")

inp_ref = torch.ones(20, 100, requires_grad=True)
inp_test = torch.ones(20, 100, requires_grad=True)

out_ref = model_for_eager(inp_ref.clone())
out_test = compiled_f(inp_test.clone())

eager_version_counters_after = [
    buffer._version for _, buffer in model_for_eager.named_buffers()
]
compile_version_counters_after = [
    buffer._version for _, buffer in model_for_compile.named_buffers()
]

breakpoint()
eager_delta = list(
    map(operator.sub, eager_version_counters_after, eager_version_counters)
)
compile_delta = list(
    map(operator.sub, compile_version_counters_after, compile_version_counters)
)

assert eager_delta == compile_delta
~~~

### Error logs

_No response_

### Minified repro

_No response_

### Versions

NA

cc @ezyang @bdhirsh @chauhang @zou3519 @msaroufim
Repository: pytorch
Issue: Documentation for DDP-related environment variables
Labels: oncall: distributed,triaged

### 📚 The doc issue

I found these environment variables in the PyTorch code. Is there any document that describes the application scenarios?
TORCH_NCCL_BLOCKING_WAIT
TORCH_NCCL_ASYNC_ERROR_HANDLING
TORCH_NCCL_DUMP_ON_TIMEOUT
TORCH_NCCL_DESYNC_DEBUG
TORCH_NCCL_ENABLE_TIMING
TORCH_NCCL_ENABLE_MONITORING
TORCH_NCCL_HEARTBEAT_TIMEOUT_SEC
TORCH_NCCL_TRACE_BUFFER_SIZE
TORCH_NCCL_WAIT_TIMEOUT_DUMP_MILSEC
TORCH_NCCL_COORD_CHECK_MILSEC
TORCH_NCCL_ABORT_IN_DESTROY_PG
TORCH_NCCL_AVOID_RECORD_STREAMS
TORCH_NCCL_USE_TENSOR_REGISTER_ALLOCATOR_HOOK
TORCH_NCCL_DEBUG_INFO_PIPE_FILE
TORCH_NCCL_DEBUG_INFO_TEMP_FILE



### Suggest a potential alternative/fix

_No response_

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225 @chauhang @d4l3k
Repository: PowerToys
Issue: PowerToys Run support plugin chain
Labels: Idea-Enhancement,Product-PowerToys Run

### Description of the new feature / enhancement

both two or more plugin run when use PowerToys Run

### Scenario when this would be used?

just like that:
 i find a document then i want to search content in it .
at linux i will use  **`find xxx | grep`**
at PowerToys Run ,use **`everything | >findstr`**

### Supporting information

_No response_
Repository: PowerToys
Issue: The links direct to the English website instead of the Dutch one.
Labels: Issue-Bug,Issue-Docs,Product-Advanced Paste

### Microsoft PowerToys version

0.81.1

### Utility with translation issue

Advanced Paste

### 🌐 Language affected

Dutch

### ❌ Actual phrase(s)

![2024-06-07 09_07_10](https://github.com/microsoft/PowerToys/assets/42382514/86eb0a09-0f47-4345-bcea-b7e8f281a2e1)
![2024-06-07 09_06_32](https://github.com/microsoft/PowerToys/assets/42382514/c8d5cc90-2ce6-4d02-9e4b-4025a2831d8b)


### ✔️ Expected phrase(s)

https://learn.microsoft.com/nl-nl/windows/powertoys/advanced-paste

### ℹ Why is the current translation wrong

https://learn.microsoft.com/nl-nl/windows/powertoys/advanced-paste
Repository: kubernetes
Issue: Unstructured converter should produce int64 given uint input
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

DeepCopy on DefaultUnstructuredConverter.ToUnstructured output from `struct { Field uint32 }` panics.

### What did you expect to happen?

runtime/unstructured inconsistently generates int64 for uint in maps but uses uint64 in structs. They should all be using int64.

### How can we reproduce it (as minimally and precisely as possible)?

```go
package main

import "k8s.io/apimachinery/pkg/runtime"
import "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"

func main() {
	type Good struct { Hash map[string]uint32 }
	type Panics struct { Hash uint32 }

	obj, _ := runtime.DefaultUnstructuredConverter.ToUnstructured(&Good{Hash: map[string]uint32{"a":1}})
	uns := &unstructured.Unstructured{Object: obj}
	uns.DeepCopy()

	obj, _ = runtime.DefaultUnstructuredConverter.ToUnstructured(&Panics{Hash: 1})
	uns = &unstructured.Unstructured{Object: obj}
	uns.DeepCopy()
}
```

```text
panic: cannot deep copy uint64

goroutine 1 [running]:
k8s.io/apimachinery/pkg/runtime.DeepCopyJSONValue({0x6e3020?, 0x9c09a8?})
        /home/chankyin/go/pkg/mod/k8s.io/apimachinery@v0.30.1/pkg/runtime/converter.go:639 +0x273
k8s.io/apimachinery/pkg/runtime.DeepCopyJSONValue({0x6f6fc0?, 0xc000193a10})
        /home/chankyin/go/pkg/mod/k8s.io/apimachinery@v0.30.1/pkg/runtime/converter.go:623 +0x2b7
k8s.io/apimachinery/pkg/runtime.DeepCopyJSON(...)
        /home/chankyin/go/pkg/mod/k8s.io/apimachinery@v0.30.1/pkg/runtime/converter.go:608
k8s.io/apimachinery/pkg/apis/meta/v1/unstructured.(*Unstructured).DeepCopy(0xc00015ff30)
        /home/chankyin/go/pkg/mod/k8s.io/apimachinery@v0.30.1/pkg/apis/meta/v1/unstructured/unstructured.go:151 +0x58
main.main()
        /data00/home/chankyin/go/src/code.byted.org/tce/federation/tmp/main.go:16 +0xed
exit status 2

```

The relevant code is found at https://github.com/kubernetes/kubernetes/blob/eef6c6082d4e34fc4a0675a36ec5cc575cd13696/staging/src/k8s.io/apimachinery/pkg/runtime/converter.go#L838

### Anything else we need to know?

_No response_

### Kubernetes version

eef6c6082d4e34fc4a0675a36ec5cc575cd13696

### Cloud provider

N/A

### OS version

_No response_

### Install tools

_No response_

### Container runtime (CRI) and version (if applicable)

_No response_

### Related plugins (CNI, CSI, ...) and versions (if applicable)

_No response_
Repository: angular
Issue: Angular localize support dynamic/runtime translations
Labels: area: i18n

### Which @angular/* package(s) are relevant/related to the feature request?

localize

### Description

Hello! To my understanding it isn't possible to translate dynamic values at runtime using angular/localize out of the box. Such as:

```
// component.ts
words = ['hello', 'world']

// component.html
@for (word of words; track word) {
<p i18n="@@{{word}}">
 {{word}}
</p>
}
```

I've also tried using the $localize in the ts file such as ```words=[$localize`hello`, $localize`world`]```

Neither of these is possible in angular/localize due to it being translated at compile time. Please correct me if im wrong. Is this something that would be possible to implement? Or am I mistaken on the capabilties?

Thank you! 💖


### Proposed solution

I don't know what would be a viable solution for Angular/Localize since the translations are generated at compile time? Im puzzled about how other applications handle translations with this package since my understanding is that this is not possible. I think a translate pipe would be very nice and easy to work with, but maybe it's not an easy task.

### Alternatives considered

I might very well be wrong, but in my scenario it seems like the only solution would be switching to a third-party library such as [transloco](https://jsverse.github.io/transloco/).
Repository: storybook
Issue: Make chromatic (firefox) repro for user event issues
Labels: maintenance,test utilities
Repository: ollama
Issue:  MiniCPM-Llama3-V-2_5
Labels: model request

This is the best open source vision model i have ever tried , We need support for it in ollama
Repository: deno
Issue: Links in cli documentation for deno run command need to be updated
Labels: bug,good first issue

Version: Deno 1.44.1

![Screenshot from 2024-06-07 14-47-17](https://github.com/denoland/deno/assets/77718741/348f07b5-b1ff-4f94-a8bb-2ce31cc5e3e9)

![Screenshot from 2024-06-07 14-47-55](https://github.com/denoland/deno/assets/77718741/148d52c5-7986-4e51-9bb0-62fd5f2a50f8)

Both these `deno run` commands point to a file that doesn't exist anymore, the [web documentation](https://docs.deno.com/examples/hello-world) suggets this:

![Screenshot from 2024-06-07 14-53-45](https://github.com/denoland/deno/assets/77718741/3f630875-eeff-406a-898a-78a9e0bd6dec)

![Screenshot from 2024-06-07 14-49-45](https://github.com/denoland/deno/assets/77718741/6cc79c50-adfc-484f-8946-4352f60b9cfc)
Repository: angular
Issue: adev: Example references by `@example` are missing
Labels: P2,area: docs-infra

### Describe the problem that you experienced

The sections of the documentation such as `{@example router/route_functional_guards.ts region="CanMatchFn"}` either appear as is in the reference documentation, or don't appear at all.

### Enter the URL of the topic with the problem

http://localhost:4200/api/router/CanMatchFn?tab=description

### Describe what you were looking for in the documentation

_No response_

### Describe the actions that led you to experience the problem

Trying to encourage people to read the official docuentation in the Angular Discord

### Describe what you want to experience that would fix the problem

_No response_

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

```true
In other pages, such as https://angular.dev/api/common/NgIf?tab=usage-notes, similar examples are completely omitted from the page. For example, the documentation in the source code has 

 
 * ### Using an external `then` template
 *
 * In the previous example, the then-clause template is specified inline, as the content of the
 * tag that contains the `ngIf` directive. You can also specify a template that is defined
 * externally, by referencing a labeled `<ng-template>` element. When you do this, you can
 * change which template to use at runtime, as shown in the following example.
 *
 * {@example common/ngIf/ts/module.ts region='NgIfThenElse'}
```

But in the rendered page, there is no following example being displayed.
```
Repository: PowerToys
Issue: Please add DNS-over-HTTPS (DoH) capability
Labels: Issue-Bug,Idea-Enhancement,Product-Advanced Paste

### Microsoft PowerToys version

0.81.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Advanced Paste

### Steps to reproduce

Please add DNS-over-HTTPS (DoH).
for example: 
https://www.comss.ru/page.php?id=7315
https://www.comss.ru/page.php?id=13326

### ✔️ Expected Behavior

DNS-over-HTTPS (DoH) capability

### ❌ Actual Behavior

ChatGPT is not available from Russia without DNS

### Other Software

_No response_
Repository: pytorch
Issue: Adam is storing step as cpu tensor
Labels: module: optimizer,triaged

### 🐛 Describe the bug

Problem is that Adam store num of steps as cpu tensors. It is a problem when lightning is putting the optimizer state to gpu, when load from checkpoint. Then all tensors would be move to gpu, which is making adam call .item() on the gpu tensor causing cuda sync between gpu and cpu.

More detalins in the lightning issue: https://github.com/Lightning-AI/pytorch-lightning/issues/19955



### Versions

<details>
  <summary>Current environment</summary>

* CUDA:
	- GPU:
		- NVIDIA A100-SXM4-80GB
	- available:         True
	- version:           12.1
* Lightning:
	- gpytorch:          1.11
	- lightning:         2.2.5
	- lightning-utilities: 0.11.2
	- pytorch-lightning: 2.2.5
	- torch:             2.3.1
	- torchinfo:         1.8.0
	- torchmetrics:      1.3.1
	- torchtyping:       0.1.4
	- torchvision:       0.18.0
	- torchviz:          0.0.2
* System:
	- OS:                Linux
	- architecture:
		- 64bit
		- ELF
	- processor:         x86_64
	- python:            3.10.12
	- release:           5.15.0-91-generic
	- version:           #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023

</details>

cc @vincentqb @jbschlosser @albanD @janeyx99 @crcrpar
Repository: electron
Issue: [Bug]: titleBarOverlay  and ready-to-show conflict
Labels: platform/windows,bug :beetle:,component/BrowserWindow,has-repro-comment,component/wco,28-x-y,33-x-y,34-x-y

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

28.2.0

### What operating system are you using?

Windows

### Operating System Version

Windows 11 23H2

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

When creating a `BrowserWindow`, set `show: false` in the options and listen for the `ready-to-show` event of the window. When the event is triggered, the window will be displayed. Generally speaking, this will run normally. But when `titleBarStyle:' hidden` and ` titleBarOverlay: true` are set in the options, window will not send a `ready-to-show` event unless `show` in the options is set to `true`.

### Actual Behavior

My code is as follows:
```typescript
import { app, BrowserWindow, Menu } from 'electron'
import { join } from 'path'

/** 主窗口 */
let mainWindow: BrowserWindow | null = null

/** 创建主窗口 */
function createWindow() {
  mainWindow = new BrowserWindow({
    width: 900,
    height: 670,
    show: false,
    backgroundColor: 'rgb(32, 32, 32)',
    titleBarStyle: 'hidden',
    titleBarOverlay: {
      color: 'rgba(0, 0, 0, 0)',
      symbolColor: 'rgb(255, 255, 255)',
      height: 32
    },
    webPreferences: {
      preload: join(__dirname, '../preload/index.js')
    }
  })

  mainWindow.on('closed', () => {
    mainWindow = null
  })

  mainWindow.on('ready-to-show', () => {
    console.log('ready')
    mainWindow?.show()
  })

  mainWindow.webContents.loadURL('https://electronjs.org')
}

/**
 * 初始化
 */
function initialize(): void {
  app.whenReady().then(() => {
    createWindow()
  })
}

// 取消默认菜单栏
Menu.setApplicationMenu(null)

// 初始化程序
initialize()

```

The console will not print `ready`, and the window will not be displayed, but when I set show to true, the window will be displayed normally, and after it is displayed, it will print `ready`. This means that the window will be displayed before `ready-to-show`, but this is not what I need. I want the window to be displayed after `ready-to-show`.

### Testcase Gist URL

_No response_

### Additional Information

_No response_
Repository: flutter
Issue: CupertinoDatePicker should only display available days
Labels: c: new feature,framework,f: date/time picker,f: cupertino,c: proposal,P3,team-design,triaged-design

### Steps to reproduce

 1. Just use CupertinoDatePicker

### Expected results

Number of days is correct for each month.

### Actual results

Number of days is always 31.

### Code sample

<details open><summary>Code sample</summary>

https://dartpad.dev/?id=e93f41f8a269ea8c654cbad67c125c10

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Flutter (Channel stable, 3.16.9, on macOS 14.5 23F79 darwin-arm64, locale en-UA)
    • Flutter version 3.16.9 on channel stable at /Users/romannakonechnyi/fvm/versions/3.16.9
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (4 months ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/romannakonechnyi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode-15.4.0.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.90.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0
```

</details>
Repository: ollama
Issue: Intel/neural-chat-7b-v3 prompts itself
Labels: bug

### What is the issue?

After conversing Intel/neural-chat-7b-v3 for a long time, asking for more details on certain topics, the system starts prompting itself. It both happens in CLI as well as using a WebUI.

I am not sure whether this is caused by ollama or by an issue with Intel's model.
Here is an example. For context, the conversation was about retrieving unique IP addresses in Kibana.

![Screenshot 2024-06-07 at 11-02-56 Ollama](https://github.com/ollama/ollama/assets/151734472/9facc87c-823c-48f6-b86d-e00e00ae483b)


### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.1.38