sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: transformers
Issue: NotImplementedError: ggml_type 3 not implemented
Labels: Feature request,GGUF

### Description 
When trying to use the model `Qwen/Qwen2-7B-Instruct-GGUF` with the gguf file `qwen2-7b-instruct-q4_0.gguf`, I encountered a NotImplementedError about ggml_type 3 not implemented. 

### Who can help?

_No response_

### Information

- [ ] The official example scripts
- [X] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)

### Reproduction

Install the required libraries:
`pip install transformers==4.42.3 gguf==0.6.0`

Load the model and tokenizer:
```
from transformers import AutoTokenizer, AutoModelForCausalLM

model_id = "Qwen/Qwen2-7B-Instruct-GGUF"
file_name = "qwen2-7b-instruct-q4_0.gguf"

tokenizer = AutoTokenizer.from_pretrained(model_id, gguf_file = file_name)
model = AutoModelForCausalLM.from_pretrained(model_id, gguf_file = file_name)
```

### Expected behavior

The code should process ggml_type 3 without raising an error, or provide an alternative implementation.

### System Info

- transformers version: 4.42.3 
- gguf version: 0.6.0
- Platform: Ubuntu 20.04
- Python version: 3.9.16 
- PyTorch version (GPU?): 2.2.2(True)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
Repository: ollama
Issue: GLM4-1m support
Labels: model request

### What is the issue?

taozhiyu@603e5f4a42f1 downloads % ollama run glm4:9b-chat-1m-q8_0
pulling manifest 
pulling 5c0b5b35f3e0... 100% ▕█████████████████▏  10 GB                         
pulling e7e7aebd710c... 100% ▕█████████████████▏  137 B                         
pulling e4f0dc83900a... 100% ▕█████████████████▏ 6.5 KB                         
pulling 4134f3eb0516... 100% ▕█████████████████▏   81 B                         
pulling dcddad887d90... 100% ▕█████████████████▏  489 B                         
verifying sha256 digest 
writing manifest 
removing any unused layers 
success 
Error: llama runner process has terminated: signal: abort trap error:check_tensor_dims: tensor 'blk.0.attn_qkv.weight' has wrong shape; expected  4096,  4608, got  4096,  5120,     1,     1

### OS

macOS

### GPU

Apple

### CPU

Apple

### Ollama version

0.2
Repository: ant-design
Issue: table组件columns中fixed: right;使用的postion: sticky; 当它和transform: scale 一起使用的时候， 在电脑上没问题， 但是在ipad的浏览器上， fixed:right那一列会出现偏移
Labels: help wanted,Inactive,📱Mobile Device

### Reproduction link

