sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: react
Issue: [DevTools Bug] Cannot add node "1" because a node with that id is already in the Store.
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

running react app

### Repro steps

i just made a basic portfolio app on react app and suddenly this bug showed up, and i cant seem to access the localhost link in any browser beside Firefox

### How often does this bug happen?

Often

### DevTools package (automated)

react-devtools-extensions

### DevTools version (automated)

4.27.8-2468a8735

### Error message (automated)

Cannot add node "1" because a node with that id is already in the Store.

### Error call stack (automated)

```text
emit@moz-extension://961fb755-5a59-4c1c-943c-029f7cf6279b/build/main.js:27059:22
bridge_Bridge/this._wallUnlisten<@moz-extension://961fb755-5a59-4c1c-943c-029f7cf6279b/build/main.js:27228:14
listener@moz-extension://961fb755-5a59-4c1c-943c-029f7cf6279b/build/main.js:57497:41
```


### Error component stack (automated)

_No response_

### GitHub query string (automated)

```text
https://api.github.com/search/issues?q=Cannot add node  because a node with that id is already in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react
```
Repository: PowerToys
Issue: Color Selector - Pin Colors
Labels: Idea-Enhancement,Product-Color Picker

### Description of the new feature / enhancement

You can pin colors in the Color Selector tool.

### Scenario when this would be used?

In the Color Selector you can right click in the colors on the history and will show an option in the menu that says "Pin". When clicked, the colors will be pinned in a list, and I can access it easily, and makes these colors saved until you unpin them.

