sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: material-ui
Issue: [material-ui][Autocomplete] Custom end adornment placement differs from TextField
Labels: component: text field,package: material-ui,component: autocomplete,enhancement

### Steps to reproduce

Here's a sandbox of my ['bare-minimum implementation'](https://codesandbox.io/p/sandbox/mui-autocomplete-textfield-filled-with-endadornment-wxksnh?file=%2Fsrc%2FApp.js%3A34%2C20).

### Current behavior

Would it be possible to get the end adornment investigated with the 'standard' and 'filled' variant in mind? The spacing of the **InputBase** in the **TextField** is very different when wrapped in the **Autocomplete**. 

If I miss something in my implementation, I'd be very grateful for support. 

### Expected behavior

The **EndAdornment of the TextField** having the same vertical placing as the **EndAdornment of the Autocomplete**. 

### Context

I've got a custom TextField component extending the TextField component of MUI. I'm trying to make the custom Textfield compatible with the Autocomplete of MUI. The 'filled' and 'standard' are surprisingly not behaving the same as 'outlined'.

### Your environment

-

**Search keywords**: component:autocomplete
Repository: pytorch
Issue: [Dynamo x torch_function] magic methods and methods with regular Tensors don't seem to work
Labels: triaged,dynamo-torch-function

Repro:
```py
import torch

class NJT:
    def __repr__(self):
        return f"NJT(shape={self.shape})"

    def __init__(self, values, offsets):
        self._values = values
        self._offsets = offsets

    @classmethod
    def __torch_function__(cls, func, types, args=(), kwargs=None):
        if kwargs is None:
            kwargs = {}
        if func == torch.sin:
            return NJT(func(self._values), self._offsets)
        if func is torch.Tensor.mul:
            x, y = args
            return NJT(torch.mul(y._values, x), y._offsets)
        raise AssertionError("not implemented")

values = torch.randn(10, 3, 4)
offsets = torch.tensor([0, 3, 10])
njt = NJT(values, offsets)

@torch.compile(backend="eager", fullgraph=True)
def f(x, y):
    return x * y

x = torch.tensor(3.14)
res = f(x, njt)
```
gives:
```
    raise Unsupported(msg) from from_exc
torch._dynamo.exc.Unsupported: call_function args: TensorVariable() UserDefinedObjectVariable(NJT) 
```

cc @mlazos
Repository: pytorch
Issue: RuntimeError: NCCL error: invalid usage when deploy LLM model by vllm. (torch version: 2.3.0+cu118)
Labels: oncall: distributed,triaged

### 🐛 Describe the bug

1、
torch 2.3.0+cu118 Requires: filelock, fsspec, jinja2, networkx, nvidia-cublas-cu11, nvidia-cuda-cupti-cu11, nvidia-cuda-nvrtc-cu11, nvidia-cuda-runtime-cu11, nvidia-cudnn-cu11, nvidia-cufft-cu11, nvidia-curand-cu11, nvidia-cusolver-cu11, nvidia-cusparse-cu11, nvidia-nccl-cu11, nvidia-nvtx-cu11, sympy, triton, typing-extensions
2、
the version of nccl in environment is "nvidia-nccl-cu11  2.20.5"
3、
when deploy LLM model by vllm, there have Errors  as follows:
2024-06-18 22:03:51 | INFO | stdout | (RayWorkerWrapper pid=1043334) ERROR 06-18 22:03:50 worker_base.py:148]   File "/opt/anaconda3/envs/vllm4/lib/python3.10/site-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 257, in ncclAllReduce [repeated 2x across cluster]
2024-06-18 22:03:51 | INFO | stdout | (RayWorkerWrapper pid=1043334) ERROR 06-18 22:03:50 worker_base.py:148]     self.NCCL_CHECK(self._funcs["ncclAllReduce"](sendbuff, recvbuff, count, [repeated 2x across cluster]
2024-06-18 22:03:51 | INFO | stdout | (RayWorkerWrapper pid=1043334) ERROR 06-18 22:03:50 worker_base.py:148]   File "/opt/anaconda3/envs/vllm4/lib/python3.10/site-packages/vllm/distributed/device_communicators/pynccl_wrapper.py", line 223, in NCCL_CHECK [repeated 2x across cluster]
2024-06-18 22:03:51 | INFO | stdout | (RayWorkerWrapper pid=1043334) ERROR 06-18 22:03:50 worker_base.py:148]     raise RuntimeError(f"NCCL error: {error_str}") [repeated 2x across cluster]
2024-06-18 22:03:51 | INFO | stdout | (RayWorkerWrapper pid=1043334) ERROR 06-18 22:03:50 worker_base.py:148] RuntimeError: NCCL error: invalid usage (run with NCCL_DEBUG=WARN for details) [repeated 2x across cluster]
4、 updata nccl to nvidia-nccl-cu12  2.20.5 can solved