[https://codepen.io/zjianpeng/pen/gONOBBm?editors=0110](https://codepen.io/zjianpeng/pen/gONOBBm?editors=0110)

### Steps to reproduce

在ipad上的chrome或者safari浏览器上打开示例

### What is expected?

Action 那一列应该在最右侧， 不应该偏移

### What is actually happening?

Action列出现偏移

| Environment | Info |
| --- | --- |
| antd | 5.19.0 |
| React | 18 |
| System | ipadOS 17.4.1 |
| Browser | chrome和safari最新版本 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: 开机自动启动，无法正常启动
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.82.0

### Installation method

Microsoft Store

### Running as admin

None

### Area(s) with issue?

Settings

### Steps to reproduce

开机自动启动，无法正常启动

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: pytorch
Issue: 【Pytorch mobile android】torch jit forward fail,Calling torch.geqrf on a CPU tensor requires compiling PyTorch with LAPACK. Please use PyTorch built with LAPACK support.
Labels: oncall: jit

### 🐛 Describe the bug

Hi， I run my model on android mobile platform(Use c++ api with link libpytorch_jni_lite.so),  the model load is success, but when i run forward occur this error:
torch jit forward fail,Calling torch.geqrf on a CPU tensor requires compiling PyTorch with LAPACK. Please use PyTorch built with LAPACK support.
Exception raised from apply_geqrf at /Users/qinlong/aiInterpret/TNetPytorch/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp:330 (most recent call first):

pytorch version: v2.1.0
platform: android

### Versions

pytorch version: v2.1.0
platform: android
MacbookM1 apple
 I follow the document（https://github.com/pytorch/pytorch/tree/main/android）， builld android aar and so use sourcecode.

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
Repository: PowerToys
Issue: Please be compatible with the software StartAllBack
Labels: Needs-Triage

### Description of the new feature / enhancement

Please be compatible with the software StartAllBack. Sometimes, after optimizing StartAllBack, the power tools function may not be displayed properly in the right-click context menu

### Scenario when this would be used?

All times

### Supporting information

https://www.startallback.com/
Repository: PowerToys
Issue: powerToy start feed back and new feature request
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

power start adding history search such as google search or youtube search bar

### Scenario when this would be used?

i was using powershell adding any url/file to the path ,so i could start it with power toy ,it has become my major starting function including start youtube link,start file , i was using it as a search tool also,search the file that i forgot its name or path ,it would be good if power start could adding a new feature which could save the history search  

![image](https://github.com/microsoft/PowerToys/assets/166476136/4f9bd2f2-3d0b-488e-9f33-d8e669f23e3f)


### Supporting information

_No response_
Repository: godot
Issue: "Random" crash when not using compatibility render, with no debug info
Labels: bug,platform:windows,topic:rendering,needs testing,crash

### Tested versions

This started happening when I first ran official 4.3 beta 1https://github.com/godotengine/godot/commit/a4f2ea91a1bd18f70a43ff4c1377db49b56bc3f0, since then it also happens in 4.3 beta 2 and even 4.2.2, mono 4.2.2, I tried 3.0 version and there's no issue. But it didn't happen before I ran beta 1

### System information

Windows 11, CPU/GPU AMD Ryzen 7 5700U

### Issue description

Whenever I create, open or run a project which is not in compatibility render, Godot crashes instantly.
But the crashes are random, meaning that the crash sometimes never happens in a ratio of 10% by some quick tests I made.
There's also no relevant info the the debug console, I had to record a video an screenshot it because the console also closes after the crash with just milliseconds to look at the console.
![image](https://github.com/godotengine/godot/assets/90205381/04f9444b-a6ed-4c11-9df0-e6121a6e9a62)

I also checked for similar crashes like https://github.com/godotengine/godot/issues/93862#issuecomment-2213552932 , https://github.com/godotengine/godot/issues/93410 or https://github.com/godotengine/godot/issues/93939
But the amount of ```[1] error(-1): no debug info in PE/COFF executable``` are different (in this is always 6) or the issue it's related to something inside the project, which is not the case here.

### Steps to reproduce

Unfortunately I'm really not sure, as I said it happened after I first ran beta 1, since then the steps to reproduce are literally just open, create or run a project.

### Minimal reproduction project (MRP)

Not needed, it happens even when just creating the project
Repository: stable-diffusion-webui
Issue: [Feature Request]: API endpoint to get user metadata for Extra Networks and Checkpoints
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 ?

In the WebUI users can set things like Activation Text, Preferred Weight, and Notes for Loras, Hypernetworks, etc. The `.json` files also contain details for which version of Stable Diffusion the Lora can be used for. It would be extremely valuable for projects with different frontends if that information could be accessed via the API. Plugins for Krita or addons for Blender could access presets the user had already saved on the server, without the user needing to remember all the activation text.

The current `/sdapi/v1/loras` endpoint returns a `metadata` section, but it doesn't include any of the `user_metadata` fields.

### Proposed workflow

1) `/sdapi/v1/sd-models` would include an "sd version" field for the models.
2) `/sdapi/v1/loras`, `/sdapi/v1/hypernetworks`, `/sdapi/v1/embeddings`, and `/sd_extra_networks/metadata` could all include the metadata that's saved in the `.json` files for these extra networks
3) A new endpoint to update the `.json` metadata - likely `/sd_extra_networks/user_metadata/'. Parameters would be a file path or the name of the Lora, as well as a post body.

For reference, here's what the `.json`  documents currently look like
```
{
    "description": "My Example Lora",
    "sd version": "SD1",
    "activation text": "really_cool, best_devs, plz_add_feature",
    "preferred weight": 0.8,
    "notes": ""
}
```
With those pieces of information, tools that interact with the API can give users a much better 

### Additional information

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: Support Kolors model
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 ?

Kolors is a very new model.  Please see the relevant Huggingface page here: https://huggingface.co/Kwai-Kolors/Kolors



### Proposed workflow

I expect that the model should be used the same way other SD models are used.

### Additional information

_No response_
Repository: pytorch
Issue: Many things are not documented for `normal()`
Labels: triaged,actionable,topic: docs

### 📚 The doc issue

I could use `complex` type and `dtype`, `layout`, `device`, `pin_memory` and `requires_grad` argument which [the doc](https://pytorch.org/docs/stable/generated/torch.normal.html) of `normal()` doesn't say as shown below:

```python
import torch

