sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: transformers
Issue: Learning rate logging off by one training step
Labels: bug

### System Info

transformers==4.48.1

### Who can help?

@muellerz @SunMarc

### Information

- [x] The official example scripts
- [x] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

The Trainer class steps the learning rate scheduler at the end of each training loop iteration before calling `Trainer._maybe_log_save_evaluate()`. As a result, the logged learning rate is the learning rate of the next training step, not the one that was just performed. This off-by-one error is usually not much of a problem with monotonic schedulers, but with cycling schedulers such as `cosine_with_restarts`, it can be the difference between something very close to zero and the max learning rate at cycle boundaries.

LR scheduler is stepped here: https://github.com/huggingface/transformers/blob/4ec425ffad56cdbedfb97ab2d11243e42889f71c/src/transformers/trainer.py#L2605

Logging and checkpointing occurs here: https://github.com/huggingface/transformers/blob/4ec425ffad56cdbedfb97ab2d11243e42889f71c/src/transformers/trainer.py#L2611

### Expected behavior

The call to `Trainer._maybe_log_save_evaluate()` should be moved above the LR scheduler step (or vice versa), otherwise an incorrect learning rate will be logged.
Repository: deno
Issue: OpenTelemetry setup does not work with `--env-file`
Labels: bug,otel

Version: Deno 2.1.7