### Versions

1、
torch 2.3.0+cu118
2、
[root@master1 v2]# pip show torch
Name: torch
Version: 2.3.0+cu118
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Home-page: https://pytorch.org/
Author: PyTorch Team
Author-email: packages@pytorch.org
License: BSD-3
Location: /opt/anaconda3/envs/vllm4/lib/python3.10/site-packages
Requires: filelock, fsspec, jinja2, networkx, nvidia-cublas-cu11, nvidia-cuda-cupti-cu11, nvidia-cuda-nvrtc-cu11, nvidia-cuda-runtime-cu11, nvidia-cudnn-cu11, nvidia-cufft-cu11, nvidia-curand-cu11, nvidia-cusolver-cu11, nvidia-cusparse-cu11, nvidia-nccl-cu11, nvidia-nvtx-cu11, sympy, triton, typing-extensions
3、(vllm4) [root@master1 v2]# pip list |grep nccl
nvidia-nccl-cu11                  2.20.5

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: ant-design
Issue: Can antd enhance the actual performance of components in the project by adding e2e testing?
Labels: help wanted,Inactive

### What problem does this feature solve?

I found that other component libraries use e2e regression testing to seriously affect the actual performance of components. Can Antd also achieve this

### What does the proposed API look like?

Antd can also implement e2e regression testing
<img width="1498" alt="image" src="https://github.com/ant-design/ant-design/assets/34638158/7ba57fef-9054-4fff-8f9d-c260a35c8029">

Because only after the component is tested with a real rendering service can we determine whether the effect is consistent with the expected one. So we expect e2e testing to play a good role in it.

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: cmd/go: investigate when a module would provide an incorrect version to the compiler
Labels: Thinking,GoCommand

In [gc.go](https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/work/gc.go;l=75?q=src%2Fcmd%2Fgo%2Finternal%2Fwork%2Fgc.go&ss=go%2Fgo), we perform a _allowedVersion_ check prior to passing -lang to the compiler but we are interested in the cases when this check would fail.

Requires more investigation.

CC: @matloob
Repository: vscode
Issue: Sync icon rotation is uneven (it is wobbling)
Labels: bug,help wanted,ux,good first issue,icons-product

Greetings,

currently, the sync icon in the bottom bar is not rotating evenly (it is actually wobbling).
The effect can be seen here:

[Before.webm](https://github.com/microsoft/vscode/assets/7782966/ef9bc95e-24f0-4e1d-aa2d-df415dc73417)

This is caused since the used text icon is not centered properly. The effect has been reproduced on both Windows and Linux versions of VSCode.

- VS Code Version: 1.90.1

Steps to Reproduce:

1. Open a project with a remote git repository attached
2. Click on the sync icon in the bottom bar
3. Observe the wobbling icon
Repository: rust
Issue: rust_eh_personality already defined in dynamic library
Labels: A-diagnostics,T-compiler

### Code

```Rust
Follow the steps to build https://github.com/ldesgoui/discord_game_sdk
This can also happen when directly linking Discord GameSDK libraries by bindgen separately.
```


### Current output

```Shell
error: linking with `link.exe` failed: exit code: 1169
  |
  = note: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" .. (a lot of libraries)
  = note: libstd-af7a289140bfd09b.rlib(std-af7a289140bfd09b.std.9b8e320a6364d5d1-cgu.0.rcgu.o) : error LNK2005: rust_eh_personality already defined in discord_game_sdk.lib(discord_game_sdk.dll)
          D:\..\discord_game_sdk\target\debug\deps\discord_game_sdk_sys-7c33338da05ee15f.exe : fatal error LNK1169: one or more multiply defined symbols found
```


### Desired output

```Shell
Compile and build successfully
```


### Rationale and extra context

_No response_

### Other cases

_No response_

### Rust Version

```Shell
rustc 1.79.0 (129f3b996 2024-06-10)
binary: rustc
commit-hash: 129f3b9964af4d4a709d1383930ade12dfe7c081
commit-date: 2024-06-10
host: x86_64-pc-windows-msvc
release: 1.79.0
LLVM version: 18.1.7
```


### Anything else?

_No response_
Repository: TypeScript
Issue: "The inferred type of X cannot be named without a reference to Y" (TS2742) still happens, when working with npm link to link packages manually
Labels: Needs Investigation,Experience Enhancement

### 🔎 Search Terms

is:issue is:open 2742 

### 🕗 Version & Regression Information

This seems to not be a regression bug

### ⏯ Playground Link

https://github.com/Teascade/typescript-error-demonstration

### 💻 Code

```ts
// In the example provided
// https://github.com/Teascade/typescript-error-demonstration

import { extended } from '@privateprefix/lib';

// src/index.ts(4,14): error TS2742: The inferred type of 'a' cannot be named without a reference to '@privateprefix/lib/node_modules/joi'. This is likely not portable. A type annotation is necessary.
export const a = extended.object().keys();
```

Replacing this with

```ts
// Joi is declared, but never used ts(6133)
import { type Joi, extended } from '@privateprefix/lib';

// This works now, though
export const a = extended.object().keys();
```

### 🙁 Actual behavior

Produces `src/index.ts(4,14): error TS2742: The inferred type of 'a' cannot be named without a reference to '@privateprefix/lib/node_modules/joi'. This is likely not portable. A type annotation is necessary.`

### 🙂 Expected behavior

No error is to be expected

### Additional information about the issue

In https://github.com/microsoft/TypeScript/issues/42873#issuecomment-2066874644 it was mentioned, that this issue would now be resolved in TypeScript beta 5.5.0, but it seems to still be broken in this specific scenario

I've made a minimal repository to reroduce this issue in https://github.com/Teascade/typescript-error-demonstration

The GitHub repository has a github action in which the issue is reproduced: https://github.com/Teascade/typescript-error-demonstration/actions/runs/9568149578/job/26377636108
Repository: pytorch
Issue: Trying to use forward AD with _scaled_dot_product_flash_attention that does not support it because it has not been implemented yet.
Labels: module: autograd,triaged,actionable

### 🚀 The feature, motivation and pitch

As suggested in the error message, I am reporting this error so its implementation can be prioritized.

Trying to use forward AD with **_scaled_dot_product_flash_attention** that does not support it because it has not been implemented yet.

Trying to use forward AD with **_scaled_dot_product_flash_attention_for_cpu** that does not support it because it has not been implemented yet.

### Alternatives

_No response_

### Additional context

`torch.__version__: '2.3.1+cu121'`

cc @ezyang @albanD @gqchen @pearu @nikitaved @soulitzer @Varal7
Repository: tensorflow
Issue: ImportError: Failed to load the native TensorFlow runtime due to undefined symbol
Labels: stat:awaiting tensorflower,type:build/install,subtype: ubuntu/linux,TF 2.9

**Issue Description**

I encountered an error while trying to run my project that uses TensorFlow. The error seems to be related to the TensorFlow runtime and an undefined symbol in the `_pywrap_tensorflow_internal.so` file. Below is the stack trace of the error.

**System Information**

- OS Platform and Distribution: Ubuntu 20.04.6 LTS
- Python Version: 3.10.14
- TensorFlow Version: 2.9.3

**Stack Trace**

```
File "pywrap_tensorflow.py", line 77, in <module>
    raise ImportError(ImportError: Traceback (most recent call last):
  File "pywrap_tensorflow.py", line 62, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: /.../_pywrap_tensorflow_internal.so: undefined symbol: _ZNK10tensorflow4data11DatasetBase8FinalizeEPNS_15OpKernelContextESt8functionIFNS_8StatusOrISt10unique_ptrIS1_NS_4core15RefCountDeleterEEEEvEE

Failed to load the native TensorFlow runtime.
```

Any help to resolve this issue would be greatly appreciated.

Thank you!
Repository: godot
Issue: Viewport cull mask and canvas item visibility layer not working
Labels: enhancement,discussion,topic:rendering

### Tested versions

4.2.stable

### System information

Windows 10

### Issue description

Canvas item with layer other than 1 cannot be seen unless "Canvas Cull Mask" value include layer 1.
Looks like setting any value without the layer 1 active on a viewport just hide everything.


*Note :*
*My guess is that there is an issue with how the cull flag are handled, the value may be tested as a bool somewhere.*
**EDIT**
*After more test i found the issue, the layer visibility from parent taken into account, children are not tested if layer visiblity test fail in parents*
### Steps to reproduce

Change `Visibility Layer` of Canvas Item to something else than 1.
Try changing the value of `Canvas Cull Mask` of your viewport

### Minimal reproduction project (MRP)

[ViewportVisibilityLayers.zip](https://github.com/user-attachments/files/15890330/ViewportVisibilityLayers.zip)
Repository: flutter
Issue: Update help text to reflect Xcode 16 UI changes
Labels: platform-ios,tool,platform-mac,t: flutter doctor,P2,team-ios,triaged-ios

# Settings window tabs

In the Xcode Settings window, the `Platforms` tab was renamed to `Components`.

* [ ] Update this doctor text:

  > iOS 18.0 Simulator not installed … To download and install the platform, open Xcode, select 
  Xcode > Settings > Platforms, and click the GET button for the required platform.
* [ ] Check flutter/website docs
Repository: rust
Issue: rustc overflow with size_of::<Self> constraint
Labels: A-trait-system,T-compiler,C-bug,F-generic_const_exprs

I want to do things with a type level representation of my type's size, i.e. ` U<{core::mem::size_of::<Self>()}>` in the below code. This requires a `[(); core::mem::size_of::<Self>()]:` bound everywhere, which breaks the compiler.

This is especially annoying because IMO `[(); core::mem::size_of::<T>()]:` should come for free for all `T`

```
#![feature(associated_type_defaults)]
#![feature(generic_const_exprs)]

struct U<const N: usize>;

trait Foo: Sized where [(); core::mem::size_of::<Self>()]:
{
    type MyU = U<{core::mem::size_of::<Self>()}>;
}

impl<T: Sized> Foo for T 
where 
  [(); core::mem::size_of::<Self>()]:,
  Self::MyU:
{}
```

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=8352f18917259811c1e72a8fd153c684

This simplified version also breaks

```
#![feature(generic_const_exprs)]

struct U<const N: usize>;

trait Foo: Sized where [(); core::mem::size_of::<Self>()]:
{
    type MyU;
}

impl<T: Sized> Foo for T 
where 
  [(); core::mem::size_of::<Self>()]:,
  Self::MyU:
{}
```

https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=a224e122810fcfbb34c69b56a067ce82
Repository: godot
Issue: Tabs unaffected by shaders applied to TabContainer
Labels: discussion,topic:rendering,needs testing,topic:shaders,topic:2d

### Tested versions

- Reproducible in: v4.3.beta1.official [a4f2ea91a], v4.3.dev6.official [89850d553], v4.0.stable.official [92bee43ad]
- Not reproducible in: v3.5.3.stable.official [6c814135b]

### System information

Godot v4.3.beta1 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; 32.0.15.5599) - Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 Threads)