torch.manual_seed(seed=8)

torch.normal(mean=torch.tensor([1.+0.j, 2.+0.j, 3.+0.j]))
# tensor([1.1918-0.9001j, 2.3555+0.2956j, 2.5479-0.4672j])

torch.normal(mean=1.,
             std=4.,
             size=(3, 2),
             dtype=torch.float32, # Here
             layout=torch.tensor([0, 1, 2]).layout, # Here
             device='cpu', # Here
             pin_memory=True, # Here
             requires_grad=True, # Here
             out=torch.tensor([]))
# tensor([[2.0851, -4.0917],
#         [3.0108, 2.6723],
#         [-1.5577, -1.6431]], requires_grad=True)
```

### Suggest a potential alternative/fix

```python
import torch

torch.__version__
# 2.3.0+cu121
```
Repository: neovim
Issue: Netrw: CTRL-^ does not work with g:netrw_liststyle=3
Labels: bug-vim,needs:vim-patch,netrw

### Problem

When having netrw's treeview enabled, it is not possible to use `CTRL-^` to switch back and forth between a selected file and netrw -- the netrw window will show an **empty buffer** named "NetrwTreeListing" -- no files are visible.



### Steps to reproduce

1. create otherwise empty `init.vim` containing only
    ```vimscript
    let g:netrw_liststyle=3
    ```
2. open nvim
3. `:Ex`
4. select and open file
5. try `CTRL-^`


### Expected behavior

You **should** see the previous netrw listing, but you'll be seeing an empty one instead.

### Neovim version (nvim -v)

v0.9.5

### Vim (not Nvim) behaves the same?

yes

### Operating system/version

Debian

### Terminal name/version

gnome-terminal

### $TERM environment variable

xterm-256color

### Installation

aptitude
Repository: opencv
Issue: RTSP streaming get stopped using open cv package
Labels: category: videoio,incomplete

Hello All,
I am facing an issue where my RTSP streaming get stopped after 5 to 10 minutes. It will be great if some help can be provided. I invested enough about this but did not found any solution.

RTSP camera Specification: [https://signellent.com/uploads/media/HIKVISIONDS-2CD130P-I.pdf](url)
This error logged mostly:
**[h264 @ 0x55760b366d40] error while decoding MB 86 9, bytestream -14
[h264 @ 0x55760b366d40] left block unavailable for requested intra4x4 mode -1
[h264 @ 0x55760b366d40] error while decoding MB 0 6, bytestream 47281
[h264 @ 0x55760b366d40] error while decoding MB 37 65, bytestream -8**

I am using cv2 package:  cap = cv2.VideoCapture(url)

```import cv2
import time

#Replace with your RTSP URL
rtsp_url = 'xxxxx'

def connect_to_stream(url):
    cap = cv2.VideoCapture(url)
    start_time = time.time()
    return cap, start_time

def read_frame(cap):
    ret, frame = cap.read()
    return ret, frame