Configuration of OTEL via (at least these) environment variables from `--env-file` is not respected as stated in [the OTEL docs](https://docs.deno.com/runtime/fundamentals/open_telemetry/).

- `OTEL_SERVICE_NAME` - default is `unknown_service` ([/ext/telemetry/lib.rs#L626](https://github.com/denoland/deno/blob/02ed3005259d71abd125ecf8f07f5e14c7a86fa5/ext/telemetry/lib.rs#L626))
- `OTEL_EXPORTER_OTLP_ENDPOINT` - default is `localhost:4318` ([/ext/telemetry/lib.rs#L662](https://github.com/denoland/deno/blob/02ed3005259d71abd125ecf8f07f5e14c7a86fa5/ext/telemetry/lib.rs#L662))
- `OTEL_EXPORTER_OTLP_PROTOCOL` - default is `http/protobuf ` ([/ext/telemetry/lib.rs#L606](https://github.com/denoland/deno/blob/02ed3005259d71abd125ecf8f07f5e14c7a86fa5/ext/telemetry/lib.rs#L606C34-L606C61))


[Example repository with reproduction](https://github.com/tolu/deno-otel) involving
1. A server bootstrapped with OTEL (either via env file, shell or dockerfile)
2. A logger that listens on the configured `OTLP_ENDPOINT` and print `content-type` and the payload of requests
3. A client that spams the server with some requests

Assigning values like:

- `OTEL_SERVICE_NAME=my-service`
- `OTEL_EXPORTER_OTLP_PROTOCOL=http/json`

Still uses protobuf and yields `service.name: <unknown_service>`

Changing the port of:

- `OTEL_EXPORTER_OTLP_ENDPOINT=localhost:4317`

results in no reports arriving at that endpoint.
Repository: rust
Issue: `tail_expr_drop_order` lint can mention internal `__awaitee` name
Labels: A-diagnostics,T-compiler,A-edition-2024,L-tail_expr_drop_order,I-edition-triaged

### Code

```Rust
#![warn(tail_expr_drop_order)]

async fn foo() -> bool {
    false
}

pub async fn bar() {
    while let true = foo().await {}
}
```

### Current output

```Shell
warning: relative drop order changing in Rust 2024
 --> src/lib.rs:8:28
  |
8 |     while let true = foo().await {}
  |                      ------^^^^^  - now the temporary value is dropped here, before the local variables in the block or statement
  |                      |     |
  |                      |     this value will be stored in a temporary; let us call it `#1`
  |                      |     up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
  |                      `__awaitee` calls a custom destructor
  |                      `__awaitee` will be dropped later as of Edition 2024
  |
  = warning: this changes meaning in Rust 2024
  = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
  = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
```

### Desired output

Something else instead of “`__awaitee`”.

### Rationale and extra context

Note that arguably the lint shouldn’t be firing at all because there are no other local variables, but that is just because the example is minimal; in the real cases, there were other local variables with significant `Drop`s.

### Rust Version

```Shell
rustc 1.86.0-nightly (2f348cb7c 2025-01-27)
binary: rustc
commit-hash: 2f348cb7ce4063fa4eb40038e6ada3c5214717bd
commit-date: 2025-01-27
host: aarch64-apple-darwin
release: 1.86.0-nightly
LLVM version: 19.1.7
```

### Anything else?

@rustbot label A-edition-2024
Repository: vscode
Issue: Editor GPU: The viewport rendering strategy stops working after > 20k lines
Labels: bug,editor-gpu

Testing #238846

Everything goes blank suddenly when scrolling down, even previously visible lines:

<img width="814" alt="Image" src="https://github.com/user-attachments/assets/bed89772-1d89-43b8-9f14-f8d00a60e1a0" />
Repository: rust
Issue: Add a test ensuring all our targets set the features required by their ABI.
Labels: needs-triage

With https://github.com/rust-lang/rust/pull/136147, we emit a warning (and hopefully eventually a hard error) when a target does not enable all the target features required by the declared ABI, or when it enables a target feature incompatible with the declared ABI. Ideally, we'd ensure that all built-in targets pass this test, but that is non-trivial: we need to actually generate an LLVM TargetMachine for the target and ask LLVM about the enabled target features and then check that against our ABI compatibility list. I'm not sure how to best write such a test. 

It could be a ui test compiling an empty program, with a revision for each target, but that seems annoying... I'd prefer something that iterates over all targets automatically, rather than having to list all targets in some ui test.

Cc @workingjubilee @rust-lang/wg-llvm
Repository: vscode
Issue: terminal.integrated.suggest.providers should suggest all providers
Labels: feature-request,terminal-suggest

We want this to give all valid suggestions:

<img width="656" alt="Image" src="https://github.com/user-attachments/assets/73b6195e-bd5f-46b0-a7e2-647ff5bd3b38" />

You can see how defaultProfile does this dynamically here:

<img width="406" alt="Image" src="https://github.com/user-attachments/assets/421cce4b-5cc9-4c52-8169-6468a108f347" />

https://github.com/microsoft/vscode/blob/8081bc3f04fb46dcf8755937107ecfc31f6ed96e/src/vs/platform/terminal/common/terminalPlatformConfiguration.ts#L396-L403

Note that `registerTerminalDefaultProfileConfiguration` is called whenever the value could possibly change:

https://github.com/microsoft/vscode/blob/8081bc3f04fb46dcf8755937107ecfc31f6ed96e/src/vs/workbench/contrib/terminal/browser/terminalProfileService.ts#L202-L206

It may be necessary to register it early without the enum information and when extensions are ready re-register the config.
Repository: rustdesk
Issue: Rustdesk not working on AD Computer
Labels: bug

### Bug Description

Rustdesk software does not seem to work on computers in an Active Directory domain.
It says it is not ready and asks to check the network connection.
I should point out that I have this problem with other connectivities and the common point is always an AD.
Can someone help me?

### How to Reproduce

When an active directory is on the networking !

### Expected Behavior

Rustdesk software does not seem to work on computers in an Active Directory domain.

### Operating system(s) on local (controlling) side and remote (controlled) side

Windows 11

### RustDesk Version(s) on local (controlling) side and remote (controlled) side

1.2.3-2

### Screenshots

![Image](https://github.com/user-attachments/assets/31ad4150-89d1-42c7-ae4a-ba9b38797613)

### Additional Context

_No response_
Repository: ollama
Issue: ollama list command not listing installed models
Labels: bug

### What is the issue?

I installed ollama than changed the drive to install models using this article -

"https://medium.com/@dpn.majumder/how-to-deploy-and-experiment-with-ollama-models-on-your-local-machine-windows-34c967a7ab0e"

Than I installed deepseek r1-7b.  Now I have restarted and also tried reinstalling everything again. Still ollama list command doesn't show installed models.  

Also the models are running correctly 
 
Any solution??

### OS

Windows

### GPU

Nvidia

### CPU

AMD

### Ollama version

0.5.7
Repository: react
Issue: [React 19] aria attributes on custom elements behave maybe incorrectly
Labels: React 19

## Summary

In [React 18](https://codesandbox.io/p/sandbox/react-18-9r99s), passing `aria-disabled={true}` to a custom element serialized that value as "true". That seemed good and as far as I can tell worked as expected.

In [React 19](https://codesandbox.io/p/sandbox/intelligent-dawn-mv9p62), that same code adds the `aria-disabled` attribute, but doesn't set it to anything. That doesn't work as well. It appears to me (although I'm not certain) that it breaks accessibility for these custom elements. It definitely breaks `@testing-library/jest-dom`'s `toBeChecked` matcher with `aria-checked` (https://github.com/testing-library/jest-dom/blob/918b6fbcde10d4409ee8f05c6e4eecbe96a72b7a/src/to-be-checked.js#L31).

For these aria attributes that require strings instead of booleans to function properly, is this an intended change?
Repository: vscode
Issue: Suggest widget position goes out of sync when the panel view is set to maximised
Labels: bug,terminal-suggest

Testing #238901

- Open Terminal and trigger suggest widget
- Maximise the panel size 
🐛 Suggest widget goes out of sync with position

![Image](https://github.com/user-attachments/assets/6a5e5e25-835c-47d9-ad69-db45e3f7ed34)
Repository: godot
Issue: Incorrect AABB when another instance is animated
Labels: bug,topic:import,topic:animation,topic:3d

### Tested versions

- Reproducible in v4.4.beta1.official [d33da79d3] , v4.3.stable.official [77dcf97d8]

### System information

Godot v4.4.beta1 - Ubuntu 24.04.1 LTS 24.04 on X11 - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - NVIDIA GeForce GTX 1080 Ti (nvidia; 535.183.01) - 12th Gen Intel(R) Core(TM) i3-12100F (8 threads)

### Issue description

Objects disappear when they are near the edges of the frame.

When importing a glTF object, creating 2 instances in a scene, and animating one of them. The other features incorrect AABB.

![Image](https://github.com/user-attachments/assets/fcf7ec43-14d1-4630-b568-77b939337dd4)
_In this image the character has missing elements. There is a second instance of the character on the scene that is playing an animation._

![Image](https://github.com/user-attachments/assets/916b1dff-e574-49bc-b1bd-6afe0291c78a)
_In this image the character looks correctly. The second instance of the character on the scene is not playing any animation._

### Steps to reproduce

I've prepared a minimal project. You can just open and run it to see the issue.

- It features a .glb object, imported 2 times in the main scene.
- Through code I'm playing an animation on one of them.
- The other one is on the side of the camera frame.

Several pieces are missing on the second instance.

### Minimal reproduction project (MRP)

[aabb_bug.zip](https://github.com/user-attachments/files/18578076/aabb_bug.zip)
Repository: electron
Issue: `openDevTools` window mode is inconsistent
Labels: platform/windows,bug :beetle:,34-x-y

### Preflight Checklist

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

### Electron Version

34.0.0

### What operating system(s) are you using?

Windows

### Operating System Version

Edition	Windows 11 Enterprise Version	24H2 Installed on	‎2024-‎10-‎04 OS build	26100.2894 Experience	Windows Feature Experience Pack 1000.26100.36.0

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

The location of opening dev tools is inconsistent.

These all open dev tools:

```js
// example 1
app.on('web-contents-created', (event, contents) => {
  contents.openDevTools();
})

// example 2
app.on('web-contents-created', (event, contents) => {
  contents.on('dom-ready', ()=>{contents.openDevTools();});
})

// example 3
app.on('web-contents-created', (event, contents) => {
  contents.openDevTools({mode: ""});
})
```

My naive expectation is that these would would all open the dev tools the same way - either detached, docked, or undocked.

### Actual Behavior

example 1 opens the dev tools in "detached" mode, which is the documented default.
example 2 opens the dev tools in the same mode it was last opened in.
example 3 opens the dev tools in the same mode it was last opened in. This is mentioned in the documentation, but `""` is not a type-correct value for "mode".

https://github.com/electron/electron/blob/0e388bce3eb27b67391eb0f75f268608550fbcca/docs/api/web-contents.md?plain=1#L1907-L1910

### Testcase Gist URL

_No response_

### Additional Information

_No response_
Repository: flutter
Issue: Run `Linux analyze` in the Merge Queue
Labels: team-infra,P1,monorepo

Today, 2 PRs [collided](https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20analyze/22976/overview) mid-air and caused the tree to go red ([PR1](https://github.com/flutter/flutter/pull/162279), [PR2](https://github.com/flutter/flutter/pull/161911)).

This kind of collision is preventable by running some sanity check tests in the MQ (e.g. `Linux analyze`). Such a test would've caught the error and prevented the 2nd PR from landing; keeping the tree green.
Repository: vscode
Issue: Suggestions are not triggered on backspace
Labels: feature-request,terminal-suggest

Testing #238901

https://github.com/user-attachments/assets/f66911c5-c412-4c65-b82b-a7f6b6b0283c
Repository: vscode
Issue: A lot of the extra detail boxes just contain the command name again
Labels: feature-request,terminal-shell-pwsh,terminal-suggest

Testing #238901

![Image](https://github.com/user-attachments/assets/4ca2abdf-2e6c-4cee-bf03-c49695431f7e)
Repository: kubernetes
Issue: HPA wrongly assumes that terminated pods have an utilization of 100%
Labels: kind/bug,sig/autoscaling,needs-triage

### What happened?

A pod that terminated was considered by the HPA controller to be at its target utilization.

The controller logic ([1](https://github.com/kubernetes/kubernetes/blob/ed9572d9c7733602de43979caf886fd4092a7b0f/pkg/controller/podautoscaler/replica_calculator.go#L106-L120), [2](https://github.com/kubernetes/kubernetes/blob/ed9572d9c7733602de43979caf886fd4092a7b0f/pkg/controller/podautoscaler/replica_calculator.go#L211-L223)) is such that, while scaling up, it conservatively considers that a pod for which we couldn't get the utilization metric from a metrics API are at their target utilization. (On scale down, the assumption is conservatively that the utilization is 0.)

### What did you expect to happen?

I expected the controller to assume that a terminated pod has an utilization of 0.

This is [already correctly handled for pods that terminated with a failure](https://github.com/kubernetes/kubernetes/blob/ed9572d9c7733602de43979caf886fd4092a7b0f/pkg/controller/podautoscaler/replica_calculator.go#L383), but the case where a pod terminated successfully isn't handled.


### How can we reproduce it (as minimally and precisely as possible)?

Create a Deployment with pods that terminate (without a failure) and observe that an HPA targetting this Deployment will assume that terminated pods are at target utilization.

### Anything else we need to know?

Handling the case where the pod is terminated normally [here](https://github.com/kubernetes/kubernetes/blob/ed9572d9c7733602de43979caf886fd4092a7b0f/pkg/controller/podautoscaler/replica_calculator.go#L383) will fix this.

### Kubernetes version

<details>

```console
$ kubectl version
v1.29.10-gke.1280000
```

</details>


### Cloud provider

<details>
GKE
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux rodete"
NAME="Debian GNU/Linux rodete"
VERSION_CODENAME=rodete
```

</details>


### Install tools

<details>
N/A
</details>


### Container runtime (CRI) and version (if applicable)

<details>
N/A
</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>
None
</details>
Repository: rustdesk
Issue: Remote Desktop Window Freezes with Artifacts
Labels: bug

### Bug Description

At random times it will freeze with artifacts. (Only the remote desktop window)
I have to close the window from the taskbar. 

### How to Reproduce

Connect to a remote desktop 

### Expected Behavior

Not to freeze and see artifacts

### Operating system(s) on local (controlling) side and remote (controlled) side

Windows 11 24H2

### RustDesk Version(s) on local (controlling) side and remote (controlled) side

1.3.7

### Screenshots

![Image](https://github.com/user-attachments/assets/7e1a0ba2-43ad-464c-be84-fa8d82497f6c)

### Additional Context

_No response_
Repository: iptv
Issue: Add: RadioFannJordanStudio.jo
Labels: approved,streams:add

### Channel ID (required)

RadioFannJordanStudio.jo

### Stream URL (required)

http://45.63.116.205/hls2/stream1.m3u8

### Quality

1080p

### Label

Not 24/7

### Timeshift

_No response_

### HTTP User Agent

_No response_

### HTTP Referrer

_No response_

### Notes

_No response_

### Contributing Guide

- [x] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)
Repository: terminal
Issue: Emulated terminal (Git Bash, CMD, PowerShell, IDE) freeze when inserting a symbol (@,-,`,',",...) when Using Terminal
Labels: Issue-Bug,Needs-Triage,Needs-Attention

### Windows Terminal version

1.21.3231.0

### Windows build number

10.0.26100.0

### Other Software

Git bash
Powershell 7.4.6
CMD

### Steps to reproduce

1. Open terminal.
2. Open a tab to emulated an installed terminal (Git Bash, CMD, PowerShell, IDE).
3. Try to use a symbol from keyboard (example using ssh to connect user@host).
4. Terminal freeze.
5. After 10 secs it will print the symbol and continue until a new symbol is pressed.

### Expected Behavior

Not freeze when writing.

### Actual Behavior

When I write something that use symbols the terminal emulated (Git Bash, CMD, PowerShell, IDE) is freeze, however I can go to settings without issue or interact with the window
Repository: PowerToys
Issue: Custom VPN
Labels: Needs-Triage

### Description of the new feature / enhancement

Hello,

I have other types of VPN which are not suppoerted by the built-in windows11 VPN. I really wish there would be a way to either link some excecutables so i can reach unsupported protocols, or just add more protocols to the built-in VPN. 

### Scenario when this would be used?

I dont want to open an app to connect to a VPN that loads forever, I just want to click on my command center, and join a VPN just like wifi.

### Supporting information

![Image](https://github.com/user-attachments/assets/3f17409e-fe43-411a-8579-8d7363ee1761) 

I meant this VPN button
Repository: vscode
Issue: Terminal Suggest Widget is cutoff when invoked from a maximized terminal
Labels: bug,terminal-suggest

Testing #238901

Repro Steps:
1. Close all other panels in vscode
2. Expand the terminal to be the only visible panel inside vscode and invoke the suggest widget
🐛
 ![Image](https://github.com/user-attachments/assets/5f647362-6337-4abd-8c81-b1de68213942)
Repository: PowerToys
Issue: Add App Exclusion Option for Shortcut Remappings
Labels: Needs-Triage

### Description of the new feature / enhancement

It would be incredibly helpful to have the option to exclude specific apps from being affected by certain shortcut remappings. For example, If a global shortcut remap conflicts with the functionality of a particular app, users could specify that this app should ignore the remap entirely.

### Scenario when this would be used?

There are scenarios where a globally remapped shortcut interferes with app-specific features or workflows. Allowing exclusions would provide greater flexibility and avoid these conflicts, enhancing both user experience and productivity.

### Supporting information

I use compact keyboard layouts (<60%) to minimize finger and hand travel while typing. To achieve this, I’ve created custom ‘layers’ around the 'home row keys'. For example, I’ve remapped **Ctrl + L** to produce the _%_ character.
This setup is incredibly efficient for my workflow since I code and type extensively. However, I also work in the digital audio workstation Ableton, where **Ctrl + L** is a frequently used shortcut essential to the workflow. Unfortunately, this shortcut cannot be remapped within Ableton itself.
Currently, to avoid conflicts, I have to disable PowerToys Keyboard Manager entirely whenever I use Ableton. While this workaround is functional, it’s far from ideal, as switching between apps becomes tedious—my custom shortcuts are unavailable while Keyboard Manager is disabled.
Adding the ability to exclude specific apps from shortcut remappings would solve this issue elegantly, enabling seamless transitions between different workflows without compromising productivity.
Repository: pytorch
Issue: [binary builds] Anaconda. Remove dependency on conda libuv module in MacOS and Windows nightly builds
Labels: oncall: releng,topic: binaries

### 🐛 Describe the bug

Related to: https://github.com/pytorch/pytorch/issues/138506

In Windows and MacOS wheel builds we use libuv as build time dependency.

In Windows we use lubuv during nightly build:
.ci/pytorch/windows/condaenv.bat

On MacOS :
.ci/wheel/build_wheel.sh
.github/requirements/conda-env-macOS-ARM64

This package is available via conda : https://anaconda.org/anaconda/libuv
And not available via pip install.  

As the first step in refactoring workflow that dependent on conda we want to refactor the code to use different install method for this package. Maybe installing via download https://github.com/libuv/libuv#downloading ? If possible one should try to use same method of installation that would work in Windows and MacOS.

### Versions

2.7.0