sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [Feature Request] Lazy upcasting for mmap'd state dicts
Labels: module: nn,module: serialization,triaged,needs design

In transformers as a rule we load models always in as `float32` for stability, even if the weights are in `bfloat16`. As a result, loading `llama-3-8B` can't be done lazily via mmap, since we have to upcast all the values in the `state_dict` immediately leading to some pretty slow timings.

It'd be nice if there were an API exposed that could take a lazy-loaded `state_dict` and hook into it to where once we request something from that state dict (before it's read from disk etc), we convert that parameter to `.to(float32)` automatically (or whatever precision you may want).

transformers PR where this behavior would be *very* useful: https://github.com/huggingface/transformers/pull/31771#discussion_r1672525371

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @msaroufim
Repository: stable-diffusion-webui
Issue: [Bug]: unstable diffusion unable to launch web Interface
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?

 Performed a clean installation of stable diffusion from scratch, Web UI does not open.
 Already up to date.
venv "D:\ai\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.4
Commit hash: feee37d75f1b168768014e4634dcb156ee649c05
Traceback (most recent call last):
  File "D:\ai\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "D:\ai\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "D:\ai\stable-diffusion-webui\modules\launch_utils.py", line 386, in prepare_environment
    raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
To continue, press any key. . .


### Steps to reproduce the problem

 I launch the interface via webui-user --autolaunch.

### What should have happened?

Web ui should work

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

Google Chrome

### Sysinfo

-

### Console logs

```Shell
Already up to date.
venv "D:\ai\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.4
Commit hash: feee37d75f1b168768014e4634dcb156ee649c05
Traceback (most recent call last):
  File "D:\ai\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "D:\ai\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "D:\ai\stable-diffusion-webui\modules\launch_utils.py", line 386, in prepare_environment
    raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
To continue, press any key. . .
```


### Additional information

For the first time I tried to install stable diffusion for myself, I made the installation from scratch, and ran into the same problem.
Repository: tauri
Issue: [feat] [2.0 beta] allow the configuration for the ip address for frontend dev server as well for ios/android
Labels: type: feature request,platform: iOS,platform: Android

### Describe the problem

currently it is hard to debug because my android/ios devices always looking for an internal ip address.

as a mobile dev with 10+ year experience, I haven't found a way to debug tauri 2.0 apps on mobile devices


![Screenshot_20240710-150512](https://github.com/tauri-apps/tauri/assets/52243759/f5835b7b-602a-4028-9d59-94fd7790f044)



### Describe the solution you'd like

on android, we can use `adb reverse` to forward the port. 
on ios, it would be better to expose an env var to configure this port

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: flutter
Issue: [tool] Enable Swift Package Manager by default on master release channel
Labels: platform-ios,tool,platform-mac,P2,team-ios,triaged-ios

* [ ] Update: https://github.com/flutter/flutter/blob/a1bd8434b555aa75cf20d482d9591c50cd4306d5/packages/flutter_tools/lib/src/features.dart#L188

* [ ] Update Swift Package Manager docs

Part of https://github.com/flutter/flutter/issues/126005
Repository: godot
Issue: "Import Resources When Unfocused" editor setting causes the editor to always redraw twice per second
Labels: bug,topic:editor,topic:import,performance

### Tested versions

- Reproducible in: 4.3.dev6, 4.3.beta 92c8e87cd

### System information

Godot v4.3.beta (92c8e87cd) - Fedora Linux 40 (KDE Plasma) - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (nvidia; 555.58.02) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)

### Issue description

The editor polls for changes twice per second if **Import Resources When Unfocused** is enabled, which causes it to redraw twice per second. The polling is expected, but it should not cause an editor redraw to happen to avoid impacting battery life too much on laptops.

https://github.com/godotengine/godot/assets/180032/c03ccee0-c0dc-4bab-a461-1756686aece4


### Steps to reproduce

- Enable **Import Resources When Unfocused** in the Editor Settings, as well as **Show Update Spinner** so you can see the redrawing occur.
- Look at the update spinner.
- Disable the setting and look at the update spinner again. (You may need to wait ~2 seconds for the setting change to apply.)

### Minimal reproduction project (MRP)

N/A (this can be reproduced on an empty project with no scenes or files)
Repository: PowerToys
Issue: Issue with MWB Always multiple Machine mode is active in all connected Systems
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.82.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

1. Connect Host system with Nonhost systems 
2. Drag the cursor to nonhost system mouse will work in both the systems simultaneously 

