id int64 393k 2.82B | repo stringclasses 68
values | title stringlengths 1 936 | body stringlengths 0 256k ⌀ | labels stringlengths 2 508 | priority stringclasses 3
values | severity stringclasses 3
values |
|---|---|---|---|---|---|---|
2,458,793,905 | ollama | AirLLM integration? | I'd love to see the addition/support of [AirLLM](https://github.com/lyogavin/airllm) in ollama, as it can massively decrease the needed amount of vram to run large models. | feature request | medium | Critical |
2,458,801,854 | TypeScript | autoimports crashes with aliased export | found while working on #59582.
search terms: autoimports, module augmentation, alias, export list, mergeSymbol
### 💻 Code
fourslash test:
```ts
/// <reference path="fourslash.ts" />
// @module: nodenext
// @Filename: /node_modules/@sapphire/pieces/index.d.ts
//// interface Container {
//// stores: unknown;
//// }
////
//// declare class Piece {
//// container: Container;
//// }
////
//// export { Piece, type Container as Alias };
// @FileName: /augmentation.ts
//// declare module "@sapphire/pieces" {
//// interface Alias {
//// client: unknown;
//// }
//// }
// @Filename: /index.ts
//// import { Piece } from "@sapphire/pieces";
//// class FullPiece extends Piece {
//// /*1*/
//// }
const preferences = {
includeCompletionsWithClassMemberSnippets: true,
includeCompletionsWithInsertText: true,
};
verify.completions({
marker: "1",
includes: [
{
name: "container",
insertText: "container: Alias;",
filterText: "container",
hasAction: true,
source: "ClassMemberSnippet/",
},
],
preferences,
isNewIdentifierLocation: true,
});
verify.applyCodeActionFromCompletion("1", {
name: "container",
source: "ClassMemberSnippet/",
description: `Includes imports of types referenced by 'container'`,
newFileContent: `import { Alias, Piece } from "@sapphire/pieces";
class FullPiece extends Piece {
}`,
preferences,
});
```
### 🙁 Actual behavior
```
tests/cases/fourslash/autoImportCompletionExportListAugmentation5.ts
fourslash test autoImportCompletionExportListAugmentation5.ts runs correctly:
Error: Debug Failure. False expression.
at Object.addImportFromExportedSymbol (src\services\codefixes\importFixes.ts:300:19)
at C:\TypeScript\src\services\codefixes\helpers.ts:947:38
at Array.forEach (<anonymous>)
at importSymbols (src\services\codefixes\helpers.ts:947:13)
at Object.addNewNodeForMemberSymbol (src\services\codefixes\helpers.ts:231:21)
at getEntryForMemberCompletion (src\services\completions.ts:2055:13)
at createCompletionEntry (src\services\completions.ts:1807:39)
at getCompletionEntriesFromSymbols (src\services\completions.ts:2678:23)
at completionInfoFromData (src\services\completions.ts:1334:25)
at Object.getCompletionsAtPosition (src\services\completions.ts:764:30)
at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (src\services\services.ts:2231:28)
at Function.proxy.<computed> [as getCompletionsAtPosition] (src\harness\fourslashImpl.ts:480:61)
at _TestState.getCompletionListAtCaret (src\harness\fourslashImpl.ts:1794:37)
at _TestState.verifyCompletionsWorker (src\harness\fourslashImpl.ts:1014:40)
at _TestState.verifyCompletions (src\harness\fourslashImpl.ts:1008:25)
at Verify.completions (src\harness\fourslashInterfaceImpl.ts:269:31)
at eval (autoImportCompletionExportListAugmentation5.js:28:8)
at runCode (src\harness\fourslashImpl.ts:4698:9)
at runFourSlashTestContent (src\harness\fourslashImpl.ts:4669:5)
at runFourSlashTest (src\harness\fourslashImpl.ts:4652:5)
at Context.<anonymous> (src\testRunner\fourslashRunner.ts:59:39)
at processImmediate (node:internal/timers:478:21)
```
### 🙂 Expected behavior
no crash! :D
| Bug,Crash,Fix Available,Domain: Auto-import | low | Critical |
2,458,814,770 | kubernetes | Memory EmptyDir tmpfs size capped at 100% of node RAM size, not SizeLimit as specified | ### What happened?
I have a bit of an odd use case -- running a Kubernetes 1.29 cluster with NodeSwap enabled on AWS. The EC2 nodes have swap memory enabled on attached SSDs, and have successfully been able to utilize the swap (allocate/use more memory than RAM) when running pods in production.
On Linux, tmpfs I believe is typically able to be allocated to sizes larger than RAM, and in the cases where swap is present the files in tmpfs will be swapped out.
When configuring an EmptyDir backed by memory, I set a limit equal to the node's RAM + swap for a pod (say, 150GB). Upon exec'ing into the pod, I noticed that the size of the tmpfs corresponding to the EmptyDir was capped at the node's RAM size (say, 50GB). There does not seem to be a way to enable EmptyDir sizes greater than node RAM sizes, which is limiting for some of our applications which choose to use RAM via writing to tmpfs. It would be preferable to have no limit on EmptyDir memory size, and allow the pod to be evicted/killed if RAM + swap (or just RAM) is exhausted.
### What did you expect to happen?
The size of the EmptyDir would be equal to the specified size in the configuration file, as opposed to being capped to the amount of physical RAM on the node.
### How can we reproduce it (as minimally and precisely as possible)?
1. Spin up a cluster with NodeSwap Enabled
2. Enable some amount of swap on a node (say, 10GB)
3. Create a pod with a memory-backed EmptyDir with SizeLimit == Node's RAM + 10GB (swap size). Configure no RAM limit on the pod.
4. Verify that EmptyDir presents in pod as tmpfs capped at Node's RAM size, not RAM + Swap size.
### Anything else we need to know?
Thank you for taking a look!
### Kubernetes version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:49:13Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"29+", GitVersion:"v1.29.6-eks-db838b0", GitCommit:"c978c80de3b482f1f425d408772311592917aa4e", GitTreeState:"clean", BuildDate:"2024-06-27T19:09:52Z", GoVersion:"go1.21.11", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.29) exceeds the supported minor version skew of +/-1
### Cloud provider
AWS EKS
### OS version
Nodes running recent version of Amazon Linux
### Install tools
<details>
</details>
### Container runtime (CRI) and version (if applicable)
<details>
</details>
### Related plugins (CNI, CSI, ...) and versions (if applicable)
<details>
</details>
| sig/node,kind/feature,triage/accepted | medium | Minor |
2,458,828,980 | stable-diffusion-webui | [Bug]: extensions 與 extranetworks 總是無法載入列表 | ### Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
### What happened?