Illustration:
![Pin_color](https://github.com/microsoft/PowerToys/assets/100654726/607c9d47-3dfb-4dcf-a81a-071b914a7c1d)

### Supporting information

I love this tool, but sometimes I need to use some specific color many times, but when I select too many colors, they got missed in the color selector history. I want a function that I can pin some colors to be accessible in the tool. Like the sample colors in Photoshop. Thanks for the attention. God bless you all!
Repository: flutter
Issue: Investigate using GPU rendering for Skia Scenario tests on iOS
Labels: a: tests,platform-ios,engine,a: platform-views,P2,team-engine,triaged-engine

Today these use --enable-software-rendering, presumably to avoid pixel differences on different GPU models in the fleet.

If we do this, it may be necessary to configure the build rules so they only run on one GPU model.

As part of re-enabling them, it may be worthwhile to see if we can upload the images to gold rather than doing the comparisons as part of the test harness. If we did that, we could add the GPU model as one of the dimensions.
Repository: deno
Issue: kv_queue_undelivered_test takes over 100 seconds to complete
Labels: tests,ext/kv

```
test integration::node_unit_tests::process_test ... ok
test integration::node_unit_tests::v8_test ... ok
test integration::node_unit_tests::zlib_test ... ok
test integration::js_unit_tests::serve_test ... ok
test integration::node_unit_tests::worker_threads_test ... ok
test integration::node_unit_tests::scrypt_test ... ok
test integration::node_unit_tests::crypto_key_test ... ok
test integration::js_unit_tests::kv_queue_undelivered_test has been running for over 60 seconds
...
```

This is probably because of this line:
https://github.com/denoland/deno/blob/433ecc9047c1701a6b384fc94593c1f41f9f6bf6/cli/tests/unit/kv_queue_undelivered_test.ts#L45

Most of the unit tests are snappy, so it would be good to shorten the run time of this test.
Repository: flutter
Issue: [recipes] CIPD recipes should auto-tag their built products
Labels: team-infra,P2,triaged-infra

When building a CIPD package using recipes, as the doxygen and device_doctor recipes do, the packages are uploaded to CIPD and tagged with "latest", but not also with the version tag of the version that was built.  The tags can be added manually, but they should be added automatically.

Of course, only one such tag for a particular version should exist at a time, rather than tagging all uploads of that version. Ideally, the most recently uploaded copy of a particular version should bear the version tag, but this will require querying and removing the previous tag, which could produce a race condition where there is a short period of time when no tag for the version is applied, so either a method of moving the tag atomically needs to exist, or some kind of duplicate resolution needs to occur.
Repository: pytorch
Issue: Lacking commutativity of `tensor.expand` and `tensor.flatten`
Labels: triaged,module: viewing and reshaping

### 🐛 Describe the bug

I guess this is just another facet of https://github.com/pytorch/pytorch/issues/28090

`flatten` could realloc only the needed amount needed to deal with the required dimensions (and keep some unaffected dimensions expanded).

In this example, `x1` consumes less memory than `x2`. If `flatten` was smarter, `x2` would consume as little memory as `x1`.

```python
import torch
# output from meshgrid
x0 = torch.arange(100).unsqueeze(-1).expand(-1, 200)
print(x0.numel(), x0.storage().size())
#bar.py:4: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage #will be the only storage class. This should only matter to you if you are using storages directly.  To #access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
#  print(x0.numel(), x0.storage().size())
# 20000 100

x1 = x0.flatten(start_dim = -2).unsqueeze(0).expand(30, -1)
print(x1.numel(), x1.storage().size())
# 600000 20000

x2 = x0.unsqueeze(0).expand(30, -1, -1).flatten(start_dim = -2)
print(x2.numel(), x2.storage().size())
# 600000 600000
```

### Versions

2.1.0 nightly
Repository: material-ui
Issue: [joy-ui] Missing Inter font
Labels: bug 🐛,package: joy-ui,design: joy

### Steps to reproduce 🕹

You can reproduce this pretty much everywhere:

- [x] 1. (Fixed in #36843) Docs: https://mui.com/joy-ui/react-button/, it doesn't load Inter
- [x] 2.(Fixed in #38462) Examples: https://github.com/mui/material-ui/blob/7739700a55c40d13a18982954fd6eb64f89bf2d4/examples/joy-cra-ts/public/index.html#L26 wrong font
- [x] 3. (Fixed in #38540) Examples: https://github.com/mui/material-ui/blob/7739700a55c40d13a18982954fd6eb64f89bf2d4/examples/joy-next-app-router-ts/src/components/ThemeRegistry/theme.js#L4 wrong font
- [ ] 4. When exporting the example to codesandbox, it loads Roboto

### Current behavior 😯

Load Inter

### Expected behavior 🤔

The correct font is loaded

### Context 🔦

I didn't know we could sort the font by the popularity in Google Font: https://fonts.google.com/?preview.size=24&sort=popularity. With Inter and Roboto, we effectively cover some of the most popular fonts.

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: rust
Issue: How to link dylib files?
Labels: A-linkage,O-macos,T-compiler

#[link(name = "Mylib" )] works on the Windows, but Mac failed🚬

I try code in build.rs
```
let manifest_dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
println!("cargo:rustc-link-search=native={}", manifest_dir.display());
println!("cargo:rustc-link-lib=Mylib");
but also not work.
```
#### Stack trace
```
dyld[29363]: Library not loaded: @rpath/libMylib.dylib
  Referenced from: <987AFB97-031F-3387-A7C3-047E9989602C> /Users/admir/Desktop/Code/rust-desktop-demo/src-tauri/target/debug/tauri-ts-demo
  Reason: tried: '/System/Volumes/Preboot/Cryptexes/OS@rpath/libSampleBlueTooth.dylib' (no such file), '/usr/local/lib/libMylib.dylib' (no such file), '/usr/lib/libMylib.dylib' (no such file, not in dyld cache)
```

How Can i link libMylib.dylib success?
Repository: transformers
Issue: Return updated attention mask from Wav2Vec 2.0
Labels: WIP

### Feature request

In Wav2Vec 2.0, the first few convolution layers affect the attention mask. Thus, if I want to use all Wav2Vec 2.0 outputs (last_hidden_state), I need access to the updated attention mask. Currently the workaround is to call the private method `._get_feature_vector_attention_mask()`. To return this attention mask directly will make the experience much better.

Concretely, it can be an additional field in Wav2Vec2BaseModelOutput.

Additionally, data2vec-audio and HuBERT also have the same problem, since they are also based on Wav2Vec 2.0.

### Motivation

Fairseq implementation returns the updated attention mask for downstream uses.

https://github.com/facebookresearch/fairseq/blob/100cd91db19bb27277a06a25eb4154c805b10189/fairseq/models/wav2vec/wav2vec2.py#L696-L700

Then their Wav2Vec 2.0 for classification implementation is more elegant.

https://github.com/facebookresearch/fairseq/blob/100cd91db19bb27277a06a25eb4154c805b10189/fairseq/models/wav2vec/wav2vec2_classification.py#L84-L93

In HF, Wav2Vec 2.0 for classification requires calling the private method.

https://github.com/huggingface/transformers/blob/641adca55832ed9c5648f54dcd8926d67d3511db/src/transformers/models/wav2vec2/modeling_wav2vec2.py#L2127

### Your contribution

I can help to submit a PR for this. It will be an additional field in Wav2Vec2BaseModelOutput. I'm not quite sure about other types of Wav2Vec2 output objects.
Repository: deno
Issue: deno test --reporter junit get incorrect testsuite.name  when use deno_std/testing/bdd.ts  
Labels: bug,good first issue,help wanted,testing

```ts
//filename: test-reporter_test.ts
import { afterEach, beforeEach, it } from "https://deno.land/std@0.197.0/testing/bdd.ts";
import { assert } from "https://deno.land/std@0.197.0/assert/assert.ts";

it("test ok", ()=>{
   assert(true);
})
```


```shell
$ deno test -A   --reporter junit test-reporter_test.ts

<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="deno test" tests="1" failures="0" errors="0" time="0.094">
    <testsuite name="https://deno.land/std@0.197.0/testing/_test_suite.ts" tests="1" disabled="0" errors="0" failures="0">
        <testcase name="test ok" time="0.009">
        </testcase>
    </testsuite>
</testsuites>
```


testsuite.name is  `https://deno.land/std@0.197.0/testing/_test_suite.ts`, expect ` test-reporter_test.ts`
Repository: pytorch
Issue: [discussion] move-semantics for tensors
Labels: triaged,module: python frontend

### 🚀 The feature, motivation and pitch

Sometimes we want to kind of pass the tensor to a function entirely (so that it can safely do inplace modifications without worrying to disturb other consumers).

One way it could work is that after a new_tensor_ref = tensor.move() is called, the previous tensor reference becomes somewhat invalid and would throw exception on any usage.

There could also be some `assert tensor.is_single_owner()` which could ensure that there is only one reference to the tensor.

Of course, there would be ways to circumvent this (e.g. by recording manually data_ptr), but it could be a way to increase expressiveness, give compiler more hints for compilation, and let the user express  clearer ownership semantics and have some guards.

### Alternatives

_No response_

### Additional context

_No response_

cc @albanD
Repository: pytorch
Issue:  onednn ops supported in pytorch
Labels: triaged,medium,module: intel,docathon-h1-2024

How I get to know what are the onednn ops supported in pytorch?
what aten functions are going to ideep and further to onednn?
IS there any documentation which I can refer to understand this.

cc @frank-wei @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
Repository: react
Issue: [DevTools Bug] Node "24" was removed before its children.
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

https://super-visa-insurance.netlify.app/

### Repro steps

I'm Facing an Issue in my Nextjs 13.4.12  project, main tag is automatically removed in from the page. 
Before this I changed my zustand store with react-query for caching results, but I reverted these changes because I was facing this issue, but after reverting I still face this issue


### How often does this bug happen?

Sometimes

### DevTools package (automated)

react-devtools-extensions

### DevTools version (automated)

4.28.0-035a41c4e

### Error message (automated)

Node "24" was removed before its children.

### Error call stack (automated)

```text
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28315:43
    at Bridge.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24827:22)
    at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24996:14
    at listener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:57406:39)
```


### Error component stack (automated)

_No response_

### GitHub query string (automated)

```text
https://api.github.com/search/issues?q=Node  was removed before its children. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react
```
Repository: ant-design
Issue: table组件，左上角表示全选/部分选中的checkbox的状态可以控制。
Labels: 💡 Feature Request,Inactive

### What problem does this feature solve?

假设：列表有十条，其中disabled 2条

操作：点击左上角checkbox，触发onSelectAll，会勾选未disabled的8条数据，左上角checkbox处于checked状态。（符合预期，disabled状态的不被操作）。

新需求：要求跨页全选，前端直接设置selectedRowKeys为当前页非disabled的每一条的rowkey（8条），且禁用每一条（10条）。此时勾选了8条，disabled了10条，左上角是indeterminate状态。我希望当我设置了跨页全选以后，能手动设置左上角的checkbox为checked状态。
（对于没有勾选的row，前端会设置特殊的样式标明的。）


### What does the proposed API look like?

暂时没有很好的设计方案，可能是在 rowSelection里提供一个值来手动控制左上角的checkbox状态吧。

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: next.js
Issue: Missing *.js.map files when debugging
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: linux
      Arch: x64
      Version: #1 SMP Fri Jan 27 02:56:13 UTC 2023
    Binaries:
      Node: 20.3.1
      npm: 9.6.7
      Yarn: 1.22.19
      pnpm: 8.6.6
    Relevant Packages:
      next: 13.4.12
      eslint-config-next: 13.4.10
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.6
    Next.js Config:
      output: N/A
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

App Router

### To Reproduce

Create a new Next.js app with the `app` router under the src folder. Use the debug settings described in the docs. Set a breakpoint in any component. Start the server in dev mode and then starting the client side debug configuration.

```json
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Next.js: debug server-side",
      "type": "node-terminal",
      "request": "launch",
      "command": "npm run dev"
    },
    {
      "name": "Next.js: debug client-side",
      "type": "chrome",
      "request": "launch",
      "url": "http://localhost:3000"
    },
    {
      "name": "Next.js: debug full stack",
      "type": "node-terminal",
      "request": "launch",
      "command": "npm run dev",
      "serverReadyAction": {
        "pattern": "started server on .+, url: (https?://.+)",
        "uriFormat": "%s",
        "action": "debugWithChrome"
      }
    }
  ]
}
```

### Describe the Bug

```
Could not read source map for file:///workspaces/rsc/node_modules/next/dist/compiled/%40next/react-refresh-utils/dist/runtime.js: ENOENT: no such file or directory, open '/workspaces/rsc/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js.map'
Could not read source map for file:///workspaces/rsc/node_modules/next/dist/compiled/%40next/react-refresh-utils/dist/internal/helpers.js: ENOENT: no such file or directory, open '/workspaces/rsc/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js.map'
```

### Expected Behavior

No missing `*.js.map` when debugging in visual studio code

### Which browser are you using? (if relevant)

Chrome

### How are you deploying your application? (if relevant)

_No response_
Repository: pytorch
Issue: More Performant CachingHostAllocator for Pinned Memory Allocation
Labels: module: cuda,triaged

### 🚀 The feature, motivation and pitch

I intend to employ a memory allocator for pinned memory allocation and have come across the `CachingHostAllocator` in PyTorch. Regrettably, the practical memory consumption surpasses what is expected. The allocator follows a power-of-two allocation strategy without memory coalescing, resulting in substantial memory wastage. This inefficiency can lead to increased memory consumption and suboptimal utilization of resources.

The current implementation of the `CachingHostAllocator` in PyTorch for pinned memory allocation seems to exhibit suboptimal performance under certain conditions. As a crucial component in deep learning workloads, efficient memory allocation and management are essential to ensure optimal training and inference performance.



### Alternatives

I suggest the development of a more performant alternative to the existing `CachingHostAllocator` that addresses the performance concerns. This new allocator should focus on improving memory allocation speed, reducing memory fragmentation, and better leveraging modern hardware characteristics.



### Additional context

_No response_
```[tasklist]
### Tasks
```


cc @ptrblck
Repository: godot
Issue: Editor crash when importing assets
Labels: bug,platform:macos,needs testing,topic:import,crash

### Godot version

4.2.dev (current master)

### System information

MacOS 13.5, MacBook Pro M1 Max

### Issue description

Having tried this for multiple times, the issue seems to persist on my MacBook. When importing assets in a project, Godot crashes after clicking "OK" when installation is successful.

Attached the crash log:
[20230804 Crash log.txt](https://github.com/godotengine/godot/files/12258694/20230804.Crash.log.txt)


### Steps to reproduce

Open the minimal project.
Install android build templates
Go to asset lib.
Select XR loaders
Install XR loaders
When the "Installation Successful" dialog appears press "OK"
Godot crashes

### Minimal reproduction project

[minimal project.zip](https://github.com/godotengine/godot/files/12258703/minimal.project.zip)
Repository: next.js
Issue: error TypeError: Cannot read properties of undefined (reading '') when using Next.js runtime edge on turborepo or Nx
Labels: bug,Runtime,linear: next

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: win32
      Arch: x64
      Version: Windows 10 Pro   
    Binaries:
      Node: 18.16.0
      npm: N/A
      Yarn: N/A
      pnpm: N/A
    Relevant Packages:
      next: 13.4.13-canary.13   
      eslint-config-next: 13.4.1
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 4.9.5
    Next.js Config:
      output: N/A
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

App Router, Middleware / Edge (API routes, runtime)

### Link to the code that reproduces this issue or a replay of the bug

https://github.com/NastykSwED/turbo-next-edge

### To Reproduce

1. Run pnpm install to install the dependencies.
2. Run pnpm dev to get both projects up or run pnpm dev --filter [docs | web]. 
3. Go to http://localhost:3001/ or http://localhost:3000/ and see the console for the following error: 
![Screenshot_1](https://github.com/vercel/next.js/assets/102027097/544f1e2b-449a-4555-99a8-e8f78c782577)

And in the browser:
![Screenshot_2](https://github.com/vercel/next.js/assets/102027097/a1154f05-0064-45f9-b01f-6c494d5af6a2)


### Describe the Bug

When using the runtime `edge` on a monorepo such as `turborepo` or `Nx`, the console throws the error: "`- error TypeError: Cannot read properties of undefined (reading '')`". This only happens with monorepos, when using standalone applications this does not happen.

### Expected Behavior

It should not throw the above error when using a `Nextjs` app with the runtime `edge` on a `monorepo`.

### Which browser are you using? (if relevant)

Microsoft Edge Versión 115.0.1901.188 (Compilación oficial) (64 bits)

### How are you deploying your application? (if relevant)

_No response_

<sub>[NEXT-1513](https://linear.app/vercel/issue/NEXT-1513/error-typeerror-cannot-read-properties-of-undefined-reading-when-using)</sub>
Repository: pytorch
Issue: ROCm & Windows Support
Labels: module: rocm,triaged

### 🚀 The feature, motivation and pitch

AMD has release ROCm windows support, as [docs.amd.com](https://docs.amd.com) shows:

![8df2b59d834bd749e7b486cd02a6e4b](https://github.com/pytorch/pytorch/assets/69568351/373102ff-81b7-4029-a1be-889214296303)
![984e40b50fb006e4e94f3abfeba8fe7](https://github.com/pytorch/pytorch/assets/69568351/ded8a54a-db59-4c2f-b5cb-a86883cda63e)

Please add PyTorch support of Windows on AMD GPUs!

### Alternatives

_No response_

### Additional context

_No response_

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang
Repository: godot
Issue: MultiMeshInstance3D editor plugin always applies rotation, even if set to zero
Labels: bug,topic:editor,confirmed,topic:3d

### Godot version

v4.1.1.stable.official [bd6af8e0e]

### System information

Godot v4.1.1.stable - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Tue Jul 25 09:30:58 UTC 2023 - Vulkan (Forward+) - integrated AMD Radeon Graphics (RADV RENOIR) () - AMD Ryzen 7 4800U with Radeon Graphics (16 Threads)

### Issue description

**Current behaviour**
When using the MultiMeshInstance3D "Populate Surface" editor plugin, instances always get a rotation applied to them, even if the "random rotation" slider is dragged all the way to the left.

There should be no rotation here, but as you can see, there is.
![multi-mesh-rotation-bug](https://github.com/godotengine/godot/assets/4403530/9552ebec-a38a-4543-b628-734589c316e6)

**Expected behaviour**
Apply no/zero rotation if the slider is all the way to the left.

**Use case**
I want to use a multimesh to place lots of Z-facing quad meshes to render flat, swaying grass. I know I can billboard them, but that's besides the point, and ultimately not the look I want.

### Steps to reproduce

1. Create 3D scene
2. Add MeshInstance3D with PlaneMesh (set to 32x32m), rename to "TerrainMesh"
3. Add MeshInstance3D with QuadMesh, rename to "QuadMesh"
4. Add MultiMeshInstance3D
5. Select MultiMeshInstance3D
6. Click "Populate Surface"
7. Set "Source Mesh" to "QuadMesh"
8. Set "Target Mesh" to "TerrainMesh"
9. Click the "Populate" button

### Minimal reproduction project

[multimesh_rotation_bug.zip](https://github.com/godotengine/godot/files/12259116/multimesh_rotation_bug.zip)