sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: stable-diffusion-webui
Issue: [Bug]:  cannot start portable
Labels: bug-report

### 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?

portable package instruction missing

### Steps to reproduce the problem

1. download portable
2. extract
3. run.bat

### What should have happened?

load engine and web ui

### What browsers do you use to access the UI ?

Google Chrome

### Sysinfo

cannot load at all 

### Console logs

```Shell
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: <none>
Traceback (most recent call last):
  File "G:\AI\Stable Diffusion\webui\launch.py", line 324, in <module>
    prepare_environment()
  File "G:\AI\Stable Diffusion\webui\launch.py", line 264, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "G:\AI\Stable Diffusion\webui\launch.py", line 120, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "G:\AI\Stable Diffusion\webui\launch.py", line 74, in run
    raise RuntimeError(message)
RuntimeError: Couldn't determine Stable Diffusion's hash: 47b6b607fdd31875c9279cd2f4f16b92e4ea958e.
Command: "git" -C "repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 128
stdout: <empty>
stderr: fatal: detected dubious ownership in repository at 'G:/AI/Stable Diffusion/webui/repositories/stable-diffusion-stability-ai'
'G:/AI/Stable Diffusion/webui/repositories/stable-diffusion-stability-ai' is on a file system that doesnot record ownership
To add an exception for this directory, call:

        git config --global --add safe.directory 'G:/AI/Stable Diffusion/webui/repositories/stable-diffusion-stability-ai'


Press any key to continue . . .
```


### Additional information

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: Adaptive guidance is supported?
Labels: enhancement

### 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 ?

Adaptive Guidance: Training-free Acceleration of Conditional Diffusion Models

### Proposed workflow

1. Go to Adaptive Guidance: Training-free Acceleration of Conditional Diffusion Models
2. Source bcvuniandes.github.io/adaptiveguidance-wp/.


### Additional information

_No response_
Repository: rust
Issue:  Terse diagnostic for function depending on never type fallback being `()`
Labels: A-lints,A-diagnostics,T-compiler,D-terse,S-needs-repro,L-dependency_on_unit_never_type_fallback

<!--
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.
-->

Am I doing something wrong here?

Code: 

```rust
fn get_or_set<T, G, GF>(
  &self,
  key: &str,
  get_value: G,
  expiration: Option<Duration>,
) -> Pin<Box<dyn Future<Output = Result<T, CacheError>> + Send + '_>>
where
  T: Serialize + for<'de> Deserialize<'de> + Send + 'static,
  G: FnOnce() -> GF + Send + 'static,
  GF: Future<Output = Result<T, CacheError>> + Send + 'static,
{
  let pool = self.pool.clone();
  let codec = &self.codec;
  let key = key.to_string();
  let expiration = expiration.map(|exp| Expiration::EX(exp.whole_seconds() as i64));

  Box::pin(async move {
      match pool.get::<Option<String>, _>(&key).await {
          Ok(Some(value)) => Ok(codec.decode(&value).map_err(CacheError::from)?),
          Ok(None) => {
              let new_value = get_value().await?;
              pool.set(
                  &key,
                  codec.encode(&new_value).map_err(CacheError::from)?,
                  expiration,
                  None,
                  false,
              )
              .await?;
              Ok(new_value)
          }
          Err(err) => Err(CacheError::from(err)),
      }
  })
}
```

rustc:
```
warning: this function depends on never type fallback being `()`
   --> src/backend/cache.rs:122:5
    |
122 | /     fn get_or_set<T, G, GF>(
123 | |         &self,
124 | |         key: &str,
125 | |         get_value: G,
...   |
130 | |         G: FnOnce() -> GF + Send + 'static,
131 | |         GF: Future<Output = Result<T, CacheError>> + Send + 'static,
    | |____________________________________________________________________^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
    = help: specify the types explicitly
    = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
```
### 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.81.0-nightly (f1586001a 2024-06-13)
binary: rustc
commit-hash: f1586001ace26df7cafeb6534eaf76fb2c5513e5
commit-date: 2024-06-13
host: aarch64-apple-darwin
release: 1.81.0-nightly
LLVM version: 18.1.7
```
Repository: go
Issue: proposal: net: export supportsIPv4, supportsIPv6, supportsIPv4map
Labels: Proposal

### Proposal Details

The `net` package queries and caches the capabilities of the system IP stack, and calls these functions to determine the type of socket to open when user code calls `Dial`, `Listen` and friends. It'd be nice if user code that opens sockets by hand can conveniently call these existing functions, instead of having to duplicate the feature in user code, or resorting to linkname.

The proposal is to add the following:

```go
// SupportsIPv4 reports whether the platform supports IPv4 networking
// functionality.
func SupportsIPv4() bool