### Issue description

Shaders applied to the TabContainer node doesn't effect the tabs. The panel of the TabContener is however still effected by the shader. 

Applying it directly on the child TabBar node also doesn't work, but that's probably intended as it didn't in Godot 3 either.



### Steps to reproduce

- Create a 2d scene
- Add a TabContainer as child node
- Add a TabBar as a child of TabContainer
- Create a new shader material on the TabContainer
- Attach a shader, for example: 
```
shader_type canvas_item;

void fragment() {
	COLOR = vec4(1,1,1,1);
}

### Minimal reproduction project (MRP)

N/A
Repository: rust
Issue: Cargo doc fails for certain crates in a workspace with "no such file or directory (os error 2)"
Labels: T-rustdoc,A-diagnostics,C-bug,D-confusing

### Problem

I'm working with a few other people on making a programming language in Rust and we've encountered an error in trying to create documentation for our workspace.

This is what we get:
```
 Documenting chrono v0.4.33
error: failed to render source code for `crates/syntax/src/lib.rs`: "crates/syntax/src/lib.rs": No such file or directory (os error 2)
  --> crates/syntax/src/lib.rs:1:1
   |
1  | / use std::mem;
2  | |
3  | | pub type SyntaxBuilder = eventree::SyntaxBuilder<TreeConfig>;
4  | | pub type SyntaxElement = eventree::SyntaxElement<TreeConfig>;
...  |
96 | |     Error,
97 | | }
   | |_^

 Documenting unicode-normalization v0.1.22
 Documenting itertools v0.13.0