### Steps to reproduce the problem
.
### What should have happened?
.
### What browsers do you use to access the UI ?
Google Chrome
### Sysinfo
.
### Console logs
```Shell
.
```
### Additional information
_No response_ | bug-report | low | Critical |
2,458,832,869 | rust | `tests/run-make/dump-ice-to-disk` is flakey on i686-mingw | I've seen multiple instances of dump-ice-to-disk failing on completely unrelated PRs, but it's completely non-obvious to me how it can fail non-deterministically.
- https://github.com/rust-lang/rust/pull/125642#issuecomment-2278407758
- `i686-mingw`: assertion `left == right` failed (left: 59, right: 60)
- https://github.com/rust-lang/rust/blob/730d5d4095a264ef5f7c0a0781eea68c15431d45/tests/run-make/dump-ice-to-disk/rmake.rs#L32
- https://github.com/rust-lang/rust/pull/128293#issuecomment-2254336988
- `i686-mingw`: assertion `left == right` failed (left: 61, right: 62)
- https://github.com/rust-lang/rust/blob/2b78d920964e1d70927bcd208529bda0e11120d0/tests/run-make/dump-ice-to-disk/rmake.rs#L55
- https://github.com/rust-lang/rust/pull/122362#issuecomment-2281276239 failed **twice**
- `i686-mingw`: assertion `left == right` failed (left: 60, right: 59)
- https://github.com/rust-lang/rust/blob/730d5d4095a264ef5f7c0a0781eea68c15431d45/tests/run-make/dump-ice-to-disk/rmake.rs#L76
- `i686-mingw`: assertion `left == right` failed (left: 60, right: 59)
- https://github.com/rust-lang/rust/blob/c9bd03cb724e13cca96ad320733046cbdb16fbbe/tests/run-make/dump-ice-to-disk/rmake.rs#L63
---
<details>
<summary>Past investigations</summary>
Update: see https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/getting.20.60Box.3Cdyn.20Any.3E.60.20as.20ICE.20message posted by @camelid:
> I'm getting the following ICE message during development of a PR:
>
> ```
> thread 'rustc' panicked at compiler/rustc_middle/src/ty/context.rs:3013:21:
> Box<dyn Any>
> stack backtrace:
> ```
>
> this line in my PR is
>
> ```
> bug!("No bound vars found for {}", self.hir().node_to_string(id))
> ```
>
> it turns out it displays the message correctly to stderr but not to the rustc-ice file
Is it possible that the test isn't flakey, but that our ICE dump actually regressed? cc @estebank and @nnethercote for diagnostic and ICE dumping in case you guys have any ideas.
Update 2: #128956 has the `Box<dyn Any>` symptom as well, it might not be limited to ICE dumps to files but also to stderr? Unclear at this moment.
```
thread 'rustc' panicked at compiler\rustc_codegen_llvm\src\context.rs:1138:21:
Box<dyn Any>
stack backtrace:
0: 0x7fffe0c051b0 - std::backtrace_rs::backtrace::dbghelp64::trace::h0891390128512157
```
Update 3: `Box<dyn Any>` seems to be a separate thing.
</details> | A-testsuite,A-diagnostics,T-compiler,O-windows-gnu,C-bug,D-diagnostic-infra,A-run-make | medium | Critical |
2,458,839,726 | godot | Invalid case for `PlaceHolder` & `UserData` in GDExtension function pointers | ### Tested versions
Godot 4.2 to master
### System information
all platforms
### Issue description
https://github.com/godotengine/godot/blob/88f3b5f9d52f740b24fabfb8bc01b8b7026ba279/core/extension/gdextension_interface.h#L2606-L2621
In `gdextension_interface.h`, functions `placeholder_script_instance_create` & `placeholder_script_instance_update` are incorrectly capitalized in their corresponding function pointer signatures (`GDExtensionInterfacePlaceHolderScriptInstanceCreate` & `GDExtensionInterfacePlaceHolderScriptInstanceUpdate`)
So `placeholder` in snake case becomes `PlaceHolder` in camelcase.
This is an issue when using automated tools that convert back the camelcase into snakecase (resulting in `place_holder_script_instance_create`, [for instance in Godot-Python](https://github.com/touilleMan/godot-python/blob/449c827ad6822fb00f586cab914d69ac316d9de9/src/godot/hazmat/gdnative_ptrs.pxd.j2#L139-L140))
Fortunately Godot displays a warning when `pythonscript_gdextension_get_proc_address` is used on an unknown function (`ERROR: Attempt to get non-existent interface function: place_holder_script_instance_create.`). But this is nevertheless an anoying footgun...
The fix would simply be to rename `PlaceHolder` -> `Placeholder`. This would obviously breaks any code using those methods (though fixing is trivial), I'm not aware of the policy concerning GDExtension compat but I guess this kind of break is only allowed when bumping minor version (so 4.3, or even 4.4 given 4.3 is right around the corner ^^).
### Steps to reproduce
n/a
### Minimal reproduction project (MRP)
n/a | bug,topic:gdextension | low | Critical |
2,458,868,039 | rust | Tracking Issue for Metrics Initiative | # The Metrics Initiative
This is a tracking issue for the **Metrics Initiative**. Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, please:
- Discuss the Metrics Initiative in the **zulip thread**: https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Metrics.20initiative, or
- Discuss the Metrics Initiative in the **internals thread**: https://internals.rust-lang.org/t/no-telemetry-in-the-rust-compiler-metrics-without-betraying-user-privacy/19275, or
- Open a **new dedicated issue** about the specific matter and label it suitably with https://github.com/rust-lang/rust/labels/A-metrics, then link back to this tracking issue.
**Please file dedicated issues for specific concerns that you wish to register**. Discussions or concerns become very hard to track on GitHub issues once they reach more than a couple of comments, and GitHub's UI will then collapse discussions.
## Context
* Vision Blogpost: https://estebank.github.io/rustc-metrics.html
* MCP: https://github.com/rust-lang/compiler-team/issues/679
* Related Zulip Conversations
* Council: https://rust-lang.zulipchat.com/#narrow/stream/392734-council/topic/Metrics.20Initiative.
* Compiler: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Metrics.20Initiative
* Compiler MCP discussion: https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Opt-in.20flag.20for.20absolute.20paths.20in.20diagnos.E2.80.A6.20compiler-team.23770
* Lang: https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Metrics
* WIP planning document: <https://hackmd.io/@yaah/rk7KEwW90>
## Motivation
Excerpt from the Council Zulip thread as summary (edited by me):
> We're envisioning three use cases for the Metrics Initiative:
> 1. Supporting feature development, e.g. answering specific questions such as when the old and new trait solvers diverge, or helping identify and resolve bugs.
> 2. Guiding improvements to User Experience, e.g. knowing which compiler errors are causing the most confusion or are hit the most frequently, focusing on improving those first, and verifying that the improvements help.
> 3. Improving perf feedback loops and insight, e.g. helping identify pathological edge cases, similar to work @nnethercote has done manually in the past
>
> We're focusing initially on the first use case since we see that as the most likely to have a significant impact.
> We want to get to the point where other contributors can leverage the metrics to answer their own questions while we continue to build up the supporting infrastructure.
>
> To do that, we'd like to gather specific use cases where people would like to leverage metrics and build the supporting infrastructure around those real-world needs
## Guiding Aims
- **Trust**: Do not violate the trust of our users
- **NO TELEMETRY, NO NETWORK CONNECTIONS**
- Emit metrics **locally**
- User information should **never leave their machine in an automated manner**; sharing their metrics should always be **opt-in**, **clear**, and **manual**.
- All of this information would only be stored on disk, with some minimal retention policy to avoid wasteful use of users’ hard drives
- **Feedback**: improving feedback loops to assist with iterative improvement within the project
- answer questions from real production environments in a privacy-preserving way
- improve legibility of rare or intermittent issues
- earlier warnings for ICEs and other major issues on nightly, improving the likelihood that we'd catch them before they hit stable.
- https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
- **Performance impact**
- leave no trace (minimize performance impact, particularly for default-enabled metrics)
- **Extensible**:
- it should be easy to add new metrics as needed
- Only add metrics as a way to answer a specific question in mind, with an explicitly documented rationale
- **User experience**:
- improving user experience of reporting issues to the project
- improving the user experience of using the compiler, measuring the impact of changes to user experience
## Suggested Use Cases
* https://github.com/rust-lang/rust/issues/129485 - **motivation**: to help the library team prioritize which features they should stabilize. Suggested by @Amanieu
## TODO
- [x] Inform project members of the initiative and gather real-world needs to build initial metrics infrastructure around
- [ ] Complete the metrics loop (e.g., design and implement tools to send metrics back to the project for analysis, tools to analyze metrics locally and notify users when issues we want insight into have been encountered, analyzing metrics in crater runs)
- [ ] Automated cleanup of metrics to prevent unbounded disk usage
## Concerns and Related Issues
- [ ] https://github.com/rust-lang/rust/issues/128594
- [ ] https://github.com/rust-lang/rust/issues/129296
## Related Labels
- https://github.com/rust-lang/rust/labels/A-metrics for issues and PRs containing discussions, bugs, implementation work or are otherwise related to metrics.
- https://github.com/rust-lang/rust/labels/-Zmetrics-dir for the unstable metrics output directory flag.
## Implementation History
- #128702 | A-diagnostics,T-compiler,C-tracking-issue,D-diagnostic-infra,-Zmetrics-dir,A-metrics | low | Critical |
2,458,868,761 | rust | macro_rules: Fragment `vis` somehow matches token `[` despite no visibility modifier starting with/having such token | I tried this code:
```rust
macro_rules! makro {
(
$(
[ $( $fn_type: ident )* ]
)?
$fn_vis: vis
) => { };
}
makro! { [unsafe] pub }
```
I expected to see this happen: It compiles
Instead, this happened:
```
Compiling playground v0.0.1 (/playground)
error: local ambiguity when calling macro `makro`: multiple parsing options: built-in NTs vis ('fn_vis') or 1 other option.
--> src/lib.rs:13:10
|
13 | makro! { [unsafe] pub }
| ^
error: could not compile `playground` (lib) due to 1 previous error
```
`rustc --version --verbose`:
```
rustc 1.82.0-nightly (cefe1dcef 2024-07-22)
binary: rustc
commit-hash: cefe1dcef0e21f4d0c8ea856ad61c1936dfb7913
commit-date: 2024-07-22
host: x86_64-pc-windows-msvc
release: 1.82.0-nightly
LLVM version: 18.1.7
```
This also happens in stable Rust, playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b75389208cdb78680bab4ba33bb90efb
| A-macros,T-compiler,C-bug | low | Critical |
2,458,871,786 | godot | Animation Freezes When Played for First Time & AnimationTree Transition Does Not Work When Animation is Looping | ### Tested versions
Tested in Godot 4.2 stable and v4.3.rc3.mono.official [03afb92ef]
### System information
Windows 11, Gpu RX 6600, Cpu 10400, Godot v4.3.rc3.mono.official [03afb92ef]
### Issue description
- Animations do not play if looping is enabled for the rest animations
- There is a freeze that occurs just after playing the reload animation for the first time (more info on this below)
https://github.com/user-attachments/assets/d6ce6856-dd4c-42ce-80bd-30f96c16e4b7
### Steps to reproduce
1. Open up the attached MRP.
There will be 2 AnimationPlayer nodes. Currently the "arms_rest" and "assault_rifle_rest" are not set to be looping. We will get back to this later.
2. Play the game with F5.
Immediately press R to play the reload animation. Part of the animation will freeze for the first time playing but will not freeze after that. You should see the reload animation play on repeat.
Some observations about the freeze.
- Only the weapon animation freezes, the entire game did not freeze
- If you wait 10 seconds before playing the weapon reload animation then there will be no freezing to begin with
- The freeze happens every time the game starts up
This warning will appear in the console.
```
W 0:00:04:0825 _transition_to_next_recursive: AnimationNodeStateMachinePlayback: parameters/playback aborts the transition by detecting one or more looped transitions in the same frame to prevent to infinity loop. You may need to check the transition settings.
<C++ Source> scene/animation/animation_node_state_machine.cpp:918 @ _transition_to_next_recursive()
```
3. Close the game and set the "arms_rest" and "assault_rifle_rest" animations to be looping by clicking the looping icon in each AnimationPlayer node.

4. Play the game again with F5
Press R to play the reload animation and notice how the animations will not play at all. The same warning that appeared in console will appear again.
### Minimal reproduction project (MRP)
MRP is 27 mb and GitHub upload limit is 25 mb so MRP was uploaded to MediaFire.
https://www.mediafire.com/file/3e7p575esehewe1/MRP_AnimationTest.zip/file | topic:animation | low | Minor |
2,458,879,228 | PowerToys | Unable to type when using non-host trackpad to select textbox on the non-host device | ### Microsoft PowerToys version
0.83.0
### Installation method
GitHub
### Running as admin
None
### Area(s) with issue?
Mouse Without Borders
### Steps to reproduce
1. Connect a device (laptop in my case) to a host (desktop).
2. Using the laptop's trackpad select a textbox on the host device.
3. using the laptop's trackpad select a textbox on the laptop.
4. Attempt to type using the host device's keyboard.
### ✔️ Expected Behavior
No matter which devices pointer device is selected, ideally any keyboard should be able to type in the last selected textbox.
### ❌ Actual Behavior
Will not type until the host's pointer device is used to select the textbox on the client device.
### Other Software
_No response_ | Issue-Bug,Needs-Triage,Product-Mouse Without Borders | low | Minor |
2,458,888,301 | flutter | Using Platform Views simultaneously in multiple engines causes a crash. | ### Steps to reproduce
Steps to reproduce the crash using the Code sample:
1. Open the app and click the "Show" button in the top left corner to display a dialog.
2. Click the "push" button in the dialog to open a new page.
3. Click the "Back (Delay)" button in the top right corner.
4. A crash will occur at this point.
Another set of steps to reproduce the crash:
1. Open the app and click the "Show" button in the top left corner to display a dialog.
2. Click the "push" button in the dialog to open a new page.
3. Click the "Back" button in the top left corner to return to the previous page.
4. Click the "pop" button.
5. A crash will occur at this point.
My guess is: two engines use platform view at the same time. Removing one of the platform views and triggering a page update will cause the App to crash.
Our iOS app is experiencing a significant number of crashes in production.
We are using an EngineGroup in the native app, so multiple engines may exist simultaneously, and each engine may contain a Platform View.
We have identified that these crashes are caused by the use of Platform Views in the app. If we disable the Platform Views, the crashes disappear.
We are encountering crashes in various scenarios in our production app, such as:
* Using a video player implemented with Platform Views in multiple engines.
* Using charts or WebView implemented with Platform Views in multiple engines.
All of the above scenarios result in crashes.
I saw other similar issues, but I'm not sure if they are the same issue:
https://github.com/flutter/flutter/issues/94524
https://github.com/flutter/flutter/issues/144623
### Expected results
Don't crash
### Actual results
App crash
### Code sample
[crash_demo.zip](https://github.com/user-attachments/files/16568346/crash_demo.zip)
<details open><summary>Code sample</summary>
```swift
import UIKit
import Flutter
import FlutterPluginRegistrant
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
let flutterEngineGroup = FlutterEngineGroup(name: "abc", project: nil)
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = UIWindow()
let flutterEngine = flutterEngineGroup.makeEngine(with: nil)
GeneratedPluginRegistrant.register(with: flutterEngine);
let vc = FlutterViewController(engine: flutterEngine, nibName: nil, bundle: nil)
vc.navigationItem.leftBarButtonItem = UIBarButtonItem(title: "Show", style: .done, target: self, action: #selector(show))
let nc = UINavigationController(rootViewController: vc)
window?.rootViewController = nc
window?.makeKeyAndVisible()
return true
}
@objc func show() {
let flutterEngine = flutterEngineGroup.makeEngine(withEntrypoint: "entryPointB", libraryURI: nil)
GeneratedPluginRegistrant.register(with: flutterEngine);
let vc = FlutterViewController(engine: flutterEngine, nibName: nil, bundle: nil)
vc.view.backgroundColor = UIColor.clear
let methodChannel = FlutterMethodChannel(name: "com.example.flutter/native", binaryMessenger: vc.binaryMessenger)
methodChannel.setMethodCallHandler { [weak vc] (call: FlutterMethodCall, result: @escaping FlutterResult) -> Void in
if call.method == "close" {
vc?.dismiss(animated: false)
}
}
let nc = UINavigationController(rootViewController: vc)
nc.view.backgroundColor = UIColor.clear
nc.modalPresentationStyle = .overFullScreen
nc.navigationBar.isHidden = true
window?.rootViewController?.present(nc, animated: false)
}
}
```
```dart
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
import 'package:flutter/services.dart';
void main() => runApp(const MyApp());
void entryPointB() {
runApp(Page2());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Flutter Demo',
home: MyHomePage(title: 'First'),
);
}
}
class Page2 extends StatelessWidget {
const Page2({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const AppContainer(),
);
}
}
class AppContainer extends StatefulWidget {
const AppContainer({super.key});
@override
State<AppContainer> createState() => _AppContainerState();
}
class _AppContainerState extends State<AppContainer> {
var platform = const MethodChannel('com.example.flutter/native');
@override
void initState() {
super.initState();
Future.delayed(Duration.zero, () {
show();
});
}
show() {
showModalBottomSheet(
context: context,
isDismissible: false,
clipBehavior: Clip.hardEdge,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(top: Radius.circular(12.0)),
),
isScrollControlled: true,
enableDrag: false,
builder: (BuildContext context) {
return SizedBox(
width: 300,
height: 400,
child: Scaffold(
body: SafeArea(
child: Column(
children: [
MaterialButton(
child: const Text('pop'),
onPressed: () async {
Navigator.pop(context);
await Future.delayed(const Duration(seconds: 1));
platform.invokeMethod('close');
},
),
MaterialButton(
child: const Text('push'),
onPressed: () {
Navigator.push(
context, MaterialPageRoute(builder: (context) => const MyHomePage(title: 'Second')));
},
),
],
),
),
),
);
},
);
}
@override
Widget build(BuildContext context) {
return Container(color: Colors.transparent);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> with WidgetsBindingObserver {
bool _willPop = false;
var controller = WebViewController()
..setJavaScriptMode(JavaScriptMode.unrestricted)
..setBackgroundColor(const Color(0x00000000))
..setNavigationDelegate(
NavigationDelegate(
onProgress: (int progress) {
// Update loading bar.
},
onPageStarted: (String url) {},
onPageFinished: (String url) {},
onHttpError: (HttpResponseError error) {},
onWebResourceError: (WebResourceError error) {},
onNavigationRequest: (NavigationRequest request) {
if (request.url.startsWith('https://www.youtube.com/')) {
return NavigationDecision.prevent;
}
return NavigationDecision.navigate;
},
),
)
..loadRequest(Uri.parse('https://flutter.dev'));
void _pop() {
if (Platform.isIOS) {
setState(() {
_willPop = true;
});
Future.delayed(const Duration(milliseconds: 350), () {
Navigator.pop(context);
});
} else {
Navigator.pop(context);
}
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
actions: widget.title == 'Second'
? [
MaterialButton(
onPressed: _pop,
child: const Text('Back (Delay)'),
)
]
: null,
),
body: _willPop ? Container() : WebViewWidget(controller: controller),
);
}
}
```
</details>
### Screenshots or Video
<details open>
<summary>Screenshots / Video demonstration</summary>
https://github.com/user-attachments/assets/42f8e71c-79b7-4732-b9b0-23821031ff7e
https://github.com/user-attachments/assets/2d7d9634-3296-424d-b5ac-ea1b6c5553b0
</details>
### Logs
<details open><summary>Logs in Code sample</summary>
```console
[FATAL:flutter/fml/shared_thread_merger.cc(59)] Check failed: lease_term_ref > 0. lease_term should always be positive when merged, lease_term=0
```
</details>
<details open><summary>Logs collected by online users - Type 1</summary>
```console
Thread 0 name: com.apple.main-thread (cpu_usage: 0.00%)
libsystem_kernel.dylib ___psynch_cvwait (in libsystem_kernel.dylib)
libsystem_pthread.dylib __pthread_cond_wait$VARIANT$mp (in libsystem_pthread.dylib)
Flutter std::_fl::__libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) (in
Flutter std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) (in Flutter:condition_variable.cpp:46)
Flutter fml::ManualResetWaitableEvent::Wait() (in
Flutter flutter::PlatformView::NotifyCreated() (in Flutter:platform_view.cc:74)
Flutter -[FlutterViewController viewDidLayoutSubviews] (in Flutter:FlutterViewController.mm:1417)
UIKitCore -[UIView(CALayerDelegate) layoutSublayersOfLayer:] (in UIKitCore)
QuartzCore CA::Layer::layout_if_needed(CA::Transaction*) (in QuartzCore)
QuartzCore CA::Layer::layout_and_display_if_needed(CA::Transaction*) (in QuartzCore)
QuartzCore CA::Context::commit_transaction(CA::Transaction*, double, double*) (in QuartzCore)
QuartzCore CA::Transaction::commit() (in QuartzCore)
QuartzCore CA::Transaction::flush_as_runloop_observer(bool) (in QuartzCore)
CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)
CoreFoundation ___CFRunLoopDoObservers (in CoreFoundation)
CoreFoundation ___CFRunLoopRun (in CoreFoundation)
CoreFoundation _CFRunLoopRunSpecific (in CoreFoundation)
GraphicsServices _GSEventRunModal (in GraphicsServices)
UIKitCore -[UIApplication _run] (in UIKitCore)
UIKitCore _UIApplicationMain (in UIKitCore)
MyApp main (in MyApp:AppDelegate.swift:40)
dyld ((null))
```
</details>
<details open><summary>Logs collected by online users - Type 2</summary>
```console
Thread 0 name: com.apple.main-thread
libsystem_kernel.dylib ___pthread_kill (in libsystem_kernel.dylib)
libsystem_pthread.dylib _pthread_kill (in libsystem_pthread.dylib)
libsystem_c.dylib _abort (in libsystem_c.dylib)
Flutter fml::KillProcess() (in Flutter:logging.cc:221)
Flutter fml::LogMessage::~LogMessage() (in
Flutter fml::LogMessage::~LogMessage() (in Flutter:logging.cc:133)
Flutter std::_fl::__function::__alloc_func<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0, std::_fl::allocator<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0>, void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()[abi:v15000](std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&) (in
Flutter std::_fl::__invoke_void_return_wrapper<void, true>::__call<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0&, std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> > >(flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0&, std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >) (in
Flutter std::_fl::__invoke[abi:v15000]<flutter::Rasterizer::Draw(std::_fl::shared_ptr<std::_fl::__invoke[abi:v15000]::Pipeline<std::_fl::__invoke[abi:v15000]::FrameItem> > const&)::$_0&, std::_fl::unique_ptr<std::_fl::__invoke[abi:v15000]::Pipeline, std::_fl::default_delete<std::_fl::__invoke[abi:v15000]::Pipeline> > >(std::_fl::unique_ptr<std::_fl::__invoke[abi:v15000]::Pipeline, std::_fl::default_delete<std::_fl::__invoke[abi:v15000]::Pipeline> >&&, flutter::Rasterizer::Draw(std::_fl::shared_ptr<std::_fl::__invoke[abi:v15000]::Pipeline<std::_fl::__invoke[abi:v15000]::FrameItem> > const&)::$_0&) (in
Flutter flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >) const (in
Flutter flutter::Rasterizer::DoDraw(std::_fl::unique_ptr<flutter::FrameTimingsRecorder, std::_fl::default_delete<flutter::FrameTimingsRecorder> >, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask> >, std::_fl::allocator<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask> > > >) (in
Flutter fml::RasterThreadMerger::DecrementLease() (in
Flutter fml::SharedThreadMerger::DecrementLease(void*) (in
Flutter std::_fl::__function::__func<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0, std::_fl::allocator<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0>, void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&) (in Flutter:function.h:359)
Flutter flutter::Pipeline<flutter::FrameItem>::Consume(std::_fl::function<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)> const&) (in
Flutter std::_fl::function<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >) const (in
Flutter std::_fl::__function::__value_func<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()[abi:v15000](std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&) const (in
Flutter flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&) (in Flutter:rasterizer.cc:255)
Flutter std::_fl::__function::__alloc_func<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>, std::_fl::allocator<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0> >, void ()>::operator()[abi:v15000]() (in
Flutter std::_fl::__invoke_void_return_wrapper<void, true>::__call<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>&>(fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>&) (in
Flutter std::_fl::__invoke[abi:v15000]<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<fml::internal::CopyableLambda::Pipeline<fml::internal::CopyableLambda::FrameItem> >)::$_0>&, >(fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<fml::internal::CopyableLambda::Pipeline<fml::internal::CopyableLambda::FrameItem> >)::$_0>&, fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<fml::internal::CopyableLambda::Pipeline<fml::internal::CopyableLambda::FrameItem> >)::$_0>&) (in
Flutter fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>::operator()<>(&&) const (in
Flutter flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0::operator()() (in
Flutter std::_fl::__function::__func<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>, std::_fl::allocator<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0> >, void ()>::operator()() (in Flutter:function.h:359)
Flutter std::_fl::function<void ()>::operator()() const (in
Flutter std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const (in
Flutter fml::MessageLoopImpl::FlushTasks(fml::FlushType) (in Flutter:message_loop_impl.cc:126)
Flutter fml::MessageLoopImpl::RunExpiredTasksNow() (in
Flutter fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) (in Flutter:message_loop_darwin.mm:85)
CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
CoreFoundation ___CFRunLoopDoTimer (in CoreFoundation)
CoreFoundation ___CFRunLoopDoTimers (in CoreFoundation)
CoreFoundation ___CFRunLoopRun (in CoreFoundation)
CoreFoundation _CFRunLoopRunSpecific (in CoreFoundation)
GraphicsServices _GSEventRunModal (in GraphicsServices)
UIKitCore -[UIApplication _run] (in UIKitCore)
UIKitCore _UIApplicationMain (in UIKitCore)
MyApp main (in MyApp:AppDelegate.swift:40)
dyld start (in dyld)
```
</details>
<details open><summary>Logs collected by online users - Type 3</summary>
```console
Thread 0 name: com.apple.main-thread (cpu_usage: 0.00%)
libsystem_kernel.dylib ___psynch_rw_wrlock (in libsystem_kernel.dylib)
libsystem_pthread.dylib __pthread_rwlock_lock_wait (in libsystem_pthread.dylib)
libsystem_pthread.dylib __pthread_rwlock_lock_slow$VARIANT$mp (in libsystem_pthread.dylib)
Flutter fml::UniqueLock::UniqueLock(fml::SharedMutex&) (in
Flutter fml::UniqueLock::UniqueLock(fml::SharedMutex&) (in
Flutter fml::SyncSwitch::SetSwitch(bool) (in Flutter:sync_switch.cc:36)
Flutter flutter::Shell::SetGpuAvailability(flutter::GpuAvailability) (in Flutter:shell.cc:2264)
Flutter -[FlutterEngine setIsGpuDisabled:] (in Flutter:FlutterEngine.mm:1378)
Flutter -[FlutterEngine flutterDidEnterBackground:] (in Flutter:FlutterEngine.mm:1368)
CoreFoundation ___CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
CoreFoundation ____CFXRegistrationPost_block_invoke (in CoreFoundation)
CoreFoundation __CFXRegistrationPost (in CoreFoundation)
CoreFoundation __CFXNotificationPost (in CoreFoundation)
Foundation -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
UIKitCore ___47-[UIApplication _applicationDidEnterBackground]_block_invoke (in UIKitCore)
UIKitCore +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] (in UIKitCore)
UIKitCore -[UIApplication _applicationDidEnterBackground] (in UIKitCore)
UIKitCore ___101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2 (in UIKitCore)
UIKitCore __UIScenePerformActionsWithLifecycleActionMask (in UIKitCore)
UIKitCore ___101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke (in UIKitCore)
UIKitCore -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] (in UIKitCore)
UIKitCore -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] (in UIKitCore)
UIKitCore -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] (in UIKitCore)
UIKitCore ___186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke (in UIKitCore)
UIKitCore +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] (in UIKitCore)
UIKitCore __UISceneSettingsDiffActionPerformChangesWithTransitionContext (in UIKitCore)
UIKitCore -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] (in UIKitCore)
UIKitCore __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.578 (in UIKitCore)
UIKitCore -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] (in UIKitCore)
UIKitCore -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] (in UIKitCore)
UIKitCore -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] (in UIKitCore)
FrontBoardServices -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] (in FrontBoardServices)
FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 (in FrontBoardServices)
FrontBoardServices -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] (in FrontBoardServices)
FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke (in FrontBoardServices)
libdispatch.dylib __dispatch_client_callout (in libdispatch.dylib)
libdispatch.dylib __dispatch_block_invoke_direct$VARIANT$mp (in libdispatch.dylib)
FrontBoardServices ___FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ (in FrontBoardServices)
FrontBoardServices -[FBSSerialQueue _targetQueue_performNextIfPossible] (in FrontBoardServices)
FrontBoardServices -[FBSSerialQueue _performNextFromRunLoopSource] (in FrontBoardServices)
CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (in CoreFoundation)
CoreFoundation ___CFRunLoopDoSource0 (in CoreFoundation)
CoreFoundation ___CFRunLoopDoSources0 (in CoreFoundation)
CoreFoundation ___CFRunLoopRun (in CoreFoundation)
CoreFoundation _CFRunLoopRunSpecific (in CoreFoundation)
GraphicsServices _GSEventRunModal (in GraphicsServices)
UIKitCore -[UIApplication _run] (in UIKitCore)
UIKitCore _UIApplicationMain (in UIKitCore)
MyApp main (in MyApp:AppDelegate.swift:40)
dyld ((null))
```
</details>
Full log (Deleted some business threads):
[Log1.txt](https://github.com/user-attachments/files/16568447/Log1.txt)
[Log2.txt](https://github.com/user-attachments/files/16568448/Log2.txt)
[Log3.txt](https://github.com/user-attachments/files/16568449/Log3.txt)
### Flutter Doctor output
<details open><summary>Doctor output</summary>
```console
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.92.1)
[✓] Connected device (5 available)
```
</details>
| c: crash,platform-ios,engine,a: existing-apps,a: platform-views,has reproducible steps,P2,c: fatal crash,team-ios,triaged-ios,found in release: 3.24 | low | Critical |
2,458,920,060 | opencv | Exceptions when not named parameters | ### System Information
Python version: 3.8.18
OpenCV python version: 4.10.0
Operating System / Platform: Windows-10-10.0.19045-SP0
### Detailed description
```
cv2.error: OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\deriv.cpp:104: error: (-211:One of the arguments' values is out of range) The kernel size must be odd and not larger than 31 in function 'cv::getSobelKernels'
```
### Steps to reproduce
```
import numpy as np
import cv2
src = (np.random.rand(10, 10, 1) * 256).astype(np.uint8)
blockSize = 3
kSize = 3
borderType = cv2.BORDER_DEFAULT
output = cv2.cornerMinEigenVal(src, blockSize, kSize, borderType)
```
In this case, it would be throw the exception.
but if use
```
output = cv2.cornerMinEigenVal(src=src, blockSize=blockSize, ksize=kSize, borderType=borderType)
```
it can be correct.
I think it is a bug or error.
### Issue submission checklist
- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc) | question (invalid tracker) | low | Critical |
2,458,950,170 | tensorflow | Issue with softmax warning appearing in Tensorflow 2.17.0 | ### TensorFlow version
2.17.0
### OS platform and distribution
Google Colab
### Current behavior?
Hi, everyone.
I am practicing implementing a Transformer model that machine translates English into Korean by reading TensorFlow guides and books. However, I am having trouble because an unknown UserWarning appears during the final translation process. In that issue, I've never used softmax before, but warning me about using it. This problem appears after the model has finished training and when making inferences.
I searched to see if there were any cases similar to mine, but it seems that no solution was found in any of them.
same issue: https://github.com/tensorflow/tensorflow/issues/67758
This problem did not exist in tensorflow 2.15 but appeared in 2.17.0. I can't even guess what could be causing it. For those of you who are curious about the full code, I am leaving a Colab link. You can easily reproduce it by running it with Ctrl + F9 in Google Colab. The execution time of the entire code is approximately 5 minutes ~ 5 minutes and 30 seconds on a T4 GPU. That issue is at the bottom.
Colab Link: https://colab.research.google.com/drive/1IMFWoJ1s5ReKU9LYENROpAsZ47D6cG8T?usp=sharing
The data I used is 'kor-eng.zip' located at "https://www.manythings.org/anki/".
I'm really sorry for not writing the comments in English.
### Standalone code to reproduce the issue
```shell
class Transformer(keras.Model):
def __init__(self, *, num_layers, encoder_sequence_length, decoder_sequence_length, source_vocab_size, target_vocab_size, embed_dim,
dense_dim, num_heads, dropout_rate):
super().__init__()
self.encoder = Encoder(num_layers=num_layers, sequence_length=encoder_sequence_length, input_dim=source_vocab_size, embed_dim=embed_dim,
dense_dim=dense_dim, num_heads=num_heads, dropout_rate=dropout_rate)
self.decoder = Decoder(num_layers=num_layers, sequence_length=decoder_sequence_length, input_dim=target_vocab_size, embed_dim=embed_dim,
dense_dim=dense_dim, num_heads=num_heads, dropout_rate=dropout_rate)
self.final_layer = tf.keras.layers.Dense(units=target_vocab_size)
def call(self, inputs):
encoder_inputs, decoder_inputs = inputs
encoder_pad_mask = tf.math.not_equal(encoder_inputs, 0)[:, tf.newaxis]
decoder_pad_mask = tf.math.not_equal(decoder_inputs, 0)[:, tf.newaxis]
decoder_sequence_length = tf.shape(decoder_inputs)[1]
causal_mask = tf.linalg.band_part(tf.ones((decoder_sequence_length, decoder_sequence_length), tf.bool), -1, 0)
encoder_inputs = self.encoder(inputs=encoder_inputs, encoder_pad_mask=encoder_pad_mask) # Shape: (batch_size, encoder_sequence_length, embed_dim)
decoder_inputs = self.decoder(inputs=decoder_inputs, encoder_outputs=encoder_inputs,
encoder_pad_mask=encoder_pad_mask, decoder_pad_mask=decoder_pad_mask,
causal_mask=causal_mask) # Shape: (batch_size, decoder_sequence_length, embed_dim)
logits = self.final_layer(decoder_inputs) # Shape: (batch_size, decoder_sequence_length, target_vocab_size)
try:
# losses/metrics가 커지지 않게 keras_mask를 제거
del logits._keras_mask
except AttributeError:
pass
return logits
class Translator(tf.Module):
# 데이터 전처리 함수
@staticmethod
def preprocess_text(text_: str, max_repeat: int=2) -> str:
"""텍스트 문자열 중 일부 규칙적인 부분을 전처리 하는 함수
Args:
text_: 텍스트 문자열 -> str
max_repeat: 똑같은 문자열이 연속해서 반복할 수 있는 최대 횟수 -> int
Returns:
text_: 전처리 된 텍스트 문자열 -> str
"""
text_ = text_.lower()
text_ = re.sub(pattern=rf"[^\w\s{string.punctuation}]", repl=r"", string=text_)
text_ = re.sub(pattern=r"\?+", repl=r"?", string=text_) # ?가 2번 이상 연속되면 ?로 수정
text_ = re.sub(pattern=r"\!+", repl=r"!", string=text_) # !가 2번 이상 연속되면 !로 수정
text_ = re.sub(pattern=r"(?P<char>\D)(?P=char){" + str(max_repeat - 1) + r",}", repl=r"\g<char>" * max_repeat, string=text_) # 숫자가 아닌 똑같은 문자열이 repeat번 이상 연속되면 repeat만큼으로 수정
text_ = re.sub(pattern=r"\.{2,}", repl=r"...", string=text_) # ..을 ...으로 변경
text_ = re.sub(pattern=r"\.\.\.(?P<s>\w)", repl=r"... \g<s>", string=text_) # 띄어쓰기 교정
text_ = re.sub(pattern=r"\s+", repl=" ", string=text_)
# 영어 축약형을 풀기
# 's 축약은 is / has 또는 아예 소유격으로 가능해서 제외
# 'd 축약은 had / would / could 등으로 가능해서 제외
# 'll 축약은 shall / will로 가능해서 제외
text_ = re.sub(pattern=r"\bi'm\b", repl=r"i am", string=text_)
text_ = re.sub(pattern=r"\b(?P<subj>you|we|they|there|who|when|where|what|how|why)'re\b", repl=r"\g<subj> are", string=text_)
text_ = re.sub(pattern=r"\b(?P<verb>is|are|was|were|do|does|did|have|has|had|must|should|may|might|could|would|ought|dare|need)n't\b", repl=r"\g<verb> not", string=text_)
text_ = re.sub(pattern=r"\bwon't\b", repl=r"will not", string=text_)
text_ = re.sub(pattern=r"\bcan't\b", repl=r"can not", string=text_)
text_ = re.sub(pattern=r"\bshan't\b", repl=r"shall not", string=text_)
text_ = re.sub(pattern=r"\b(?P<subj>i|you|they|we|should|could|would|must|not)'ve\b", repl=r"\g<subj> have", string=text_)
text_ = text_.strip()
return text_
# tensorflow의 바이트 문자열 데이터 전처리 함수
@tf.function
def tf_preprocess_text(text_: tf.string, max_repeat: int=2) -> tf.string:
"""텍스트 문자열 중 일부 규칙적인 부분을 전처리 하는 함수
Args:
text_: 바이트 문자열 -> tf.string
max_repeat: 똑같은 문자열이 연속해서 반복할 수 있는 최대 횟수 -> int
Returns:
text_: 전처리 된 바이트 문자열 -> tf.string
"""
text_ = tf.strings.lower(input=text_)
text_ = tf.strings.regex_replace(input=text_, pattern=rf"[^\w\s{string.punctuation}]", rewrite=r"")
text_ = tf.strings.regex_replace(input=text_, pattern=r"\?+", rewrite=r"?") # ?가 2번 이상 연속되면 ?로 수정
text_ = tf.strings.regex_replace(input=text_, pattern=r"\!+", rewrite=r"!") # !가 2번 이상 연속되면 !로 수정
# 숫자가 아닌 똑같은 문자열이 repeat번 이상 연속되면 repeat만큼으로 수정
stacks = tf.TensorArray(dtype=tf.string, size=0, dynamic_size=True)
for s in tf.strings.bytes_split(text_):
if stacks.size() >= max_repeat:
if tf.strings.regex_full_match(input=s, pattern=r"\D"):
back_s = stacks.gather(indices=tf.range(start=stacks.size() - max_repeat, limit=stacks.size(), delta=1))
if tf.math.reduce_all(back_s == s):
continue
stacks = stacks.write(stacks.size(), s)
text_ = tf.strings.reduce_join(inputs=stacks.stack())
text_ = tf.strings.regex_replace(input=text_, pattern=r"\.{2,}", rewrite=r"...") # ..을 ...으로 변경
text_ = tf.strings.regex_replace(input=text_, pattern=r"\.\.\.(\w)", rewrite=r"... \1") # 띄어쓰기 교정
text_ = tf.strings.regex_replace(input=text_, pattern=r"\s+", rewrite=r" ")
# 영어 축약형을 풀기
# 's 축약은 is / has 또는 아예 소유격으로 가능해서 제외
# 'd 축약은 had / would / could 등으로 가능해서 제외
# 'll 축약은 shall / will로 가능해서 제외
text_ = tf.strings.regex_replace(input=text_, pattern=r"\bi'm\b", rewrite=r"i am")
text_ = tf.strings.regex_replace(input=text_, pattern=r"\b(you|we|they|there|who|when|where|what|how|why)'re\b", rewrite=r"\1 are")
text_ = tf.strings.regex_replace(input=text_, pattern=r"\b(is|are|was|were|do|does|did|have|has|had|must|should|may|might|could|would|ought|dare|need)n't\b", rewrite=r"\1 not")
text_ = tf.strings.regex_replace(input=text_, pattern=r"\bwon't\b", rewrite=r"will not")
text_ = tf.strings.regex_replace(input=text_, pattern=r"\bcan't\b", rewrite=r"can not")
text_ = tf.strings.regex_replace(input=text_, pattern=r"\bsha't\b", rewrite=r"shall not")
text_ = tf.strings.regex_replace(input=text_, pattern=r"\b(i|you|they|we|should|could|would|must|not)'ve\b", rewrite=r"\1 have")
text_ = tf.strings.strip(input=text_)
return text_
def __init__(self, source_tokenizer, target_tokenizer, target_length, model):
super().__init__()
self.source_tokenizer = source_tokenizer
self.target_tokenizer = target_tokenizer
self.target_length = target_length
self.model = model
def __call__(self, sentence):
sentence = Translator.tf_preprocess_text(text_=sentence)
sentence_token = self.source_tokenizer.tokenize(sentence)[tf.newaxis]
encoder_input = sentence_token
starts = tf.constant(2, dtype=tf.int32)[tf.newaxis]
ends = tf.constant(3, dtype=tf.int32)[tf.newaxis]
decoder_token = tf.TensorArray(dtype=tf.int32, size=0, dynamic_size=True)
decoder_token = decoder_token.write(0, starts)
for i in tf.range(self.target_length):
decoder_input = tf.transpose(decoder_token.stack())
predictions = self.model([encoder_input, decoder_input], training=False)
predictions = predictions[0, -1, :] # 마지막 토큰으로부터 예측
predicted_id = tf.argmax(input=predictions, output_type=tf.int32)[tf.newaxis]
if predicted_id == ends:
break
decoder_token = decoder_token.write(i + 1, predicted_id)
decoder_token = tf.transpose(decoder_token.stack())[0]
decoder_token = decoder_token[1:]
return self.target_tokenizer.detokenize(decoder_token)
```
### Relevant log output
```shell
/usr/local/lib/python3.10/dist-packages/keras/src/ops/nn.py:545: UserWarning: You are using a softmax over axis 3 of a tensor of shape (1, 8, 1, 1). This axis has size 1. The softmax operation will always return the value 1, which is likely not what you intended. Did you mean to use a sigmoid instead?
warnings.warn(
English: tom came here to learn french.
Translated Korean: 톰은 프랑스어를 배우러 여기에 왔어.
Real Korean: <s> 톰은 프랑스어를 배우려고 여기에 왔어. </s>
```
| type:bug,2.17 | low | Critical |
2,458,998,708 | flutter | [version 3.24] ThemeData's hintColor not working in TextField, which was working in version 3.22.x | ### Steps to reproduce
ThemeData(
hintColor: Colors.red,
### Expected results
TextField's hint text color is read, as in previous version
### Actual results
TextField's hint text color seems white
### Code sample
<details open><summary>Code sample</summary>
```dart
[Paste your code here]
```
</details>
### Screenshots or Video
<details open>
<summary>Screenshots / Video demonstration</summary>
[Upload media here]
</details>
### Logs
<details open><summary>Logs</summary>
```console
[Paste your logs here]
```
</details>
### Flutter Doctor output
<details open><summary>Doctor output</summary>
```console
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.22631.3880], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2024.1)
[√] IntelliJ IDEA Community Edition (version 2024.2)
[√] VS Code, 64-bit edition (version 1.91.1)
[√] Connected device (4 available)
[√] Network resources
```
</details>
| a: text input,c: regression,framework,f: material design,has reproducible steps,P2,team-text-input,triaged-text-input,found in release: 3.24 | low | Major |
2,459,001,478 | node | sqlite async API | Provide an async API to our sqlite bindings. In order to avoid blocking the event loop on lookups that require IO. | sqlite | low | Minor |
2,459,005,823 | godot | Translations GetText - Inherited scenes (control derived) won't have their text property string added to POT file | ### Tested versions
Godot Engine v4.2.2.stable.official.15073afe3
### System information
Godot v4.2.2.stable - Linux Mint 21.3 (Virginia) - X11 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1060 6GB (nvidia; 545.29.06) - 12th Gen Intel(R) Core(TM) i5-12600K (16 Threads)
### Issue description
First of all, I'm talking about a case where no scripts is attached to any node.
A node which is not saved as a scene or a node saved as a scene without inheriting another scene do have their translations strings generated by the POT generator.
But a scene which inherits a saved scene won't have any strings generated.
As such, in the latter case there are scenes which can't be translated.
### Steps to reproduce
Create a VboxContainer named Main, save it as main.tscn, set it as the main scene to run.
Add its children:
- A button. Set its text property to: Normal Button
- A button saved as a scene named ButtonBase saved as button_base.tscn. Set its text property to: Button Base Scene
- A scene inherited from ButtonExtended saved as button_extended.tscn. Set its text property to: Button Extended from Button Base scene
Project Settings -> Localization -> POT Generation -> Add...
- main.tscn
- button_base.tscn
- button_extended.tscn
Generate POT file -> "translations.pot"
Open translations.pot with a text editor.
### Minimal reproduction project (MRP)
[get-text-inherited-scene.zip](https://github.com/user-attachments/files/16569075/get-text-inherited-scene.zip) | bug,topic:gui | low | Minor |
2,459,011,090 | ui | [bug]: Development mode warnings | ### Describe the bug
There are some warnings which occurred during developing the application.

### Affected component/components
N/A
### How to reproduce
1. Go to root directory
2. Run `pnpm dev`
### Codesandbox/StackBlitz link
https://github.com/shadcn-ui/ui
### Logs
```bash
www:dev: └── 14 documents contain field data which didn't match the structure defined in the document type definition. (Skipping documents)
www:dev:
www:dev: • "docs/changelog.mdx" of type "Doc" has the following incompatible fields:
www:dev: • toc: "false\r"
www:dev: • "docs/components/alert.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/badge.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/button.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/card.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/chart.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/combobox.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/date-picker.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/input.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/pagination.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/skeleton.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/table.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/textarea.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
www:dev: • "docs/components/typography.mdx" of type "Doc" has the following incompatible fields:
www:dev: • component: "true\r"
```
### System Info
```bash
Win 10
Chrome
```
### Before submitting
- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues | bug | low | Critical |
2,459,012,049 | ollama | Install Ollama with Winget on Windows | Installing Ollama with winget is working perfectly, however not documented in the README.md

| feature request,windows | low | Minor |
2,459,012,891 | godot | SpinBox not setting the visibility layer of its inner line edit | ### Tested versions
- Reproducible in v4.2.1.stable.mono.official [b09f793f5]
### System information
Windows 10 - Godot v4.2.1.stable.mono.official [b09f793f5]
### Issue description
A SpinBox's `visibility_layer` does not get copied to the inner LineEdit, so changing the viewport's canvas cull mask to not have the default layer bit set hides the line edit.
I found a workaround where I attach a script to the node with the following code:
```gdscript
extends SpinBox
func _ready():
get_line_edit().visibillity_layer = visibility_layer
```
### Steps to reproduce
- Create a new SpinBox scene
- Edit the SpinBox's visibility layer to have bits 1 and 2 set
- Change the root viewport's canvas cull mask to have only bit 2 set
### Minimal reproduction project (MRP)
[spinbox-visibility-layer-bug.zip](https://github.com/user-attachments/files/16569104/spinbox-visibility-layer-bug.zip)
Starting the project and pressing the enter key toggles the root viewport's canvas cull mask between having only layer 1 and having only layer 2 visible. | enhancement,discussion,topic:gui | low | Critical |
2,459,025,238 | ant-design | Additional Properties for MenuItem | ### What problem does this feature solve?
I want to use the Menu component in ways, where I generate items based on other data and have custom actions, that should happen, when such an item is clicked.
The natural way for me, would be to assign an action handler (or click handler) to each item. This handler could be called from the onClick method of menu component since it passes the item.
The problem is that the MenuItem does not support additional properties (TS throws an error about this). I think it would be nice to either be able to add arbitrary properties to MenuItem or to make Menu component generic and pass type of menu item as generic parameter. I guess that the solution with arbitrary additional fields is very easy to implement and does not have any danger of breaking other functionality.
The current workaround is to cast to "any", which is OK but not so nice. Another workaround is to maintain a separate index for metadata based on item key and then retrieve this data in the onClick handler. But all of this is rather extra code.
### What does the proposed API look like?
Add { [key:string]: any} or { onClick: ({ item, key, keyPath, domEvent }) => void } to the MenuItem
<!-- generated by ant-design-issue-helper. DO NOT REMOVE --> | Inactive,improvement | low | Critical |
2,459,026,659 | flutter | Flutter create bundle identifier should be the same across all platforms | ### Steps to reproduce
1. `flutter create --org ch.2221 test_flutter_bundle_id`
2. Observe the different bundle ids being created
### Expected results
`flutter create` should throw an error, or at least warn of this behaviour. It should not, in my opinion, create different bundle ids. This has significantly impacted my app, and I cannot change it since this would mean delisting from the App Store and relisting.
### Actual results
The bundle ids are different:
- iOS: `ch.2221.testFlutterBundleId`
- macOS: `ch.2221.testFlutterBundleId`
- linux: `ch.u2221.test_flutter_bundle_id`
- Android: `ch.u2221.test_flutter_bundle_id`
[This is because iOS and macOS allows segments to start with a digit, but don't allow underscores.](https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/create_base.dart#L675)
[android does not allow segments to start with a digit but allow underscores.](https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/create_base.dart#L637)
Linux seems to use Android's bundle id.
### Code sample
No code sample, this is for the CLI.
### Screenshots or Video
<details open>
<summary>Screenshots / Video demonstration</summary>
https://github.com/user-attachments/assets/df3ca45e-a9ba-4970-9dc5-73083b785177
</details>
### Logs
<details open><summary>Logs</summary>
```console
manaf@Cooper.local:~/Developer $ flutter create --org ch.2221 test_flutter_bundle_id
Developer identity "Apple Development: Manaf Mhamdi Alaoui (0000000000)" selected for iOS code signing
Creating project test_flutter_bundle_id...
Resolving dependencies in `test_flutter_bundle_id`...
Downloading packages...
Got dependencies in `test_flutter_bundle_id`.
Wrote 129 files.
All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev
In order to run your application, type:
$ cd test_flutter_bundle_id
$ flutter run
Your application code is in test_flutter_bundle_id/lib/main.dart.
manaf@Cooper.local:~/Developer $ cd test_flutter_bundle_id/
manaf@Cooper.local:~/Developer/test_flutter_bundle_id $ grep -r 2221 ios
ios/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId;
ios/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId.RunnerTests;
ios/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId.RunnerTests;
ios/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId.RunnerTests;
ios/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId;
ios/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId;
manaf@Cooper.local:~/Developer/test_flutter_bundle_id $ grep -r 2221 macos
macos/Runner/Configs/AppInfo.xcconfig:PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId
macos/Runner/Configs/AppInfo.xcconfig:PRODUCT_COPYRIGHT = Copyright © 2024 ch.2221. All rights reserved.
macos/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId.RunnerTests;
macos/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId.RunnerTests;
macos/Runner.xcodeproj/project.pbxproj: PRODUCT_BUNDLE_IDENTIFIER = ch.2221.testFlutterBundleId.RunnerTests;
manaf@Cooper.local:~/Developer/test_flutter_bundle_id $ grep -r 2221 android
android/app/build.gradle: namespace = "ch.u2221.test_flutter_bundle_id"
android/app/build.gradle: applicationId = "ch.u2221.test_flutter_bundle_id"
android/app/src/main/kotlin/ch/u2221/test_flutter_bundle_id/MainActivity.kt:package ch.u2221.test_flutter_bundle_id
manaf@Cooper.local:~/Developer/test_flutter_bundle_id $ grep -r 2221 linux
linux/CMakeLists.txt:set(APPLICATION_ID "ch.u2221.test_flutter_bundle_id")
```
</details>
### Flutter Doctor output
<details open><summary>Doctor output</summary>
Redacted some irrelevant stuff for privacy.
```console
[!] Flutter (Channel stable, 3.22.0, on macOS 14.6 23G80 darwin-arm64, locale fr-CH)
• Flutter version 3.22.0 on channel stable at /Users/manaf/flutter-install-directory
! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.4.4/libexec/bin/dart, which is not inside your current Flutter
SDK checkout at /Users/manaf/flutter-install-directory. Consider adding /Users/manaf/flutter-install-directory/bin to the front of
your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5dcb86f68f (3 months ago), 2024-05-09 07:39:20 -0500
• Engine revision f6344b75dc
• Dart version 3.4.0
• DevTools version 2.34.3
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update
checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/manaf/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.92.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (5 available)
• srx (mobile) • 00000000-0000000000000000 • ios • iOS 17.4.1 21E236
• Blåhaj (mobile) • 00000000-0000000000000000 • ios • iOS 18.1 22B5007p
• macOS (desktop) • macos • darwin-arm64 • macOS 14.6 23G80 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.6 23G80 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.100
! Error: Browsing on the local area network for La ne-zo est quadrillee. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for Mogis. Ensure the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
```
</details>
| tool,c: proposal,P2,team-tool,triaged-tool | low | Critical |
2,459,045,588 | rust | Happens-before relationship between wake and poll | ### Location
Probably here https://doc.rust-lang.org/std/task/struct.RawWakerVTable.html
### Summary
Is it safety invariant of executor to provide happens-before relationship between wake and poll? If not, is it a logical one? Or futures must not rely on that? But if there is no happens-before relationship, then data might be missed.
Related discussion: https://users.rust-lang.org/t/must-async-executor-provide-happens-before-relationship/114861?u=ddystopia
There are opposite answers that indicates that community is not really sure what is the answer to that question.
Also related [discord question](https://discord.com/channels/273534239310479360/932329954492948601/1264864768939004058) with answer in favor of requiring happens-before relationship | T-libs-api,A-docs,C-discussion,WG-async | low | Major |
2,459,051,983 | godot | AudioStreamInteractive doesn't update `AudioStreamPlayer.parameters/switch_to_clip` dropdown when edited | ### Tested versions
Found in 4.3-rc3, reasonable to assume exists in all prior versions with `AudioStreamInteractive`
### System information
Linux Pop!_OS - Godot v4.3-rc3
### Issue description
When modifying an AudioStreamInteractive, such that a stream is added, removed, or renamed, the "Switch to clip" dropdown in the AudioStreamPlayer which holds the AudioStreamInteractive will remain in the same state it was in when the AudioStreamInteractive was loaded. Reloading the scene updates the dropdown.
### Steps to reproduce
Create a new AudioStreamPlayer, add an AudioStreamInteractive resource to it, then add a stream, change the name of a stream, or otherwise modify the stream data, then select the AudioStreamPlayer's parameters, and open the "Switch to Clip" dropdown. The dropdown will be in a state identical to that which it was in when first loaded into the scene.
### Minimal reproduction project (MRP)
N/A | bug,topic:editor,topic:audio | low | Minor |
2,459,052,826 | vscode | Search Editor Progress Bar Animates Endlessly After Search Completed (intermittent) | <!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes
<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.92.1 Commit eaa41d57266683296de7d118f574d0c2652e1fc4
- OS Version: macOS Sonoma 14.6.1 (23G93)
Steps to Reproduce:
1. Perform a search using the [VS Code Search Editor](https://code.visualstudio.com/docs/editor/codebasics#_search-editor)
2. Intermittent: Blue progress bar / indicator animates endlessly, even after search is completed (I have not yet identified a pattern for which search terms trigger this) - almost like hanging behavior, but everything is still responsive.
3. Reloading the editor using "Developer: Reload Window" causes the problem to disappear
Blue progress bar indicator:

https://github.com/user-attachments/assets/dcacab77-5e07-4c7a-b0d1-d0b3a2dbad51
Search pattern (invalid regular expression):
```
pageTitle: '([^']+)',\n.+)
```
Fixing the invalid regular expression problem does not make the problem go away:
https://github.com/user-attachments/assets/343dade1-9cc8-4f02-8e6a-3f2cb1abefd4
This is not a new problem - this has been happening (intermittently) since shortly after the Search Editor was introduced.
cc @andreamah @rzhao271 @roblourens @JacksonKearl | bug,search,confirmed | low | Critical |
2,459,055,097 | rust | Missing optimization for interger `modulo` operation in `loop` edge case | `rust` and `c` can't optimize code like this when `modulo` is larger than `100` and is not `power of 2` but `cpp` can:
```rust
fn modulo() {
let mut j = 0;
loop {
j = j + 1;
if j % modulo == 0 {
return;
}
}
}
```
`rust`: [godbolt link](https://godbolt.org/z/1qcn5TqTf)
`c`: [godbolt link](https://godbolt.org/z/8e4YnTGda)
`cpp`: [godbolt link](https://godbolt.org/z/aj71eEj9s) | A-LLVM,I-slow,A-codegen,T-compiler,C-optimization | low | Major |
2,459,056,123 | angular | Sidebar is not reacting to navigation correctly | ### Describe the problem that you experienced
- When I was on the page "Common Routing Task" (https://angular.dev/guide/routing/common-router-tasks#lazy-loading), I clicked the "Lazy Loading" (https://angular.dev/guide/ngmodules/lazy-loading).
- After navigation, the sidebar landed on the "References" part, not the most accurate "References/Concepts/NgModule/Lazy-loading feature modules"
- If I click backward, the sidebar will land on the top-level "Docs" part, not the more accurate "Docs/Routing/Common Routing Tasks"
### Enter the URL of the topic with the problem
https://angular.dev/guide/ngmodules/lazy-loading
### Describe what you were looking for in the documentation
_No response_
### Describe the actions that led you to experience the problem
_No response_
### Describe what you want to experience that would fix the problem
_No response_
### Add a screenshot if that helps illustrate the problem
https://github.com/user-attachments/assets/b0cccc4f-5cd3-4c7b-b3aa-88569cf8148c
### If this problem caused an exception or error, please paste it here
_No response_
### If the problem is browser-specific, please specify the device, OS, browser, and version
_No response_
### Provide any additional information here in as much as detail as you can
_No response_ | P3,area: docs-infra | low | Critical |
2,459,058,569 | PowerToys | 没有Rename!!! | ### Microsoft PowerToys version
0.83.0
### Installation method
Microsoft Store
### Running as admin
Yes
### Area(s) with issue?
PowerRename
### Steps to reproduce
打开Power Rename功能后的右键菜单栏里没有Power Rename的选项


### ✔️ Expected Behavior
右键菜单栏里有Power Rename的选项
### ❌ Actual Behavior
哪里都没有Power Rename的选项
### Other Software
_No response_ | Issue-Bug,Needs-Triage | low | Minor |
2,459,065,198 | vscode | 1.92 broke my exension "The task '<task name>' is already active" | <!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: No
<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.92.0-1.92.1
- OS Version: Ubuntu 24.04
Steps to Reproduce:
1. Install OpenDream extension https://github.com/OpenDreamProject/vscode-opendream
2. Create a folder with an empty file called `test.dme`
3. Launch
The OpenDream binaries are downloaded, and then this occurs:

The extension seemed to be working fine (and does so on my laptop still) but other computers (also linux based) are encountering the same bug. It is unclear why. | bug,tasks | low | Critical |
2,459,079,430 | rust | The codegen backend gets invoked even when we just generate MIR | I tried this code
```rust
#![allow(incomplete_features)]
#![feature(explicit_tail_calls)]
fn test() {
}
fn main() {
become test()
}
```
with `rustc +nightly --emit=mir become.rs` I expect this to just produce MIR. Instead, it ICEs:
```
error: internal compiler error: /rustc/176e5452095444815207be02c16de0b1487a1b53/compiler/rustc_codegen_ssa/src/mir/block.rs:1392:17: `TailCall` terminator is not yet supported by `rustc_codegen_ssa`
--> become.rs:9:5
|
9 | become test()
| ^^^^^^^^^^^^^
thread 'rustc' panicked at /rustc/176e5452095444815207be02c16de0b1487a1b53/compiler/rustc_codegen_ssa/src/mir/block.rs:1392:17:
Box<dyn Any>
stack backtrace:
0: 0x7f8cc53d0f4d - std::backtrace_rs::backtrace::libunwind::trace::hddaf846e242943b6
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
1: 0x7f8cc53d0f4d - std::backtrace_rs::backtrace::trace_unsynchronized::hcd3688bf14d1cca6
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7f8cc53d0f4d - std::sys::backtrace::_print_fmt::h02af5cd6c4544f01
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/sys/backtrace.rs:66:9
3: 0x7f8cc53d0f4d - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h4f9f0817e56b2800
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/sys/backtrace.rs:39:26
4: 0x7f8cc542163b - core::fmt::rt::Argument::fmt::hcad5edb9a0541baa
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/core/src/fmt/rt.rs:173:76
5: 0x7f8cc542163b - core::fmt::write::h8555e7462120c82b
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/core/src/fmt/mod.rs:1178:21
6: 0x7f8cc53c4cb3 - std::io::Write::write_fmt::h88e8d425fe2e683c
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/io/mod.rs:1823:15
7: 0x7f8cc53d3742 - std::sys::backtrace::BacktraceLock::print::h8e59a45eca996cf4
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/sys/backtrace.rs:42:9
8: 0x7f8cc53d3742 - std::panicking::default_hook::{{closure}}::h594c38f77836119c
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/panicking.rs:266:22
9: 0x7f8cc53d33ae - std::panicking::default_hook::hccd160a0a5d55adf
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/panicking.rs:293:9
10: 0x7f8cc1896677 - std[c4314996310caec6]::panicking::update_hook::<alloc[337169187422bdd4]::boxed::Box<rustc_driver_impl[6f1f866cc0168980]::install_ice_hook::{closure#0}>>::{closure#0}
11: 0x7f8cc53d4132 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h329701e142ea769a
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/alloc/src/boxed.rs:2164:9
12: 0x7f8cc53d4132 - std::panicking::rust_panic_with_hook::he59475a651e09a8f
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/panicking.rs:805:13
13: 0x7f8cc18d1b41 - std[c4314996310caec6]::panicking::begin_panic::<rustc_errors[df59a31ecd01c26]::ExplicitBug>::{closure#0}
14: 0x7f8cc18c4856 - std[c4314996310caec6]::sys::backtrace::__rust_end_short_backtrace::<std[c4314996310caec6]::panicking::begin_panic<rustc_errors[df59a31ecd01c26]::ExplicitBug>::{closure#0}, !>
15: 0x7f8cc18c4806 - std[c4314996310caec6]::panicking::begin_panic::<rustc_errors[df59a31ecd01c26]::ExplicitBug>
16: 0x7f8cc18dadb1 - <rustc_errors[df59a31ecd01c26]::diagnostic::BugAbort as rustc_errors[df59a31ecd01c26]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
17: 0x7f8cc16da84d - <rustc_errors[df59a31ecd01c26]::DiagCtxtHandle>::span_bug::<rustc_span[e39f355f3aad4b6e]::span_encoding::Span, alloc[337169187422bdd4]::string::String>
18: 0x7f8cc16fc378 - rustc_middle[e06012d79be9a3f]::util::bug::opt_span_bug_fmt::<rustc_span[e39f355f3aad4b6e]::span_encoding::Span>::{closure#0}
19: 0x7f8cc16fc43a - rustc_middle[e06012d79be9a3f]::ty::context::tls::with_opt::<rustc_middle[e06012d79be9a3f]::util::bug::opt_span_bug_fmt<rustc_span[e39f355f3aad4b6e]::span_encoding::Span>::{closure#0}, !>::{closure#0}
20: 0x7f8cc16ecd5b - rustc_middle[e06012d79be9a3f]::ty::context::tls::with_context_opt::<rustc_middle[e06012d79be9a3f]::ty::context::tls::with_opt<rustc_middle[e06012d79be9a3f]::util::bug::opt_span_bug_fmt<rustc_span[e39f355f3aad4b6e]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
21: 0x7f8cc16ec577 - rustc_middle[e06012d79be9a3f]::util::bug::span_bug_fmt::<rustc_span[e39f355f3aad4b6e]::span_encoding::Span>
22: 0x7f8cc3cf31b8 - rustc_codegen_ssa[7773436e0ac6c0fa]::mir::codegen_mir::<rustc_codegen_llvm[b31d612c732226ef]::builder::Builder>
23: 0x7f8cc3cc70d7 - rustc_codegen_llvm[b31d612c732226ef]::base::compile_codegen_unit::module_codegen
24: 0x7f8cc3cc4282 - <rustc_codegen_llvm[b31d612c732226ef]::LlvmCodegenBackend as rustc_codegen_ssa[7773436e0ac6c0fa]::traits::backend::ExtraBackendMethods>::compile_codegen_unit
25: 0x7f8cc3e500a6 - <rustc_codegen_llvm[b31d612c732226ef]::LlvmCodegenBackend as rustc_codegen_ssa[7773436e0ac6c0fa]::traits::backend::CodegenBackend>::codegen_crate
26: 0x7f8cc3eb20d8 - <rustc_interface[fe42c70767b6e180]::queries::Linker>::codegen_and_build_linker
27: 0x7f8cc3c8dbd3 - rustc_interface[fe42c70767b6e180]::interface::run_compiler::<core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>, rustc_driver_impl[6f1f866cc0168980]::run_compiler::{closure#0}>::{closure#1}
28: 0x7f8cc3c33a09 - std[c4314996310caec6]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[fe42c70767b6e180]::util::run_in_thread_with_globals<rustc_interface[fe42c70767b6e180]::util::run_in_thread_pool_with_globals<rustc_interface[fe42c70767b6e180]::interface::run_compiler<core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>, rustc_driver_impl[6f1f866cc0168980]::run_compiler::{closure#0}>::{closure#1}, core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>>::{closure#0}, core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>>
29: 0x7f8cc3c337b2 - <<std[c4314996310caec6]::thread::Builder>::spawn_unchecked_<rustc_interface[fe42c70767b6e180]::util::run_in_thread_with_globals<rustc_interface[fe42c70767b6e180]::util::run_in_thread_pool_with_globals<rustc_interface[fe42c70767b6e180]::interface::run_compiler<core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>, rustc_driver_impl[6f1f866cc0168980]::run_compiler::{closure#0}>::{closure#1}, core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>>::{closure#0}, core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[83bad7981a5dd158]::result::Result<(), rustc_span[e39f355f3aad4b6e]::ErrorGuaranteed>>::{closure#1} as core[83bad7981a5dd158]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
30: 0x7f8cc53dde4b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc39ab0f6d5b6300a
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/alloc/src/boxed.rs:2150:9
31: 0x7f8cc53dde4b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h516fb9fcf7cbba8c
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/alloc/src/boxed.rs:2150:9
32: 0x7f8cc53dde4b - std::sys::pal::unix::thread::Thread::new::thread_start::h5a12be27e50b2045
at /rustc/176e5452095444815207be02c16de0b1487a1b53/library/std/src/sys/pal/unix/thread.rs:105:17
33: 0x7f8cbe2a36c2 - start_thread
at ./nptl/pthread_create.c:447:8
34: 0x7f8cbe31e128 - clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
35: 0x0 - <unknown>
```
This is very strange since the codegen backend should not even be invoked here -- I asked only for MIR, not for LLVM IR or a compiled binary.
`--emit=metadata` succeeds, so rustc *is* able to not call codegen... it just strangely decides to call codegen with `--emit=mir`, it seems? | T-compiler,A-docs,C-discussion | low | Critical |
2,459,082,752 | material-ui | [joy-ui][Select] Option flickers for multiple and controlled Select | ### Steps to reproduce
Link to live example:
https://codesandbox.io/p/sandbox/multiple-select-joy-gmxvy2
Steps:
1. Select a option
2. Then select other options
### Current behavior
Options are flickering.
### Expected behavior
Options shouldn't flicker.
### Context
When I selected option from **Select Component** that is multiple and controlled, options flickered.
[options-flicker.webm](https://github.com/user-attachments/assets/f8d54258-08a2-4aaa-b630-7a6c3c9bf265)
### 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>
**Search keywords**: option flicker, select bug | on hold,component: select,package: joy-ui | low | Critical |
2,459,086,929 | tensorflow | Aborted (core dumped) in `tf.config.threading.set_intra_op_parallelism_threads` | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.17
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 22.04.3 LTS (x86_64)
### Mobile device
_No response_
### Python version
3.9.13
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Crash triggered when input negative numbers into tf.config.threading.set_intra_op_parallelism_threads.
### Standalone code to reproduce the issue
```shell
https://colab.research.google.com/drive/17JV6ppGU1XtQg25PKa8itDhihAspgHIz?usp=sharing
```
### Relevant log output
```shell
2024-08-10 21:29:55.538868: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-08-10 21:29:55.869155: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-08-10 21:29:55.967845: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-08-10 21:29:56.002644: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-08-10 21:29:56.222202: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE4.1 SSE4.2 AVX AVX2 AVX512F AVX512_VNNI AVX512_BF16 AVX512_FP16 AVX_VNNI AMX_TILE AMX_INT8 AMX_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-08-10 21:30:05.961788: F external/local_tsl/tsl/platform/threadpool.cc:112] Check failed: num_threads >= 1 (1 vs. -1)
Aborted (core dumped)
```
| stat:awaiting tensorflower,type:bug,comp:ops,2.17 | medium | Critical |
2,459,088,735 | tensorflow | Segmentation fault (core dumped) in `tf.config.threading.set_inter_op_parallelism_threads` | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.17
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 22.04.3 LTS (x86_64)
### Mobile device
_No response_
### Python version
3.9.13
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Crash triggered when input boundary values into tf.config.threading.set_intra_op_parallelism_threads
### Standalone code to reproduce the issue
```shell
https://colab.research.google.com/drive/12s6D2GuBFEWAdvFdCvjbs4nK888vLGvm?usp=sharing
```
### Relevant log output
```shell
2024-08-10 21:36:47.636016: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-08-10 21:36:47.703371: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-08-10 21:36:47.791020: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-08-10 21:36:47.817978: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-08-10 21:36:47.883418: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE4.1 SSE4.2 AVX AVX2 AVX512F AVX512_VNNI AVX512_BF16 AVX512_FP16 AVX_VNNI AMX_TILE AMX_INT8 AMX_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-08-10 21:36:56.611712: I tensorflow/core/common_runtime/gpu/gpu_device.cc:2021] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 22279 MB memory: -> device: 0, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:1f:00.0, compute capability: 8.9
2024-08-10 21:36:56.617085: I tensorflow/core/common_runtime/gpu/gpu_device.cc:2021] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 1717 MB memory: -> device: 1, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:d4:00.0, compute capability: 8.9
Segmentation fault (core dumped)
```
| stat:awaiting tensorflower,type:bug,comp:ops,2.17 | medium | Critical |
2,459,090,268 | rust | Need an explicit part for requirements which can not be checked by compiler in trait docs | ### Location
Trait std::borrow::Borrow,
<img width="961" alt="screenshot" src="https://github.com/user-attachments/assets/00249f12-05b7-4132-adc5-98c04f6ecf7b">
### Summary
Many traits require something more just their associated functions and types. Like trait `Send` requires that type are safe to tranferred between threads, `Eq` requires this relation is an equivalent relation and `Ord` need to be consistent with `PartialOrd`.
These requirements share a common characteristic: they cannot be fully verified by the compiler through the implementations of their associated trait methods and types. Programmers must take additional effort to ensure correctness. Similar to how the `Safety` and `Panic` sections in function or method documentation specifically describe the requirements for a function or method to work correctly, I propose that trait documentation also include a dedicated "requirements" section to outline these aspects that cannot be fully verified by the compiler.
For example, trait `Borrow` requires that
> `Eq`, `Ord` and `Hash` must be equivalent for borrowed and owned values
which can not be checked by compiler. However, these points were buried in the second-to-last paragraph of the document description and were not highlighted.
| C-enhancement,T-lang,T-libs-api,A-docs | low | Minor |
2,459,091,500 | pytorch | [torch.compile] Integers stored on nn.Modules as dynamic causing errors | ### 🐛 Describe the bug
reporduce code
```python
from transformers import BloomModel, BloomConfig
import json
import torch
CONFIG = """
{
"apply_residual_connection_post_layernorm": false,
"architectures": [
"BloomModel"
],
"attention_dropout": 0.0,
"attention_softmax_in_fp32": true,
"bias_dropout_fusion": true,
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_dropout": 0.0,
"hidden_size": 1536,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-05,
"masked_softmax_fusion": true,
"model_type": "bloom",
"n_head": 16,
"n_inner": null,
"n_layer": 24,
"offset_alibi": 100,
"pad_token_id": 3,
"pretraining_tp": 1,
"seq_length": 2048,
"skip_bias_add": true,
"skip_bias_add_qkv": false,
"slow_but_exact": false,
"torch_dtype": "float32",
"transformers_version": "4.29.2",
"unk_token_id": 0,
"use_cache": false,
"vocab_size": 250880
}
"""
config = BloomConfig(**json.loads(CONFIG))
config.n_layer = 1
model = BloomModel(config).half().cuda().eval()
x = torch.randint(100, config.vocab_size, (1, 20)).cuda()
with torch.no_grad():
ref_out = model(x)[0]
compiled_fn = torch.compile(model, dynamic=True)
out = compiled_fn(x)[0]
```
The above code is fine on 2.3, but it will throw an error on 2.4 and the main branch.
What is error looks like:
```
def triton_(in_ptr0, in_ptr1, out_ptr0, ks0, ks1, ks2, xnumel, XBLOCK : tl.constexpr):
xoffset = tl.program_id(0) * XBLOCK
xindex = xoffset + tl.arange(0, XBLOCK)[:]
xmask = xindex < xnumel
x1 = (xindex // ks2)
x0 = xindex % ks2
x2 = xindex
tmp5 = tl.load(in_ptr0 + (x0), xmask, eviction_policy='evict_last')
tmp8 = tl.load(in_ptr1 + (x0), xmask, eviction_policy='evict_last')
tmp0 = (ks1.to(tl.float64)) ** ((-1)*((ks0.to(tl.float64)) ** (-1.00000000000000)))
^
AttributeError("'tensor' object has no attribute '__pow__'")
Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information
```
This seems to be a problem with inductor or triton, but it is actually because *self.num_heads* is dynamic.
This phenomenon occurred after this commit: https://github.com/pytorch/pytorch/issues/115711
The problem is that torch made all ints in nn.Module dynamic, but this is actually not necessary. I understand that there will be an automatic dynamic mechanism for this in the future, but for the moment if I can have a simple way to avoid the problems.
### Versions
```
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Alibaba Cloud Linux release 3 (Soaring Falcon) (x86_64)
GCC version: (GCC) 10.2.1 20200825 (Alibaba 10.2.1-3.6 2.32)
Clang version: Could not collect
CMake version: version 3.26.5
Libc version: glibc-2.32
Python version: 3.10.14 (main, May 6 2024, 19:42:50) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.10.134-16.1.al8.x86_64-x86_64-with-glibc2.32
Is CUDA available: True
CUDA runtime version: 12.4.131
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA A10
Nvidia driver version: 550.54.15
cuDNN version: Probably one of the following:
/usr/local/cuda-12.4/targets/x86_64-linux/lib/libcudnn.so.8.9.7
/usr/local/cuda-12.4/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.9.7
/usr/local/cuda-12.4/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.9.7
/usr/local/cuda-12.4/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.9.7
/usr/local/cuda-12.4/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.9.7
/usr/local/cuda-12.4/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.9.7
/usr/local/cuda-12.4/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.9.7
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
架构: x86_64
CPU 运行模式: 32-bit, 64-bit
字节序: Little Endian
CPU: 48
在线 CPU 列表: 0-47
每个核的线程数: 2
每个座的核数: 24
座: 1
NUMA 节点: 1
厂商 ID: GenuineIntel
BIOS Vendor ID: Alibaba Cloud
CPU 系列: 6
型号: 106
型号名称: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.90GHz
BIOS Model name: pc-i440fx-2.1
步进: 6
CPU MHz: 2899.998
BogoMIPS: 5799.99
超管理器厂商: KVM
虚拟化类型: 完全
L1d 缓存: 48K
L1i 缓存: 32K
L2 缓存: 1280K
L3 缓存: 49152K
NUMA 节点0 CPU: 0-47
标记: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] optree==0.12.1
[pip3] torch==2.4.0
[pip3] triton==3.0.0
[conda] numpy 1.26.4 pypi_0 pypi
[conda] optree 0.12.1 pypi_0 pypi
[conda] torch 2.4.0 pypi_0 pypi
[conda] triton 3.0.0 pypi_0 pypi
```
cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu | high priority,triaged,actionable,oncall: pt2,module: dynamic shapes | low | Critical |
2,459,093,826 | godot | Cannot export C# array of type Vector2I, Vector3I, Vector4I: "GD0102: The type of the exported field is not supported" | ### Tested versions
4.2.2 stable
### System information
Windows 10, Godot 4.2.2 stable
### Issue description
In the [manual](https://docs.godotengine.org/en/stable/tutorials/scripting/c_sharp/c_sharp_exports.html), it says:
> C# arrays can exported as long as the element type is a [Variant-compatible type](https://docs.godotengine.org/en/stable/tutorials/scripting/c_sharp/c_sharp_variant.html#c-sharp-variant-compatible-types).
Vector2I, Vector3I, and Vector4I are listed as [Variant compatible types](https://docs.godotengine.org/en/stable/tutorials/scripting/c_sharp/c_sharp_variant.html#c-sharp-variant-compatible-types) in the manual.
However, when trying to export e.g. an Vector2I array, Godot gives the error: "GD0102: The type of the exported field is not supported"
### Steps to reproduce
Create a C# script with the line:
> [Export] private Vector2I[] testI;
then try to compile.
### Minimal reproduction project (MRP)
N/A | documentation,needs testing,topic:dotnet | low | Critical |
2,459,094,229 | godot | RayCast2D detects object at previous position, if that object has just moved | ### Tested versions
- Reproducible in v4.2.2.stable.official [15073afe3] and v4.3.rc3.official [03afb92ef]
### System information
Godot v4.3.rc3 - Windows 10.0.19045 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 520 (Intel Corporation; 24.20.100.6293) - Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 Threads)
### Issue description
I'm making a turn-based game and I ran into this strange behavior with RayCast2D. If I move the player object (a CharacterBody2D) and then use RayCast2D to try to detect the player, it will detect the player at their previous position.
As an example, if you do something like this:
```gdscript
player.position.x += 100
var raycast = $RayCast2D
raycast.position = player.position
raycast.target_position = Vector2.ZERO
raycast.force_raycast_update()
if raycast.get_collider() == player:
print("RayCast2D hit player")
```
Then the print statement will never run. If instead the RayCast2D is aimed at the player's previous position (i.e. `raycast.position = player.position - Vector2(100, 0)`) then the print statement will always run.
I thought calling `force_raycast_update` would cause RayCast2D to see the player at their current position, but it seems like it doesn't. (By the way, if you remove the call to `force_raycast_update` then it misses the player the first time it runs, but then always hits the player on subsequent runs. That also seems strange to me.)
Am I doing something wrong here? Is there a better way to accomplish this that doesn't run into this problem? Thank you!
### Steps to reproduce
1. In the MRP, use the arrow keys to move the player or the spacebar to wait.
2. The MRP code will move a RayCast2D to the player's position, call `force_raycast_update` and then `get_collider`.
3. If you move the player, it will print "RayCast2D missed player". I would expect it to always print "RayCast2D hit player". Waiting will correctly print "RayCast2D hit player".
### Minimal reproduction project (MRP)
[raycast2d-minimal-repro.zip](https://github.com/user-attachments/files/16569787/raycast2d-minimal-repro.zip)
| discussion,documentation,topic:physics,needs testing,topic:2d | low | Major |
2,459,112,829 | flutter | CupertinoListTile animations are not running when pressing longer | ### Steps to reproduce
1. Press CupertinoListTile longer so that the background changes
2. Let go
3. See that the animations that should have ran were skipped
### Expected results
Animations should run as normal - e.g. Material Checkbox, Toggles, etc...
### Actual results
Animations do not run, and are being skipped.
### Code sample
<details open><summary>Code sample</summary>
```dart
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorSchemeSeed: Colors.blue,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
final String title;
const MyHomePage({
super.key,
required this.title,
});
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
bool _pushedToggle = false;
void _toggle() {
setState(() {
_pushedToggle = !_pushedToggle;
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'You have pushed the button: $_pushedToggle',
),
CupertinoListTile(
onTap: _toggle,
title: Text(
'Toggle',
),
trailing: IgnorePointer(
child: SizedBox(
width: 25,
child: Checkbox(
value: _pushedToggle,
onChanged: (_) {},
),
),
),
),
],
),
),
);
}
}
```
</details>
### Screenshots or Video
_No response_
### Logs
_No response_
### Flutter Doctor output
<details open><summary>Doctor output</summary>
```console
[✓] Flutter (Channel stable, 3.24.0, on macOS 13.6 22G120 darwin-arm64, locale en-IL)
• Flutter version 3.24.0 on channel stable at /opt/homebrew/Caskroom/flutter/3.0.0/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (11 days ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/naamapps/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C500b
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
[✓] VS Code (version 1.92.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (4 available)
• SM S918B (mobile) • R5CW21VG7BM • android-arm64 • Android 14 (API 34)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.6 22G120 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 13.6 22G120 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.100
! Error: Browsing on the local area network for Naamapps iPhone. Ensure the device is unlocked and attached with a cable or associated with the same
local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
• No issues found!
```
</details>
| framework,a: fidelity,f: cupertino,has reproducible steps,P2,team-design,triaged-design,found in release: 3.24 | low | Critical |
2,459,130,609 | deno | Trying to log a Proxy causes an AssertionError in Deno | Version: Deno 1.45.5
Running the following:
```js
console.log(new Proxy({ x: 10 }, { getOwnPropertyDescriptor: () => { throw new Error(`oops`); } } ));
```
makes Deno throw an AssertionError:
```
Uncaught AssertionError: Assertion failed.
at assert (ext:deno_console/01_console.js:184:11)
at getKeys (ext:deno_console/01_console.js:1268:7)
at formatRaw (ext:deno_console/01_console.js:745:14)
at formatValue (ext:deno_console/01_console.js:529:10)
at inspectArgs (ext:deno_console/01_console.js:3043:17)
at console.log (ext:deno_console/01_console.js:3112:7)
at <anonymous>:1:30
```
The reason is Deno [incorrectly assumes](https://github.com/denoland/deno/blob/82884348cb1b424a4c4452ef734bc4e760926b2f/ext/console/01_console.js#L1286) the proxy must be a module namespace object.
It would be preferable if Deno here could either print that this is a `Proxy` object, or at least throw the original error (whatever `getOwnPropertyDescriptor` throws) rather than throwing Deno's assertion error. | bug,ext/console | low | Critical |
2,459,141,497 | ollama | Stepwise decoding via websocket, replacing server-side GBNF and JSON schema constraints | Let the client accesses the token map, server gives the full tensor to client and let the client choose the next token, then continues decoding, or rollbacks previous decoding step.
This eliminates the complexity of GBNF and handles all grammar and decision making steps on the client side. It can even integrates with online learning transformers.
The server shall provide the following commands:
- Submit continuation task
- Accept input tensor instead of text
- Request token map
- One token forward
- One token backward
- Current decoding status | feature request | low | Minor |
2,459,142,114 | godot | Input.is_action_pressed triggers on each frame after resuming from a breakpoint, action cache not invalidated | ### Tested versions
Reproducible in 4.2.2.stable and 4.2.1stable
### System information
Godot v4.2.2.stable - Windows 10.0.19045 - GLES3 (Compatibility) - AMD Radeon (TM) RX 480 (Advanced Micro Devices, Inc.; 31.0.21916.2) - Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 Threads)
### Issue description
`Input.is_action_pressed("")` gets triggered for multiple frames after a debugger breakpoint gets hit and resumed, it doesn't matter how many frames occur it never gets removed from cache.
`Input.is_action_just_pressed("")` seems to work as expected like when running the app normally.
I'd expect that only a limited amount of frames will get the cached value just like when running the app without hitting the debug breakpoints.
### Steps to reproduce
- Import the project
- Make sure there is a breakpoint IN the "ui-accept" jump check
```
if Input.is_action_pressed("ui_accept") and is_on_floor():
velocity.y = JUMP_VELOCITY # breakpoint here
```
- Run the app in debug mode
- Hit space to jump
- The debugger opens hit F12 / resume.
- It will enter a breakpoint loop, each frame considering the jump button being pressed.
See [my comment bellow](https://github.com/godotengine/godot/issues/95361#issuecomment-2282203447) with more permutations as some recover correct behaviour.
### Minimal reproduction project (MRP)
[test.zip](https://github.com/user-attachments/files/16570114/test.zip)
| bug,platform:windows,topic:input | low | Critical |
2,459,174,185 | flutter | [Impeller] [Android] Native views not rendering on some devices | ### What target platforms are you seeing this bug on?
Android
### Steps to reproduce
1. Enable Impeller on Android
` <meta-data
android:name="io.flutter.embedding.android.EnableImpeller"
android:value="true" />`
2. Use native views directly or through plugin
### Expected results
Native view is rendered
### Actual results
Native view is not displayed, screen is either empty or black with weird "glitch artifacts".
Issue seems to be device related and so far I can consistently reproduce it on:
- Samsung Galaxy Note 10 Lite (Android 13)
- Honor 10 (HarmonyOS 3.0)
### Code sample
<details open><summary>Flutter code sample</summary>
```dart
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.deepPurple,
brightness: Brightness.dark,
),
useMaterial3: true,
),
home: const MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
// This is used in the platform side to register the view.
const String viewType = '<platform-view-type>';
// Pass parameters to the platform side.
const Map<String, dynamic> creationParams = <String, dynamic>{};
return SafeArea(
child: Scaffold(
body: Column(
children: [
Expanded(
child: Container(
padding: const EdgeInsets.all(16),
color: Colors.blue,
height: MediaQuery.of(context).size.height / 2,
width: MediaQuery.of(context).size.width,
child: Container(
color: Colors.white,
child: const Center(
child: Text(
'Flutter view',
style: TextStyle(
fontSize: 20,
color: Colors.black,
),
),
),
),
),
),
Expanded(
child: Container(
padding: const EdgeInsets.all(16),
color: Colors.green,
height: MediaQuery.of(context).size.height / 2,
width: MediaQuery.of(context).size.width,
child: PlatformViewLink(
viewType: viewType,
surfaceFactory: (context, controller) {
return AndroidViewSurface(
controller: controller as AndroidViewController,
gestureRecognizers: const <Factory<
OneSequenceGestureRecognizer>>{},
hitTestBehavior: PlatformViewHitTestBehavior.opaque,
);
},
onCreatePlatformView: (params) {
return PlatformViewsService.initSurfaceAndroidView(
id: params.id,
viewType: viewType,
layoutDirection: TextDirection.ltr,
creationParams: creationParams,
creationParamsCodec: const StandardMessageCodec(),
onFocus: () {
params.onFocusChanged(true);
},
)
..addOnPlatformViewCreatedListener(
params.onPlatformViewCreated)
..create();
},
),
),
),
],
),
),
);
}
}
```
</details>
<details open><summary>Native code sample</summary>
```kotlin
package com.example.google_maps_impeller_issue
import android.content.Context
import android.graphics.Color
import android.view.View
import android.widget.TextView
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory
class MainActivity: FlutterActivity() {
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
super.configureFlutterEngine(flutterEngine)
flutterEngine
.platformViewsController
.registry
.registerViewFactory("<platform-view-type>",
NativeViewFactory())
}
}
internal class NativeView(context: Context, id: Int, creationParams: Map<String?, Any?>?) :
PlatformView {
private val textView: TextView
override fun getView(): View {
return textView
}
override fun dispose() {}
init {
textView = TextView(context)
textView.textSize = 42f
textView.setBackgroundColor(Color.rgb(255, 255, 255))
textView.text = "Rendered on a native Android view"
}
}
class NativeViewFactory : PlatformViewFactory(StandardMessageCodec.INSTANCE) {
override fun create(context: Context, viewId: Int, args: Any?): PlatformView {
val creationParams = args as Map<String?, Any?>?
return NativeView(context, viewId, creationParams)
}
}
```
</details>
### Screenshots or Videos
Impeller Off:

Impeller On:

### Logs
<details open><summary>Logs</summary>
```console
D/zzcc (17186): preferredRenderer: null
I/Google Maps Android API(17186): Google Play services package version: 210613039
W/_impeller_issu(17186): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
I/PlatformViewsController(17186): Hosting view in a virtual display for platform view: 0
I/PlatformViewsController(17186): PlatformView is using SurfaceProducer backend
I/DecorView[](17186): pkgName:com.example.google_maps_impeller_issue old windowMode:0 new windoMode:1, isFixedSize:false
D/MouseWheelSynthesizer(17186): mMoveStepInDp: 64, mMoveStepInPixel: 192, mUpTimeDelayed: 100
D/ViewRootImpl(17186): ViewRootImpl mIsInProductivePCDisplay: false
D/InputEventReceiver(17186): dispatchInputInterval 1000000
I/GoogleMapController(17186): No TextureView found. Likely using the LEGACY renderer.
E/GoogleMapController(17186): Cannot enable MyLocation layer as location permissions are not granted
D/OpenGLRenderer(17186): disableOutlineDraw is true
I/HiTouch_HiTouchSensor(17186): HiTouch restricted: Sub windows restricted.
D/HiTouch_PressGestureDetector(17186): onAttached, package=com.example.google_maps_impeller_issue, windowType=2030, mIsHiTouchRestricted=true
2
D/mali_winsys(17186): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
W/vulkan (17186): vkAcquireNextImageKHR: non-infinite timeouts not yet implemented
W/ImageReaderSurfaceProducer(17186): ImageTextureEntry can't wait on the fence on Android < 33
W/vulkan (17186): vkAcquireNextImageKHR: non-infinite timeouts not yet implemented
I/chatty (17186): uid=10235(com.example.google_maps_impeller_issue) 1.raster identical 5 lines
2
W/vulkan (17186): vkAcquireNextImageKHR: non-infinite timeouts not yet implemented
I/chatty (17186): uid=10235(com.example.google_maps_impeller_issue) 1.raster identical 17 lines
8
W/vulkan (17186): vkAcquireNextImageKHR: non-infinite timeouts not yet implemented
W/_impeller_issu(17186): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
W/_impeller_issu(17186): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
W/_impeller_issu(17186): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
I/chatty (17186): uid=10235(com.example.google_maps_impeller_issue) GoogleApiHandle identical 25 lines
W/_impeller_issu(17186): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
26
W/vulkan (17186): vkAcquireNextImageKHR: non-infinite timeouts not yet implemented
```
</details>
### Flutter Doctor output
<details open><summary>Doctor output</summary>
```console
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.2.1 23C71 darwin-arm64, locale en-US)
• Flutter version 3.22.3 on channel stable at /Users/djordje/Development Tools/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b0850beeb2 (4 weeks ago), 2024-07-16 21:43:41 -0700
• Engine revision 235db911ba
• Dart version 3.4.4
• DevTools version 2.34.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/djordje/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/djordje/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C65
• CocoaPods version 1.14.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.92.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (5 available)
• COL AL10 (mobile) • 9YE0218711000121 • android-arm64 • Android 10 (API 29)
• Android SDK built for arm64 (mobile) • emulator-5554 • android-arm64 • Android 9 (API 28) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.2.1 23C71 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.100
[✓] Network resources
• All expected network resources are available.
```
</details>
<details open><summary>Doctor output updated</summary>
```console
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.2.1 23C71 darwin-arm64, locale en-US)
• Flutter version 3.24.0 on channel stable at /Users/djordje/Development Tools/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (13 days ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/djordje/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/djordje/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C65
• CocoaPods version 1.14.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.92.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (4 available)
• SM A127F (mobile) • R58RA18NREM • android-arm64 • Android 12 (API 31)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.2.1 23C71 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.100
[✓] Network resources
• All expected network resources are available.
• No issues found!
```
</details>
| e: device-specific,platform-android,engine,a: platform-views,c: rendering,P2,e: impeller,team-engine,triaged-engine,e: impeller-naughty-driver | low | Critical |
2,459,178,614 | pytorch | The more detailed GELU formula should be added to the doc of `GELU()`: | ### 📚 The doc issue
[The doc](https://pytorch.org/docs/stable/generated/torch.nn.GELU.html) of `GELU()` has the formula which is not enough to explain GELU clearly as shown below:

### Suggest a potential alternative/fix
So, the more detailed GELU formula below should be added to the doc:

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki | module: nn,triaged,topic: docs | low | Minor |
2,459,199,702 | rust | Allow exactly one mutable reference even after multiple immutable reference in same scope | I think there is no issue with allowing one mutable reference with any number of immutable references in single scope.Having single mutable reference ensure there is one and only one mutator, while all immutable reference can yet access the mutated information from the variable. | A-borrow-checker,C-discussion | low | Minor |
2,459,241,942 | ui | [bug]: toast doesn't show with select form demo | ### Describe the bug
toast doesn't show with select form demo. But I confirm that onSubmit can be triggered
### Affected component/components
Toast
### How to reproduce
1. clone `https://github.com/Crayon-ShinChan/test-shadcn`
2. `pnpm dev` to run
3. there is a select form in the home page which is just the code from shadcn/ui docs
### Codesandbox/StackBlitz link
_No response_
### Logs
_No response_
### System Info
```bash
macOS
Browser: Arc Version 1.55.0 (52417)
```
### Before submitting
- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues | bug | low | Critical |
2,459,251,178 | PowerToys | Automatic unzipping for downloaded zip-archives | ### Description of the new feature / enhancement
Unzips any kind of archive that is downloaded to the Downloads folder. It also shows a notification with the current progress report during the process of unzipping. Should show a different notification after unzipping has finished and give you the option to open the folder in Windows Explorer and Visual Studio Code if it is installed (could also be extended to support any kind of software)
Features:
- Have a system tray icon with different options
- Enable: Provides the option to quickly enable/disable the tool
- Notification: Enables notifications during unzipping
- Auto delete zip: Automatically deletes the zip after unzipping has been completed
Example of an implementation I currently have:

### Scenario when this would be used?
I often download zip files from the internet and want to directly use them without having to go through the manual labor to open File Explorer, go to downloads, select the file, and unzip the file.
Since any kind of data is usually zipped to save on download size this happens very frequently.
Use cases:
- browsing GitHub and seeing cool repos where I want to inspect pieces of code quickly. I usually press download as zip since that is quicker than cloning especially when I don't want to commit anything.
- sharing files between colleagues via gdrive/dropbox, etc is commonly downloaded as zip but then used as bare data on the computer itself.
### Supporting information
_No response_ | Idea-New PowerToy,Needs-Triage | low | Minor |
2,459,251,501 | ui | [bug]: fix chart breaking theme on install | ### Describe the bug
When install the charts the app theme get broken set all components in dark and others in light
### Affected component/components
all components
### How to reproduce
1. Install the charts
2. run the app
### Codesandbox/StackBlitz link
_No response_
### Logs
_No response_
### System Info
```bash
windows 11
```
### Before submitting
- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues | bug | low | Critical |
2,459,260,400 | rust | Invalid local symbol errors linking shared library with rust-lld | I have a project generating bindings for FMOD using bindgen: https://gitlab.com/spearman/fmod-rs/-/tree/master/fmod-sys
Trying to build and link an executable with rust-lld generates the following errors:
```
= note: rust-lld: error: /home/spearman/rs/local/fmod-rs/fmod-sys/lib/x86_64/libfmod.so: invalid local symbol '__bss_start' in global part of symbol table
rust-lld: error: /home/spearman/rs/local/fmod-rs/fmod-sys/lib/x86_64/libfmod.so: invalid local symbol '_end' in global part of symbol table
rust-lld: error: /home/spearman/rs/local/fmod-rs/fmod-sys/lib/x86_64/libfmod.so: invalid local symbol '_edata' in global part of symbol table
collect2: error: ld returned 1 exit status
```
For now I am using the rustflags option `-Zlinker-features=-lld` to avoid using rust-lld | A-linkage,T-compiler,C-bug | low | Critical |
2,459,283,092 | excalidraw | nested frames | Hi
I have a case that might put several child frames into a big frame and then expect to see the parent frameid when read frameID of the child frame elements.
Now I can make it happen when force to override child frame id from null to parent frame id. But it is little bit hacking. Is it any possible to make it happen to automatically apply parent frame id to child frame id? | enhancement,frames | low | Minor |
2,459,284,213 | terminal | Navigation menu automatically expands and overlaps settings page content in small windows | ### Windows Terminal version
1.21.1772.0
### Windows build number
10.0.19045.0
### Other Software
_No response_
### Steps to reproduce
1. Open Windows Terminal.
2. Resize the Terminal window to a very small size.
3. Open the settings page.
4. Observe that the navigation menu automatically expands and overlaps the content of the settings page.
### Expected Behavior
The navigation menu should remain hidden by default in small windows to prevent overlapping with the settings page content.
### Actual Behavior
 | Issue-Bug,Area-UserInterface,Product-Terminal,Priority-3 | low | Major |
2,459,291,668 | godot | Rotation gizmo interaction scheme (radial or linear) can be incorrect when object not centered in viewport | ### Tested versions
Reproducible in everything from 4.2 stable through 4.3rc3. Earlier versions than 4.2 not tested.
### System information
Godot v4.3.rc2 - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1660 SUPER (NVIDIA; 32.0.15.6070) - Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz (16 Threads)
### Issue description
The rotation gizmo can behave in two ways when you drag it by one of its rings:
- radially (spin your mouse around the pivot)
- linearly (move your mouse linearly as though you're "scrolling")
The expected behaviour is that the radial interaction happens when the ring looks more like a ring, and the linear interaction happens when the ring is at an angle to the camera such that it looks more like a line. However, you can get the radial interaction even when the ring is almost completely linear in the camera, making it impossible to rotate the object in a practical manner. In some cases, the rotation can even be inverted (you have to spin your mouse clockwise to get the object to spin counterclockwise on the screen).
The reverse can also happen. i.e. it is possible to get a linear interaction even when the rotation ring is clearly round on the screen.
The reason for this is because the interaction uses the camera's _normal_ to determine perpendicularity with the rotational rings, which in perspective view does not actually correlate with perpendicularity unless the object is centered in the viewport.
https://github.com/user-attachments/assets/4ea71f06-d9fe-4904-83a5-f6e8fd574d5e
### Steps to reproduce
Rotate any 3D object with one of the axis rings looking almost completely linear, but make sure you're in perspective mode and the object is not in the center of the screen. There's a good chance it will use the radial interaction, and sometimes be inverted.
### Minimal reproduction project (MRP)
N/A | bug,topic:editor,usability,topic:3d | low | Minor |
2,459,296,910 | godot | HSplitContainer Becomes Sticky When One Half Has Visibility Toggled and Then Dragged Off Screen | ### Tested versions
- Reproducible in 4.3.rc3
- Not reproducible in 4.2 stable
### System information
Windows 11 - Godot Engine v4.3.rc3.official - Vulkan(Forward+)
### Issue description
hsplitcontainer dragger is never released when one of the two halves has visibility toggled and then the dragger is grabbed by the mouse and pulled outside the viewport window. It should be released as it works when there is no panel visibility change.
https://github.com/user-attachments/assets/94c30679-df71-4ced-9ee2-bbbe7cfab999
### Steps to reproduce
toggle the visibility of half of the hsplitcontainer, then grab the dragger and pull it out of the viewport. The dragger is then stuck to the mouse it is never released.
### Minimal reproduction project (MRP)
[hsplitcontainer_test.zip](https://github.com/user-attachments/files/16570901/hsplitcontainer_test.zip)
| bug,regression,topic:gui | low | Minor |
2,459,297,158 | rust | Failure to compile unit tests for procedural macros on stable-x86_64-pc-windows-gnu | I tried the following code.
In the proc-macro nested crate `macros-derive`:
```rust
use proc_macro::TokenStream;
#[proc_macro_derive(NoDerive)] // does nothing
pub fn derive_print_type(_input: proc_macro::TokenStream) -> proc_macro::TokenStream {
TokenStream::new()
}
#[cfg(test)]
mod tests {
#[test]
fn test() {}
}
```
In the main crate:
```
use macros_derive::NoDerive;
fn main() {
_ = S;
}
#[derive(NoDerive)]
struct S;
```
I expected to see this happen: `cargo test` runs to completion.
Instead, compilation of the test target fails:
> Compiling macros v0.1.0 (…\proc-macro failure\macros)
> Compiling macros-derive v0.1.0 (…\proc-macro failure\macros\derive)
> error: Error calling dlltool 'dlltool.exe': program not found
>
> error: could not compile `macros-derive` (lib test) due to 1 previous error
> warning: build failed, waiting for other jobs to finish...
If I add dlltool from self-contained folder (from inside the toolchain folder) to PATH, the compilation fails with:
> error: Dlltool could not create import library
Stable version:
> rustc 1.80.0 (051478957 2024-07-21)
> binary: rustc
> commit-hash: 051478957371ee0084a7c0913941d2a8c4757bb9
> commit-date: 2024-07-21
> host: x86_64-pc-windows-gnu
> release: 1.80.0
> LLVM version: 18.1.7
Nightly version (same result):
> rustc 1.82.0-nightly (ca5d25e2c 2024-08-09)
> binary: rustc
> commit-hash: ca5d25e2c41f5a6b4ce65c681bf2f94c7ead1f14
> commit-date: 2024-08-09
> host: x86_64-pc-windows-gnu
> release: 1.82.0-nightly
> LLVM version: 19.1.0 | T-compiler,O-windows-gnu,C-bug | low | Critical |
2,459,314,681 | godot | Poor performancy in the inspector tab | ### Tested versions
- Reproducible in 4.2.2stable
### System information
Godot v4.2.2.stable - Linux Mint 22 (Wilma) - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (amdgpu; 6.7.0) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
### Issue description
When I interact with anything in the inspector tab, there is pretty bad lag and context menus take at least 3 seconds to come up. This even happens in a practically empty scene/project. This is not always the case, but when it happens and I open a new project it still exists.
### Steps to reproduce
Open new project, add control node for example, interact with eg. any dropdown many
### Minimal reproduction project (MRP)
N/A | bug,topic:editor,needs testing,performance | low | Major |
2,459,315,447 | godot | Axes disappear when wireframe mode is enabled | ### Tested versions
Godot v4.3.dev.custom_build [89850d553]
Godot 4.3 rc3
### System information
Windows 10 64 bits NVIDIA GeForce GTX 1060
### Issue description
There are colored lines in the 3D editor indicating where the axes are:

They are visible when `View Origin` is enabled in the `View` toolbar menu, which is on by default.
But when wireframe mode is enabled, those lines disappear. They should not disappear.
### Steps to reproduce
Open any project, open the 3D view, enable wirefame mode.
### Minimal reproduction project (MRP)
N.A | bug,topic:editor,topic:3d | low | Minor |
2,459,325,072 | rust | Seedable hashmap for testing? | This is inspired by the many regressions in https://github.com/rust-lang/rust/issues/128899 that appeared to be "sorting" issues but actually seem to be hashmap issues. It would be nice if we had some way, even if only for unstable/nightly/internal/literally-just-crater usage, to tweak std's hashmap (or just the RNG for it?) so that we could determine if the hashmap's iteration order is the reason a crate's tests are failing. | C-feature-request,T-libs | low | Minor |
2,459,334,853 | godot | Scene state is missing value after property passed to local_to_scene ShaderMaterial | ### Tested versions
v4.2.2.stable.official [15073afe3]
v4.3.rc3.official [03afb92ef]
### System information
Ubuntu
### Issue description
This is not super straight forward to explain so I'll have to rely on the MRP.
In essence, I do this:
```gdscript
var packed_scene = preload("res://entity.tscn")
print(packed_scene.get_state().get_node_property_value(0, 2))
```
prints:
```
[1, 2, 3]
```
Then a moment later that code is ran again, but prints:
```
[]
```
### Steps to reproduce
Here's what happens in the MRP:
1. We preload a `tscn` file.
2. The `tscn` file contains a node with an array property `my_prop` and a serialized value: `my_prop = Array[int]([1, 2, 3])`
3. We instantiate from the packed scene, add the resulting node instance to the tree, and pass the aforementioned property into `material.set_shader_parameter()` where `material` is a `ShaderMaterial` that has `local_to_scene` set to `true`.
4. We reload the current scene, bringing us back to step 1. again, only this time the packed scene state is faulty: the value of my `my_prop` is an empty array.
### Minimal reproduction project (MRP)
[godot_4_packed_scene_values_missing_bug.zip](https://github.com/user-attachments/files/16571127/godot_4_packed_scene_values_missing_bug.zip)
| bug,topic:core | low | Critical |
2,459,343,096 | godot | Type Hint checking not working with typed arrays | ### Tested versions
- Reproducible in `4.3 rc 2` and `4.3 rc 3` as well as `4.2 (stable)`
### System information
Godot v4.2.2.stable.mono - Ubuntu 24.04 LTS 24.04 - Wayland - Vulkan (Forward+) - integrated Intel(R) HD Graphics 4400 (HSW GT2) () - Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz (4 Threads)
### Issue description
Say I have a variable `my_var` defined as follows:
```gdscript
# values don't matter here; just for demonstration
var my_var: Array = ["foo", 2345678, {"bar":123456}]
```
Then, I assign `my_var` to another variable, this time type hinted as an `Array[int]` (for example):
```gdscript
var some_other_var: Array[int] = my_var
```
No editor error is shown, even though an `Array` is not an `Array[int]`. This crashes the application when this specific line of code is run (not during compile).
I believe this should throw an error like when assigning a `String` to an `int` field, for example.
### Steps to reproduce
1. Create a new script.
2. Create a standard array (with type `Array`) and optionally, add some items to it.
3. Create another array with a (nested?) type hint (eg. `Array[int]`) and assign the previously created array to it (in a function, perhaps, to see that nothing breaks during compilation).
4. Observe no editor error thrown.
5. Run the project, and see it crash when that line is run.
### Minimal reproduction project (MRP)
N/A | topic:gdscript | low | Critical |
2,459,348,770 | rust | Compiling a cdylib crate depending on some dylib crates does not reexport their symbols | It seems somewhat like #50007 strikes again?
Reproduction:
```
$ git clone https://gist.github.com/lf-/6ee8a527027b16d82b53137750c3e8b2 repro
$ cd repro
$ sh build.sh
$ nm -g libcrabmul.so
00000000000010f0 T crabmul
w __cxa_finalize
w __gmon_start__
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
U __rust_alloc
U __rust_alloc_zeroed
U rust_begin_unwind
U __rust_dealloc
U rust_eh_personality
0000000000000000 N rust_metadata_crabmul_1390237220c2291d
U __rust_realloc
$ nm -g libtoplevel.so
w __cxa_finalize
w __gmon_start__
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
```
I am trying to build a cdylib to link to C++ that uses other dylibs (since there are multiple C++ dylibs which each need a corresponding Rust cdylib to not break the C++ dependency hierarchy horribly). In doing this, it would be useful to be able to publicly export functions from the linked dylibs, which `pub use` is allegedly supposed to work for, but I am observing it not working.
I tried this code:
`meowcrab.rs` (dylib):
```rust
#[no_mangle]
pub extern "C" fn crab_add(a: u32, b: u32) -> u32 {
a + b
}
```
`crabmul.rs` (dylib):
```rust
#[no_mangle]
pub extern "C" fn crabmul(a: u32, b: u32) -> u32 {
a * b
}
```
`toplevel.rs` (cdylib):
```rust
pub use crabmul::crabmul;
pub use meowcrab::crab_add;
```
`build.sh`:
(note, this is very lightly edited from meson's generated build plan, you can probably delete like half the flags)
```sh
sysroot_lib=$(rustc +nightly --print sysroot)/lib
rustc +nightly -C linker=clang --crate-type dylib --edition=2021 -g -v --crate-name meowcrab --emit link=libmeowcrab.so --out-dir libmeowcrab.so.p -C metadata=meowcrab@sha -C prefer-dynamic meowcrab.rs
rustc +nightly -C linker=clang --crate-type dylib --edition=2021 -g -v --crate-name crabmul --emit link=libcrabmul.so --out-dir libcrabmul.so.p -C metadata=crabmul@sha -C prefer-dynamic crabmul.rs
rustc +nightly -C linker=clang --crate-type cdylib --edition=2021 -g -v --crate-name toplevel --emit link=libtoplevel.so --out-dir libtoplevel.so.p -C metadata=toplevel@sha --extern meowcrab=libmeowcrab.so --extern crabmul=libcrabmul.so -L. -C prefer-dynamic -C "link-arg=-Wl,-rpath,\$ORIGIN/:$sysroot_lib" -C link-arg=-Wl,-rpath-link,.:"$sysroot_lib" toplevel.rs
```
I expected to see this happen: I would expect to see the exported symbols exported from `libtoplevel.so`.
Instead, this happened: The exported symbols are not re-exported from `libtoplevel.so` in spite of the fix to #50007 seemingly saying they are intended to be.
### 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-nightly (ca5d25e2c 2024-08-09)
binary: rustc
commit-hash: ca5d25e2c41f5a6b4ce65c681bf2f94c7ead1f14
commit-date: 2024-08-09
host: x86_64-unknown-linux-gnu
release: 1.82.0-nightly
LLVM version: 19.1.0
``` | A-linkage,T-compiler,C-bug | low | Critical |
2,459,368,037 | rust | Several platforms still have incorrectly aligned `u128`/`i128` | I tried this code:
```rust
fn main() {
dbg!(std::mem::align_of::<u128>());
}
```
I expected to see this happen: The printed alignment to match the alignment used for `__int128_t` by GCC and Clang.
Instead, this happened: On 64-bit PowerPC, 64-bit SPARC and 64-bit MIPS, Rust thinks the alignment is 8 whereas GCC and Clang think the alignment is 16. The PowerPC 64-bit ABI specifications (both ELFv1 and ELFv2) agree with GCC and Clang (I'm not aware of any specification for 128-bit integers on SPARC64 or MIPS64, but GCC/Clang's behaviour seems to be the de-facto standard). This is because the LLVM data layout for the affected platforms doesn't correctly specify the alignment. This is the same as #54341 but on different architectures (cc rust-lang/lang-team#255). I initially discovered this when running [abi-cafe](https://github.com/Gankra/abi-cafe/) on PowerPC64 to test #128643. I've filed an LLVM bug at llvm/llvm-project#102783.
### Meta
`rustc --version --verbose`:
```
rustc 1.82.0-nightly (ca5d25e2c 2024-08-09)
binary: rustc
commit-hash: ca5d25e2c41f5a6b4ce65c681bf2f94c7ead1f14
commit-date: 2024-08-09
host: x86_64-unknown-linux-gnu
release: 1.82.0-nightly
LLVM version: 19.1.0
``` | A-LLVM,A-FFI,O-MIPS,T-compiler,O-PowerPC,O-SPARC,C-bug,A-ABI,llvm-fixed-upstream,S-waiting-on-LLVM | low | Critical |
2,459,371,669 | rust | Indeterminate `HashSet::contains` behavior | <!--
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
use std::borrow::Borrow;
use std::collections::HashSet;
#[derive(PartialEq, Eq, Hash)]
struct Label(pub [u8; 7]);
impl Label {
pub fn new(x: &str) -> Self {
let mut bytes = x.bytes();
Label(std::array::from_fn(|_| bytes.next().unwrap()))
}
}
impl Borrow<str> for &Label {
fn borrow(&self) -> &str {
println!("───────────────────────────────────────────────────────────────────");
std::str::from_utf8(&self.0).unwrap()
}
}
impl Borrow<[u8]> for &Label {
fn borrow(&self) -> &[u8] {
&self.0
}
}
fn main() {
let labels = [
Label::new("label01"),
Label::new("label02"),
Label::new("label03"),
];
let mut hs = HashSet::new();
for i in 0..labels.len() {
hs.insert(&labels[i]);
}
println!("Contains -> {}", hs.contains(b"label01" as &[u8]));
println!("Contains -> {}", hs.contains("label01"));
}
```
I included an implementation of `Borrow<[u8]> for &Label` as a sanity check, but the main focus here is `Borrow<str> for &Label`.
#### I expected to see this happen:
For every run to print the long line "────", triggered by the `.contains()` call in the last line of `main()`.
#### Instead, this happened:
The long line "────" is only printed on certain runs. It prints at about one in every 30 runs of `cargo run`.
### 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.80.0 (051478957 2024-07-21)
binary: rustc
commit-hash: 051478957371ee0084a7c0913941d2a8c4757bb9
commit-date: 2024-07-21
host: aarch64-apple-darwin
release: 1.80.0
LLVM version: 18.1.7
```
<details>
<summary>Screenshot of trying `cargo run` multiple times</summary>

</details> | T-libs-api,A-docs,T-libs,C-discussion | low | Critical |
2,459,374,741 | rust | compiletest: test suites handle normalizations differently and inconsistently | Noticed in https://github.com/rust-lang/rust/pull/128929#discussion_r1712861343.
Some test suites use `normalize_output` when error format is JSON, some test suites do a bit of their own normalization with custom rules, and what we end up with is likely some duplicate logic and subtle inconsistencies. We should probably have e.g. paths normalized consistently across test suites, and document the suite-specific normalizations. | C-cleanup,E-hard,T-compiler,A-docs,A-compiletest,E-needs-design,E-needs-investigation | low | Critical |
2,459,390,495 | rust | Remove `LlvmArchiveBuilder` after a few months if no regression is found | [Support reading thin archives in ArArchiveBuilder #128936](https://github.com/rust-lang/rust/pull/128936) switches from using `LlvmArchiveBuilder` to `ArArchiveBuilder`. | C-cleanup,T-compiler | low | Minor |
2,459,398,483 | tauri | [bug] The IconMenuItem icon cannot be used in a webview | ### Describe the bug
```ts
const toImage = async () => {
return new Promise((resolve) => {
const img = new Image();
img.src = logo;
img.onload = () => {
requestAnimationFrame(() => {
// 创建canvas元素
let canvas = document.createElement("canvas");
document.body.append(canvas);
canvas.width = img.width;
canvas.height = img.height;
let ctx = canvas.getContext("2d")!;
const imageData = ctx.createImageData(100, 100);
// 遍历每个像素点
for (let i = 0; i < imageData.data.length; i += 4) {
// 修改像素数据
imageData.data[i + 0] = 190; // R 值
imageData.data[i + 1] = 0; // G 值
imageData.data[i + 2] = 210; // B 值
imageData.data[i + 3] = 0; // A 值
}
// const imageData = ctx.getImageData(0,0, canvas.width, canvas.height)
resolve(new Uint8Array(imageData.data.buffer));
});
};
});
};
const submenu = async (menuText: string, text: string) => {
const icon = await toImage();
let res = await Submenu.new({
text: menuText,
enabled: true,
items: [
await IconMenuItem.new({
icon,
enabled: true,
// icon: new Uint8Array([0, 0, 0, 1]),
text: "icon menu",
}),
await MenuItem.new({
text,
enabled: true,
action() {
console.log(`点击了${menuText}-${text}`);
},
}),
],
});
return res;
};
```
error: Unhandled Promise Rejection: invalid args `options` for command `new`: data did not match any variant of untagged enum Icon
### Reproduction
_No response_
### Expected behavior
_No response_
### Full `tauri info` output
```text
[✔] Environment
- OS: Mac OS 14.1.0 X64
✔ Xcode Command Line Tools: installed
✔ rustc: 1.75.0 (82e1608df 2023-12-21)
✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
✔ rustup: 1.26.0 (2023-04-05)
✔ Rust toolchain: stable-aarch64-apple-darwin (default)
- node: 22.2.0
- pnpm: 8.13.1
- npm: 10.7.0
- bun: 1.0.30
[-] Packages
- tauri [RUST]: 2.0.0-rc.0
- tauri-build [RUST]: 2.0.0-rc.0
- wry [RUST]: 0.41.0
- tao [RUST]: 0.28.1
- @tauri-apps/api [NPM]: 2.0.0-rc.0
- @tauri-apps/cli [NPM]: 2.0.0-rc.1
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: SolidJS
- bundler: Vite
```
### Stack trace
_No response_
### Additional context
_No response_ | type: bug,status: needs triage | low | Critical |
2,459,413,534 | tauri | [feat] [v2] Make `set_ignore_cursor_events` available for `Webview` | ### Describe the problem
I was making two webviews in one window, one is as an transparent overlay over the other. But I noticed that I can't click through the overlay webview to the underlay webview. Although there is a `set_ignore_cursor_events` method for `Window`, wandering if `Webview` can also do this.
### Describe the solution you'd like
Can click through overlay webview into underlay one.
### Alternatives considered
_No response_
### Additional context
_No response_ | type: feature request | low | Minor |
2,459,417,679 | langchain | FAISS - Incorrect warning and relevance score when using `MAX_INNER_PRODUCT` and `normalize_L2` | ### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
### Example Code
```python
from langchain_community.vectorstores import FAISS
from langchain_aws import BedrockEmbeddings
texts = ["I like apples", "I like oranges"]
distance_strategy = "MAX_INNER_PRODUCT"
embeddings = BedrockEmbeddings(
region_name="us-east-1", model_id="amazon.titan-embed-text-v1"
)
normalize_L2 = False
vectorstore = FAISS.from_texts(
texts,
embeddings,
distance_strategy=distance_strategy,
normalize_L2=normalize_L2
)
results = vectorstore.similarity_search_with_score("I like apples", k=1)
print(results)
normalize_L2 = True
vectorstore = FAISS.from_texts(
texts,
embeddings,
distance_strategy=distance_strategy,
normalize_L2=normalize_L2
)
results = vectorstore.similarity_search_with_score("I like apples", k=1)
print(results)
results = vectorstore.similarity_search_with_relevance_scores("I like apples", k=1)
print(results)
```
### Error Message and Stack Trace (if applicable)
_No response_
### Description
According to [FAISS](https://github.com/facebookresearch/faiss/wiki/MetricType-and-distances#how-can-i-index-vectors-for-cosine-similarity), the cosine similarity can be obtained by normalizing the vectors first and then using inner product to build the index. However, running the code above, when setting `normalize_L2 = True`, there will be a warning:
```
UserWarning: Normalizing L2 is not applicable for metric type: MAX_INNER_PRODUCT
```
Moreover, the relevance score is counterintuitive. If we are computing cosine similarity, the relevance score from `similarity_search_with_relevance_scores` should be identity to the score from `similarity_search_with_score`. However, the implementation will lead to smaller relevance score when two vectors are closer.
https://github.com/langchain-ai/langchain/blob/fd546196ef0fafa4a4cd7bb7ebb1771ef599f372/libs/core/langchain_core/vectorstores/base.py#L422-L427
### System Info
System Information
------------------
> OS: Linux
> OS Version: #1 SMP Tue May 21 16:52:24 UTC 2024
> Python Version: 3.10.13 | packaged by conda-forge | (main, Oct 26 2023, 18:07:37) [GCC 12.3.0]
Package Information
-------------------
> langchain_core: 0.2.10
> langchain: 0.2.6
> langchain_community: 0.2.6
> langsmith: 0.1.82
> langchain_aws: 0.1.8
> langchain_text_splitters: 0.2.2
> langgraph: 0.1.3 | Ɑ: vector store,🤖:bug,investigate | low | Critical |
2,459,441,335 | deno | `npm:cli-table` push() is not a function | Repro:
```js
import Table from "npm:cli-table";
const table = new Table();
console.log(table.push(["foo", "bar"]));
```
```
error: Uncaught (in promise) TypeError: table.push is not a function
console.log(table.push(["foo", "bar"]));
^
at file:///home/divy/gh/deno/repro.mjs:4:19
```
Ref https://github.com/denoland/deno/issues/24408 | bug,node compat | low | Critical |
2,459,442,385 | ollama | Getting `Error: unexpected status code 200` when pulling a model from an internal registry v0.3.1 and above | ### What is the issue?
Starting version 0.3.1, when pulling a model from an internal registry (https://distribution.github.io/distribution/), I'm getting the error `unexpected status code 200`.
Version up to 0.3.0 worked properly with this setup.
The line returning the error seems to be https://github.com/ollama/ollama/compare/v0.3.0...v0.3.1#diff-9e32d213fc229fc9c327863932f4fc8a875d854333b5ad2dffa9b43fd0848232R226
# How to reproduce
Via docker-compose, I create a test environment with ollama and registry.
```
version: "3"
services:
ollama:
image: ollama/ollama:0.3.0
ports:
- "11434"
registry:
image: registry:2
environment:
REGISTRY_LOG_LEVEL: debug
REGISTRY_LOG_ACCESSLOG_DISABLED: "false"
ports:
- "5000"
```
Start the test stack via `docker compose up -d`.
In the snippet above, I'm using ollama v0.3.0.
The following commands will pull a model (qwen2:0.5b for sake of size), and push it to the local registry.
```
docker compose exec ollama ollama pull qwen2:0.5b
docker compose exec ollama ollama cp qwen2:0.5b registry:5000/library/qwen2:0.5b
docker compose exec ollama ollama push registry:5000/library/qwen2:0.5b --insecure
```
Now the models can be remove from ollama:
```
docker compose exec ollama ollama rm qwen2:0.5b registry:5000/library/qwen2:0.5b
```
And re-downloaded from the local registry:
```
docker compose exec ollama ollama pull registry:5000/library/qwen2:0.5b --insecure
```
With ollama version up to 0.3.0 (included), this works.
With ollama version from 0.3.1 (included), I'm getting the following error:
```
Error: unexpected status code 200
```
### OS
Docker
### GPU
_No response_
### CPU
_No response_
### Ollama version
0.3.1 and above | bug | low | Critical |
2,459,454,258 | tauri | [bug] Poor performance on Arch Linux until Web inspector is opened | ### Describe the bug
Update: 8/11/24
Mostly fixed by switching to wayland. Wayland/nvidia dont get along, so it's causing more issues elsewhere, but at least it's something.
Update: 8/17/24
After building a simple conceptual app with some pretty standard css, I am actually surprised that linux support is even mentioned in the docs and that tauri is being marketed as such. Without some bold warnings, engineering teams may be wasting a good deal of time getting to this same point i've reached, where I've built just enough of an application where I've realized it's basically a non-op on linux. A big **LINUX SUPPORT IS VERY EXPERIMENTAL, IT PROBABLY WONT WORK FOR YOU** would've saved me and others a lot of time. I get that webkitgtk is at fault here, but that doesn't change the previously mentioned oversights costing people time.

I have been attempting to find a solution to the webkit issues on my Arch Linux installation without adding flags to disable the hw accelerated rendering. I've also been attempting to debug issues caused by the previously mentioned flags.
Using the basic tauri install as an example, I stumbled upon something very interesting when `WEBKIT_DISABLE_COMPOSITING_MODE=1`...
Normal usage w/ clear artifacts:


Same app, but with inspector open (right click + inspect element):

I've only observed the artifacts using Arch Linux. Here is my nvidia info:
```
❯ nvidia-smi
Sat Aug 10 23:50:21 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58 Driver Version: 555.58 CUDA Version: 12.5 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3080 Ti Off | 00000000:01:00.0 On | N/A |
| 0% 50C P5 82W / 350W | 1324MiB / 12288MiB | 7% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
```
### Reproduction
_No response_
### Expected behavior
_No response_
### Full `tauri info` output
```text
❯ npm run tauri info
> mud@0.0.0 tauri
> tauri info
[✔] Environment
- OS: Arch Linux Rolling Release X64
✔ webkit2gtk-4.0: 2.44.2
✔ rsvg2: 2.58.1
✔ rustc: 1.80.1 (3f5fd8dd4 2024-08-06)
✔ cargo: 1.80.1 (376290515 2024-07-16)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
- node: 22.3.0
- npm: 10.8.2
- bun: 1.0.22
[-] Packages
- tauri [RUST]: 1.7.1
- tauri-build [RUST]: 1.5.3
- wry [RUST]: 0.24.10
- tao [RUST]: 0.16.9
- @tauri-apps/api : not installed!
- @tauri-apps/cli [NPM]: 1.6.0
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../src
- devPath: ../src
```
### Stack trace
_No response_
### Additional context
_No response_ | type: bug,status: upstream,platform: Linux,status: needs triage | low | Critical |
2,459,474,623 | puppeteer | [Bug]: Firefox does not save the preferences if you set the option userDataDir | ### Minimal, reproducible example
```TypeScript
const { join } = require('node:path');
const { tmpdir } = require('node:os');
const { mkdirSync, existsSync } = require('node:fs');
const puppeteer = require('puppeteer-core'); // version 23.0.2
main();
async function main() {
const userDataDir = join(tmpdir(), 'firefox_test_udd');
if (!existsSync(userDataDir)) mkdirSync(userDataDir, { recursive: true });
const browser = await puppeteer.launch({
browser: 'firefox',
protocol: 'webDriverBiDi',
pipe: true,
protocolTimeout: 100000 * 1000,
defaultViewport: null,
waitForInitialPage: false,
headless: false,
executablePath: '/Applications/Firefox.app/Contents/MacOS/firefox',
userDataDir,
});
}
```
### Background
I am launching the Firefox (129) browser via the puppeteer-core. In the browser, I go to **about:preferences** and enable **Open previous windows and tabs**. Add few tabs and closing the browser. On next startup this settings is dropped and the tabs are not saved. On my research I found the problem in `userDataDir` option. If omit this option then all works fine.
### Expectation
It is expected that all settings will be saved.

### Reality
But in reality, the settings are not saved.

### Puppeteer configuration file (if used)
_No response_
### Puppeteer version
23.0.2
### Node version
20.10.0
### Package manager
npm
### Package manager version
10.2.3
### Operating system
macOS | bug,upstream,confirmed,P3,firefox | low | Critical |
2,459,475,186 | flutter | [tool_crash] _TypeError: (#0 currentPackageConfig (package:flutter_tools/src/dart/package_map.dart:16:56)) | ## Command
```sh
flutter run
```
## Steps to Reproduce
1. ...
2. ...
3. ...
## Logs
_TypeError: (#0 currentPackageConfig (package:flutter_tools/src/dart/package_map.dart:16:56))
```console
#0 currentPackageConfig (package:flutter_tools/src/dart/package_map.dart:16:56)
#1 _loadDwdsDirectory (package:flutter_tools/src/isolated/devfs_web.dart:1236:45)
#2 WebAssetServer.start (package:flutter_tools/src/isolated/devfs_web.dart:270:15)
<asynchronous suspension>
#3 WebDevFS.create (package:flutter_tools/src/isolated/devfs_web.dart:860:22)
<asynchronous suspension>
#4 ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/isolated/resident_web_runner.dart:325:19)
<asynchronous suspension>
#5 asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:24)
<asynchronous suspension>
```
```console
[32m[✓][39m Flutter (Channel master, 3.24.0-1.0.pre.528, on macOS 14.5 23F79 darwin-arm64 (Rosetta), locale en-IN)
[32m•[39m Flutter version 3.24.0-1.0.pre.528 on channel master at /Users/sarathnk/Desktop/development/flutter
[32m•[39m Upstream repository https://github.com/flutter/flutter.git
[32m•[39m Framework revision 493c453d57 (2 days ago), 2024-08-09 12:53:15 +0200
[32m•[39m Engine revision c9ec468c75
[32m•[39m Dart version 3.6.0 (build 3.6.0-131.0.dev)
[32m•[39m DevTools version 2.38.0
[32m[✓][39m Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[32m•[39m Android SDK at /Users/sarathnk/Library/Android/sdk
[32m•[39m Platform android-34, build-tools 33.0.1
[32m•[39m Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
[32m•[39m Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[32m•[39m All Android licenses accepted.
[33m[!][39m Xcode - develop for iOS and macOS (Xcode 15.4)
[32m•[39m Xcode at /Applications/Xcode.app/Contents/Developer
[32m•[39m Build 15F31d
[33m![39m CocoaPods 1.11.2 out of date (1.13.0 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[32m[✓][39m Chrome - develop for the web
[32m•[39m Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[32m[✓][39m Android Studio (version 2022.3)
[32m•[39m Android Studio at /Applications/Android Studio.app/Contents
[32m•[39m Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
[32m•[39m Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[32m•[39m Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[32m[✓][39m IntelliJ IDEA Community Edition (version 2024.1)
[32m•[39m IntelliJ at /Applications/IntelliJ IDEA CE.app
[32m•[39m Flutter plugin version 81.0.2
[32m•[39m Dart plugin version 241.17502
[32m[✓][39m Connected device (3 available)
[32m•[39m macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 (Rosetta)
[32m•[39m Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 (Rosetta)
[32m•[39m Chrome (web) • chrome • web-javascript • Google Chrome 118.0.5993.117
[32m[✓][39m Network resources
[32m•[39m All expected network resources are available.
[33m![39m Doctor found issues in 1 category.
```
## Flutter Application Metadata
**Type**: app
**Version**: 1.0.0+1
**Material**: true
**Android X**: false
**Module**: false
**Plugin**: false
**Android package**: null
**iOS bundle identifier**: null
**Creation channel**: master
**Creation framework version**: 493c453d578054912fd7eca655de71ab437e3ce0
| c: crash,tool,P2,team-tool,triaged-tool | low | Critical |
2,459,485,660 | stable-diffusion-webui | [Bug]: "fatal: detected dubious ownership in repository" | ### Checklist
- [ ] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
### What happened?
when I ran webui...
```
fatal: detected dubious ownership in repository at 'D:/ProgsOthers/StableDiffusion-WebUI/sd test/stable-diffusion-webui'
'D:/ProgsOthers/StableDiffusion-WebUI/sd test/stable-diffusion-webui' is owned by:
BUILTIN/Administrators (S-1-5-32-544)
but the current user is:
######-#######/##### (S-1-5-21-3082892508-2244180325-9347525-1001)
To add an exception for this directory, call:
git config --global --add safe.directory 'D:/ProgsOthers/StableDiffusion-WebUI/sd test/stable-diffusion-webui'
fatal: detected dubious ownership in repository at 'D:/ProgsOthers/StableDiffusion-WebUI/sd test/stable-diffusion-webui'
'D:/ProgsOthers/StableDiffusion-WebUI/sd test/stable-diffusion-webui' is owned by:
BUILTIN/Administrators (S-1-5-32-544)
but the current user is:
DESKTOP-8UON8OD/Mastar (S-1-5-21-3082892508-2244180325-9347525-1001)
To add an exception for this directory, call:
git config --global --add safe.directory 'D:/ProgsOthers/StableDiffusion-WebUI/sd test/stable-diffusion-webui'
```
...however...the correct command was...
```
git config --global safe.directory "D:/ProgsOthers/StableDiffusion-WebUI/sd test/stable-diffusion-webui"
```
### Steps to reproduce the problem
Windows 10 non-wsl, python 3.10.6
### What should have happened?
x
### What browsers do you use to access the UI ?
_No response_
### Sysinfo
x
### Console logs
```Shell
x
```
### Additional information
x | bug-report | low | Critical |
2,459,506,561 | stable-diffusion-webui | [Bug]: protobuf==3.20.0 requirement breaks several extensions and offline mode | ### Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [X] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
### What happened?
If you install any of those extensions (or had those installed prior to last stable WebUI-Update) :
adetailer
sd-webui-controlnet
stable-diffusion-webui-wd14-tagger
WebUI wont be able to start offline, since those extensions will download and install protobuf > 3.20.0 (currently "protobuf 4.25.4").
Uninstalling protobuf 4.25.4 and installing protobuf 3.20.0, will break the extensions mentioned above.
(Looks like mediapipe, which is required for all above extentions, causes this compatibility problem)
```
python -m pip check
mediapipe 0.10.14 has requirement protobuf<5,>=4.25.3, but you have protobuf 3.20.0.
onnx 1.16.1 has requirement protobuf>=3.20.2, but you have protobuf 3.20.0.
tensorflow-intel 2.17.0 has requirement protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, but you have protobuf 3.20.0.
```
When those extensions (and so the protobuf 4.25.4 is installed), the WebUI will not run in offline mode.
However with internet access, on every run is "Installing requirements" is displayed and webui starts.
When run in offline mode WebUI tries every time to download protobuf==3.20.0, fails and will not start:
```
venv "E:\WebUI\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing requirements
Traceback (most recent call last):
File "E:\WebUI\stable-diffusion-webui\launch.py", line 48, in <module>
main()
File "E:\WebUI\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "E:\WebUI\stable-diffusion-webui\modules\launch_utils.py", line 423, in prepare_environment
run_pip(f"install -r \"{requirements_file}\"", "requirements")
File "E:\WebUI\stable-diffusion-webui\modules\launch_utils.py", line 144, in run_pip
return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
File "E:\WebUI\stable-diffusion-webui\modules\launch_utils.py", line 116, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install requirements.
Command: "E:\WebUI\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install -r "requirements_versions.txt" --prefer-binary
Error code: 1
stdout: Requirement already satisfied: setuptools==69.5.1 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 1)) (69.5.1)
Requirement already satisfied: GitPython==3.1.32 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 2)) (3.1.32)
Requirement already satisfied: Pillow==9.5.0 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 3)) (9.5.0)
Requirement already satisfied: accelerate==0.21.0 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 4)) (0.21.0)
Requirement already satisfied: blendmodes==2022 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 5)) (2022)
Requirement already satisfied: clean-fid==0.1.35 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 6)) (0.1.35)
Requirement already satisfied: diskcache==5.6.3 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 7)) (5.6.3)
Requirement already satisfied: einops==0.4.1 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 8)) (0.4.1)
Requirement already satisfied: facexlib==0.3.0 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 9)) (0.3.0)
Requirement already satisfied: fastapi==0.94.0 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 10)) (0.94.0)
Requirement already satisfied: gradio==3.41.2 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 11)) (3.41.2)
Requirement already satisfied: httpcore==0.15 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 12)) (0.15.0)
Requirement already satisfied: inflection==0.5.1 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 13)) (0.5.1)
Requirement already satisfied: jsonmerge==1.8.0 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 14)) (1.8.0)
Requirement already satisfied: kornia==0.6.7 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 15)) (0.6.7)
Requirement already satisfied: lark==1.1.2 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 16)) (1.1.2)
Requirement already satisfied: numpy==1.26.2 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 17)) (1.26.2)
Requirement already satisfied: omegaconf==2.2.3 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 18)) (2.2.3)
Requirement already satisfied: open-clip-torch==2.20.0 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 19)) (2.20.0)
Requirement already satisfied: piexif==1.1.3 in E:\WebUI\stable-diffusion-webui\venv\lib\site-packages (from -r requirements_versions.txt (line 20)) (1.1.3)
stderr: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001767A88C160>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/protobuf/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001767A88C490>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/protobuf/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001767A88C640>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/protobuf/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001767A88C7F0>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/protobuf/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001767A88C9A0>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions')': /simple/protobuf/
ERROR: Could not find a version that satisfies the requirement protobuf==3.20.0 (from versions: none)
ERROR: No matching distribution found for protobuf==3.20.0
```
currently i had to uninstall all above extentions and do:
```
pip uninstall -y protobuf mediapipe onnxruntime onnxruntime-gpu open-clip-torch tensorboard open-clip-torch tensorflow-intel onnx insightface tensorflow open-clip-torch
```
After that webui will need to download its reqs again, but the offline mode will work after installing those
### Steps to reproduce the problem
1. Install any of the extentions above
2. start webui online so it could download the reqs
3. close webui
4. start webui offline
5. webui wont start
### What should have happened?
webui should be able to start offline with following extentions:
adetailer
sd-webui-controlnet
stable-diffusion-webui-wd14-tagger
### What browsers do you use to access the UI ?
Mozilla Firefox
### Sysinfo
```
{
"Platform": "Windows-10-10.0.19045-SP0",
"Python": "3.10.10",
"Version": "v1.10.1",
"Commit": "82a973c04367123ae98bd9abdf80d9eda9b910e2",
"Git status": "On branch master\nYour branch is up to date with 'origin/master'.\n\nUntracked files:\n (use \"git add <file>...\" to include in what will be committed)\n\t-extensions-break-webui/\n\txSTARTME.bat\n\tGitBash.bat\n\tztestTorch.py\n\nnothing added to commit but untracked files present (use \"git add\" to track)",
"Script path": "E:\\WebUI\\stable-diffusion-webui",
"Data path": "E:\\WebUI\\stable-diffusion-webui",
"Extensions dir": "E:\\WebUI\\stable-diffusion-webui\\extensions",
"Checksum": "d43551809fb043246971204f163c2a4208e5c7321330b2423569f924d7b70354",
"Commandline": [
"launch.py",
"--no-half-vae",
"--opt-sdp-no-mem-attention",
"--opt-channelslast",
"--theme",
"dark",
"--ckpt-dir",
"E:\\WebUI\\RES\\model",
"--embeddings-dir",
"E:\\WebUI\\RES\\embedding",
"--hypernetwork-dir",
"E:\\WebUI\\RES\\hypernetwork",
"--lora-dir",
"E:\\WebUI\\RES\\lora",
"--vae-dir",
"E:\\WebUI\\RES\\vae",
"--bsrgan-models-path",
"E:\\WebUI\\RES\\upscalers\\BSRGAN",
"--codeformer-models-path",
"E:\\WebUI\\RES\\upscalers\\Codeformer",
"--esrgan-models-path",
"E:\\WebUI\\RES\\upscalers\\ESRGAN",
"--gfpgan-models-path",
"E:\\WebUI\\RES\\upscalers\\GFPGAN",
"--ldsr-models-path",
"E:\\WebUI\\RES\\upscalers\\LDSR",
"--realesrgan-models-path",
"E:\\WebUI\\RES\\upscalers\\RealESRGAN",
"--scunet-models-path",
"E:\\WebUI\\RES\\upscalers\\ScuNET",
"--swinir-models-path",
"E:\\WebUI\\RES\\upscalers\\SwinIR",
"--dat-models-path",
"E:\\WebUI\\RES\\upscalers\\DAT"
],
"Torch env info": {
"torch_version": "2.1.2+cu121",
"is_debug_build": "False",
"cuda_compiled_version": "12.1",
"gcc_version": null,
"clang_version": null,
"cmake_version": null,
"os": "Microsoft Windows 10 Pro",
"libc_version": "N/A",
"python_version": "3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] (64-bit runtime)",
"python_platform": "Windows-10-10.0.19045-SP0",
"is_cuda_available": "True",
"cuda_runtime_version": null,
"cuda_module_loading": "LAZY",
"nvidia_driver_version": "556.12",
"nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 3090 Ti",
"cudnn_version": null,
"pip_version": "pip3",
"pip_packages": [
"numpy==1.26.2",
"open-clip-torch==2.20.0",
"pytorch-lightning==1.9.4",
"torch==2.1.2+cu121",
"torchdiffeq==0.2.3",
"torchmetrics==1.4.0.post0",
"torchsde==0.2.6",
"torchvision==0.16.2+cu121"
],
"conda_packages": null,
"hip_compiled_version": "N/A",
"hip_runtime_version": "N/A",
"miopen_runtime_version": "N/A",
"caching_allocator_config": "",
"is_xnnpack_available": "True",
"cpu_info": [
"Architecture=9",
"CurrentClockSpeed=3501",
"DeviceID=CPU0",
"Family=107",
"L2CacheSize=8192",
"L2CacheSpeed=",
"Manufacturer=AuthenticAMD",
"MaxClockSpeed=3501",
"Name=AMD Ryzen 9 3950X 16-Core Processor ",
"ProcessorType=3",
"Revision=28928"
]
},
"Exceptions": [],
"CPU": {
"model": "AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD",
"count logical": 32,
"count physical": 16
},
"RAM": {
"total": "64GB",
"used": "23GB",
"free": "41GB"
},
"Extensions": [
{
"name": "a1111-sd-webui-tagcomplete",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\a1111-sd-webui-tagcomplete",
"commit": "1c6bba2a3d0a8d2dec0c180873e5090dee654ada",
"branch": "main",
"remote": "https://github.com/DominikDoom/a1111-sd-webui-tagcomplete"
},
{
"name": "adetailer",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\adetailer",
"commit": "25e7509fe018de8aa063a5f1902598f5eda0c06c",
"branch": "main",
"remote": "https://github.com/Bing-su/adetailer.git"
},
{
"name": "diffusion-noise-alternatives-webui",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\diffusion-noise-alternatives-webui",
"commit": "7a3f0a6c6c25be46590dc66e67801322fb59ad9f",
"branch": "main",
"remote": "https://github.com/Seshelle/diffusion-noise-alternatives-webui"
},
{
"name": "sd-webui-controlnet",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\sd-webui-controlnet",
"commit": "56cec5b2958edf3b1807b7e7b2b1b5186dbd2f81",
"branch": "main",
"remote": "https://github.com/Mikubill/sd-webui-controlnet"
},
{
"name": "sd-webui-freeu",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\sd-webui-freeu",
"commit": "c618bb7f269c8428f4b6cc47fcac67084e050d19",
"branch": "main",
"remote": "https://github.com/ljleb/sd-webui-freeu"
},
{
"name": "sd-webui-vectorscope-cc",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\sd-webui-vectorscope-cc",
"commit": "54720821c873d58c8898eeed8a9bb42f04d0249d",
"branch": "main",
"remote": "https://github.com/Haoming02/sd-webui-vectorscope-cc"
},
{
"name": "sdweb-merge-block-weighted-gui",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\sdweb-merge-block-weighted-gui",
"commit": "8a62a753e791a75273863dd04958753f0df7532f",
"branch": "master",
"remote": "https://github.com/bbc-mc/sdweb-merge-block-weighted-gui.git"
},
{
"name": "stable-diffusion-webui-wd14-tagger",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-wd14-tagger",
"commit": "f4b56ef07bc3c9c1a59f7d67fbf8479ffab2ab68",
"branch": "master",
"remote": "https://github.com/67372a/stable-diffusion-webui-wd14-tagger"
}
],
"Inactive extensions": [
{
"name": "sd-webui-aspect-ratio-helper",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\sd-webui-aspect-ratio-helper",
"commit": "99fcf9b0a4e3f8c8cac07b12d17b66f12297b828",
"branch": "main",
"remote": "https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git"
},
{
"name": "sd-webui-model-converter",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\sd-webui-model-converter",
"commit": "e5488193d255a37216a31b9b99dd11a85dfd2ad9",
"branch": "main",
"remote": "https://github.com/Akegarasu/sd-webui-model-converter.git"
},
{
"name": "stable-diffusion-webui-daam",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-daam",
"commit": "0906c850fb70d7e4b296f9449763d48fa8d1e687",
"branch": "master",
"remote": "https://github.com/toriato/stable-diffusion-webui-daam.git"
},
{
"name": "stable-diffusion-webui-tokenizer",
"path": "E:\\WebUI\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-tokenizer",
"commit": "ac6d541c7032e9f9c69c8ead2ed201302b06a4fe",
"branch": "master",
"remote": "https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer.git"
}
],
"Environment": {
"COMMANDLINE_ARGS": " --no-half-vae --opt-sdp-no-mem-attention --opt-channelslast --theme dark --ckpt-dir \"E:\\WebUI\\RES\\model\" --embeddings-dir \"E:\\WebUI\\RES\\embedding\" --hypernetwork-dir \"E:\\WebUI\\RES\\hypernetwork\" --lora-dir \"E:\\WebUI\\RES\\lora\" --vae-dir \"E:\\WebUI\\RES\\vae\" --bsrgan-models-path \"E:\\WebUI\\RES\\upscalers\\BSRGAN\" --codeformer-models-path \"E:\\WebUI\\RES\\upscalers\\Codeformer\" --esrgan-models-path \"E:\\WebUI\\RES\\upscalers\\ESRGAN\" --gfpgan-models-path \"E:\\WebUI\\RES\\upscalers\\GFPGAN\" --ldsr-models-path \"E:\\WebUI\\RES\\upscalers\\LDSR\" --realesrgan-models-path \"E:\\WebUI\\RES\\upscalers\\RealESRGAN\" --scunet-models-path \"E:\\WebUI\\RES\\upscalers\\ScuNET\" --swinir-models-path \"E:\\WebUI\\RES\\upscalers\\SwinIR\" --dat-models-path \"E:\\WebUI\\RES\\upscalers\\DAT\"",
"GRADIO_ANALYTICS_ENABLED": "False"
},
"Config": {
"samples_save": false,
"samples_format": "jpg",
"samples_filename_pattern": "[datetime<%Y%m%d_%H%M%S>]",
"save_images_add_number": false,
"grid_save": true,
"grid_format": "jpg",
"grid_extended_filename": true,
"grid_only_if_multiple": true,
"grid_prevent_empty_spots": false,
"n_rows": -1,
"enable_pnginfo": true,
"save_txt": false,
"save_images_before_face_restoration": false,
"save_images_before_highres_fix": false,
"save_images_before_color_correction": false,
"jpeg_quality": 95,
"export_for_4chan": true,
"use_original_name_batch": true,
"use_upscaler_name_as_suffix": false,
"save_selected_only": true,
"do_not_add_watermark": true,
"temp_dir": "T:/Temp",
"clean_temp_dir_at_start": true,
"outdir_samples": "",
"outdir_txt2img_samples": "T:\\_SD_GENS\\txt2img-images",
"outdir_img2img_samples": "T:\\_SD_GENS\\img2img-images",
"outdir_extras_samples": "T:\\_SD_GENS\\extras-images",
"outdir_grids": "",
"outdir_txt2img_grids": "E:\\WebUI\\RES\\img\\SD-out\\_SD_GENS\\x\\txt2img-grids",
"outdir_img2img_grids": "E:\\WebUI\\RES\\img\\SD-out\\_SD_GENS\\x\\img2img-grids",
"outdir_save": "E:\\WebUI\\RES\\img\\SD-out\\_SD_GENS",
"save_to_dirs": true,
"grid_save_to_dirs": true,
"use_save_to_dirs_for_ui": false,
"directories_filename_pattern": "W[width]xH[height]",
"directories_max_prompt_words": 8,
"ESRGAN_tile": 192,
"ESRGAN_tile_overlap": 8,
"realesrgan_enabled_models": [
"R-ESRGAN 4x+",
"R-ESRGAN 4x+ Anime6B",
"R-ESRGAN General 4xV3",
"R-ESRGAN General WDN 4xV3",
"R-ESRGAN AnimeVideo",
"R-ESRGAN 2x+"
],
"upscaler_for_img2img": "ESRGAN_4x",
"face_restoration_model": "CodeFormer",
"code_former_weight": 0.5,
"face_restoration_unload": false,
"show_warnings": false,
"memmon_poll_rate": 8,
"samples_log_stdout": false,
"multiple_tqdm": true,
"print_hypernet_extra": false,
"unload_models_when_training": false,
"pin_memory": false,
"save_optimizer_state": false,
"save_training_settings_to_txt": true,
"dataset_filename_word_regex": "",
"dataset_filename_join_string": " ",
"training_image_repeats_per_epoch": 1,
"training_write_csv_every": 500,
"training_xattention_optimizations": false,
"training_enable_tensorboard": false,
"training_tensorboard_save_images": false,
"training_tensorboard_flush_every": 120,
"sd_model_checkpoint": "XXXXXXXXXXXXXXX-CUT-XXXXXXXXXXXXXXXXXXXXX",
"sd_checkpoint_cache": 0,
"sd_vae_checkpoint_cache": 0,
"sd_vae": "sdxl_vae.safetensors",
"sd_vae_as_default": true,
"inpainting_mask_weight": 1.0,
"initial_noise_multiplier": 1.0,
"img2img_color_correction": false,
"img2img_fix_steps": false,
"img2img_background_color": "#ffffff",
"enable_quantization": false,
"enable_emphasis": true,
"enable_batch_seeds": true,
"comma_padding_backtrack": 20,
"CLIP_stop_at_last_layers": 1,
"upcast_attn": true,
"use_old_emphasis_implementation": false,
"use_old_karras_scheduler_sigmas": false,
"use_old_hires_fix_width_height": false,
"interrogate_keep_models_in_memory": false,
"interrogate_return_ranks": false,
"interrogate_clip_num_beams": 1,
"interrogate_clip_min_length": 24,
"interrogate_clip_max_length": 48,
"interrogate_clip_dict_limit": 1500,
"interrogate_clip_skip_categories": [],
"interrogate_deepbooru_score_threshold": 0.5,
"deepbooru_sort_alpha": true,
"deepbooru_use_spaces": true,
"deepbooru_escape": true,
"deepbooru_filter_tags": "",
"extra_networks_default_view": "cards",
"extra_networks_default_multiplier": 0.8,
"sd_hypernetwork": "None",
"return_grid": true,
"do_not_show_images": false,
"add_model_hash_to_info": true,
"add_model_name_to_info": true,
"disable_weights_auto_swap": false,
"send_seed": true,
"send_size": true,
"font": "",
"js_modal_lightbox": true,
"js_modal_lightbox_initially_zoomed": true,
"show_progress_in_title": true,
"samplers_in_dropdown": true,
"dimensions_and_batch_together": true,
"keyedit_precision_attention": 0.1,
"keyedit_precision_extra": 0.05,
"quicksettings": "sd_model_checkpoint,CLIP_stop_at_last_layers,eta_noise_seed_delta,sd_vae,extra_networks_default_multiplier,lora_apply_to_outputs",
"ui_reorder": "override_settings, inpaint, sampler, checkboxes, hires_fix, dimensions, cfg, seed, batch, scripts",
"ui_extra_networks_tab_reorder": "",
"localization": "None",
"show_progressbar": true,
"live_previews_enable": true,
"show_progress_grid": true,
"show_progress_every_n_steps": 10,
"show_progress_type": "Full",
"live_preview_content": "Combined",
"live_preview_refresh_period": 1000,
"hide_samplers": [],
"eta_ddim": 0.0,
"eta_ancestral": 1.0,
"ddim_discretize": "uniform",
"s_churn": 0.0,
"s_tmin": 0.0,
"s_noise": 1.0,
"eta_noise_seed_delta": 31337,
"always_discard_next_to_last_sigma": false,
"postprocessing_enable_in_main_ui": [],
"postprocessing_operation_order": [],
"upscaling_max_images_in_cache": 5,
"disabled_extensions": [
"openpose-editor",
"sd-webui-aspect-ratio-helper",
"sd-webui-model-converter",
"stable-diffusion-webui-daam",
"stable-diffusion-webui-tokenizer",
"ultimate-upscale-for-automatic1111"
],
"sd_checkpoint_hash": "45a5febab2aac097e4af608a3ed2a23d3c34b547144a8872f6f9a06616c1a2a8",
"ldsr_steps": 100,
"ldsr_cached": false,
"SWIN_tile": 192,
"SWIN_tile_overlap": 8,
"sd_lora": "None",
"lora_apply_to_outputs": false,
"tac_tagFile": "danbooru.csv",
"tac_active": true,
"tac_activeIn.txt2img": true,
"tac_activeIn.img2img": true,
"tac_activeIn.negativePrompts": true,
"tac_activeIn.thirdParty": true,
"tac_activeIn.modelList": "",
"tac_activeIn.modelListMode": "Blacklist",
"tac_maxResults": 30.0,
"tac_showAllResults": true,
"tac_resultStepLength": 100.0,
"tac_delayTime": 100.0,
"tac_useWildcards": true,
"tac_useEmbeddings": true,
"tac_useHypernetworks": true,
"tac_useLoras": true,
"tac_showWikiLinks": true,
"tac_replaceUnderscores": true,
"tac_escapeParentheses": true,
"tac_appendComma": true,
"tac_alias.searchByAlias": true,
"tac_alias.onlyShowAlias": false,
"tac_translation.translationFile": "None",
"tac_translation.oldFormat": false,
"tac_translation.searchByTranslation": true,
"tac_extra.extraFile": "None",
"tac_extra.onlyAliasExtraFile": false,
"additional_networks_sort_models_by": "path name",
"additional_networks_reverse_sort_order": false,
"additional_networks_model_name_filter": "",
"additional_networks_xy_grid_model_metadata": "",
"additional_networks_hash_thread_count": 1.0,
"additional_networks_back_up_model_when_saving": true,
"additional_networks_show_only_safetensors": false,
"additional_networks_show_only_models_with_metadata": "disabled",
"additional_networks_max_top_tags": 20.0,
"images_history_preload": false,
"images_record_paths": true,
"images_delete_message": true,
"images_history_page_columns": 6.0,
"images_history_page_rows": 6.0,
"images_history_pages_perload": 20.0,
"promptgen_names": "AUTOMATIC/promptgen-lexart, AUTOMATIC/promptgen-majinai-safe, AUTOMATIC/promptgen-majinai-unsafe",
"promptgen_device": "gpu",
"tac_extra.addMode": "Insert before",
"additional_networks_max_dataset_folders": 20.0,
"control_net_model_config": "E:\\WebUI\\stable-diffusion-webui\\extensions\\sd-webui-controlnet\\models\\cldm_v15.yaml",
"control_net_models_path": "",
"control_net_control_transfer": false,
"control_net_no_detectmap": false,
"control_net_only_midctrl_hires": true,
"control_net_allow_script_control": false,
"img_downscale_threshold": 4.0,
"target_side_length": 4000.0,
"no_dpmpp_sde_batch_determinism": false,
"control_net_model_adapter_config": "E:\\WebUI\\stable-diffusion-webui\\extensions\\sd-webui-controlnet\\models\\sketch_adapter_v14.yaml",
"control_net_detectedmap_dir": "E:\\WebUI\\RES\\img\\SD-out\\_SD_GENS\\detected_maps",
"control_net_detectmap_autosaving": false,
"control_net_skip_img2img_processing": false,
"control_net_only_mid_control": false,
"control_net_max_models_num": 3,
"control_net_model_cache_size": 2,
"control_net_monocular_depth_optim": false,
"control_net_cfg_based_guidance": false,
"tac_slidingPopup": true,
"webp_lossless": false,
"img_max_size_mp": 200.0,
"extra_networks_add_text_separator": " ",
"hidden_tabs": [],
"uni_pc_variant": "bh1",
"uni_pc_skip_type": "time_uniform",
"uni_pc_order": 3,
"uni_pc_lower_order_final": true,
"control_net_sync_field_args": false,
"arh_expand_by_default": false,
"arh_ui_component_order_key": "MaxDimensionScaler, PredefinedAspectRatioButtons, PredefinedPercentageButtons",
"arh_show_max_width_or_height": true,
"arh_max_width_or_height": 1728,
"arh_show_predefined_aspect_ratios": true,
"arh_predefined_aspect_ratio_use_max_dim": false,
"arh_predefined_aspect_ratios": "1:1, 2:3, 3:5 , 4:3, 16:9, 9:16, 21:9",
"arh_show_predefined_percentages": true,
"arh_predefined_percentages": "25, 50, 75, 125, 150, 175, 200",
"arh_predefined_percentages_display_key": "Incremental/decremental percentage (-50%, +50%)",
"save_mask": false,
"save_mask_composite": false,
"extra_networks_card_width": 0.0,
"extra_networks_card_height": 0.0,
"return_mask": false,
"return_mask_composite": false,
"arh_javascript_aspect_ratio_show": false,
"arh_javascript_aspect_ratio": "1:1, 3:2, 4:3, 5:4, 16:9, 1.85:1, 2.35:1, 2.39:1, 2.40:1, 21:9, 1.375:1, 1.66:1, 1.75:1",
"arh_hide_accordion_by_default": false,
"disable_all_extensions": "none",
"tac_useLycos": true,
"tac_keymap": "{\n \"MoveUp\": \"ArrowUp\",\n \"MoveDown\": \"ArrowDown\",\n \"JumpUp\": \"PageUp\",\n \"JumpDown\": \"PageDown\",\n \"JumpToStart\": \"Home\",\n \"JumpToEnd\": \"End\",\n \"ChooseSelected\": \"Enter\",\n \"ChooseFirstOrSelected\": \"Tab\",\n \"Close\": \"Escape\"\n}",
"tac_colormap": "{\n \"danbooru\": {\n \"-1\": [\"red\", \"maroon\"],\n \"0\": [\"lightblue\", \"dodgerblue\"],\n \"1\": [\"indianred\", \"firebrick\"],\n \"3\": [\"violet\", \"darkorchid\"],\n \"4\": [\"lightgreen\", \"darkgreen\"],\n \"5\": [\"orange\", \"darkorange\"]\n },\n \"e621\": {\n \"-1\": [\"red\", \"maroon\"],\n \"0\": [\"lightblue\", \"dodgerblue\"],\n \"1\": [\"gold\", \"goldenrod\"],\n \"3\": [\"violet\", \"darkorchid\"],\n \"4\": [\"lightgreen\", \"darkgreen\"],\n \"5\": [\"tomato\", \"darksalmon\"],\n \"6\": [\"red\", \"maroon\"],\n \"7\": [\"whitesmoke\", \"black\"],\n \"8\": [\"seagreen\", \"darkseagreen\"]\n }\n}",
"arh_ui_javascript_selection_method": "Aspect Ratios Dropdown",
"control_net_modules_path": "",
"control_net_high_res_only_mid": false,
"restore_config_state_file": "",
"save_init_img": false,
"outdir_init_images": "E:\\WebUI\\RES\\img\\SD-out\\_SD_GENS\\init-images",
"SCUNET_tile": 256,
"SCUNET_tile_overlap": 8,
"randn_source": "GPU",
"dont_fix_second_order_samplers_schedule": false,
"sd_lyco": "None",
"keyedit_delimiters": ".,\\/!?%^*;:{}=`~()",
"gradio_theme": "Default",
"s_min_uncond": 0,
"controlnet_show_batch_images_in_ui": false,
"controlnet_increment_seed_during_batch": false,
"quicksettings_list": [
"sd_model_checkpoint",
"CLIP_stop_at_last_layers",
"eta_noise_seed_delta",
"sd_vae",
"extra_networks_default_multiplier",
"lora_apply_to_outputs",
"token_merging_ratio",
"token_merging_ratio_hr",
"img2img_extra_noise"
],
"lora_functional": false,
"lora_preferred_name": "Filename",
"js_modal_lightbox_gamepad": true,
"js_modal_lightbox_gamepad_repeat": 250.0,
"add_version_to_infotext": true,
"tac_translation.liveTranslation": false,
"tac_chantFile": "demo-chants.json",
"ad_max_models": 4,
"ad_save_previews": false,
"ad_save_images_before": false,
"ad_only_seleted_scripts": true,
"ad_script_names": "dynamic_prompting,dynamic_thresholding,wildcards,wildcard_recursive",
"ad_bbox_sortby": "None",
"list_hidden_files": true,
"cross_attention_optimization": "Automatic",
"token_merging_ratio": 0,
"token_merging_ratio_img2img": 0,
"token_merging_ratio_hr": 0,
"extra_networks_show_hidden_directories": true,
"extra_networks_hidden_models": "When searched",
"lora_add_hashes_to_infotext": true,
"img2img_editor_height": 720,
"ui_tab_order": [],
"hires_fix_show_sampler": false,
"hires_fix_show_prompts": true,
"live_previews_image_format": "jpeg",
"tac_refreshTempFiles": "Refresh TAC temp files",
"controlnet_disable_control_type": false,
"tac_wildcardCompletionMode": "To next folder level",
"arh_show_min_width_or_height": false,
"arh_min_width_or_height": 1024,
"controlnet_disable_openpose_edit": false,
"ui_reorder_list": [
"override_settings"
],
"grid_zip_filename_pattern": "",
"sd_unet": "Automatic",
"pad_cond_uncond": false,
"experimental_persistent_cond_cache": false,
"hires_fix_use_firstpass_conds": false,
"disable_token_counters": false,
"extra_options": [],
"extra_options_accordion": false,
"infotext_styles": "Apply if any",
"k_sched_type": "Automatic",
"sigma_min": 0.0,
"sigma_max": 0.0,
"rho": 0.0,
"canvas_hotkey_zoom": "Alt",
"canvas_hotkey_adjust": "Ctrl",
"canvas_hotkey_move": "F",
"canvas_hotkey_fullscreen": "S",
"canvas_hotkey_reset": "R",
"canvas_hotkey_overlap": "O",
"canvas_show_tooltip": true,
"canvas_disabled_functions": [
"Overlap"
],
"tac_appendSpace": true,
"tac_alwaysSpaceAtEnd": true,
"tac_modelKeywordCompletion": "Never",
"control_net_inpaint_blur_sigma": 7,
"grid_text_active_color": "#000000",
"grid_text_inactive_color": "#999999",
"grid_background_color": "#ffffff",
"disable_mmap_load_safetensors": false,
"auto_vae_precision": true,
"sdxl_crop_top": 0.0,
"sdxl_crop_left": 0.0,
"sdxl_refiner_low_aesthetic_score": 2.5,
"sdxl_refiner_high_aesthetic_score": 6.0,
"extra_networks_card_text_scale": 1,
"extra_networks_card_show_desc": true,
"textual_inversion_print_at_load": false,
"textual_inversion_add_hashes_to_infotext": true,
"lora_show_all": true,
"lora_hide_unknown_for_versions": [],
"keyedit_move": true,
"add_user_name_to_info": false,
"canvas_blur_prompt": false,
"control_net_no_high_res_fix": false,
"tac_sortWildcardResults": true,
"tac_showExtraNetworkPreviews": true,
"controlnet_ignore_noninpaint_mask": false,
"sd_vae_overrides_per_model_preferences": false,
"save_incomplete_images": false,
"face_restoration": false,
"auto_launch_browser": "Disable",
"show_gradio_deprecation_warnings": true,
"hide_ldm_prints": true,
"api_enable_requests": true,
"api_forbid_local_requests": true,
"api_useragent": "",
"sd_checkpoints_limit": 2,
"sd_checkpoints_keep_in_cpu": true,
"tiling": false,
"hires_fix_refiner_pass": "second pass",
"sd_vae_encode_method": "Full",
"sd_vae_decode_method": "Full",
"img2img_extra_noise": 0.03,
"img2img_sketch_default_brush_color": "#ffffff",
"img2img_inpaint_mask_brush_color": "#ffffff",
"img2img_inpaint_sketch_default_brush_color": "#ffffff",
"persistent_cond_cache": true,
"batch_cond_uncond": true,
"use_old_scheduling": false,
"lora_in_memory_limit": 0,
"gradio_themes_cache": true,
"gallery_height": "",
"extra_options_txt2img": [],
"extra_options_img2img": [],
"extra_options_cols": 1,
"live_preview_allow_lowvram_full": false,
"live_preview_fast_interrupt": true,
"s_tmax": 0,
"sgm_noise_multiplier": false,
"canvas_auto_expand": true,
"tagger_out_filename_fmt": "[name].[output_extension]",
"tagger_count_threshold": 100,
"tagger_batch_recursive": true,
"tagger_auto_serde_json": true,
"tagger_store_images": false,
"tagger_weighted_tags_files": false,
"tagger_verbose": false,
"tagger_repl_us": true,
"tagger_repl_us_excl": "0_0, (o)_(o), +_+, +_-, ._., <o>_<o>, <|>_<|>, =_=, >_<, 3_3, 6_9, >_o, @_@, ^_^, o_o, u_u, x_x, |_|, ||_||",
"tagger_escape": false,
"tagger_batch_size": 1024.0,
"tagger_hf_cache_dir": "E:\\WebUI\\stable-diffusion-webui\\models\\interrogators",
"tac_includeEmbeddingsInNormalResults": false,
"tac_modelKeywordLocation": "Start of prompt",
"control_net_unit_count": 3,
"tac_modelSortOrder": "Name",
"ad_extra_models_dir": "",
"ad_same_seed_for_each_tap": false,
"hypertile_enable_unet": false,
"hypertile_enable_unet_secondpass": false,
"hypertile_max_depth_unet": 3,
"hypertile_max_tile_unet": 256,
"hypertile_swap_size_unet": 3,
"hypertile_enable_vae": false,
"hypertile_max_depth_vae": 3,
"hypertile_max_tile_vae": 128,
"hypertile_swap_size_vae": 3,
"tac_wildcardExclusionList": "",
"tac_skipWildcardRefresh": false,
"save_images_replace_action": "Replace",
"notification_audio": true,
"notification_volume": 100,
"extra_networks_dir_button_function": false,
"extra_networks_card_order_field": "Path",
"extra_networks_card_order": "Ascending",
"img2img_batch_show_results_limit": 32,
"add_vae_name_to_info": true,
"add_vae_hash_to_info": true,
"infotext_skip_pasting": [],
"js_live_preview_in_modal_lightbox": false,
"keyedit_delimiters_whitespace": [
"Tab",
"Carriage Return",
"Line Feed"
],
"compact_prompt_box": false,
"sd_checkpoint_dropdown_use_short": false,
"txt2img_settings_accordion": false,
"img2img_settings_accordion": false,
"enable_console_prompts": false,
"dump_stacks_on_signal": false,
"postprocessing_existing_caption_action": "Ignore",
"tac_useLoraPrefixForLycos": true,
"controlnet_crop_upscale_script_only": false,
"controlnet_disable_photopea_edit": false,
"controlnet_photopea_warning": true,
"controlnet_clip_detector_on_cpu": false,
"tac_useStyleVars": false,
"SWIN_torch_compile": false,
"tac_frequencySort": true,
"tac_frequencyFunction": "Logarithmic (weak)",
"tac_frequencyMinCount": 3,
"tac_frequencyMaxAge": 30,
"tac_frequencyRecommendCap": 10,
"tac_frequencyIncludeAlias": false,
"cc_metadata": true,
"auto_backcompat": true,
"use_downcasted_alpha_bar": true,
"refiner_switch_by_sample_steps": false,
"extra_networks_card_description_is_html": false,
"extra_networks_tree_view_style": "Dirs",
"extra_networks_tree_view_default_enabled": true,
"extra_networks_tree_view_default_width": 180.0,
"lora_not_found_warning_console": false,
"lora_not_found_gradio_warning": false,
"pad_cond_uncond_v0": false,
"fp8_storage": "Disable",
"cache_fp16_weight": false,
"sd_noise_schedule": "Default",
"emphasis": "Original",
"enable_prompt_comments": true,
"auto_vae_precision_bfloat16": false,
"overlay_inpaint": true,
"sd_webui_modal_lightbox_icon_opacity": 1,
"sd_webui_modal_lightbox_toolbar_opacity": 0.9,
"open_dir_button_choice": "Subdirectory",
"include_styles_into_token_counters": true,
"interrupt_after_current": true,
"enable_reloading_ui_scripts": false,
"prioritized_callbacks_app_started": [],
"prioritized_callbacks_model_loaded": [],
"prioritized_callbacks_ui_tabs": [],
"prioritized_callbacks_ui_settings": [],
"prioritized_callbacks_after_component": [],
"prioritized_callbacks_infotext_pasted": [],
"prioritized_callbacks_script_unloaded": [],
"prioritized_callbacks_before_ui": [],
"prioritized_callbacks_on_reload": [],
"prioritized_callbacks_list_optimizers": [],
"prioritized_callbacks_before_token_counter": [],
"prioritized_callbacks_script_before_process": [],
"prioritized_callbacks_script_process": [],
"prioritized_callbacks_script_before_process_batch": [],
"prioritized_callbacks_script_postprocess": [],
"prioritized_callbacks_script_postprocess_batch": [],
"prioritized_callbacks_script_post_sample": [],
"prioritized_callbacks_script_on_mask_blend": [],
"prioritized_callbacks_script_postprocess_image": [],
"prioritized_callbacks_script_postprocess_maskoverlay": [],
"enable_upscale_progressbar": true,
"postprocessing_disable_in_extras": [],
"dat_enabled_models": [
"DAT x2",
"DAT x3",
"DAT x4"
],
"DAT_tile": 192,
"DAT_tile_overlap": 8,
"set_scale_by_when_changing_upscaler": false,
"canvas_hotkey_shrink_brush": "Q",
"canvas_hotkey_grow_brush": "W",
"controlnet_control_type_dropdown": false,
"disable_mean_in_calclate_cond": false,
"freeu_png_info_auto_enable": true,
"prioritized_callbacks_cfg_after_cfg": [],
"prioritized_callbacks_script_process_batch": [],
"ad_same_seed_for_each_tab": false,
"save_write_log_csv": true,
"lora_bundled_ti_to_infotext": true,
"s_min_uncond_all": false,
"skip_early_cond": 0,
"beta_dist_alpha": 0.6,
"beta_dist_beta": 0.6,
"sdxl_clip_l_skip": false,
"sd3_enable_t5": false,
"prevent_screen_sleep_during_generation": true,
"profiling_enable": false,
"profiling_activities": [
"CPU"
],
"profiling_record_shapes": true,
"profiling_profile_memory": true,
"profiling_with_stack": true,
"profiling_filename": "trace.json",
"ad_only_selected_scripts": true
},
"Startup": {
"total": 35.55865979194641,
"records": {
"initial startup": 0.01500391960144043,
"prepare environment/checks": 0.005001544952392578,
"prepare environment/git version info": 0.03400874137878418,
"prepare environment/torch GPU test": 1.746356725692749,
"prepare environment/clone repositores": 0.10702705383300781,
"prepare environment/install requirements": 9.278183221817017,
"prepare environment/run extensions installers/a1111-sd-webui-tagcomplete": 0.0,
"prepare environment/run extensions installers/adetailer": 0.11202836036682129,
"prepare environment/run extensions installers/diffusion-noise-alternatives-webui": 0.0,
"prepare environment/run extensions installers/sd-webui-controlnet": 0.11703181266784668,
"prepare environment/run extensions installers/sd-webui-freeu": 0.0,
"prepare environment/run extensions installers/sd-webui-vectorscope-cc": 0.0,
"prepare environment/run extensions installers/sdweb-merge-block-weighted-gui": 0.0,
"prepare environment/run extensions installers/stable-diffusion-webui-wd14-tagger": 2.7473819255828857,
"prepare environment/run extensions installers": 2.9764420986175537,
"prepare environment": 14.147019386291504,
"launcher": 0.0010001659393310547,
"import torch": 2.7877724170684814,
"import gradio": 0.669173002243042,
"setup paths": 2.5366580486297607,
"import ldm": 0.0040013790130615234,
"import sgm": 0.0,
"initialize shared": 0.2037980556488037,
"other imports": 0.41710829734802246,
"opts onchange": 0.0010001659393310547,
"setup SD model": 0.0,
"setup codeformer": 0.0009999275207519531,
"setup gfpgan": 0.007001638412475586,
"set samplers": 0.0,
"list extensions": 0.0020008087158203125,
"restore config state file": 0.0,
"list SD models": 0.18398213386535645,
"list localizations": 0.0,
"load scripts/custom_code.py": 0.005001544952392578,
"load scripts/img2imgalt.py": 0.0010004043579101562,
"load scripts/loopback.py": 0.0,
"load scripts/outpainting_mk_2.py": 0.0,
"load scripts/poor_mans_outpainting.py": 0.0,
"load scripts/postprocessing_codeformer.py": 0.0,
"load scripts/postprocessing_gfpgan.py": 0.0009999275207519531,
"load scripts/postprocessing_upscale.py": 0.0,
"load scripts/prompt_matrix.py": 0.0,
"load scripts/prompts_from_file.py": 0.0,
"load scripts/sd_upscale.py": 0.0,
"load scripts/xyz_grid.py": 0.002000570297241211,
"load scripts/ldsr_model.py": 0.9752531051635742,
"load scripts/lora_script.py": 4.5637688636779785,
"load scripts/scunet_model.py": 0.031008005142211914,
"load scripts/swinir_model.py": 0.028007030487060547,
"load scripts/hotkey_config.py": 0.0,
"load scripts/extra_options_section.py": 0.0010004043579101562,
"load scripts/hypertile_script.py": 0.05801534652709961,
"load scripts/postprocessing_autosized_crop.py": 0.0,
"load scripts/postprocessing_caption.py": 0.0,
"load scripts/postprocessing_create_flipped_copies.py": 0.0010004043579101562,
"load scripts/postprocessing_focal_crop.py": 0.0009996891021728516,
"load scripts/postprocessing_split_oversized.py": 0.0,
"load scripts/soft_inpainting.py": 0.0,
"load scripts/model_keyword_support.py": 0.0030012130737304688,
"load scripts/shared_paths.py": 0.0,
"load scripts/tag_autocomplete_helper.py": 0.785203218460083,
"load scripts/tag_frequency_db.py": 0.0010001659393310547,
"load scripts/!adetailer.py": 0.5280201435089111,
"load scripts/Alternate Noise.py": 0.0009992122650146484,
"load scripts/adapter.py": 0.0,
"load scripts/api.py": 0.20205354690551758,
"load scripts/batch_hijack.py": 0.0,
"load scripts/cldm.py": 0.002000570297241211,
"load scripts/controlnet.py": 0.5245223045349121,
"load scripts/controlnet_diffusers.py": 0.0,
"load scripts/controlnet_lllite.py": 0.0,
"load scripts/controlnet_lora.py": 0.0,
"load scripts/controlnet_model_guess.py": 0.0010001659393310547,
"load scripts/controlnet_sparsectrl.py": 0.0,
"load scripts/controlnet_version.py": 0.0,
"load scripts/enums.py": 0.0010001659393310547,
"load scripts/external_code.py": 0.0,
"load scripts/global_state.py": 0.0010001659393310547,
"load scripts/hook.py": 0.0,
"load scripts/infotext.py": 0.0,
"load scripts/logging.py": 0.0010004043579101562,
"load scripts/lvminthin.py": 0.0,
"load scripts/movie2movie.py": 0.0,
"load scripts/supported_preprocessor.py": 0.0010001659393310547,
"load scripts/utils.py": 0.0010004043579101562,
"load scripts/xyz_grid_support.py": 0.0,
"load scripts/freeu.py": 0.10002660751342773,
"load scripts/cc.py": 0.0029997825622558594,
"load scripts/cc_callback.py": 0.03901100158691406,
"load scripts/cc_colorpicker.py": 0.0,
"load scripts/cc_const.py": 0.0,
"load scripts/cc_hdr.py": 0.0,
"load scripts/cc_scaling.py": 0.0,
"load scripts/cc_settings.py": 0.03200817108154297,
"load scripts/cc_style.py": 0.0,
"load scripts/cc_xyz.py": 0.0,
"load scripts/merge_block_weighted_extension.py": 0.040009498596191406,
"load scripts/tagger.py": 0.10702824592590332,
"load scripts/comments.py": 0.03300881385803223,
"load scripts/refiner.py": 0.0010004043579101562,
"load scripts/sampler.py": 0.0,
"load scripts/seed.py": 0.0,
"load scripts": 8.075949668884277,
"load upscalers": 0.00600123405456543,
"refresh VAE": 0.3540916442871094,
"refresh textual inversion templates": 0.0,
"scripts list_optimizers": 0.0010001659393310547,
"scripts list_unets": 0.0,
"reload hypernetworks": 0.0010023117065429688,
"initialize extra networks": 0.010001420974731445,
"cleanup temp dir": 0.0010004043579101562,
"scripts before_ui_callback": 0.0010004043579101562,
"create ui": 5.570947885513306,
"gradio launch": 0.5461413860321045,
"add APIs": 0.006002187728881836,
"app_started_callback/lora_script.py": 0.0009999275207519531,
"app_started_callback/tag_autocomplete_helper.py": 0.0030007362365722656,
"app_started_callback/!adetailer.py": 0.0,
"app_started_callback/api.py": 0.003000497817993164,
"app_started_callback/tagger.py": 0.002000570297241211,
"app_started_callback": 0.009001731872558594
}
},
"Packages": [
"absl-py==2.1.0",
"accelerate==0.21.0",
"addict==2.4.0",
"aenum==3.1.15",
"aiofiles==23.2.1",
"aiohttp==3.9.5",
"aiosignal==1.3.1",
"albumentations==1.4.3",
"altair==5.3.0",
"antlr4-python3-runtime==4.9.3",
"anyio==3.7.1",
"astunparse==1.6.3",
"async-timeout==4.0.3",
"attrs==23.2.0",
"beautifulsoup4==4.12.3",
"blendmodes==2022",
"certifi==2024.7.4",
"cffi==1.16.0",
"chardet==5.2.0",
"charset-normalizer==3.3.2",
"clean-fid==0.1.35",
"click==8.1.7",
"clip @ https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip#sha256=b5842c25da441d6c581b53a5c60e0c2127ebafe0f746f8e15561a006c6c3be6a",
"colorama==0.4.6",
"coloredlogs==15.0.1",
"colorlog==6.8.2",
"contourpy==1.2.1",
"controlnet-aux==0.0.9",
"cssselect2==0.7.0",
"cycler==0.12.1",
"Cython==3.0.10",
"deepdanbooru==1.0.3",
"deprecation==2.1.0",
"depth_anything @ https://github.com/huchenlei/Depth-Anything/releases/download/v1.0.0/depth_anything-2024.1.22.0-py2.py3-none-any.whl#sha256=26c1d38b8c3c306b4a2197d725a4b989ff65f7ebcf4fb5a96a1b6db7fbd56780",
"depth_anything_v2 @ https://github.com/MackinationsAi/UDAV2-ControlNet/releases/download/v1.0.0/depth_anything_v2-2024.7.1.0-py2.py3-none-any.whl#sha256=6848128867d1f7c7519d88df0f88bfab89100dc5225259c4d7cb90325c308c9f",
"diskcache==5.6.3",
"dsine @ https://github.com/sdbds/DSINE/releases/download/1.0.2/dsine-2024.3.23-py3-none-any.whl#sha256=b9ea3bacce09f9b3f7fb4fa12471da7e465b2f9a60412711105a9238db280442",
"easydict==1.13",
"einops==0.4.1",
"exceptiongroup==1.2.2",
"facexlib==0.3.0",
"fastapi==0.94.0",
"ffmpy==0.3.3",
"filelock==3.15.4",
"filterpy==1.4.5",
"flatbuffers==24.3.25",
"fonttools==4.53.1",
"frozenlist==1.4.1",
"fsspec==2024.6.1",
"ftfy==6.2.0",
"fvcore==0.1.5.post20221221",
"gast==0.6.0",
"gdown==5.2.0",
"geffnet==1.0.2",
"gitdb==4.0.11",
"GitPython==3.1.32",
"glob2==0.5",
"google-pasta==0.2.0",
"gradio==3.41.2",
"gradio_client==0.5.0",
"grpcio==1.65.1",
"h11==0.12.0",
"h5py==3.11.0",
"handrefinerportable @ https://github.com/huchenlei/HandRefinerPortable/releases/download/v1.0.1/handrefinerportable-2024.2.12.0-py2.py3-none-any.whl#sha256=1e6c702905919f4c49bcb2db7b20d334e8458a7555cd57630600584ec38ca6a9",
"httpcore==0.15.0",
"httpx==0.24.1",
"huggingface-hub==0.24.3",
"humanfriendly==10.0",
"idna==3.7",
"imageio==2.34.2",
"importlib_metadata==8.2.0",
"importlib_resources==6.4.0",
"inflection==0.5.1",
"insightface @ https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp310-cp310-win_amd64.whl#sha256=47aa0571b2aadd8545d4bc7615dfbc374c10180c283b7ac65058fcb41ed4df86",
"iopath==0.1.9",
"jax==0.4.31",
"jaxlib==0.4.31",
"Jinja2==3.1.4",
"joblib==1.4.2",
"jsonmerge==1.8.0",
"jsonschema==4.23.0",
"jsonschema-specifications==2023.12.1",
"keras==3.4.1",
"kiwisolver==1.4.5",
"kornia==0.6.7",
"lark==1.1.2",
"lazy_loader==0.4",
"libclang==18.1.1",
"lightning-utilities==0.11.6",
"llvmlite==0.43.0",
"lxml==5.2.2",
"manifold3d==2.5.1",
"Markdown==3.6",
"markdown-it-py==3.0.0",
"MarkupSafe==2.1.5",
"matplotlib==3.9.1",
"mdurl==0.1.2",
"mediapipe==0.10.14",
"ml-dtypes==0.4.0",
"mpmath==1.3.0",
"multidict==6.0.5",
"namex==0.0.8",
"networkx==3.3",
"numba==0.60.0",
"numpy==1.26.2",
"omegaconf==2.2.3",
"onnx==1.16.2",
"onnxruntime==1.18.1",
"open-clip-torch==2.20.0",
"opencv-contrib-python==4.10.0.84",
"opencv-python==4.10.0.84",
"opencv-python-headless==4.10.0.84",
"opt-einsum==3.3.0",
"optree==0.12.1",
"orjson==3.10.6",
"packaging==24.1",
"pandas==2.2.2",
"piexif==1.1.3",
"Pillow==9.5.0",
"pillow-avif-plugin==1.4.3",
"pip==24.2",
"platformdirs==4.2.2",
"portalocker==2.10.1",
"prettytable==3.10.2",
"protobuf==4.25.4",
"psutil==5.9.5",
"py-cpuinfo==9.0.0",
"pycollada==0.8",
"pycparser==2.22",
"pydantic==1.10.17",
"pydub==0.25.1",
"Pygments==2.18.0",
"pyparsing==3.1.2",
"pyreadline3==3.4.1",
"PySocks==1.7.1",
"python-dateutil==2.9.0.post0",
"python-multipart==0.0.9",
"pytorch-lightning==1.9.4",
"pytz==2024.1",
"PyWavelets==1.6.0",
"pywin32==306",
"PyYAML==6.0.1",
"referencing==0.35.1",
"regex==2024.7.24",
"reportlab==4.2.2",
"requests==2.32.3",
"resize-right==0.0.2",
"rich==13.7.1",
"rpds-py==0.19.1",
"Rtree==1.3.0",
"safetensors==0.4.2",
"scikit-image==0.21.0",
"scikit-learn==1.5.1",
"scipy==1.14.0",
"seaborn==0.13.2",
"semantic-version==2.10.0",
"sentencepiece==0.2.0",
"setuptools==69.5.1",
"shapely==2.0.5",
"six==1.16.0",
"smmap==5.0.1",
"sniffio==1.3.1",
"sounddevice==0.4.7",
"soupsieve==2.5",
"spandrel==0.3.4",
"spandrel_extra_arches==0.1.1",
"starlette==0.26.1",
"svg.path==6.3",
"svglib==1.5.1",
"sympy==1.13.1",
"tabulate==0.9.0",
"tensorboard==2.17.0",
"tensorboard-data-server==0.7.2",
"tensorflow==2.17.0",
"tensorflow-intel==2.17.0",
"tensorflow-io-gcs-filesystem==0.31.0",
"termcolor==2.4.0",
"threadpoolctl==3.5.0",
"tifffile==2024.7.24",
"timm==0.6.7",
"tinycss2==1.3.0",
"tokenizers==0.13.3",
"tomesd==0.1.3",
"tomli==2.0.1",
"toolz==0.12.1",
"torch==2.1.2+cu121",
"torchdiffeq==0.2.3",
"torchmetrics==1.4.0.post0",
"torchsde==0.2.6",
"torchvision==0.16.2+cu121",
"tqdm==4.66.4",
"trampoline==0.1.2",
"transformers==4.30.2",
"trimesh==4.4.3",
"typing_extensions==4.12.2",
"tzdata==2024.1",
"ultralytics==8.2.70",
"ultralytics-thop==2.0.0",
"urllib3==2.2.2",
"uvicorn==0.30.3",
"vhacdx==0.0.8.post1",
"wcwidth==0.2.13",
"webencodings==0.5.1",
"websockets==11.0.3",
"Werkzeug==3.0.3",
"wheel==0.43.0",
"wrapt==1.16.0",
"xatlas==0.0.9",
"xxhash==3.4.1",
"yacs==0.1.8",
"yapf==0.40.2",
"yarl==1.9.4",
"zipp==3.19.2"
]
}
```
### Console logs
```Shell
see above
```
### Additional information
_No response_ | bug-report | low | Critical |
2,459,512,188 | flutter | EditableText's clipBehaviour only clips when overflowing horizontally | ### Steps to reproduce
1. Create an `EditableText` with a `TextStyle` that has a reduced height (0.5).
2. Enter any text into the EditableText. It is rendered without clipping.
3. Continue entering text until the EditableText becomes scrollable. Text starts clipping.
### Expected results
EditableText should clip it's content even if it is only overflowing vertically.
### Actual results
EditableText clips the content only when it overflows horizontally (becomes scrollable).
Reproducible on stable releases 3.19.3, 3.22.3, 3.24.0 and on latest master.
### Code sample
<details open><summary>Code sample</summary>
```dart
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const Scaffold(
body: Center(
child: Input(),
),
),
);
}
}
class Input extends StatefulWidget {
const Input({super.key});
@override
State<Input> createState() => _InputState();
}
class _InputState extends State<Input> {
final focusNode = FocusNode();
final controller = TextEditingController();
@override
Widget build(BuildContext context) {
return DecoratedBox(
decoration: BoxDecoration(
border: Border.all(
color: Colors.black,
width: 1,
),
),
child: EditableText(
clipBehavior: Clip.hardEdge,
controller: controller,
focusNode: focusNode,
style: Theme.of(context).textTheme.displayLarge!.copyWith(
height: 0.5,
),
cursorColor: Colors.black,
backgroundCursorColor: Colors.black,
),
);
}
}
```
</details>
### Screenshots or Video
<details open>
<summary>Screenshots / Video demonstration</summary>
| Text is not clipping | Text is clipping |
| --------------- | --------------- |
<img width="400" src="https://github.com/user-attachments/assets/b08ad5ec-2658-496e-b8bb-67b5951c8a69"> | <img width="400" src="https://github.com/user-attachments/assets/0fc7b2c8-0015-485c-8e17-451d20ba795b">
</details>
### Logs
<details open><summary>Logs</summary>
```console
[Paste your logs here]
```
</details>
### Flutter Doctor output
<details open><summary>Doctor output</summary>
```console
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
• Flutter version 3.24.0 on channel stable at /Users/alex/workspace/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (12 days ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/alex/Library/Android/sdk
• Platform android-34, build-tools 30.0.3
• ANDROID_HOME = /Users/alex/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.92.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (3 available)
• Alex’s iPhone (mobile) • 00008130-001A310C0491401C • ios • iOS 17.6.1 21G93
• macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
```
</details>
| a: text input,framework,has reproducible steps,P2,team-text-input,triaged-text-input,found in release: 3.24 | low | Major |
2,459,523,691 | yt-dlp | [ListenNotes] Error downloading a podcast | ### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field
### Checklist
- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required
### Region
Spain
### Provide a description that is worded well enough to be understood
yt-dlp is giving me a error while downloading a podcast.
### Provide verbose output that clearly demonstrates the problem
- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below
### Complete Verbose Output
```shell
C:\Users\joaqu>yt-dlp --list-formats -v https://www.listennotes.com/es/podcasts/cl%C3%ADmax/cl%C3%ADmax-11082024-pvezIxr
ZJ6U/
[debug] Command-line config: ['--list-formats', '-v', 'https://www.listennotes.com/es/podcasts/cl%C3%ADmax/cl%C3%ADmax-11082024-pvezIxrZJ6U/']
[debug] Portable config "C:\Users\joaqu\scoop\apps\yt-dlp-nightly\current\yt-dlp.conf": []
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.08.06.232802 from yt-dlp/yt-dlp-nightly-builds [a06508664] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k 25 Mar 2021)
[debug] exe versions: ffmpeg 7.0.1-full_build-www.gyan.dev (setts), ffprobe 7.0.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[generic] Extracting URL: https://www.listennotes.com/es/podcasts/cl%C3%ADmax/cl%C3%ADmax-11082024-pvezIxrZJ6U/
[generic] clímax-11082024-pvezIxrZJ6U: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] clímax-11082024-pvezIxrZJ6U: Extracting information
[debug] Looking for embeds
[debug] Identified a twitter:player iframe
[ListenNotes] Extracting URL: https://www.listennotes.com/podcasts/clímax/clímax-11082024-pvezIxrZJ6U/embed/
[ListenNotes] pvezIxrZJ6U/embed: Downloading webpage
ERROR: [ListenNotes] pvezIxrZJ6U/embed: Unable to extract content; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
File "yt_dlp\extractor\common.py", line 740, in extract
File "yt_dlp\extractor\listennotes.py", line 59, in _real_extract
File "yt_dlp\extractor\common.py", line 1347, in _search_json
File "yt_dlp\extractor\common.py", line 1333, in _search_regex
```
| site-bug,triage | low | Critical |
2,459,547,071 | godot | Wrong Json syntax error | ### Tested versions
- Reproducible in: 4.3.rc3.mono
### System information
Godot v4.3.rc3.mono - Windows 10.0.19045
### Issue description
https://github.com/user-attachments/assets/84096e28-efeb-4051-95cd-b0d5562352ca
When I am writing a json file, a syntax error is highlighted without any indication. When I close the file and open it again, the error highlighting is still there. But after closing the file and saving another file and opening the json file again the error highlighting no longer appears.
### Steps to reproduce
I don't know how the unprompted syntax error is triggered, it just appears by chance during the writing process.
If this error occurs, it can be reproduced using the steps above.
### Minimal reproduction project (MRP)
N/A | bug,topic:editor | low | Critical |
2,459,556,766 | PowerToys | Fancy Zones Parent/Child Windows | ### Description of the new feature / enhancement
The fancy zones "remember last zone" feature can't differentiate between parent and child windows.
I made five zones to surround a center rectangle zone for save/load dialog boxes. So they are nice and chunky and at the center of my screen. I just hold shift and drag them to the middle. Works very good.
But I can't make fancy zones "remember last window position" because it also forces parent windows to that box when loading programs. So I have to do the same shift + drag over and over again for every child dialog box, instead of them just remembering their fancy zone position, and the parent window being unaffected (usually maximized on boot up).
My picture is an example of my full screened google chrome right now (parent window). If I go to save a picture I have to Shift + drag the dialog and release and the result is the size and position that you see in the pic. (I blurred all my info). So if the dialog windows could just open like that (child windows remember their last state but not parents) that would be excellent.


### Scenario when this would be used?
Every time you use a dialog box in any program that Power Toys can manage the windows.
### Supporting information
Windows 10 22H2 64 bit, Power Toys latest update. | Needs-Triage | low | Minor |
2,459,580,200 | godot | Scaling issues on Tooltip with stretch_mode = canvas_items | ### Tested versions
Reproducible: 4.3-rc3, 4.1.2-stable
### System information
Godot v4.3.rc3 - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics (CML GT2) - Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 Threads)
### Issue description
When using `Project Settings -> Display -> Window -> Strech -> Mode` = `canvas_items`, most UI elements are correctly scaled when the window is resized (they are rendered at the target size, with crisps results on screen).
For Tooltip it's not the case. They seems to be rendered at base size and then scaled to the target size, this leads to blurry & pixelated results on screen. It's mostly visible on the font, but it seems to impact the Tooltip panel too.

### Steps to reproduce
1. `Project Settings -> Display -> Window -> Strech -> Mode` = `canvas_items`
2. Create a label, with text, and tooltip text
3. launch it
4. resize the window
5. put the mouse on the label
6. the label looks good, the tooltip looks blurry and pixelated
### Minimal reproduction project (MRP)
[tooltip_font.zip](https://github.com/user-attachments/files/16573707/tooltip_font.zip)
| bug,topic:gui | low | Major |
2,459,587,657 | pytorch | convolution_overrideable not implemented when executing VAEEncode in ComfyUI | ### 🐛 Describe the bug
In ComfyUI, I am trying to run Inpaint Preprocessor with Load Checkpoint (Realistic Vision V5.1 Inpainting) and ControlNet Model (control_v11p_sd15_inpaint) to inpaint a masked area of a loaded image based on a text prompt. Whenever the process reaches VAE Encode node, the following error message emerges:
'''
"!!! Exception during processing!!! convolution_overrideable not implemented. You are likely triggering this with tensor backend other than CPU/CUDA/MKLDNN, if this is intended, please use TORCH_LIBRARY_IMPL to override this function
Traceback (most recent call last):
File "/Users/yegorartyukh/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yegorartyukh/ComfyUI/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yegorartyukh/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yegorartyukh/ComfyUI/nodes.py", line 296, in encode
t = vae.encode(pixels[:,:,:,:3])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yegorartyukh/ComfyUI/comfy/sd.py", line 346, in encode
samples[x:x+batch_number] = self.first_stage_model.encode(pixels_in).to(self.output_device).float()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yegorartyukh/ComfyUI/comfy/ldm/models/autoencoder.py", line 179, in encode
z = self.encoder(x)
^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yegorartyukh/ComfyUI/comfy/ldm/modules/diffusionmodules/model.py", line 520, in forward
h = self.conv_in(x)
^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yegorartyukh/ComfyUI/comfy/ops.py", line 93, in forward
return super().forward(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/torch/nn/modules/conv.py", line 549, in forward
return self._conv_forward(input, self.weight, self.bias)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/torch/nn/modules/conv.py", line 544, in _conv_forward
return F.conv2d(
^^^^^^^^^
NotImplementedError: convolution_overrideable not implemented. You are likely triggering this with tensor backend other than CPU/CUDA/MKLDNN, if this is intended, please use TORCH_LIBRARY_IMPL to override this function
'''
<img width="1920" alt="Screenshot 2024-08-04 at 23 24 15" src="https://github.com/user-attachments/assets/36c4c1b3-0c98-4581-bb33-4b7959163b04">
<img width="1920" alt="Screenshot 2024-08-04 at 23 24 26" src="https://github.com/user-attachments/assets/d55b3ba0-575b-44a8-9d32-ef28be73b87f">
My tech specs:
MacBook Air M3 2024
16GB
macOS Sonoma 14.3
Python 3.11
PyTorch 2.5 Preview (Nightly)
I was trying different solutions and software versions:
1. Python versions 3.10, 3.11, 3.12.
2. Different PyTorch versions.
3. Setting a device explicitly to mps and/or CPU in the main script.
Steps to Reproduce:
1. Launch ComfyUI on MacBook M3.
2. Select Realistic Vision model v5.1 model in the Load Checkpoint node.
3. Select ControlNet inpaint model in the Load ControlNet Model node.
4. Load an image and create a mask in MaskEditor.
5. Queue prompt.
Please note that I have just started playing around with these things, so I apologize if my description is not clear enough! Many thanks for any advice!
### Versions
PyTorch version: 2.5.0.dev20240804
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: macOS 14.3 (arm64)
GCC version: Could not collect
Clang version: 15.0.0 (clang-1500.3.9.4)
CMake version: version 3.30.2
Libc version: N/A
Python version: 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)] (64-bit runtime)
Python platform: macOS-14.3-arm64-arm-64bit
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
CPU:
Apple M3
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.5.0.dev20240804
[pip3] torchaudio==2.4.0.dev20240804
[pip3] torchsde==0.2.6
[pip3] torchvision==0.20.0.dev20240804
[conda] Could not collect
cc @NmomoN @mengpenghui @fwenguang @cdzhan @1274085042 @PHLens | triaged,module: PrivateUse1 | low | Critical |
2,459,597,443 | ollama | llama3.1 8b template seems to be different from that in huggingface | ### What is the issue?
Hi thanks for the tool! When reading https://ollama.com/library/llama3.1:8b-instruct-q4_K_M/blobs/11ce4ee3e170, it seems different from https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct/blob/main/tokenizer_config.json#L2053. For example, it does not mention `Cutting Knowledge Date: December 2023`.
Therefore, I wonder whether it is expected or a bug? I have heard some people seems to say small models are sensitive to templates, so making it exactly the same as the official one may be useful.
### OS
_No response_
### GPU
_No response_
### CPU
_No response_
### Ollama version
_No response_ | bug | low | Critical |
2,459,603,285 | pytorch | Graph break due to unsupported builtin sys.audit | ### 🐛 Describe the bug
I'm using @torch.compile() for the initialization of a class.
Hopefully it will speed it up.
sys.audit doesn't seem to be supported, but I don't explicitly call it in my code.
Maybe it's an operation of a function?
After I used these two lines of codes, the warning disappeared and a 2x speed boost was observed.
```
torch.compiler.allow_in_graph(sys.audit)
torch.compiler.allow_in_graph(os.fspath)
```
I searched all the issues according to the warning, and there was no identical discussion, so I brought up this issue.
### Error logs
/opt/conda/envs/monodle/lib/python3.11/site-packages/torch/_dynamo/variables/functions.py:663: UserWarning: Graph break due to unsupported builtin sys.audit. This function is either a Python builtin (e.g. _warnings.warn) or a third-party C/C++ Python extension (perhaps created with pybind). If it is a Python builtin, please file an issue on GitHub so the PyTorch team can add support for it and see the next case for a workaround. If it is a third-party C/C++ Python extension, please either wrap it into a PyTorch-understood custom operator (see https://pytorch.org/tutorials/advanced/custom_ops_landing_page.html for more details) or, if it is traceable, use torch.compiler.allow_in_graph.
torch._dynamo.utils.warn_once(msg)
### Minified repro
```
class OpenLane_dataset(Dataset):
@torch.compile()
def __init__(self, image_path,
label_path,
point_range,
):
self.lane_type = {0: 'unkown',
1: 'white-dash',
2: 'white-solid',
3: 'double-white-dash',
4: 'double-white-solid',
5: 'white-ldash-rsolid',
6: 'white-lsolid-rdash',
7: 'yellow-dash',
8: 'yellow-solid',
9: 'double-yellow-dash',
10: 'double-yellow-solid',
11: 'yellow-ldash-rsolid',
12: 'yellow-lsolid-rdash',
20: 'left-curbside',
21: 'right-curbside'}
torch.compiler.allow_in_graph(os.listdir)
torch.compiler.allow_in_graph(sys.audit)
torch.compiler.allow_in_graph(os.fspath)
self.image_path = image_path #路径
self.label_path = label_path #路径
self.point_range = torch.tensor([point_range]).T # [3,1]
self.anchors = build_anchor([10,20,40,60,80,100], [2,1,-1,-2]).T / self.point_range # [3,0]
self.label_stash = list_subdirectories(label_path) # 提取所有子文件夹
# 提取所有json绝对路径
temp_l = []
for file_path in self.label_stash:
for json_file in os.listdir(file_path): # xxx.json
temp_l.append(f'{file_path}/{json_file}')
self.label_stash = temp_l
# TODO:稀疏自动调整锚点
lane_max_all = torch.empty((3,0))
for i in tqdm(range(int(len(self.label_stash) * 0.2)),'find best anchor'):
index = random.randint(0,len(self.label_stash)-1)
label_file_path = self.label_stash[index]
with open(label_file_path) as label:
label = orjson.loads(label.read())
lane_lines = label['lane_lines'] # many lanes
if len(lane_lines) == 0: continue
lane_xyz = torch.empty((3,0))
for index,lane in enumerate(lane_lines):
lane_attribute = lane['attribute']
if lane_attribute == 0: continue
lane_xyz = torch.cat((lane_xyz,torch.tensor(lane['xyz'])),dim=1)
lane_xyz = torch.abs(lane_xyz)
if lane_xyz.numel() == 0:continue
lane_max = torch.amax(lane_xyz,dim=1).unsqueeze(1)
lane_max_all = torch.cat((lane_max_all,lane_max),dim=1)
lane_mean = torch.mean(lane_max_all,dim=1)
lane_median = torch.median(lane_max_all,dim=1).values
print(f'found mean {lane_mean} median {lane_median} in {lane_max_all.shape}')
def __getitem__(self, index):
start_time = time.time()
label_file_path = self.label_stash[index]
with open(label_file_path) as label:
label = orjson.loads(label.read())
intrinsic = label['intrinsic']
extrinsic = label['extrinsic']
lane_lines = label['lane_lines'] # many lanes
file_path = label['file_path'].split('/',1)[1] #training/segment-xxx/xxx.jpg
pose = label['pose']
image = torchvision.io.read_image(f'{self.image_path}/{file_path}')
transform = torchvision.transforms.Resize((384,1280))
image = transform(image)
image = image / 255.0
if len(lane_lines) == 0:
return image,{'distance':torch.zeros_like(self.anchors).float()},{'get_item_time':time.time()-start_time}
lane_left_left = torch.empty((3,0))
lane_left = torch.empty((3,0))
lane_right_right = torch.empty((3,0))
lane_right = torch.empty((3,0))
# 提取车道线xyz
for index,lane in enumerate(lane_lines):
lane_category = lane['category']
lane_visibility = lane['visibility']
lane_uv =None
lane_xyz = torch.tensor(lane['xyz'])
lane_attribute = lane['attribute']
lane_track_id = None
if lane_attribute == 1:
lane_left_left = torch.cat((lane_left_left,lane_xyz),dim=1)
if lane_attribute == 2:
lane_left = torch.cat((lane_left,lane_xyz),dim=1)
if lane_attribute == 3:
lane_right = torch.cat((lane_right,lane_xyz),dim=1)
if lane_attribute == 4:
lane_right_right = torch.cat((lane_right_right,lane_xyz),dim=1)
if len(lane_left_left) == 0 and len(lane_left) == 0 and len(lane_right) == 0 and len(lane_right_right) == 0:
return image,{'distance':torch.zeros_like(self.anchors).float()},{'get_item_time':time.time()-start_time}
#print(lane_left_left.shape,lane_left.shape,lane_right.shape,lane_right_right.shape)
lane_left_left = range_flitter(lane_left_left,self.point_range)
lane_left = range_flitter(lane_left,self.point_range)
lane_right = range_flitter(lane_right,self.point_range)
lane_right_right = range_flitter(lane_right_right,self.point_range)
lane_left_left = lane_left_left / self.point_range # xyz归一化
lane_left = lane_left / self.point_range
lane_right_right = lane_right_right / self.point_range
lane_right = lane_right / self.point_range
# 依据锚点寻找最近点/最近点xyz偏置
near_left_left = torch.empty((3,0))
near_left = torch.empty((3,0))
near_right_right = torch.empty((3,0))
near_right = torch.empty((3,0))
dis_left_left = torch.empty((3,0))
dis_left = torch.empty((3,0))
dis_right = torch.empty((3,0))
dis_right_right = torch.empty((3,0))
for index,anchor_point in enumerate(self.anchors.T):
if index % 4 == 0: # left_left
new_find = find_nearest_point(anchor_point,lane_left_left.T).unsqueeze(1)
near_left_left = torch.cat((near_left_left,new_find),dim=1)
dis_left_left = torch.cat((dis_left_left,(self.anchors.T[index]-new_find.T[0]).unsqueeze(1)),dim=1)
elif index % 4 == 1: # left
new_find = find_nearest_point(anchor_point,lane_left.T).unsqueeze(1)
near_left = torch.cat((near_left,new_find),dim=1)
dis_left = torch.cat((dis_left,(self.anchors.T[index]-new_find.T[0]).unsqueeze(1)),dim=1)
elif index % 4 == 2: # right
new_find = find_nearest_point(anchor_point,lane_right_right.T).unsqueeze(1)
near_right_right = torch.cat((near_right_right,new_find),dim=1)
dis_right = torch.cat((dis_right,(self.anchors.T[index]-new_find.T[0]).unsqueeze(1)),dim=1)
elif index % 4 == 3: # right_right
new_find = find_nearest_point(anchor_point,lane_right.T).unsqueeze(1)
near_right = torch.cat((near_right,new_find),dim=1)
dis_right_right = torch.cat((dis_right_right,(self.anchors.T[index]-new_find.T[0]).unsqueeze(1)),dim=1)
distance = torch.cat((dis_left_left,dis_left,dis_right,dis_right_right),dim=1)
targets = {'distance':distance}
info = {'get_item_time':time.time()-start_time}
return image,targets,info
def __len__(self):
return len(self.label_stash)
def range_flitter(xyz,point_range):
xyz = torch.abs(xyz)
exceeds_threshold = (xyz < point_range).all(dim=0).nonzero().T[0]
xyz = xyz[:,exceeds_threshold]
return xyz
def build_anchor(anchor_x,anchor_y,anchor_z=0):
points = []
for x in anchor_x:
for y in anchor_y:
points.append((x,y,anchor_z))
points = torch.tensor(points)
return points
def find_nearest_point(query_point, points):
"""
在点集points中寻找与query_point最近的点。
:param query_point: torch.Tensor,形状为(3,),表示一个三维空间中的点。
:param points: torch.Tensor,形状为(N, 3),表示N个三维空间中的点。
:return: torch.Tensor,形状为(3,),表示找到的最近点。
"""
if points.numel() == 0: # 如果待查点集为0,则返回请求点自身
return query_point
# 计算query_point与points中每个点之间的欧几里得距离
distances = torch.norm(points - query_point, dim=1)
# 找到距离最小的索引
min_index = torch.argmin(distances)
# 返回对应的最近点
return points[min_index]
def list_subdirectories(directory):
subdirs = []
for root, dirs, files in os.walk(directory):
for dir in dirs:
subdir = os.path.join(root, dir)
subdirs.append(subdir)
return subdirs
```
### Versions
```
Collecting environment information...
PyTorch version: 2.4.0
Is debug build: False
CUDA used to build PyTorch: 11.8
ROCM used to build PyTorch: N/A
OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.30.2
Libc version: glibc-2.31
Python version: 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:36:13) [GCC 12.3.0] (64-bit runtime)
Python platform: Linux-5.15.0-1053-nvidia-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 11.8.89
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA A100-SXM4-80GB
GPU 1: NVIDIA A100-SXM4-80GB
GPU 2: NVIDIA A100-SXM4-80GB
GPU 3: NVIDIA A100-SXM4-80GB
GPU 4: NVIDIA A100-SXM4-80GB
GPU 5: NVIDIA A100-SXM4-80GB
GPU 6: NVIDIA A100-SXM4-80GB
GPU 7: NVIDIA A100-SXM4-80GB
Nvidia driver version: 535.161.08
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.6.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.6.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.6.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.6.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.6.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.6.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.6.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 43 bits physical, 48 bits virtual
CPU(s): 256
On-line CPU(s) list: 0-255
Thread(s) per core: 2
Core(s) per socket: 64
Socket(s): 2
NUMA node(s): 8
Vendor ID: AuthenticAMD
CPU family: 23
Model: 49
Model name: AMD EPYC 7742 64-Core Processor
Stepping: 0
Frequency boost: enabled
CPU MHz: 3389.390
CPU max MHz: 2250.0000
CPU min MHz: 1500.0000
BogoMIPS: 4491.47
Virtualization: AMD-V
L1d cache: 4 MiB
L1i cache: 4 MiB
L2 cache: 64 MiB
L3 cache: 512 MiB
NUMA node0 CPU(s): 0-15,128-143
NUMA node1 CPU(s): 16-31,144-159
NUMA node2 CPU(s): 32-47,160-175
NUMA node3 CPU(s): 48-63,176-191
NUMA node4 CPU(s): 64-79,192-207
NUMA node5 CPU(s): 80-95,208-223
NUMA node6 CPU(s): 96-111,224-239
NUMA node7 CPU(s): 112-127,240-255
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Mitigation; untrained return thunk; SMT enabled with STIBP protection
Vulnerability Spec rstack overflow: Mitigation; safe RET
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, STIBP always-on, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sme sev sev_es
Versions of relevant libraries:
[pip3] numpy==2.0.1
[pip3] optree==0.12.1
[pip3] torch==2.4.0
[pip3] torchaudio==2.4.0
[pip3] torchinfo==1.8.0
[pip3] torchopt==0.7.3
[pip3] torchvision==0.19.0
[pip3] triton==3.0.0
[conda] blas 1.0 mkl https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
[conda] ffmpeg 4.3 hf484d3e_0 pytorch
[conda] libjpeg-turbo 2.0.0 h9bf148f_0 pytorch
[conda] mkl 2023.1.0 h213fc3f_46344 defaults
[conda] mkl-service 2.4.0 py311h5eee18b_1 defaults
[conda] mkl_fft 1.3.8 py311h5eee18b_0 defaults
[conda] mkl_random 1.2.4 py311hdb19cb5_0 defaults
[conda] numpy 1.26.4 py311h08b1b3b_0 defaults
[conda] numpy-base 1.26.4 py311hf175353_0 defaults
[conda] pytorch 2.4.0 py3.11_cuda12.1_cudnn9.1.0_0 pytorch
[conda] pytorch-cuda 12.1 ha16c6d3_5 pytorch
[conda] pytorch-mutex 1.0 cuda pytorch
[conda] torchaudio 2.4.0 py311_cu121 pytorch
[conda] torchinfo 1.8.0 pypi_0 pypi
[conda] torchtriton 3.0.0 py311 pytorch
[conda] torchvision 0.19.0 py311_cu121 pytorch
```
cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames | triaged,oncall: pt2,module: dynamo | low | Critical |
2,459,608,385 | rust | Stepping with "next" in a debugger skips past end-of-scope drops | I am trying to re-enable a lot of disabled debuginfo tests, and in doing that I learned that `tests/debuginfo/drop-locations` https://github.com/rust-lang/rust/blob/c9bd03cb724e13cca96ad320733046cbdb16fbbe/tests/debuginfo/drop-locations.rs was broken at some point in the past 6 years. No idea when, I will not be doing a bisection.
The bug is that in code like this:
```rust
{
let s = String::from("s");
}
```
stepping through this with the gdb command `next` should step from the `String::from` call to the close brace. But `gdb` never stops on the close brace, even though there is indeed a call to `drop_in_place` for the String, and the debuginfo for the call correctly points at the close brace. | A-debuginfo,T-compiler,C-bug,WG-debugging | low | Critical |
2,459,617,878 | stable-diffusion-webui | [Feature Request]: Does img2img api with mask (inpaint) support images and masks in one batch | ### Is there an existing issue for this?
- [x] I have searched the existing issues and checked the recent builds/commits
### What would your feature do ?
I want use img2img api for inpainting,images and masks in one batch
### Proposed workflow
current params:
init_images is list,but mask is a base64 string
### Additional information
_No response_ | enhancement | low | Minor |
2,459,620,881 | rust | There's no documented way to losslessly print a float (so it will be parsed as the exact same value) | I have a use case where I need to output a floating point number (either a f32 or a f64) into a generated Rust source file as text, which needs to be parsed by Rust as the original floating point number exactly. I did some searching and found out about the `{:.}` format to print a floating point number with "all available precision". This seems to work, but according to the documentation for fmt, this isn't a valid formatting specifier. [The documentation](https://doc.rust-lang.org/std/fmt/index.html#precision) states:
> There are three possible ways to specify the desired precision:
> 1. An integer .N: (...)
> 2. An integer or name followed by dollar sign .N$: (...)
> 3. An asterisk .*: (...)
Additionally, printing a float with `{}` seems to print the same thing as with `{:.}`, at least for the floats I've tried, but as far as I can tell the precision of this isn't documented either. [The documentation](https://doc.rust-lang.org/std/primitive.f32.html) says that "printing floats with println and friends will often discard insignificant digits", which kind of suggests that it won't discard *significant* digits, but it doesn't actually say that, so I don't know if I can rely on it for a lossless roundtrip.
Is this a documentation issue, or is there no official way to print a float losslessly? (The floats I generate must be usable in const on stable, so I can't use from_bits, but I suppose transmute would work as an alternative) | T-libs-api,A-docs,A-floating-point | low | Minor |
2,459,628,161 | rust | gdb on aarch64-unknown-linux-gnu/windows-gnu cannot print unused by-value non-immediate arguments | This test does not work on aarch64: https://github.com/rust-lang/rust/blob/c9bd03cb724e13cca96ad320733046cbdb16fbbe/tests/debuginfo/by-value-non-immediate-argument.rs
Stripped down (a bit):
```rust
fn by_val_enum(x: (usize, usize, usize)) {
zzz(); // #break
}
fn main() {
by_val_enum((usize::MAX, usize::MAX, usize::MAX));
}
fn zzz() { }
```
Set a breakpoint on line 2 and try to print `x`. gdb says it is optimized out. This can be reproduced even with `-Zmir-opt-level=0`, and doesn't reproduce on x86_64. If the argument is `Option<(usize, usize)>`, gdb will try to read from address 0x0.
I'm not sure if this is a rustc bug or a gdb bug because if I add any use of the non-immediate argument inside the function, we gain some instructions that look like a function prelude, and gdb is able to print the argument. https://godbolt.org/z/GeGxE7ExE | A-LLVM,A-debuginfo,T-compiler,C-bug,O-AArch64,WG-debugging,E-needs-investigation | low | Critical |
2,459,629,034 | ant-design | Descriptions labelStyle incorrectly applied on vertical layouts | ### Reproduction link
[](https://codesandbox.io/p/sandbox/descriptionsbug-ql4fj2)
### Steps to reproduce
Set up a Descriptions sample.
Add the labelStyle prop
Change the layout to vertical, and you will see the labelStyle prop does not put the styles on the correct node, it puts the styles on the span instead of the "ant-descriptions-item-label" class div.
### What is expected?
I expect the labelStyle to be applied to the div with the className "ant-descriptions-item-label".
### What is actually happening?
When in horizontal mode, the labelStyle goes to the className "ant-descriptions-item-label", but when in vertical mode, the labelStyle goes to the child span.
| Environment | Info |
| --- | --- |
| antd | 5.20.0 |
| React | 18.0.0 |
| System | Windows |
| Browser | Firefox v129.0 |
---
I believe the codesandbox I provided should give a clear view of the problem happening.
<!-- generated by ant-design-issue-helper. DO NOT REMOVE --> | 💡 Feature Request,Inactive | low | Critical |
2,459,646,043 | godot | When I add a script file into the project tree and then open it with File > Open inside godot, it doesn't get added to the project and there is no prompt or button or context menu entry to do so | ### Tested versions
Latest stable on Flathub
### System information
Godot v4.2.2.stable - Freedesktop SDK 23.08 (Flatpak runtime) - Wayland - Vulkan
### Issue description
When I add a script file into the project tree and then open it with File > Open inside godot, it doesn't get added to the project and there is no prompt or button or context menu entry to do so. When I use it via `preload()` in some other place to refer to it, then I get a runtime error pretending the resource isn't there while the error lists the exact path of the file that does indeed exist.
This seems potentially like a UX/workflow design bug, where what the user wanted to do isn't really taken account of. I propose that there should be a prompt when I File > Open a script file that is inside the project folder but not registered as part of the project, to add it into the project. There should ideally also be an entry in the context menu of the file in the script file list to do so.
My apologies if there's a really obvious button to handle this and I somehow just missed it.
### Steps to reproduce
1. Make a new project with some scenes and script files
2. Outside of godot, make a new text file `myscript.gd` and copy it into the godot project folder on disk
3. Inside godot, go to the script pane and observe the script file isn't in the script file list, which is probably expected at this point. Click `File > Open` to add it to the open script file list.
4. Now observe the script file is listed amid the others with both 1. no obvious indication it wasn't properly added into the project, and 2. no obvious way to actually add it properly into hte project.
### Minimal reproduction project (MRP)
I sadly don't have one | bug,topic:editor,needs testing | low | Critical |
2,459,651,636 | rust | the compiler unexpectedly panicked | <!--
Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
how to create smaller examples.
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
-->
### Code
```Rust
github.com/winliyou/danmu
```
### 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.80.1 (3f5fd8dd4 2024-08-06) running on x86_64-unknown-linux-gnu
compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C linker=clang -C link-arg=-fuse-ld=mold
```
### Error output
```
Compiling proc-macro2 v1.0.86
Compiling unicode-ident v1.0.12
Compiling version_check v0.9.5
Compiling cfg-if v1.0.0
Compiling libc v0.2.155
Compiling autocfg v1.3.0
Compiling once_cell v1.19.0
Compiling vcpkg v0.2.15
Compiling pkg-config v0.3.30
Compiling byteorder v1.5.0
Compiling itoa v1.0.11
Compiling cc v1.1.10
Compiling bytes v1.7.1
Compiling parking_lot_core v0.9.10
Compiling pin-project-lite v0.2.14
Compiling smallvec v1.13.2
Compiling scopeguard v1.2.0
Compiling typenum v1.17.0
Compiling fnv v1.0.7
Compiling log v0.4.22
Compiling tinyvec_macros v0.1.1
Compiling memchr v2.7.4
Compiling futures-core v0.3.30
Compiling bitflags v2.6.0
Compiling openssl v0.10.66
Compiling foreign-types-shared v0.1.1
Compiling foreign-types v0.3.2
Compiling tinyvec v1.8.0
Compiling futures-sink v0.3.30
Compiling httparse v1.9.4
Compiling ahash v0.8.11
Compiling generic-array v0.14.7
Compiling native-tls v0.2.12
Compiling lock_api v0.4.12
Compiling slab v0.4.9
Compiling percent-encoding v2.3.1
Compiling unicode-bidi v0.3.15
Compiling futures-task v0.3.30
Compiling openssl-probe v0.1.5
thread 'rustc' panicked at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/compiler/rustc_hir/src/definitions.rs:81:26:
index out of bounds: the len is 8354 but the index is 4294442753
stack backtrace:
```
<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary><strong>Backtrace</strong></summary>
<p>
```
thread 'rustc' panicked at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/compiler/rustc_hir/src/definitions.rs:81:26:
index out of bounds: the len is 8354 but the index is 4294442753
stack backtrace:
Compiling serde v1.0.206
0: 0x7ac52d4fff05 - std::backtrace_rs::backtrace::libunwind::trace::h23054e327d0d4b55
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
1: 0x7ac52d4fff05 - std::backtrace_rs::backtrace::trace_unsynchronized::h0cc587407d7f7f64
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7ac52d4fff05 - std::sys_common::backtrace::_print_fmt::h4feeb59774730d6b
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:68:5
3: 0x7ac52d4fff05 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd736fd5964392270
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:44:22
4: 0x7ac52d550c4b - core::fmt::rt::Argument::fmt::h105051d8ea1ade1e
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/fmt/rt.rs:165:63
5: 0x7ac52d550c4b - core::fmt::write::hc6043626647b98ea
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/fmt/mod.rs:1168:21
6: 0x7ac52d4f4bdf - std::io::Write::write_fmt::h0d24b3e0473045db
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/io/mod.rs:1835:15
7: 0x7ac52d4ffcde - std::sys_common::backtrace::_print::h62df6fc36dcebfc8
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:47:5
8: 0x7ac52d4ffcde - std::sys_common::backtrace::print::h45eb8174d25a1e76
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:34:9
9: 0x7ac52d502719 - std::panicking::default_hook::{{closure}}::haf3f0170eb4f3b53
10: 0x7ac52d5024ba - std::panicking::default_hook::hb5d3b27aa9f6dcda
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:298:9
11: 0x7ac529e150c1 - std[fba9fafec3bdacf8]::panicking::update_hook::<alloc[a325a9cea6fa5e89]::boxed::Box<rustc_driver_impl[ce01f96e2e949677]::install_ice_hook::{closure#0}>>::{closure#0}
12: 0x7ac52d502e4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2026a29033a1b9f6
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/alloc/src/boxed.rs:2077:9
13: 0x7ac52d502e4b - std::panicking::rust_panic_with_hook::h6b49d59f86ee588c
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:799:13
14: 0x7ac52d502bc4 - std::panicking::begin_panic_handler::{{closure}}::hd4c2f7ed79b82b70
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:664:13
15: 0x7ac52d5003c9 - std::sys_common::backtrace::__rust_end_short_backtrace::h2946d6d32d7ea1ad
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:171:18
16: 0x7ac52d5028f7 - rust_begin_unwind
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:652:5
17: 0x7ac52d54d1e3 - core::panicking::panic_fmt::ha02418e5cd774672
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/panicking.rs:72:14
18: 0x7ac52d54d3f7 - core::panicking::panic_bounds_check::hc4af019f20d205d1
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/panicking.rs:274:5
19: 0x7ac52bdeabb6 - <rustc_resolve[34adc92c5bb8840b]::effective_visibilities::EffectiveVisibilitiesVisitor>::set_bindings_effective_visibilities
20: 0x7ac52b947048 - <rustc_resolve[34adc92c5bb8840b]::effective_visibilities::EffectiveVisibilitiesVisitor as rustc_ast[3acccd48000a702]::visit::Visitor>::visit_item
21: 0x7ac52b947081 - <rustc_resolve[34adc92c5bb8840b]::effective_visibilities::EffectiveVisibilitiesVisitor as rustc_ast[3acccd48000a702]::visit::Visitor>::visit_item
22: 0x7ac52b94b11c - <rustc_resolve[34adc92c5bb8840b]::Resolver>::resolve_crate::{closure#0}
23: 0x7ac52b954e1c - <rustc_resolve[34adc92c5bb8840b]::Resolver>::resolve_crate
24: 0x7ac52b7d0f08 - rustc_interface[c31201428b712578]::passes::resolver_for_lowering_raw
25: 0x7ac52b7d010d - rustc_query_impl[c1633093ec927e0e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[c1633093ec927e0e]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[ecc07153edf3c281]::query::erase::Erased<[u8; 16usize]>>
26: 0x7ac52b7d00e7 - <rustc_query_impl[c1633093ec927e0e]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core[1a380081440346cb]::ops::function::FnOnce<(rustc_middle[ecc07153edf3c281]::ty::context::TyCtxt, ())>>::call_once
27: 0x7ac52bf63393 - rustc_query_system[b257ee99c2874caa]::query::plumbing::try_execute_query::<rustc_query_impl[c1633093ec927e0e]::DynamicConfig<rustc_query_system[b257ee99c2874caa]::query::caches::SingleCache<rustc_middle[ecc07153edf3c281]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[c1633093ec927e0e]::plumbing::QueryCtxt, false>
28: 0x7ac52bf63079 - rustc_query_impl[c1633093ec927e0e]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace
29: 0x7ac52be120be - rustc_interface[c31201428b712578]::interface::run_compiler::<core[1a380081440346cb]::result::Result<(), rustc_span[4d50fd03223eefaa]::ErrorGuaranteed>, rustc_driver_impl[ce01f96e2e949677]::run_compiler::{closure#0}>::{closure#1}
30: 0x7ac52bf47869 - std[fba9fafec3bdacf8]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[c31201428b712578]::util::run_in_thread_with_globals<rustc_interface[c31201428b712578]::interface::run_compiler<core[1a380081440346cb]::result::Result<(), rustc_span[4d50fd03223eefaa]::ErrorGuaranteed>, rustc_driver_impl[ce01f96e2e949677]::run_compiler::{closure#0}>::{closure#1}, core[1a380081440346cb]::result::Result<(), rustc_span[4d50fd03223eefaa]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a380081440346cb]::result::Result<(), rustc_span[4d50fd03223eefaa]::ErrorGuaranteed>>
31: 0x7ac52bf4766a - <<std[fba9fafec3bdacf8]::thread::Builder>::spawn_unchecked_<rustc_interface[c31201428b712578]::util::run_in_thread_with_globals<rustc_interface[c31201428b712578]::interface::run_compiler<core[1a380081440346cb]::result::Result<(), rustc_span[4d50fd03223eefaa]::ErrorGuaranteed>, rustc_driver_impl[ce01f96e2e949677]::run_compiler::{closure#0}>::{closure#1}, core[1a380081440346cb]::result::Result<(), rustc_span[4d50fd03223eefaa]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a380081440346cb]::result::Result<(), rustc_span[4d50fd03223eefaa]::ErrorGuaranteed>>::{closure#2} as core[1a380081440346cb]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
32: 0x7ac52d50ce3b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hdf5fcef8be77a431
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/alloc/src/boxed.rs:2063:9
33: 0x7ac52d50ce3b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h8e8c5ceee46ee198
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/alloc/src/boxed.rs:2063:9
34: 0x7ac52d50ce3b - std::sys::pal::unix::thread::Thread::new::thread_start::hb85dbfa54ba503d6
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys/pal/unix/thread.rs:108:17
35: 0x7ac52d2b539d - <unknown>
36: 0x7ac52d33a49c - <unknown>
37: 0x0 - <unknown>
error: the compiler unexpectedly panicked. this is a bug.
```
</p>
</details>
| I-ICE,T-compiler,C-bug | low | Critical |
2,459,655,033 | stable-diffusion-webui | [Feature Request]: Per-checkpoint default CFG scale, steps etc. | ### Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
### What would your feature do ?
Various checkpoints have different recommended CFG settings, steps or samplers, meaning cfg=7, steps=20 and sampler=dpm++2m shouldn't be the default setting for all of them.
Eg. for RealVisXL 4.0 we have:
> Use Turbo models with DPM++ SDE Karras sampler, 4-10 steps and CFG Scale 1-2.5
> Use Lightning models with DPM++ SDE Karras / DPM++ SDE sampler, 4-6 steps and CFG Scale 1-2
And for STOIQO NewReality:
>MAIN SAMPLER (Recommended): dpmpp_3m_sde + Exponential
>OTHER SAMPLERS: dpmpp_sde + Karras
> FOR MORE RALISM: CFG: 1-3 | STEPS: 15+
> FOR BALANCING (Recommended): CFG: 4 | STEPS: 20+
> FOR MORE CREATIVITY: CFG: 5-7 | STEPS: 30+
Either a model vendor should be able to provide such settings somewhere in safetensors file, or the user should be able to configure their settings per-model. It's hard to remember all the numbers, or run x/y/z plot to test some prompt with various checkpoints.
### Proposed workflow
1. Allow configuring per-checkpoint cfg_scale, steps and sampler parameters
2. When the checkpoint is chosen and a relevant configuration flag is enabled, these settings are updated.
### Additional information
I would use https://github.com/rifeWithKaiju/model_preset_manager for this but it doesn't even work on Linux. And such a feature is too important to rely on poorly-maintained extension, should be part of core functionality.
I suppose there are optional fields in safetensors file format that could be standarized by AUTOMATIC1111 so that model vendors could populate them prior to uploading to Civitai. Alternatively, a manifest file format could be introduced that could be stored together with the checkpoint and/or deployed separately. In a perfect scenario, https://github.com/zixaphir/Stable-Diffusion-Webui-Civitai-Helper could just collect this information from Civitai without refetching all the models. | enhancement | low | Minor |
2,459,657,320 | angular | Problem with SSR and condition | ### Which @angular/* package(s) are the source of the bug?
Don't known / other
### Is this a regression?
I don't know
### Description
I have the following component template for a sign-in page
- if the user is signed in, we show some user info
- else we show the login form
- we also have some content inside the `@else` block for diagnostic purposes
- "user with div" - text inside an html tag
- "user without div" - text existing without an html tag
- this is a zoneless app
- change detection strategy was onPush
```html
<div class="rounded-md bg-white shadow shadow-z1 p-4 px-8">
@if (user$(); as user) {
<fa-icon [icon]="icons.faCheckCircle" class="mx-auto text-xl text-emerald-400"></fa-icon>
<div class="text-center text-sm">
<p class="mt-4">Signed in as</p>
<p class="mt-2">{{user.displayName}}</p>
<p class="text-gray-500">{{user.email}}</p>
</div>
<button class="mt-8 mx-auto text-sm stroked-button" mat-ripple
(click)="signOut()">
Sign Out
</button>
}
@else {
<div>
user (with div)
</div>
user (without div)
<!-- <form> login form </form>-->
}
</div>
```
On the server side, user is always null, because we do not pass authentication headers to the ssr server.
Therefore, the html from ssr includes the login form
However, it is possible for a user to be detected in the browser (localstorage/cookies/indexeddb/firebase/etc).
In that scenario, the user$ signal is populated, and user info is to be shown, while the login form is to be hidden.
However, the rendered html looks like this

Points to note:
- ✔️ the user info was shown
- ✔️ the "user without div" part was hidden
- ❌ the "user with div part was not hidden
- ❌ the login form was not hidden
### Please provide a link to a minimal reproduction of the bug
_No response_
### Please provide the exception or error you saw
_No response_
### Please provide the environment you discovered this bug in (run `ng version`)
```true
Angular CLI: 18.1.1
Node: 20.16.0
Package Manager: pnpm 9.4.0
OS: linux x64
Angular: 18.1.1
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, material, material-luxon-adapter
... platform-browser, platform-browser-dynamic, platform-server
... router, ssr
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1702.2
@angular-devkit/build-angular 18.1.1
@angular-devkit/core 18.1.1
@angular-devkit/schematics 18.1.1
@schematics/angular 18.1.1
ng-packagr 18.1.0
rxjs 7.8.1
typescript 5.5.3
```
### Anything else?
This is similar to #54201 | area: core,core: hydration | low | Critical |
2,459,657,682 | PowerToys | Color picker cannot get the color of websites with custom cursors. | ### Description of the new feature / enhancement
When the color picker is open in a website which has a custom cursor, the color picker will always pick the color of the cursor.
If possible to implement something like that it would be great.
### Scenario when this would be used?
When picking colors from websites which has custom cursors
### Supporting information
_No response_ | Needs-Triage,Product-Color Picker | low | Minor |
2,459,666,429 | ollama | how to force ollama to use different cpu runners / how to compile windows avx512 runner? | ### What is the issue?
according to logs ollama seems to only be using AVX not AVX2, how would i fix this and force avx2 or higher?
also wondering how i compile the avx512 runner for windows? i have compiled other runners and the cuda runner fine but it seems regardless of what i try to set it just generates cpu, avx, avx2 and stops
running `$env:OLLAMA_CUSTOM_CPU_DEFS="-DGGML_AVX=on -DGGML_AVX2=on -DGGML_AVX512=on"` or any other combo of this command seems to have no effect on generating a different runner aside from defaults, is there a file i need to edit to change what is compiled? i would also like to skip cpu, avx, avx2 if possible as it takes a fair amount of time and those are already compiled
cpu is i7-7820x with support for avx2 & avx512
### OS
Windows
### GPU
Nvidia, Intel
### CPU
Intel
### Ollama version
0.3.4 | feature request,performance,nvidia,build | medium | Major |
2,459,671,966 | rust | help change add `FnMut` in where clause no return type | ### Code
```Rust
struct FOper<T, U, F>
where F: FnMut(T) -> U,
{
_phantom: std::marker::PhantomData<fn(T) -> U>,
pub f: F,
}
impl<T, U, F> FOper<T, U, F> {
fn new(f: F) -> Self {
Self {
_phantom: std::marker::PhantomData,
f,
}
}
}
```
### Current output
```Shell
Checking test_ v0.1.0 (/home/lrne/Project/Rust/test_)
error[E0277]: expected a `FnMut(T)` closure, found `F`
--> src/main.rs:2591:15
|
2591 | impl<T, U, F> FOper<T, U, F> {
| ^^^^^^^^^^^^^^ expected an `FnMut(T)` closure, found `F`
|
note: required by a bound in `FOper`
--> src/main.rs:2586:10
|
2585 | struct FOper<T, U, F>
| ----- required by a bound in this struct
2586 | where F: FnMut(T) -> U,
| ^^^^^^^^^^^^^ required by this bound in `FOper`
help: consider restricting type parameter `F`
|
2591 | impl<T, U, F: FnMut(T)> FOper<T, U, F> {
| ++++++++++
error[E0277]: expected a `FnMut(T)` closure, found `F`
--> src/main.rs:2592:21
|
2592 | fn new(f: F) -> Self {
| ^^^^ expected an `FnMut(T)` closure, found `F`
|
note: required by a bound in `FOper`
--> src/main.rs:2586:10
|
2585 | struct FOper<T, U, F>
| ----- required by a bound in this struct
2586 | where F: FnMut(T) -> U,
| ^^^^^^^^^^^^^ required by this bound in `FOper`
help: consider restricting type parameter `F`
|
2591 | impl<T, U, F: FnMut(T)> FOper<T, U, F> {
| ++++++++++
error[E0277]: expected a `FnMut(T)` closure, found `F`
--> src/main.rs:2593:9
|
2593 | Self {
| ^^^^ expected an `FnMut(T)` closure, found `F`
|
note: required by a bound in `FOper`
--> src/main.rs:2586:10
|
2585 | struct FOper<T, U, F>
| ----- required by a bound in this struct
2586 | where F: FnMut(T) -> U,
| ^^^^^^^^^^^^^ required by this bound in `FOper`
help: consider restricting type parameter `F`
|
2591 | impl<T, U, F: FnMut(T)> FOper<T, U, F> {
| ++++++++++
For more information about this error, try `rustc --explain E0277`.
error: could not compile `test_` (bin "test_") due to 3 previous errors
```
### Desired output
```Shell
Checking test_ v0.1.0 (/home/lrne/Project/Rust/test_)
error[E0277]: expected a `FnMut(T) -> U` closure, found `F`
--> src/main.rs:2591:15
|
2591 | impl<T, U, F> FOper<T, U, F> {
| ^^^^^^^^^^^^^^ expected an `FnMut(T) -> U` closure, found `F`
|
note: required by a bound in `FOper`
--> src/main.rs:2586:10
|
2585 | struct FOper<T, U, F>
| ----- required by a bound in this struct
2586 | where F: FnMut(T) -> U,
| ^^^^^^^^^^^^^ required by this bound in `FOper`
help: consider restricting type parameter `F`
|
2591 | impl<T, U, F: FnMut(T) -> U> FOper<T, U, F> {
| +++++++++++++++
error[E0277]: expected a `FnMut(T) -> U` closure, found `F`
--> src/main.rs:2592:21
|
2592 | fn new(f: F) -> Self {
| ^^^^ expected an `FnMut(T) -> U` closure, found `F`
|
note: required by a bound in `FOper`
--> src/main.rs:2586:10
|
2585 | struct FOper<T, U, F>
| ----- required by a bound in this struct
2586 | where F: FnMut(T) -> U,
| ^^^^^^^^^^^^^ required by this bound in `FOper`
help: consider restricting type parameter `F`
|
2591 | impl<T, U, F: FnMut(T) -> U> FOper<T, U, F> {
| +++++++++++++++
error[E0277]: expected a `FnMut(T) -> U` closure, found `F`
--> src/main.rs:2593:9
|
2593 | Self {
| ^^^^ expected an `FnMut(T) -> U` closure, found `F`
|
note: required by a bound in `FOper`
--> src/main.rs:2586:10
|
2585 | struct FOper<T, U, F>
| ----- required by a bound in this struct
2586 | where F: FnMut(T) -> U,
| ^^^^^^^^^^^^^ required by this bound in `FOper`
help: consider restricting type parameter `F`
|
2591 | impl<T, U, F: FnMut(T) -> U> FOper<T, U, F> {
| +++++++++++++++
For more information about this error, try `rustc --explain E0277`.
error: could not compile `test_` (bin "test_") due to 3 previous errors
```
### Rationale and extra context
_No response_
### Other cases
_No response_
### Rust Version
```Shell
rustc 1.82.0-nightly (7c2012d0e 2024-07-26)
binary: rustc
commit-hash: 7c2012d0ec3aae89fefc40e5d6b317a0949cda36
commit-date: 2024-07-26
host: aarch64-unknown-linux-gnu
release: 1.82.0-nightly
LLVM version: 18.1.7
```
### Anything else?
_No response_ | A-diagnostics,T-compiler | low | Critical |
2,459,677,261 | rust | add reference location error | ### Code
```Rust
fn foo<'a, T: Foo>(_: impl Iterator<Item = T>) { }
trait Foo { }
impl Foo for &i32 { }
fn main() {
foo([2i32].into_iter())
}
```
### Current output
```Shell
Checking test_ v0.1.0 (/home/lrne/Project/Rust/test_)
error[E0277]: the trait bound `i32: Foo` is not satisfied
--> src/main.rs:7:5
|
7 | foo([2i32].into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `i32`
|
note: required by a bound in `foo`
--> src/main.rs:1:15
|
1 | fn foo<'a, T: Foo>(_: impl Iterator<Item = T>) { }
| ^^^ required by this bound in `foo`
help: consider borrowing here
|
7 | &foo([2i32].into_iter())
| +
For more information about this error, try `rustc --explain E0277`.
error: could not compile `test_` (bin "test_") due to 1 previous error
```
### Desired output
```Shell
Checking test_ v0.1.0 (/home/lrne/Project/Rust/test_)
error[E0277]: the trait bound `i32: Foo` is not satisfied
--> src/main.rs:7:5
|
7 | foo([2i32].into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `i32`
|
note: required by a bound in `foo`
--> src/main.rs:1:15
|
1 | fn foo<'a, T: Foo>(_: impl Iterator<Item = T>) { }
| ^^^ required by this bound in `foo`
help: consider borrowing here
|
7 | foo([&2i32].into_iter())
| +
For more information about this error, try `rustc --explain E0277`.
error: could not compile `test_` (bin "test_") due to 1 previous error
```
or
```
Checking test_ v0.1.0 (/home/lrne/Project/Rust/test_)
error[E0277]: the trait bound `i32: Foo` is not satisfied
--> src/main.rs:7:5
|
7 | foo([2i32].into_iter())
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `i32`
|
note: required by a bound in `foo`
--> src/main.rs:1:15
|
1 | fn foo<'a, T: Foo>(_: impl Iterator<Item = T>) { }
| ^^^ required by this bound in `foo`
help: consider borrowing here
|
7 | foo((&[2i32]).into_iter())
| ++ +
For more information about this error, try `rustc --explain E0277`.
error: could not compile `test_` (bin "test_") due to 1 previous error
```
### Rationale and extra context
_No response_
### Other cases
_No response_
### Rust Version
```Shell
rustc 1.82.0-nightly (7c2012d0e 2024-07-26)
binary: rustc
commit-hash: 7c2012d0ec3aae89fefc40e5d6b317a0949cda36
commit-date: 2024-07-26
host: aarch64-unknown-linux-gnu
release: 1.82.0-nightly
LLVM version: 18.1.7
```
### Anything else?
_No response_ | A-diagnostics,T-compiler | low | Critical |
2,459,692,015 | vscode | Multiline selection in linux | I can select multiple line using scroll click + move mouse up or down but i cant do this same in ubuntu vs code

i have attached a screenshot of windows. and yes i have copied all shortcut from windows to linux but still the same problem appears
| bug,editor-multicursor | low | Minor |
2,459,699,932 | rust | The debuginfo test harness does not load pretty-printers for windows-gnu | As part of https://github.com/rust-lang/rust/pull/128913 I am moving one of our pretty-printing tests from cdb-only to ignore-windows-gnu, because based on what I'm seeing in try-jobs, the pretty-printers are not loaded on windows-gnu targets. I do not know why that is the case.
We are doing some path escaping when setting up with gdb, I do not know if that is related: https://github.com/rust-lang/rust/blob/9cb1998ea15e179482504e07cad8fa121e169a32/src/tools/compiletest/src/runtest.rs#L1019-L1022
This is probably related to https://github.com/rust-lang/rust/issues/29658 | A-testsuite,A-debuginfo,T-compiler,O-windows-gnu,C-bug,WG-debugging,A-compiletest | low | Critical |
2,459,721,049 | vscode | Timeline: cant select compare between local saves and git commits |
Type: <b>Bug</b>
- Explorer -> Timeline -> "Select for Compare" then "Compare with Selected"
Works: when both items are local saves.
Works: when both items are git commit points
Does not work: when one is a local save and another is a git commit point.
What it does: Shows the same file twice with no changes
What I expect: Should show the differences
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2
<details>
<summary>System Info</summary>
|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|31.81GB (6.06GB free)|
|Process Argv|--crash-reporter-id c01a88f8-c0b0-48c5-9002-8d62a171f8a7|
|Screen Reader|no|
|VM|0%|
|Item|Value|
|---|---|
|Remote|WSL: Ubuntu|
|OS|Linux x64 5.15.90.1-microsoft-standard-WSL2|
|CPUs|Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 0)|
|Memory (System)|24.46GB (13.19GB free)|
|VM|0%|
|Item|Value|
|---|---|
|Remote|WSL: Ubuntu|
|OS|Linux x64 5.15.90.1-microsoft-standard-WSL2|
|CPUs|Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 0)|
|Memory (System)|24.46GB (13.19GB free)|
|VM|0%|
|Item|Value|
|---|---|
|Remote|WSL: Ubuntu|
|OS|Linux x64 5.15.90.1-microsoft-standard-WSL2|
|CPUs|Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 0)|
|Memory (System)|24.46GB (13.19GB free)|
|VM|0%|
</details><details><summary>Extensions (31)</summary>
Extension|Author (truncated)|Version
---|---|---
vscode-neovim|asv|1.18.7
vsc-material-theme|Equ|34.5.2
vscode-peacock|joh|4.2.2
jupyter-keymap|ms-|1.1.2
remote-wsl|ms-|0.88.2
gitlens|eam|2024.8.1005
prettier-vscode|esb|10.4.0
copilot|Git|1.221.0
copilot-chat|Git|0.18.1
vscode-test-explorer|hbe|2.21.1
vscode-python-test-adapter|lit|0.8.2
git-graph|mhu|1.30.0
black-formatter|ms-|2024.2.0
debugpy|ms-|2024.10.0
python|ms-|2024.12.2
vscode-pylance|ms-|2024.8.1
jupyter|ms-|2024.8.2024080201
test-adapter-converter|ms-|0.1.9
python-line-profiler|Per|0.4.0
node-extra-ca-certs-vscode|pha|1.0.1
java|red|1.33.0
sql-formatter-vsc|Ren|4.1.1
code-spell-checker|str|3.0.1
win-ca|uko|3.5.1
intellicode-api-usage-examples|Vis|0.2.8
vscodeintellicode|Vis|1.3.1
vscode-java-debug|vsc|0.58.0
vscode-java-dependency|vsc|0.24.0
vscode-java-pack|vsc|0.28.0
vscode-java-test|vsc|0.42.0
vscode-maven|vsc|0.44.0
</details><details>
<summary>A/B Experiments</summary>
```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-c:31111717
wkspc-ranged-c:31111712
```
</details>
<!-- generated by issue reporter --> | feature-request,timeline | low | Critical |
2,459,728,495 | flutter | [video_player] Add framePosition and frameDuration to VideoPlayerController | ### Use case
Enabling support for frame-based animation overlay, frame-based video editor, and counting frame of a running video. Might also be a prerequisite for https://github.com/flutter/flutter/issues/72416.
### Proposal
As the title suggested, introduce two new properties to [VideoPlayerValue](https://pub.dev/documentation/video_player/latest/video_player/VideoPlayerValue-class.html) named `framePosition` and `frameDuration`.
Both works the same way as their time-based [counter](https://pub.dev/documentation/video_player/latest/video_player/VideoPlayerValue/position.html)[parts](https://pub.dev/documentation/video_player/latest/video_player/VideoPlayerValue/duration.html) but for frame integer instead of `Duration`. | c: new feature,p: video_player,package,c: proposal,team-ecosystem,P3,triaged-ecosystem | low | Minor |
2,459,729,792 | godot | Reloading Scene with CSGPolygon3D in Path3D Causes "!is_inside_tree()" Error | ### Tested versions
- Reproducible in: 4.2.2.stable, 4.3rc3
### System information
Godot v4.2.2.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; 32.0.15.5599) - AMD Ryzen 7 7700X 8-Core Processor (16 Threads)
### Issue description
When a CSGPolygon3D node is set to "Path" mode and is a child of a Path3D node, an error occurs upon reloading the scene. The error message displayed is: `get_global_transform: Condition "!is_inside_tree()" is true. Returning: Transform3D()`
### Steps to reproduce
Create a new scene in Godot.
Add a Path3D node to the scene.
Edit the Path3D node and add several points to define a path.
Add a CSGPolygon3D node as a child of the Path3D.
Set the CSGPolygon3D node to "Path" mode.
Set the CSGPolygon3D node's path to the parent Path3D node.
Attach a script to root node in the scene to reload the scene on keypress
Save the scene and run it.
Reload the scene.
Observe the error message in the output or debugger.
### Minimal reproduction project (MRP)
[MRP.zip](https://github.com/user-attachments/files/16575878/MRP.zip) | bug,topic:3d | low | Critical |
2,459,759,988 | tauri | [bug] Deep links doesn't open app on linux | ### Describe the bug
Tauri deep links doesn't work on Linux on v2 project. The handler is not called.
Eg. the link `vibe://download/?url=https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.bin?download=true`
### Reproduction
Use deep link plugin in v2 project on Linux
### Expected behavior
It should open the app with the parameters
### Full `tauri info` output
```text
tauri beta.v2.25
```
### Stack trace
_No response_
### Additional context
https://github.com/thewh1teagle/vibe/issues/212
| type: bug,status: needs triage | low | Critical |
2,459,798,787 | godot | C# [GlobalClass] Nodes and Resources named as same as builtin Godot classes won't show up in Editor's Node/Resource pickers even if there's no logical collision | Even if there's no logical collision (builtin class is not a Node/Resource) and even if declared in namespaces. No errors, successfully registering in godot_global_class_cache.cfg, no problems with attaching script by hand.
### Steps to reproduce
Name [GlobalClass] (derived from Node or Resource ofc) "SceneState" for example (then build). It will not be shown in "Add child..." or "Create new..." dialogs (although it doesn't conflict with any other Node/Resource and can be attached by hand in scene/project. Also there's no warning even if real name collision exists (name it "Node3D"). | bug,discussion,topic:editor,topic:dotnet | low | Critical |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.