// SupportsIPv6 reports whether the platform supports IPv6 networking
// functionality.
func SupportsIPv6() bool

// SupportsIPv4map reports whether the platform supports mapping an
// IPv4 address inside an IPv6 address at transport layer
// protocols. See RFC 4291, RFC 4038 and RFC 3493.
func SupportsIPv4map() bool
```

This proposal, if accepted, will allow [tfo-go](https://github.com/database64128/tfo-go) to drop its linkname against `net.favoriteAddrFamily`.

For https://github.com/golang/go/issues/67401#issuecomment-2123749727.
Repository: material-ui
Issue: Typograhpy - Text Formatting - Please add native support for configurable text highlighting to override native <mark> tag
Labels: new feature,component: Typography

### Summary

Would like to add more native configurability in how MUI can render the "mark" html tag, in order to override the native browser support. Would be good to enable at minimum choice of color highlight background, and adding a bit of rounded corners to the highlight effect. Some considerations may apply to color-contrast and dark/light theme transitions.

### Examples

_No response_

### Motivation

We can certainly use CSS to override native browser behavior on "mark" but would be nice to have native MUI support, which would address accessibility, color-contrast, dark/light theme automatically.

**Search keywords**: mark highlight
Repository: pytorch
Issue: [DDP] DDP bucket memory release during fwd step
Labels: oncall: distributed,triaged

### 🚀 The feature, motivation and pitch

DDP bucket will always in GPU HBM,which size is same as the sum of module all weight gradients' size.
In fwd stage and optimizer stage,  this memory is wasteful
I wonder know can this memory be release and malloc runtime for some larger module trainging such as stable diffusion?

### Alternatives

_No response_

### Additional context

_No response_

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225 @chauhang @d4l3k @robieta @chaekit @aaronenyeshi @guotuofeng @guyang3532 @dzhulgakov @davidberard98 @briancoutinho @sraikund16 @sanrise
Repository: rust
Issue: An unused output of some macros in std (e.g., `format!()`) should produce a unused_must_use warning.
Labels: A-diagnostics,T-compiler

### Code

```Rust
fn main() {
    format!("{}", 1);
}
```


### Current output

```Shell
No errors or warnings
```


### Desired output

```Shell
warning: unused return value of `format!()` that must be used
```


### Rationale and extra context

The `format!()` macro could probably expand to code containing [`std::hint::must_use`](https://doc.rust-lang.org/stable/std/hint/fn.must_use.html).

List of macros with similar issues:
* `cfg!()`
* `column!()`, `line!()`, `file!()`, `module_path!()`
* `concat!()`, `stringify!()`
* `env!()`, `option_env!()`
* `format!()`, `format_args!()`
* `include_bytes!()`, `include_str!()`
* `matches!()`
* `vec!()`
* `pin::pin!()`

### Other cases

_No response_

### Rust Version

```Shell
Nightly rust on playground: 1.81.0-nightly (2024-06-13 f1586001ace26df7cafe)
```


### Anything else?

_No response_
Repository: go
Issue: crypto/x509: TestPlatformVerifierLegacy/self-signed_leaf failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "crypto/x509" && test == "TestPlatformVerifierLegacy/self-signed_leaf"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8748655046723804977)):

    === RUN   TestPlatformVerifierLegacy/self-signed_leaf
        root_windows_test.go:102: tls connection failed: read tcp 10.138.0.106:52753->104.154.89.105:443: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    --- FAIL: TestPlatformVerifierLegacy/self-signed_leaf (19.29s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: go
Issue: crypto/x509: TestPlatformVerifierLegacy/wrong_host_for_leaf failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "crypto/x509" && test == "TestPlatformVerifierLegacy/wrong_host_for_leaf"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8748655032886641793)):

    === RUN   TestPlatformVerifierLegacy/wrong_host_for_leaf
        root_windows_test.go:102: tls connection failed: dial tcp 104.154.89.105:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    --- FAIL: TestPlatformVerifierLegacy/wrong_host_for_leaf (21.35s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: go
Issue: crypto/x509: TestPlatformVerifierLegacy/expired_leaf failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "crypto/x509" && test == "TestPlatformVerifierLegacy/expired_leaf"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8748020413874126433)):

    === RUN   TestPlatformVerifierLegacy/expired_leaf
        root_windows_test.go:102: tls connection failed: dial tcp 104.154.89.105:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    --- FAIL: TestPlatformVerifierLegacy/expired_leaf (21.20s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: ui
Issue: [bug]: Calendar Component Width is Not Flexible
Labels: bug

### Describe the bug

The `Calendar` component currently has a static size and does not adjust when the width of its container changes. This leads to a suboptimal user experience, especially in responsive designs where the container size might change dynamically based on the viewport or parent component resizing.

![shadcnui-pr-not-fixed-1](https://github.com/shadcn-ui/ui/assets/58490752/16e77451-8115-4439-b724-10cb1e1f1b2a)

### Expected Behavior
The `Calendar` component should dynamically resize its cells based on the width of its container. This ensures that the calendar remains responsive and visually consistent across different screen sizes and container widths.


### Affected component/components

Calendar

### How to reproduce

1. Render the `Calendar` component inside a resizable container.
2. Resize the container.
3. Observe that the size of the calendar cells does not adjust according to the new width of the container.

---- or -----
1. Render the `Calendar` component inside a `flex` container with a width of more than 600px or less than 200px.
2. Try to adjust the calendar with full width.

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
- OS: Manjaro OS
- Borwser: Brave Browser
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: pytorch
Issue: ONNX docs missing info about how to remove custom domains
Labels: module: onnx,module: docs,triaged

### 📚 The doc issue

In the docs about exporting to onnx [here](https://pytorch.org/tutorials/beginner/onnx/export_simple_model_to_onnx_tutorial.html?highlight=torch%20onnx%20dynamo_export) there is not a mention of how to remove the functions. The use of aten operators defined as functions creates a problem when converting to tensorrt. When visualizing with netron the functions are composed of simpler official ai.onnx operators which have support for tensorrt but not the custom exported aten operators. There should be a way to save the models without using functions and custom operators and just export the raw operators even if that means more repetitions, but it would make models exportable to tensorrt.

### Suggest a potential alternative/fix

_No response_

cc @svekars @brycebortree
Repository: PowerToys
Issue: FancyZones: Send to Back/Front or Z-Depth setting
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

As a user I would like to be able to select an application's z-depth relative to the zones. This could be accomplished through a right click menu option or shortcut key to increase/decrease z position or front/back.

### Scenario when this would be used?

I regularly have apps snapped into zones and have Teams or Outlook free floating above/below the zones. If one of those apps is used it will come to front, but then I would like to send it to the back (behind) the zones without closing or minimizing. This could be useful in many scenarios, but this specific one is my highest use case.

### Supporting information

_No response_
Repository: pytorch
Issue: NotImplementedError: Operator aten.native_layer_norm_backward.default does not have a sharding strategy registered.
Labels: oncall: distributed,triaged

### 🐛 Describe the bug

I tried to use ParallelStyle for a layer_norm type module. I followed ColwiseParallel, but got the following error: 
```Traceback (most recent call last):
  File "train_gpt2.py", line 255, in <module>
    output_sharding = self.propagate_op_sharding(op_info.schema)
  File "/usr/local/lib/python3.8/dist-packages/torch/distributed/_tensor/sharding_prop.py", line 369, in propagate_op_sharding_non_cached
        torch.autograd.backward(raise NotImplementedError(

  File "/usr/local/lib/python3.8/dist-packages/torch/autograd/__init__.py", line 266, in backward
NotImplementedError: Operator aten.native_layer_norm_backward.default does not have a sharding strategy registered.
    loss.backward()
      File "/usr/local/lib/python3.8/dist-packages/torch/_tensor.py", line 522, in backward
Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/usr/local/lib/python3.8/dist-packages/torch/distributed/_tensor/api.py", line 280, in __torch_dispatch__
    return DTensor._op_dispatcher.dispatch(
  File "/usr/local/lib/python3.8/dist-packages/torch/distributed/_tensor/dispatch.py", line 106, in dispatch
    torch.autograd.backward(
  File "/usr/local/lib/python3.8/dist-packages/torch/autograd/__init__.py", line 266, in backward
    self.sharding_propagator.propagate(op_info)
  File "/usr/local/lib/python3.8/dist-packages/torch/distributed/_tensor/sharding_prop.py", line 163, in propagate
        output_sharding = self.propagate_op_sharding(op_info.schema)
Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/usr/local/lib/python3.8/dist-packages/torch/distributed/_tensor/sharding_prop.py", line 369, in propagate_op_sharding_non_cached
  File "/usr/local/lib/python3.8/dist-packages/torch/distributed/_tensor/api.py", line 280, in __torch_dispatch__
        return DTensor._op_dispatcher.dispatch(raise NotImplementedError(

  File "/usr/local/lib/python3.8/dist-packages/torch/distributed/_tensor/dispatch.py", line 106, in dispatch
NotImplementedError: Operator aten.native_layer_norm_backward.default does not have a sharding strategy registered.```

I want to know if this ParallelStyle is only valid for linear and embedding. Will other types of modules also produce this error when doing backward? Or is there something wrong with my usage?


### Versions

I use the pytorch==2.2.1

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225 @chauhang @d4l3k
Repository: godot
Issue: Volumetric Fog with Temporal Reprojection + SpotLight3D attached to Player Camera is broken
Labels: discussion,topic:rendering,topic:3d

### Tested versions

- Reproducible in 4.3 Beta 1

### System information

Windows 10 - Godot v4.3 Beta 1 - Vulkan (Forward +) - Dedicated GPU (RTX 2080 Super)

### Issue description

When experimenting with Godot and 3D features, I wanted to have a scene with SDFGI enabled, Volumetric Fog with Temporal Reprojection enabled and also a SpotLight3D that the player can use to affect the fog (attached to the Camera)

As one can see in the video below, whenever the player moves, there is very heavy ghosting/delay.
This is even documented and known when hovering over the "Temporal Reprojection" setting.

The "solution" to this ghosting is to turn off Temporal Reprojection, but then the Volumetric Fog looks really bad and has heavy graphical glitches, especially together with SDFGI. So turning off the reprojection is not an option.

Turning on the reprojection is also not an option due to the ghosting.

How can I achieve the desired result in Godot 4, with Vol. Fog + Temp. Reprojection, SDFGI and Dynamic Lights that affect the fog?

### Steps to reproduce

- Have a simple scene, in this example i took the classic Sponza scene
- Have a simple FPS player controller
- Enable SDFGI
- Enable Volumetric Fog with Temporal Reprojection
- Attach a SpotLight3D to the player camera
- Play and move around

### Minimal reproduction project (MRP)

See the issue in this screen cap:

https://github.com/godotengine/godot/assets/1736929/2f63d5e4-1149-4eac-9f21-c59645a865cf
Repository: kubernetes
Issue: Missing Step in Documentation for Building Kubernetes in Docker
Labels: kind/documentation,sig/contributor-experience,sig/release,triage/accepted

## Description
I noticed that the documentation for building Kubernetes in Docker **does not include a step to clone the Kubernetes repository**. The instructions **go straight to executing key scripts**, which can be **confusing for users who are new to the process**. That includes me too, when I'm on-boarding it.

## Documentation:
- Follow the [building Kubernetes in Docker](https://github.com/kubernetes/kubernetes/blob/6ac60160c5729ade462b041b170ec8ac0f1eb3bc/build/README.md#overview) guide.
- Notice that there is no mention of cloning the repository before executing the scripts.

## To Make It Better and Understandable to Beginners
To add the follow steps

#### Cloning the Kubernetes Repository

Before you start building Kubernetes in Docker, make sure to clone the repository using the following command:

```bash
git clone https://github.com/kubernetes/kubernetes.git
cd kubernetes
```

With this, the upcoming guidelines are way too easy to understand after going through this.
Repository: flutter
Issue: Accessibility: TextField value is blank before gain focus
Labels: a: text input,framework,a: accessibility,f: focus,has reproducible steps,P2,team-text-input,triaged-text-input,found in release: 3.22,found in release: 3.23

### Steps to reproduce

1. Create a TextField and sets an initial value using a TextEditingController
2. Using a screen reader tool (NVDA, VoiceOver, ..) content will be read as empty until it gains focus
3. If a TextField has already gained focus at least one times, the content will be read correctly

### Expected results

Using a screen reader tool, i should be able to read the content inside the TextField

### Actual results

TextField's content is showed but, with a screen reader, it will be read as empty.
After the TextField gains focus (both navigate using TAB or clicking on it) the content will be read correctly.

### Code sample

<details open><summary>Code sample</summary>

```dart
void main() {
  final controller = TextEditingController(text: 'Initial content');
  WidgetsFlutterBinding.ensureInitialized();
  SemanticsBinding.instance.ensureSemantics();
  runApp(
    MaterialApp(
      builder: (context, child) => Scaffold(
        body: TextField(
          controller: controller,
        ),
      ),
    ),
  );
}
```

</details>


### Screenshots or Video

<img width="1680" alt="Screenshot 2024-06-14 at 15 57 55" src="https://github.com/flutter/flutter/assets/50238930/3a3b71ae-5262-4bdb-81aa-4ac9b50c3d9b">
<img width="1678" alt="Screenshot 2024-06-14 at 16 00 22" src="https://github.com/flutter/flutter/assets/50238930/f2604382-fb73-4e54-a4c8-4b1ee72a4171">


### Logs

_No response_

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.19.2, on macOS 14.5 23F79 darwin-arm64, locale en-IT)
    ! Flutter version 3.19.2 on channel [user-branch] at /Users/topavani/.flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[✓] 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.3)
[✓] VS Code (version 1.90.1)
[☠] Connected device (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ Exception: Connected device exceeded maximum allowed duration of 0:04:30.000000
[✓] Network resources

! Doctor found issues in 2 categories.

```

</details>