sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [Break XPU]  The change of default value `torch._dynamo.config.specialize_float` cause XPU Inductor UT failures.
Labels: triaged,module: xpu

### 🐛 Describe the bug

We found ciflow/xpu failed in main branch:
[xpu / linux-jammy-xpu-2025_0-py3.9 / test (default, 3, 4, linux.idc.xpu)](https://hud.pytorch.org/pr/pytorch/pytorch/133080#33443591124) ([gh](https://github.com/pytorch/pytorch/actions/runs/11997297811/job/33443591124))
inductor/test_compiled_optimizers.py::CompiledOptimizerTests::test_adadelta_maximize_xpu
[xpu / linux-jammy-xpu-2025_0-py3.9 / test (default, 4, 4, linux.idc.xpu)](https://hud.pytorch.org/pr/pytorch/pytorch/133080#33443591194) ([gh](https://github.com/pytorch/pytorch/actions/runs/11997297811/job/33443591194))
inductor/test_compiled_optimizers.py::CompiledOptimizerTests::test_adadelta_weight_decay_xpu

Root cause:
Recently the PR #138922 changed the default value `torch._dynamo.config.specialize_float` from `True` to `False`. And caused the dynamo traced graph for XPU changed.  Then caused the generated kernel count mismatch with expected count.

The changed part is the check in creating a constant float variable or a `symfloat`.
The code is: 
https://github.com/pytorch/pytorch/blob/6ad04237580d2ef1cc57b18a59af3e3eb65afd49/torch/_dynamo/variables/builder.py#L1901-L1915



CUDA does not has such change because the check condition includes `or torch._inductor.config.triton.cudagraphs`, which make it always crate constant float variable instead of symbol.

I'll update the expected kernel count in test case for XPU to resolve this XPU CI break.

### Versions

PyTorch version: 2.6.0a0+git6a096a0
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.29.4
Libc version: glibc-2.35

Python version: 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:45:18) [GCC 12.3.0] (64-bit runtime)
Python platform: Linux-5.15.47+prerelease23.5.18-x86_64-with-glibc2.35
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True


cc @gujinghui @EikanWang @fengyuan14 @guangyey
Repository: svelte
Issue: Document Pattern for Importing Runes
Labels: documentation

### Describe the problem

# Issue with Runes Documentation
Using the runes in a component is documented nicely but when you go to replicate those patterns for importing runes the experience falls apart instantly and a new undocumented pattern has to be used.

## State Example from Documentation
This is the $state example from the Svelte 5 runes docs:
https://svelte.dev/playground/6b854f5d5fc2465ea5d9306d13f51b85?version=5.2.7

## Importing with the Same Pattern
This is what happens when you take that example and try and define that state elsewhere and import it (even assuming you knew to call the file ".svelte.js"):
https://svelte.dev/playground/61c1a5769d99478dac3be0206a7ced1f?version=5.2.7

## Working Importing Runes Pattern
This is how you ACTUALLY have to import runes and (I had to discover this in Discord):
https://svelte.dev/playground/d25142f533d844b080dd6eb756ac0ba3?version=5.2.7

## Exampling using Stores
So, when imported, $state runes CANNOT hold a value themselves.  This is counter to the example and also counter to how stores used to work:
https://svelte.dev/playground/3ca44f7cac3841a688ecad512d3b87df?version=5.2.7

As you can see the stores example allows my store to hold the actual value and I don't need to do something different like add a "value" property.

## To summarize
### Magic: 
- Defining runes in a component
- Defining stores in a component or importing them

### Not Magic:
- Importing a rune


### Describe the proposed solution

# Suggestion
I don't have a problem with having to do something different when I import runes, that's not what this is about. I'm sure the Svelte 5 devs have good reasons they work this way and I'm not here to judge. I tend to always define my state in separate files, so personally I will only have 1 pattern to contend with in my own apps.

I'm raising this issue so that the runes documentation can hopefully get an update to include the pattern needed when importing runes.  Maybe a new section after $host called "importing" that just illustrates what I have shown above.

If this is somewhere in the documentation then I could not find it by searching.  The only official thing I was given in Discord was a link to some tutorial section that didn't even have `runes` or `$state` in the name which isn't good for discoverability. Furthermore a tutorial should be a walkthrough of the documentation, not the other way around.

### Alternatives considered

_No response_

### Importance

would make my life easier

### Additional Information

Coming from Svelte 4 and using stores extensively this was a departure and a bit of a roadblock for me. I would like other developers to be able to discover this pattern from the documentation and not from Discord like I had to.
Repository: pytorch
Issue: import torch failed after installing nightly wheel
Labels: module: binaries,triaged

### 🐛 Describe the bug

import torch failed after installing nightly wheel

### Versions

CUDA Version: 12.4

pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu124

![image](https://github.com/user-attachments/assets/06bc48b2-7168-4f66-bd21-0b85f8e6683e)

pip list
![image](https://github.com/user-attachments/assets/4a1d4b2b-cfd3-46ab-8882-2989b739fc4b)



cc @seemethere @malfet @osalpekar @atalman
Repository: angular
Issue: [Feature Request] Subject Signal
Labels: area: core,core: reactivity,core: rxjs interop

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

core

### Description

I find myself constantly running into the situation that for a given reactive value, I need to use it both in rx and signal contexts. 

For instance let's say there is an `selectedItem` value, representing an entity selected by the user. We would like to store it in a `WritableSignal` so something could be derived out of it with `computed`; we also want to use it to retrieve some related data from the backend, thus it would also be great to be an observable (to be `switchMap`-ed).

In the meantime we just make the value a signal and spam `toObservable`s whenever we need it in rx. There are so many of them that I really considered it as pattern that should be addressed with better ergonomics.

### Proposed solution

We came up with a solution like this:
```typescript
import { Signal } from "@angular/core";
import { toSignal } from "@angular/core/rxjs-interop";
import { BehaviorSubject, Observable } from "rxjs";

/** A signal backed by a subject. */
export interface SubjectSignal<T> extends Signal<T> {
  observable: Observable<T>;
  update(updateFn: (value: T) => T): void;
  set(value: T): void;
}

/** Make a signal that is backed by a subject. */
export function subjectSignal<T>(initialValue: T): SubjectSignal<T> {
  const subject = new BehaviorSubject<T>(initialValue);
  const signal = toSignal(subject) as SubjectSignal<T>;

  signal.observable = subject.asObservable();
  signal.update = (updateFn: (value: T) => T) => {
    subject.next(updateFn(subject.value));
  };
  signal.set = (value: T) => {
    subject.next(value);
  };

  Object.freeze(signal);

  return signal;
}
```

So it's basically a wrapper to `toSignal`, but an observable could be retrieved out from it.

### Alternatives considered

Ideally we could have `SubjectSignal<T>` to be used both as a signal and as an observable:
```typescript
interface SubjectSignal<T> extends Observable<T>, Signal<T>;
```
but I'm not sure if it's possible, because `Signal<T>` has a callable signature and `Observable<T>` is a class. Anyways we would like to see a more elegant solution.
Repository: tensorflow
Issue: Cannot send mail to github-admin@tensorflow.org, the contact address shown on front page of github.com/tensorflow
Labels: type:docs-bug

### Issue type

Documentation Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

irrelevant

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

The front page of https://github.com/tensorflow lists github-admin@tensorflow.org as a contact address:

<p align="center">
<img width="80%" alt="image" src="https://github.com/user-attachments/assets/a80e6161-1cde-4d10-b9a2-774f80294d15">
</p>

However, attempting to send mail to that address results in an error message being mailed back:

```
We're writing to let you know that the group you tried to 
contact (github-admin) may not exist, or you may not have 
permission to post messages to the group. A few more 
details on why you weren't able to post:

 * You might have spelled or formatted the group name incorrectly.
 * The owner of the group may have removed this group.
 * You may need to join the group before receiving permission to post.
 * This group may not be open to posting.

If you have questions related to this or any other Google Group,
visit the Help Center at 
https://support.google.com/a/tensorflow.org/bin/topic.py?topic=25838.

Thanks,

[tensorflow.org](http://tensorflow.org/) admins
```


### Standalone code to reproduce the issue

```shell
Send an email message to github-admin@tensorflow.org
```


### Relevant log output

```shell
We're writing to let you know that the group you tried to 
contact (github-admin) may not exist, or you may not have 
permission to post messages to the group. A few more 
details on why you weren't able to post:

 * You might have spelled or formatted the group name incorrectly.
 * The owner of the group may have removed this group.
 * You may need to join the group before receiving permission to post.
 * This group may not be open to posting.

If you have questions related to this or any other Google Group,
visit the Help Center at 
https://support.google.com/a/tensorflow.org/bin/topic.py?topic=25838.

Thanks,

[tensorflow.org](http://tensorflow.org/) admins
```
Repository: TypeScript
Issue: Misleading error message "'{}' and 'number' have no overlap"
Labels: Suggestion,Needs Proposal

### 🔎 Search Terms

empty object type, unintentional comparison

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about [object types](https://www.typescriptlang.org/docs/handbook/2/objects.html) and [structural typing](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes-func.html#structural-typing)

### ⏯ Playground Link

https://www.typescriptlang.org/play/?noUncheckedIndexedAccess=true&target=99&ts=5.8.0-dev.20241124#code/JYMwBAFA3gvmC8iwAYCUZZA

### 💻 Code

```ts
if ({} === 0) {}
```

### 🙁 Actual behavior

TS 2367: "This comparison appears to be unintentional because the types '{}' and 'number' have no overlap."

### 🙂 Expected behavior

TS 2367: "This comparison appears to be unintentional because the types 'object' and 'number' have no overlap."

### Additional information about the issue

the type `{}` and `number` do have overlap; `number` is a subset of `{}`.
```ts
declare const n: number;
// allowed!
const emptyObjectType: {} = n;
```

TS is correct to report an error, but it should give a technically correct reason for the error.

Analogous (very contrived) examples can be made for similar coincidentally-including-primitive types, like 
```ts
// This comparison appears to be unintentional because the types '{ toFixed(): string; toPrecision(): string; }' and 'number' have no overlap.
if ({ toFixed(): string { return "" }; toPrecision(): string { return "" }} === 0) {}

// yet this is allowed
const numbery: { toFixed(): string; toPrecision(): string; } = 0;
```

Stems from discord discussion beginning here: https://discord.com/channels/508357248330760243/508357638677856287/1310419206260654081

Closely related to discussion regarding https://github.com/microsoft/TypeScript/issues/60582
Repository: PowerToys
Issue: Can't use browser search (Plugin Web Search)
Labels: Product-PowerToys Run,Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

Allow customizing how browser exe is called

### Scenario when this would be used?

When search fails
![Image](https://github.com/user-attachments/assets/83156bff-ab09-4000-a121-68d09dcd1d4a)

![Image](https://github.com/user-attachments/assets/635fb2c0-7989-4c71-9b26-ee568c0287e6)


### Supporting information

Plugins based on the web search feature also fail: https://github.com/Daydreamer-riri/PowerToys-Run-WebSearchShortcut/issues/29
Repository: deno
Issue: `Deno.permissions.query({name:"imports"})` is not supported
Labels: bug,permissions

Version: Deno 2.1.1

It's not possible to query `--allow-imports` descriptor currently

```ts
console.log(await Deno.permissions.query({name:"imports"}))
```
```
Uncaught TypeError: The provided value "imports" is not a valid permission name
    at Permissions.querySync (ext:runtime/10_permissions.js:211:13)
    at Permissions.query (ext:runtime/10_permissions.js:203:34)
    at <anonymous>:1:57
```

Possibly just a quick fix to do in:
https://github.com/denoland/deno/blob/12b377247be2b74155ded3a678ff2996ef3d7c9f/runtime/js/10_permissions.js#L41-L49

Edit: the name should probably be `import` and not `imports`, to match https://docs.deno.com/api/deno/~/Deno.PermissionOptionsObject
Repository: transformers
Issue: WSD Scheduler to auto infer training steps
Labels: Feature request

### Feature request

WSD Scheduler should calculate stable steps in `trainer.py`. And if num_warmup_steps is provided in kwargs, schedule_func should respect the kwargs. 

My guess is that the intention is it to decay till min and stay there till the end of training, but `min_lr_ratio` is set to the default of 0, wouldn't the learning rate be always 0? Would like to have some insights on this if possible.

```
TypeError: get_wsd_schedule() missing 1 required positional argument: 'num_stable_steps'
```

Additionally, trying to pass in `num_warmup_steps` in `lr_scheduler_kwargs` will result in duplicate keys:
```
     return schedule_func(optimizer, num_warmup_steps=num_warmup_steps, **scheduler_specific_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: transformers.optimization.get_wsd_schedule() got multiple values for keyword argument 'num_warmup_steps'
```



### Motivation

I want to run WSD scheduler for my training, but I do not want to have to calculate the stable steps.

### Your contribution

I can contribute to this, but I would like to better understand the edge cases or possible scenarios I might have missed out from the maintainers. However, here is my current workaround:

```
def get_wsd_schedule(
    + num_training_steps: int = 0,
):

...
    assert num_stable_steps or num_training_steps, "One of either stable steps or training steps must be provided"
    if not num_stable_steps:
        num_stable_steps = num_training_steps - num_warmup_steps - num_decay_steps
```

```
    if name == SchedulerType.WARMUP_STABLE_DECAY:
        return schedule_func(optimizer, num_warmup_steps=num_warmup_steps,num_training_steps=num_training_steps, **scheduler_specific_kwargs)
```
Repository: excalidraw
Issue: [Feature Request] Add Master Frame/Template functionality similar to PowerPoint master slides
Labels: E+/presentations

### Problem Description
When creating multiple frames in Excalidraw+, there's currently no way to maintain consistent elements (like logos, headers, footers) across all frames. Each element needs to be manually copied and placed in each frame individually.

### Proposed Solution
Implement a master frame/template feature similar to PowerPoint's master slides, where:
- Users can define a master frame with common elements
- All new frames automatically inherit these elements
- Updates to master elements reflect across all frames
- Option to override master elements in specific frames if needed

### Use Cases
1. Adding company logos to all frames in a presentation
2. Maintaining consistent header/footer information
3. Applying common background elements or watermarks
4. Ensuring brand consistency across multiple frames

### Benefits
- Saves time in creating consistent multi-frame documents
- Reduces manual work when updating common elements
- Ensures consistency across all frames
- Makes it easier to maintain brand guidelines
Repository: vscode
Issue: Chat response provider with identifier <REDACTED: user-file-path> is already registered.
Labels: bug,error-telemetry,chat

```javascript
Error: Chat response provider with identifier <REDACTED: user-file-path> is already registered.
at OPe.registerLanguageModelChat in out-vscode/vs/workbench/contrib/chat/common/vs/workbench/contrib/chat/common/languageModels.ts:287:10
at LAt.$registerLanguageModelProvider in out-vscode/vs/workbench/api/browser/vs/workbench/api/browser/mainThreadLanguageModels.ts:56:45
at Mut.S in src/vs/workbench/services/extensions/common/rpcProtocol.ts:458:17
at Mut.Q in src/vs/workbench/services/extensions/common/rpcProtocol.ts:443:32
at Mut.M in src/vs/workbench/services/extensions/common/rpcProtocol.ts:373:19
at Mut.L in src/vs/workbench/services/extensions/common/rpcProtocol.ts:299:10
at $Z.value in src/vs/workbench/services/extensions/common/rpcProtocol.ts:161:57
at x.B in src/vs/base/common/event.ts:1243:13
at x.fire in src/vs/base/common/event.ts:1274:9
at L6.fire in src/vs/base/parts/ipc/common/ipc.net.ts:652:19
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=90868576241dd25c6c5da64adadc0a09de91a9fe&bH=e7939965-890a-1284-ee6b-48c4d582730c)
Repository: vscode
Issue: TreeError [Chat] Tree element not found: [object Object]
Labels: bug,error-telemetry,chat

```javascript
Error: TreeError [Chat] Tree element not found: [object Object]
at Ose.o in src/vs/base/browser/ui/tree/objectTreeModel.ts:313:10
at Ose.expandTo in src/vs/base/browser/ui/tree/objectTreeModel.ts:261:25
at jk.reveal in out-vscode/vs/base/browser/ui/tree/vs/base/browser/ui/tree/abstractTree.ts:3037:14
at PD.sb in out-vscode/vs/workbench/contrib/chat/browser/vs/workbench/contrib/chat/browser/chatWidget.ts:455:14
at PD.layout in out-vscode/vs/workbench/contrib/chat/browser/vs/workbench/contrib/chat/browser/chatWidget.ts:1140:9
at Ije.x in out-vscode/vs/workbench/contrib/inlineChat/browser/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.ts:338:20
at Ije.x in out-vscode/vs/workbench/contrib/inlineChat/browser/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.ts:553:9
at Ije.layout in out-vscode/vs/workbench/contrib/inlineChat/browser/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.ts:319:9
at Wje.E in out-vscode/vs/workbench/contrib/inlineChat/browser/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.ts:161:15
at Wje.w in src/vs/editor/contrib/zoneWidget/browser/zoneWidget.ts:298:9
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=90868576241dd25c6c5da64adadc0a09de91a9fe&bH=f99e8fe7-7324-faa4-723c-d10b0e8be5e4)
Repository: vscode
Issue: Illegal value for lineNumber
Labels: error-telemetry,editor-edit-context

```javascript
Error: Illegal value for lineNumber
at Lw.getLineMaxColumn in src/vs/editor/common/model/textModel.ts:860:10
at Gte.G in src/vs/editor/browser/controller/editContext/native/nativeEditContext.ts:306:42
at Gte.C in src/vs/editor/browser/controller/editContext/native/nativeEditContext.ts:243:33
at Gte.prepareRender in src/vs/editor/browser/controller/editContext/native/nativeEditContext.ts:185:8
at Object.prepareRender in src/vs/editor/browser/view.ts:596:15
at <anonymous> in src/vs/editor/browser/view.ts:529:36
at func in src/vs/editor/browser/view.ts:759:10
at safeInvokeNoArg in src/vs/editor/browser/view.ts:529:4
at SIe.render in src/vs/editor/browser/view.ts:666:9
at <anonymous> in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1609:26
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=90868576241dd25c6c5da64adadc0a09de91a9fe&bH=027e98a6-23bc-de8b-56b0-cb5e1d518492)
Repository: PowerToys
Issue: In Windows 11, newly created, deleted, copied, or pasted files aren't refreshing in real-time.  A manual refresh (F5) or restarting Windows Explorer is required
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.73.0

### Installation method

GitHub

### Running as admin

No

### Area(s) with issue?

General

### Steps to reproduce

[PowerToysReport_2024-11-25-14-16-52.zip](https://github.com/user-attachments/files/17898182/PowerToysReport_2024-11-25-14-16-52.zip)


### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: vscode
Issue: [140] potential listener LEAK detected, having 178 listeners already. MOST frequent listener (2):
Labels: error-telemetry

```javascript
Error
at oci.create in src/vs/base/common/event.ts:933:15
at RHe.q [as onModelAdded] in src/vs/base/common/event.ts:1140:34
at nu.u in out-vscode/vs/workbench/browser/vs/workbench/browser/labels.ts:160:36
at new nu in out-vscode/vs/workbench/browser/vs/workbench/browser/labels.ts:137:8
at Qht.o in src/vs/platform/instantiation/common/instantiationService.ts:162:18
at Qht.createInstance in src/vs/platform/instantiation/common/instantiationService.ts:128:18
at new sFe in out-vscode/vs/workbench/contrib/chat/browser/chatContentParts/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.ts:30:70
at Qht.o in src/vs/platform/instantiation/common/instantiationService.ts:162:18
at Qht.createInstance in src/vs/platform/instantiation/common/instantiationService.ts:128:18
at fce.mb in out-vscode/vs/workbench/contrib/chat/browser/vs/workbench/contrib/chat/browser/chatListRenderer.ts:890:36
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=90868576241dd25c6c5da64adadc0a09de91a9fe&bH=30cf9369-5e8a-11fa-f760-8e3586c39324)
Repository: rust
Issue: Non pub functions are exported as DLL symbols
Labels: C-discussion

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust
#[no_mangle]
extern "C" fn foo() {}
```

I build a Windows DLL, I use this foo function with other static library written in C.

I think that this function should not be exported as DLL symbols, but it does

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.82.0 (f6e511eec 2024-10-15)
binary: rustc
commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
commit-date: 2024-10-15
host: x86_64-pc-windows-msvc
release: 1.82.0
LLVM version: 19.1.1
```
Repository: transformers
Issue: [i18n-zh] Translating docs to Chinese Translate bertlogy.md into Chinese
Labels: WIP

I have translated bertlogy.md into Chinese and my PR is here #34908 .This is my second contribution, and I hope to do better than the last time. Welcome anyone to review it.