### ✔️ Expected Behavior

Multiple Machine mode shouldn't be activated if no shortcut is setup in the any of the machines

### ❌ Actual Behavior

Any system in the network when connected to the host machine and when dragging the cursor of the host machines (Keyboard/Mouse connected to host machine) to non host systems it works on all the systems at the same time.
However, there is one more strange behaviour where I am unable to drag the cursor from nonhost machine to any other machines, Cursor is limited to the nonhost machine.


### Other Software

_No response_
Repository: pytorch
Issue: AOT subclass desugaring adds static input arguments to inductor
Labels: triaged,oncall: pt2,module: aotdispatch,module: inductor,module: pt2-dispatcher

### 🐛 Describe the bug

Today if a user passes a tensor subclass input (TwoTensor for example) inner tensors will be unpacked during AOT Autograd. As a result in https://github.com/pytorch/pytorch/blob/ceedee23ec2cec14d12c2edd106d9c239dae95a7/torch/_inductor/utils.py#L1536
extra static args are added. After inlining builtin NN Modules is enabled, this should no longer be an issue because parameters won't be lifted anymore. This will however still be an issue if parameter freezing is enabled. 

### Versions

0bc2aee5e5e869002c437abfd735ae109ab03ce8

cc @ezyang @anijain2305 @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @zou3519 @bdhirsh
Repository: vscode
Issue: Refreshing semantic tokens does not visually update 
Labels: bug,semantic-tokens

<!-- ⚠️⚠️ 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: C# Prerelease
- OS Version: Windows 11

Steps to Reproduce:

1. Open a razor project (can be made with `dotnet new blazorserver`)
2. Open a razor file (such as `FetchData.razor`)
3. The language server will start to get project information and cycle through red > blue with squiggles > blue without squiggles visually

The expectation is that the token `<PageTitle>` would be `#4EC980` instead of `#569CB3`