def reconnect_stream(url):
    print("Attempting to reconnect...")
    cap.release()
    time.sleep(5)  # Wait for 5 seconds before trying to reconnect
    cap, start_time = connect_to_stream(url)
    return cap, start_time

cap, start_time = connect_to_stream(rtsp_url)

if not cap.isOpened():
    print("Error: Could not open video stream")
else:
    while True:
        ret, frame = read_frame(cap)
        
        if not ret:
            end_time = time.time()
            total_run_time = end_time - start_time
            print(f"Stream ran for {total_run_time} seconds, exited with Error: Could not read frame")
            cap, start_time = reconnect_stream(rtsp_url)
            continue  # Continue to the next iteration of the loop
        gray_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
        cv2.imshow('RTSP Stream (Grayscale)', gray_frame)
        if cv2.waitKey(1) & 0xFF == ord('q'):
            break

    cap.release()
    cv2.destroyAllWindows()
```
Repository: deno
Issue: LSP only suggests the src path for all hooks, even when `preact` has been declared in the import map
Labels: needs investigation

My import map:
```json
"imports": {
    "$fresh/": "https://deno.land/x/fresh@1.6.8/",
    "preact": "https://esm.sh/preact@10.22.0",
    "preact/": "https://esm.sh/preact@10.22.0/",
    "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
    "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
    "tailwindcss": "npm:tailwindcss@3.4.1",
    "tailwindcss/": "npm:/tailwindcss@3.4.1/",
    "tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
    "$std/": "https://deno.land/std@0.216.0/"
  },
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "preact"
  },
```

I'm using VS Code. Plugin v3.38.0. Deno v1.44.4
Repository: vscode
Issue: Vertical font hinting bug solution
Labels: bug,linux,font-rendering,confirmed

<!-- ⚠️⚠️ 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. -->
- OS Version: Linux

Steps to Solve:

1. Add `--disable-font-subpixel-positioning` flag for VSCode

This solves https://github.com/microsoft/vscode/issues/178374 and https://github.com/microsoft/vscode/issues/146443.
Repository: angular
Issue: Currency pipe does not properly format when using bulgarian locale 
Labels: area: i18n

### Which @angular/* package(s) are the source of the bug?

common

### Is this a regression?

No

### Description

Trying to format a value using the currency pipe and the bulgarian locale. The value comes out unformatted.

BG: {{ 222133213 | currency : 'BGN' : 'BGN ' : '1.2-2' : 'bg' }} comes out as 222133213,00 BGN when it should be 222,133,213.00 according to the currency chart [here](https://knowledge.kantata.com/hc/en-us/articles/360041576473-Supported-Currency-ISO-Codes-and-Formats).



### Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-forkjoin-vs-merge?file=src%2Fapp%2Fapp.component.ts

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

```true
ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 16.2.2
Node: 18.18.2
Package Manager: npm 9.8.1
OS: darwin arm64