error: could not document `syntax`
warning: build failed, waiting for other jobs to finish...
```

It's really confusing as it gives no other information.

I've seen other similar-ish issues here but they seem more like `cargo` itself couldn't be found whereas this is saying that `crates/syntax/src/lib.rs` couldn't be found (when it exists and the command even shows the contents of the file)

### Steps

1. git clone https://github.com/capy-language/capy
2. cargo doc
3. see error

### Possible Solution(s)

_No response_

### Notes

`rustup update` hasn't helped, and this error is replicable on my team member's machine

### Version

```text
cargo 1.79.0 (ffa9cf99a 2024-06-03)
release: 1.79.0
commit-hash: ffa9cf99a594e59032757403d4c780b46dc2c43a
commit-date: 2024-06-03
host: aarch64-apple-darwin
libgit2: 1.7.2 (sys:0.18.3 vendored)
libcurl: 8.4.0 (sys:0.4.72+curl-8.6.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Mac OS 14.3.1 [64-bit]
```
Repository: storybook
Issue: [Bug]: Show missing `vite.config.js` file in migration notification while the `vite.config.ts` exists
Labels: bug,needs reproduction,needs triage,automigrations,sev:S3

### Describe the bug

I have a project with React/TypeScript/Vite and I have added the Storybook for a while. Now I want to upgrade the dependencies and enter this command based on [storybook documentation](https://storybook.js.org/docs/configure/upgrading#upgrade-script):
```bash
pnpm dlx storybook@latest upgrade
```

![image](https://github.com/storybookjs/storybook/assets/16350906/d8ea7a9a-4932-41e6-854b-15a9e35ea06b)

I just realized from the banner that the migration script was unable to locate the `vite.config.js` at the root of my project. This is accurate because I don't have a .js file. Instead, I have the TypeScript version of the `vite.config`.

As a user, I saw this banner and I assumed this file doesn't exist in my directory. So if this banner shows by default (no matter whether the user has the file or not) this is a UX/DX issue. Maybe it will be better to have a more clear description/content in this banner.

### Reproduction link

https://stackblitz.com/edit/github-f4sm7n

### Reproduction steps

_No response_

### System

```bash
Storybook Environment Info:

  System:
    OS: Windows 11 10.0.22000
    CPU: (8) x64 Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
  Binaries:
    Node: 20.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.5.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.15.4 - ~\AppData\Local\pnpm\pnpm.EXE <----- active
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (126.0.2592.56)
  npmPackages:
    @storybook/addon-essentials: ^8.1.10 => 8.1.10
    @storybook/addon-interactions: ^8.1.10 => 8.1.10
    @storybook/addon-links: ^8.1.10 => 8.1.10
    @storybook/blocks: ^8.1.10 => 8.1.10
    @storybook/react: ^8.1.10 => 8.1.10
    @storybook/react-vite: ^8.1.10 => 8.1.10
    @storybook/test: ^8.1.10 => 8.1.10
    eslint-plugin-storybook: ^0.8.0 => 0.8.0
    storybook: ^8.1.10 => 8.1.10
    storybook-addon-remix-react-router: ^3.0.0 => 3.0.0
```


### Additional context

I was using storybook version 8.1.1 and I got to this banner in the middle of running the upgrade script (`pnpm dlx storybook@latest upgrade`)

But my `package.json` file was changed in the meantime. 

![image](https://github.com/storybookjs/storybook/assets/16350906/d3bbc428-28b8-470f-be1b-65622262e2c1)
Repository: pytorch
Issue: Look up tensor device member inside Tensor is_pinned() implementation instead of accepting an outside input
Labels: module: cuda,triaged

### 🚀 The feature, motivation and pitch

Background: We recently found a bug where our cpu_test_tensor.is_pinned() call unexpectedly consumed considerable memory. The original cpu_test_tensor was on the device="cpu". It turned out, however, that is_pinned accepts an optional device input param and by default the internal implementation assumes device="cuda", so possibly Cuda context was created consuming additional memory. We are fixing the immediate problem with PR 128896 by passing device=cpu_tensor.device to is_pinned call.

Proposal: Drop the optional device input to is_pinned() and instead just have it automatically look up the device member field from the self Tensor object itself. This should make for a more robust API where user avoids being defaulted to a possibly incorrect device value.

### Alternatives

_No response_

### Additional context

See [D58687049](https://www.internalfb.com/diff/D58687049) for a repro of the original memory problem.

cc @ptrblck @msaroufim
Repository: TypeScript
Issue: Command vscode.executeDocumentSymbolProvider Incomplete Parsing
Labels: Needs Investigation

A case was found that could not be parsed in its entirety:
A d.ts of typescript, path \node_modules\typescript\lib\lib.es5.d.ts.
The last ‘interface Date’ is parsed incorrectly, and a subset of this interface is not parsed either.

steps to reproduce:
1. npm i typescript -S
2. open file "\node_modules\typescript\lib\lib.es5.d.ts"
3. open outline view, Scroll down to the end
4. Final "Data" has no children

![abc](https://github.com/microsoft/vscode/assets/20674290/f8aca49a-eede-4294-90eb-4ae5c9ee8a77)
Repository: flutter
Issue: Support iOS 18 Writing tools text input feature
Labels: platform-ios,framework,engine,P2,team-text-input,triaged-text-input

Add support for the iOS 18 text editing context menu "Writing Tools"
![Screenshot 2024-06-18 at 1 19 29 PM](https://github.com/flutter/flutter/assets/682784/2f3ae7ec-662c-4a4e-93f1-5a93a39478c2)

And the writing tools themselves:
![Screenshot 2024-06-18 at 1 20 04 PM](https://github.com/flutter/flutter/assets/682784/d1259015-313f-4c66-a295-def4859987ff)
```swift
protocol UITextInput {
    @available(iOS 18.0, macOS 15.0, *)
    optional var isEditable: Bool { get }
}
```

https://developer.apple.com/videos/play/wwdc2024/10168/?time=543

macOS issue at https://github.com/flutter/flutter/issues/150453
WebKit issue at https://github.com/flutter/flutter/issues/150965