![image](https://github.com/microsoft/vscode/assets/475144/395855da-fe80-45a3-ba71-799756bed3ab)

However, when scrolling, it resolves the issue.

![866c0aff-6995-43a4-a458-21a2935b6eb3](https://github.com/microsoft/vscode/assets/475144/6e894d2d-a9aa-4b4d-b78c-98f5cebdddfd)
Repository: next.js
Issue: DYNAMIC_SERVER_USAGE error when using a server action to redirect to a route that uses cookies
Labels: bug,Runtime

### Link to the code that reproduces this issue

https://github.com/joncoronel/supabase-testing

### To Reproduce

1. Deploy the application to vercel.
2. Open the deployed app and then click on the button that says `Redirect to private route through server action`.
3. Open the Vercel logs for that app and it should show an error that states the following:

> [Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: 'DYNAMIC_SERVER_USAGE',
  page: '/private'
}

There is also a second error that can occur when the cookies are used within a Suspense boundary instead of at the root of the redirect route. 
To reproduce that error the steps are:

1. Deploy the application to vercel.
2. Open the deployed app and then click on the button that says `Redirect to private page with suspense around cookies through server action`.
3. Open the Vercel logs for that app and it should show an error that states the following:

> [Error]: Dynamic server usage: Route /private-suspense couldn't be rendered statically because it used `cookies`

### Current vs. Expected behavior

For the first error, it does not affect functionality. The error is just logged on the server. For the second error, it does sometimes navigate the user to a 500 error page instead of redirecting to the page. 

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 32692
  Available CPU cores: 16
Binaries:
  Node: 20.7.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.0.0-canary.63 // Latest available version is detected (15.0.0-canary.63).
  eslint-config-next: 14.2.4
  react: 19.0.0-rc.0
  react-dom: 19.0.0-rc.0
  typescript: 5.5.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Runtime

### Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

### Additional context

**Requirements for the error to occur seem to be:**

1. Use a server action to redirect to another page.
2. Middleware that runs on the new route.
3. Use of cookies within the new route.

If any of these are missing, the error does not occur. 

The error occurs in both next `14.2.41` and the latest `canary`
Repository: PowerToys
Issue: Requested registry access is not allowed.
Labels: Issue-Bug,Product-PowerToys Run,Needs-Triage

### Microsoft PowerToys version

0.82.0

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

![image](https://github.com/microsoft/PowerToys/assets/43092545/581ef501-87dc-4722-9a93-4a8ae74b1bdc)



Version: 0.82.0.0
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True
Date: 7/11/2024 8:27:27 AM
Exception:
System.Security.SecurityException: Requested registry access is not allowed.
   at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
   at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)
   at Wpf.Ui.Appearance.SystemThemeManager.GetCurrentSystemTheme()
   at Wpf.Ui.Appearance.SystemThemeManager.UpdateSystemThemeCache()
   at Wpf.Ui.Appearance.ApplicationThemeManager.ApplySystemTheme(Boolean updateAccent)
   at Wpf.Ui.Appearance.SystemThemeWatcher.Watch(Window window, WindowBackdropType backdrop, Boolean updateAccents, Boolean forceBackgroundReplace)
   at PowerLauncher.MainWindow..ctor(PowerToysRunSettings settings, MainViewModel mainVM, CancellationToken nativeWaiterCancelToken)
   at PowerLauncher.App.<>c__DisplayClass19_0.<OnStartup>b__0()
   at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
   at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)



### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: ant-design
Issue: Form 嵌套 Form 点击 submit 会刷新页面
Labels: help wanted,Inactive

### Reproduction link

[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-6aoywh-1qb1dw?file=demo.tsx)

### Steps to reproduce

点击 submit

### What is expected?

执行 onFinish

### What is actually happening?

刷新页面

| Environment | Info |
| --- | --- |
| antd | 5.19.1 |
| React | latest |
| System | mac |
| Browser | chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: The argument of `take()`, `take_along_dim()` and `gather()` should be `index` or `indices` for consistency.
Labels: triaged,module: python frontend

### 🚀 The feature, motivation and pitch

There are the similar functions [take()](https://pytorch.org/docs/stable/generated/torch.take.html), [take_along_dim()](https://pytorch.org/docs/stable/generated/torch.take_along_dim.html) and [gather()](https://pytorch.org/docs/stable/generated/torch.gather.html).

But their aguments are not consistent having either `index` or `indices` as shown below:

`take()`:

> - index (LongTensor) – the indices into tensor

`take_along_dim()`:

> - indices (tensor) – the indices into input. Must have long dtype.

`gather()`:

> - index (LongTensor) – the indices of elements to gather


### Alternatives

So, their arguments should be `index` or `indices` for consistency.

### Additional context

_No response_

cc @albanD
Repository: pytorch
Issue: C++ API Does Not Expose Lazy NVRTC
Labels: module: cpp,module: cuda,triaged

Libraries that bind to the driver currently run into missing symbol problems when used in PyTorch extensions.

This need arises when using the TMA, where we'd like to use `cuTensorMapEncodeTiled`. PyTorch internally can use `cuTensorMapEncodeTiled` by way of some indirection, but we have no way to access it (`ATen/cuda/nvrtc_stub/ATenNVRTC.h` is not on the include path). `detail::getCUDAHooks().nvrtc().cuLoadModule(...)`and `globalContext().getNVRTC().cuLoadModule(...)` both do not work. `torch/include/ATen/cuda/detail/LazyNVRTC.h` seemed promising, but I get an incomplete type error.

cc @jbschlosser @ptrblck @msaroufim
Repository: create-react-app
Issue: cra打包路由切换FiberRootNode会新增，webpack打包就不会
Labels: needs triage,issue: bug report

import { Tooltip } from "@material-ui/core";
import React, { Profiler, useLayoutEffect, useRef, useState } from "react";
import ReactDOM from "react-dom";

const arr = new Array(100).fill(0);

const List = React.memo(() => {
  return (
    <>
      <Tooltip title="xxx">
        <p>xxxxx</p>
      </Tooltip>
      {arr.map((item, index) => (
        <div key={`${item}-${index}`}>
          {item}-{index}
        </div>
      ))}
    </>
  );
});

const TestComp = React.memo(() => {
  const ref = useRef();
  useLayoutEffect(() => {
    const dom = ref.current;

    ReactDOM.render(<List />, dom);
    return () => {
      ReactDOM.unmountComponentAtNode(dom);
    };
  }, []);

  return <div ref={ref}></div>;
});

const User = React.memo(() => {
  const [open, setOpen] = useState(false);
  return (
    <Profiler
      id="test-light-comp-demo"
      onRender={(id, phase, duration) => {
        console.log({ id, phase, duration });
      }}
    >
      <div
        onClick={() => {
          setOpen((item) => !item);
        }}
      >
        xxxxx
      </div>
      {/* {open && <TestComp />} */}
      <TestComp />
    </Profiler>
  );
});

export default User;
Repository: pytorch
Issue: [Bug Report] inconsistent global src and local rank in dist.nn.functional.broadcast
Labels: triage review,oncall: distributed

In torch.distributed.nn.functional._Broadcast, the below lines check whether the src and the rank are the same:

https://github.com/pytorch/pytorch/blob/dfd1d1971ea1265c597124b7e75fe5c8dd5a45b4/torch/distributed/nn/functional.py#L241-L242

However, the src here is global rank in the default process group WORLD (required by dist.broadcast), while the ctx.rank 

https://github.com/pytorch/pytorch/blob/dfd1d1971ea1265c597124b7e75fe5c8dd5a45b4/torch/distributed/nn/functional.py#L231

is a local rank under the provided process group by the function argument.

Thus this line fails to check whether the rank is the src, which results in all gradient to be zero for subgroups. 

cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
Repository: ollama
Issue: gpu discovery crashes on nvidia CC 2.1 GPU on windows 10
Labels: bug,windows,nvidia,needs more info

### What is the issue?

I have repeatedly installed and uninstalled ollama and searched for some advice regarding 
"Warning: could not connect to a running Ollama instance" for windows 10 but I have not found a solution.

2024/07/11 10:49:03 routes.go:1033: INFO server config env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_LLM_LIBRARY: OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MAX_VRAM:0 OLLAMA_MODELS:C:\\Users\\hp\\.ollama\\models OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:0 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://*] OLLAMA_RUNNERS_DIR:C:\\Users\\hp\\AppData\\Local\\Programs\\Ollama\\ollama_runners OLLAMA_SCHED_SPREAD:false OLLAMA_TMPDIR: ROCR_VISIBLE_DEVICES:]"
time=2024-07-11T10:49:03.902+07:00 level=INFO source=images.go:751 msg="total blobs: 0"
time=2024-07-11T10:49:03.905+07:00 level=INFO source=images.go:758 msg="total unused blobs removed: 0"
time=2024-07-11T10:49:03.906+07:00 level=INFO source=routes.go:1080 msg="Listening on 127.0.0.1:11434 (version 0.2.1)"
time=2024-07-11T10:49:03.907+07:00 level=INFO source=payload.go:44 msg="Dynamic LLM libraries [cpu_avx cpu_avx2 cuda_v11.3 rocm_v5.7 cpu]"
time=2024-07-11T10:49:03.907+07:00 level=INFO source=gpu.go:205 msg="looking for compatible GPUs"
Exception 0xc0000005 0x8 0x1ec23f01c10 0x1ec23f01c10
PC=0x1ec23f01c10
signal arrived during external code execution

### OS

Windows

### GPU

Intel

### CPU

Intel

### Ollama version

0.2.1
Repository: ui
Issue: [bug]: Combo Box TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
Labels: bug

### Describe the bug

I copy pasted the sample combo box code in my react app the popover trigger appear. when click open this error occurred in the console.

### Affected component/components

Command Combobox

### How to reproduce

1. install popover and command
2. copy paste the sample code on the website

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
The above error occurred in the <ForwardRef> component:
```


### System Info

```bash
Chrome
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: go
Issue: x/text/collate: Key and KeyFromString silently ignore the collate.Force option
Labels: NeedsInvestigation

### Go version

go version go1.22.5 linux/amd64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/dave/.cache/go-build'
GOENV='/home/dave/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/dave/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/dave/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.5'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2184709228=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

Attempted to sort strings using x/text/collate's collate.Force option, which implements deterministic comparison per Unicode TR10 (https://www.unicode.org/reports/tr10/#Forcing_Deterministic_Comparisons). Specifically, it forces strings to only compare as equal if they are bit-identical. Strings that are _equivalent_ but not bit-equal are forced into a total order by using bytewise comparison of the raw byte sequence as a tie-breaker.

### What did you see happen?

Key and KeyFromString ignore collate.Force, and return 0 (a == b) for strings that are equivalent but not bit-identical. Demo: https://go.dev/play/p/s_fwVG8pBD5 compares "Québécois" in normalization forms C and D (equivalent but different character sequences), and gets:

```
Byte compare : 1
CompareString: 1
KeyFromString: 0
```

### What did you expect to see?

All public APIs of Collator that are specified to compare things should be obeying the provided collation settings, or at least failing loud rather than silently producing a different collation order.