Angular: 16.2.5
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1602.2
@angular-devkit/build-angular   16.2.2
@angular-devkit/core            16.2.2
@angular-devkit/schematics      16.2.2
@angular/cdk                    16.2.4
@angular/cli                    16.2.2
@schematics/angular             16.2.2
ng-packagr                      16.2.3
rxjs                            7.8.1
typescript                      5.1.6
zone.js                         0.13.3
```


### Anything else?

_No response_
Repository: godot
Issue: [C#] `GodotObject.Connect()` has too long description in Visual Studio tooltip
Labels: enhancement,documentation,topic:dotnet

### Tested versions

Reproducible in v4.3.beta2.mono.official [b75f0485b]

### System information

Windows 11- v4.3.beta2.mono.official [b75f0485b]

### Issue description

The tooltip in Visual Studio for the Connect method of a Node is... way too much. It doesn't even fit on my screen.

Example:
![image](https://github.com/godotengine/godot/assets/1223390/f0b96abc-65fc-40ff-a6da-c4d319278e28)

Because the documentation isn't _wrong_, I hope I've opened this in the right repo.


### Steps to reproduce

Attempt to connect a signal in C# using the Connect() method, hover over the Connect() method.

### Minimal reproduction project (MRP)

N/A
Repository: go
Issue: x/net/http2: improve frame decoding performance by reusing frames
Labels: Performance,NeedsInvestigation

### Proposal Details

I noticed a issue about `SetReuseFrames` https://github.com/golang/go/issues/18502

I would like to propose the addition of a configuration option to enable or disable `SetReuseFrames` in the HTTP2 server and HTTP2 transport. 

`SetReuseFrames` has been shown to improve the performance of go-grpc, so I believe it can similarly enhance the performance of HTTP server/client. 

By adding this configuration option, users can choose to enable frame reuse based on their performance needs and use cases.

Thank you for considering this feature request.
Repository: angular
Issue: Support for PWA together with localized app serving all languages on same url
Labels: area: service-worker

### Which @angular/* package(s) are relevant/related to the feature request?

service-worker

### Description

Some use-cases require a localized ng app to have all translated bundles served on the same URL. A prominent example is https://google.com which serves all locales on the same url. 

Setting that up with an Angular app is not easy but can be done – although combining it with PWA support seems impossible.

This is a wish/request for either **support for a localized PWA serving all locales on the same url** or **documentation for how to implement it**.

### Background: Serving localized on same url
Using fx express we can serve the right bundle according to the preferred language. But because of https://github.com/angular/angular-cli/issues/17416, it is required to serve all js-files with language in the url. I do what https://github.com/angular/angular-cli/issues/17416#issuecomment-1158205744 suggests, and serves the index.html at fx. https://server/index.html and the js-files at fx. https://server/{locale}/main.44242342.js. (https://github.com/angular/angular-cli/issues/17416#issuecomment-1158205744 gives more details into how to make it work with routing and all)

We have this working quite nicely at https://app.previsto.com serving 5 different languages on the same url and all deep links goes to the same content just with the app language in the user's preferred language.

### Adding PWA
We cannot get PWA working though. We have tried to create a very simple app with `ng new` at https://github.com/michaelkrog/i18n-pwa-test. We have then:
* added the localize package (`ng add @angular/localize`)
* added the pwa package (`ng add @angular/pwa`)
* adjusted angular.json to build `en-US` and `da` for production builds
* added an express script for serving both languages (defaults to `en-US`)

The app serves fines, the service-worker registers itself, I can see files cached.
But the files are not served by the service-worker at any time.


<img width="1524" alt="Skærmbillede 2024-07-09 kl  11 06 18" src="https://github.com/angular/angular/assets/681472/6b73fc53-1414-4403-9faf-55e19aae0a87">

<img width="1087" alt="Skærmbillede 2024-07-09 kl  11 21 46" src="https://github.com/angular/angular/assets/681472/76e87657-1598-46fa-9cda-6f3a56f6ee2a">
<img width="1497" alt="Skærmbillede 2024-07-09 kl  11 23 55" src="https://github.com/angular/angular/assets/681472/8c2b4527-71dd-4cbd-ac6d-7e5cb76c6cdf">


### Getting the test app running
To get the test app running, do this:

1. Check out https://github.com/michaelkrog/i18n-pwa-test
2. `cd i18n-pwa-test`
3. `npm i` and `npm run serve`




### Proposed solution

Add documentation for how to serving multiple locales on the same url while preserving angulars PWA support.

### Alternatives considered

ngx-translate to ensure just one build - but I prefer to stick with Angulars native i18n.
Repository: PowerToys
Issue: 希望开发者能集成截图功能
Labels: Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

希望能够集成类似Snipaste软件的功能。
可以支持截屏、自定义截屏、贴图、复制截屏等实用功能。
![image](https://github.com/microsoft/PowerToys/assets/59724881/8df965dc-1d5e-4715-af98-0b07b7ef6a54)


### Scenario when this would be used?

工作中经常用到截图功能

### Supporting information

_No response_