helloadhavan/github_issues huggingface dataset:
Repository: ollama/ollama
Pull request: mac: handle "keep" named apps

When a user elects to keep the existing app, the
new Ollama is named `Ollama 2.app`
This fixes the app startup flow to handle this naming pattern.

Changed files:
filename: cmd/start_darwin.go
patch: @@ -5,7 +5,7 @@ import (
 	"errors"
 	"os"
 	"os/exec"
-	"strings"
+	"regexp"
 
 	"github.com/ollama/ollama/api"
 )
@@ -19,11 +19,12 @@ func startApp(ctx context.Context, client *api.Client) error {
 	if err != nil {
 		return err
 	}
-	if !strings.Contains(link, "Ollama.app") {
+	r := regexp.MustCompile(`^.*/Ollama\s?\d*.app`)
+	m := r.FindStringSubmatch(link)
+	if len(m) != 1 {
 		return errors.New("could not find ollama app")
 	}
-	path := strings.Split(link, "Ollama.app")
-	if err := exec.Command("/usr/bin/open", "-j", "-a", path[0]+"Ollama.app", "--args", "--fast-startup").Run(); err != nil {
+	if err := exec.Command("/usr/bin/open", "-j", "-a", m[0], "--args", "--fast-startup").Run(); err != nil {
 		return err
 	}
 	return waitForServer(ctx, client)
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -294,6 +294,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
     </tr><tr></tr>
+    <tr>
+      <td align="center" valign="middle">
+        <a href="https://ww.emqx.com" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/emq.png">
+        </a>
+      </td>
+    </tr><tr></tr>
   </tbody>
 </table>
 <!--gold end-->
@@ -357,6 +364,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/takt.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://technology.doximity.com/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/doximity.png">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>

filename: README.md
patch: @@ -299,6 +299,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
     </tr><tr></tr>
+    <tr>
+      <td align="center" valign="middle">
+        <a href="https://ww.emqx.com" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/emq.png">
+        </a>
+      </td>
+    </tr><tr></tr>
   </tbody>
 </table>
 <!--gold end-->
Repository: facebook/react
Pull request: [compiler] Stop publishing eslint-plugin-react-compiler to npm


While we still use this package internally, we now ask users to install eslint-plugin-react-hooks instead, so this package can now be deprecated on npm.


Changed files:
filename: compiler/scripts/release/shared/packages.js
patch: @@ -7,7 +7,6 @@
 
 const PUBLISHABLE_PACKAGES = [
   'babel-plugin-react-compiler',
-  'eslint-plugin-react-compiler',
   'react-compiler-healthcheck',
   'react-compiler-runtime',
 ];
Repository: huggingface/transformers
Pull request: Fix dtype in image-text-to-text pipe

# What does this PR do?

Fixes https://github.com/huggingface/transformers/issues/43716, as per title

We didn't see errors even if we test `bf16` because most backbone models (e.g. SigLIP) cast pixels to target dtype inside the model code. I fixed it in pipe and also in pixtral model following siglip pattern

Changed files:
filename: src/transformers/models/pixtral/modeling_pixtral.py
patch: @@ -493,7 +493,8 @@ def forward(
             image_sizes = [(height, width)] * batch_size
 
         # pass images through initial convolution independently
-        patch_embeds = self.patch_conv(pixel_values)
+        target_dtype = self.patch_conv.weight.dtype
+        patch_embeds = self.patch_conv(pixel_values.to(dtype=target_dtype))
         patch_embeds_list = [
             embed[..., : (size[0] // self.patch_size), : (size[1] // self.patch_size)]
             for embed, size in zip(patch_embeds, image_sizes)

filename: src/transformers/pipelines/image_text_to_text.py
patch: @@ -334,7 +334,7 @@ def preprocess(self, inputs=None, timeout=None, continue_final_message=None, **p
                 return_tensors="pt",
                 tokenize=True,
                 return_dict=True,
-            )
+            ).to(dtype=self.dtype)
             model_inputs["text"] = inputs
             return model_inputs
         # In case we only have text inputs
Repository: vuejs/vue
Pull request: [automated] Patreon backers update (Sep 2021

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -458,7 +458,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 
 <!--10 start-->
 - Felix Mok
-- Jeffrey Rennie
+- Keisuke Kita
 - Meinhard Dam
 - Роман Латкин
 - Alex Riviere
@@ -488,7 +488,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 - Peter Matkovsky
 - 龙腾道 
 - Nick Dandakis
-- Yusuke Kawabata
+- Jeffrey Rennie
 - Shawn Wildermuth
 - Elon Hung
 - Juan Bermudez
@@ -519,7 +519,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 - Wen-Tien Chang
 - Stephen Hartley
 - Victor Tolbert
-- Keisuke Kita
+- Yusuke Kawabata
 <!--10 end-->
 
 <h2 align="center">Backers via OpenCollective</h2>
Repository: ollama/ollama
Pull request: Update linux.md

AMD Linux Drivers URL updated, linked.

Changed files:
filename: docs/linux.md
patch: @@ -112,8 +112,8 @@ sudo systemctl status ollama
 > While AMD has contributed the `amdgpu` driver upstream to the official linux
 > kernel source, the version is older and may not support all ROCm features. We
 > recommend you install the latest driver from
-> https://www.amd.com/en/support/linux-drivers for best support of your Radeon
-> GPU.
+> [AMD](https://www.amd.com/en/support/download/linux-drivers.html) for best support
+> of your Radeon GPU.
 
 ## Customizing
Repository: ggml-org/llama.cpp
Pull request: webui: Add code blocks full height setting to parameter sync service

Fix #19742

Changed files:
filename: tools/server/webui/src/lib/services/parameter-sync.service.ts
patch: @@ -153,6 +153,12 @@ export const SYNCABLE_PARAMETERS: SyncableParameter[] = [
 		serverKey: 'enableContinueGeneration',
 		type: SyncableParameterType.BOOLEAN,
 		canSync: true
+	},
+	{
+		key: 'fullHeightCodeBlocks',
+		serverKey: 'fullHeightCodeBlocks',
+		type: SyncableParameterType.BOOLEAN,
+		canSync: true
 	}
 ];
Repository: electron/electron
Pull request: ci: log mocha retries in spec runner

Backport of #49150

See that PR for details.


Notes: none


Changed files:
filename: spec/index.js
patch: @@ -192,6 +192,14 @@ app.whenReady().then(async () => {
   chai.config.truncateThreshold = 0;
 
   const runner = mocha.run(cb);
+
+  const RETRY_EVENT = Mocha?.Runner?.constants?.EVENT_TEST_RETRY || 'retry';
+
+  runner.on(RETRY_EVENT, (test, err) => {
+    console.log(`Failure in test: "${test.fullTitle()}"`);
+    if (err?.stack) console.log(err.stack.split('\n').slice(0, 3).join('\n'));
+    console.log(`Retrying test (${test.currentRetry() + 1}/${test.retries()})...`);
+  });
 }).catch((err) => {
   console.error('An error occurred while running the spec runner');
   console.error(err);
Repository: ollama/ollama
Pull request: spawn desktop quickly

Give the desktop app a hint to start fast.

Changed files:
filename: cmd/start_darwin.go
patch: @@ -23,7 +23,7 @@ func startApp(ctx context.Context, client *api.Client) error {
 		return errors.New("could not find ollama app")
 	}
 	path := strings.Split(link, "Ollama.app")
-	if err := exec.Command("/usr/bin/open", "-j", "-a", path[0]+"Ollama.app").Run(); err != nil {
+	if err := exec.Command("/usr/bin/open", "-j", "-a", path[0]+"Ollama.app", "--args", "--fast-startup").Run(); err != nil {
 		return err
 	}
 	return waitForServer(ctx, client)

filename: cmd/start_windows.go
patch: @@ -47,7 +47,7 @@ func startApp(ctx context.Context, client *api.Client) error {
 	}
 
 	cmd_path := "c:\\Windows\\system32\\cmd.exe"
-	cmd := exec.Command(cmd_path, "/c", appExe, "hidden")
+	cmd := exec.Command(cmd_path, "/c", appExe, "--hide", "--fast-startup")
 	cmd.SysProcAttr = &syscall.SysProcAttr{CreationFlags: 0x08000000, HideWindow: true}
 
 	cmd.Stdin = strings.NewReader("")
Repository: electron/electron
Pull request: fix: rgbaf16 shared texture remove keyed mutex.

Backport of #49798

See that PR for details.


Notes: Fixed an issue that caused the RGBAF16 shared texture format to have a keyed mutex on Windows.

Changed files:
filename: docs/api/structures/shared-texture-handle.md
patch: @@ -1,6 +1,6 @@
 # SharedTextureHandle Object
 
-* `ntHandle` Buffer (optional) _Windows_ - NT HANDLE holds the shared texture. Note that this NT HANDLE is local to current process.
+* `ntHandle` Buffer (optional) _Windows_ - NT HANDLE holds the shared texture. Note that this NT HANDLE is local to current process.  Output textures of `rgba`, `bgra`, `rgbaf16` formats don't have a keyed mutex on the texture handle, but `nv12` format texture handles do have a keyed mutex.
 * `ioSurface` Buffer (optional) _macOS_ - IOSurfaceRef holds the shared texture. Note that this IOSurface is local to current process (not global).
 * `nativePixmap` Object (optional) _Linux_ - Structure contains planes of shared texture.
   * `planes` Object[] _Linux_ - Each plane's info of the shared texture.

filename: patches/chromium/osr_shared_texture_remove_keyed_mutex_on_win_dxgi.patch
patch: @@ -36,10 +36,10 @@ index 4f1db7db3da9f792ed2a0352abf6940b0f03f4ff..c35b5a44474b6a0c38f177342263e49a
    Microsoft::WRL::ComPtr<ID3D11Texture2D> d3d11_texture;
  
 diff --git a/media/video/renderable_mappable_shared_image_video_frame_pool.cc b/media/video/renderable_mappable_shared_image_video_frame_pool.cc
-index 36ed797edc58a6cf094a0b720bf949b3f6379890..950b839a67fc190f9c0d73bcc102b547178216bb 100644
+index 36ed797edc58a6cf094a0b720bf949b3f6379890..36a4a080da38cddad645d42e5c53c840e211105e 100644
 --- a/media/video/renderable_mappable_shared_image_video_frame_pool.cc
 +++ b/media/video/renderable_mappable_shared_image_video_frame_pool.cc
-@@ -211,6 +211,23 @@ bool FrameResources::Initialize(VideoPixelFormat format,
+@@ -211,6 +211,24 @@ bool FrameResources::Initialize(VideoPixelFormat format,
    const gfx::Size coded_size =
        GetCodedSizeForVideoPixelFormat(format, visible_size_);
  
@@ -49,7 +49,8 @@ index 36ed797edc58a6cf094a0b720bf949b3f6379890..950b839a67fc190f9c0d73bcc102b547
 +  // once the GMB is returned from CopyRequest. So there will be no race
 +  // condition on that texture. We can request a GMB without a keyed mutex to
 +  // accelerate and probably prevent some driver deadlock.
-+  if (format == PIXEL_FORMAT_ARGB || format == PIXEL_FORMAT_ABGR) {
++  if (format == PIXEL_FORMAT_ARGB || format == PIXEL_FORMAT_ABGR ||
++      format == PIXEL_FORMAT_RGBAF16) {
 +    // This value is 'borrowed', SCANOUT_VEA_CPU_READ is probably invalid
 +    // cause there's no real SCANOUT on Windows. We simply use this enum as a
 +    // flag to disable mutex in the GMBFactoryDXGI because this enum is also
Repository: vuejs/vue
Pull request: [automated] Patreon backers update (Sep 2021

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -442,36 +442,36 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 <h2 align="center">Generous Backers via Patreon ($50+)</h2>
 
 <!--50 start-->
-
 - Yoshitaka M
 - Peter Imburg
 - Johnny Ray Austin
-- errorrik
+- errorrik 
 - Wasim Khamlichi
 <!--50 end-->
 
 <h2 align="center">Backers via Patreon</h2>
 
 <!--10 start-->
-
+- Felix Mok
 - Jeffrey Rennie
-- Keisuke Kita
+- Meinhard Dam
 - Роман Латкин
 - Alex Riviere
-- Fontis
-- Jack
-- Nick Carr
+- WhereJuly
+- Fontis 
+- Jack 
 - Traversy Media
 - Pierre Baron
 - Donghai Gai
 - Aleksander Figiel
 - Dennis Zanetti
-- wickedwei
+- wickedwei 
 - Sunny Yuen
-- Jules
+- Jules 
 - Zeth Odderskov
 - Thomas Wiedemann
 - Nobuhide Esaki
+- Nat Dunn
 - Roy Segall
 - Allan McKernan
 - Diana Bergholz
@@ -481,11 +481,12 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 - username
 - Pierre Lebrun
 - Peter Matkovsky
-- 龙腾道
+- 龙腾道 
 - Nick Dandakis
 - Yusuke Kawabata
 - Shawn Wildermuth
-- Meinhard Dam
+- Elon Hung
+- Juan Bermudez
 - Daniel Mattingley
 - Matt Sencenbaugh
 - Jaeyoung Lee
@@ -494,16 +495,15 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 - Wakana Seki
 - Jere Sjöroos
 - Donald Fischer
-- Eric
+- Eric 
 - tyler madsen
 - Joe Gregory
 - Masahiro Tanaka
-- Tyler
+- Tyler 
 - Jim Raden
 - Haim Yulzari
 - Asaf Yishai
 - Jon Hobbs-Smith
-- Pierre Vanhulst
 - Zoran Knezevic
 - Bernhard E. Reiter
 - Guy Gavergun
@@ -514,9 +514,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 - Wen-Tien Chang
 - Stephen Hartley
 - Victor Tolbert
-- Lars Andreas Ness
-- Benjamin Listwon
-- Elon Hung
+- Keisuke Kita
 <!--10 end-->
 
 <h2 align="center">Backers via OpenCollective</h2>
Repository: facebook/react
Pull request: [DevTools] Avoid uncached Promise when symbolicating sources in environments without file fetching

Stacked on https://github.com/facebook/react/pull/34208

Returning `Promise.resolve(null)` from `useMemo` is effectively returning an uncached Promise.

Mostly a fix for developing in the DevTools fixture I believe.



https://github.com/user-attachments/assets/d0fb6de5-7178-4467-a81e-7bf4dd85a430





Changed files:
filename: packages/react-devtools-shared/src/devtools/views/Components/InspectedElement.js
patch: @@ -34,6 +34,8 @@ export type Props = {};
 
 // TODO Make edits and deletes also use transition API!
 
+const noSourcePromise = Promise.resolve(null);
+
 export default function InspectedElementWrapper(_: Props): React.Node {
   const {inspectedElementID} = useContext(TreeStateContext);
   const bridge = useContext(BridgeContext);
@@ -59,11 +61,11 @@ export default function InspectedElementWrapper(_: Props): React.Node {
           ? inspectedElement.stack[0]
           : null;
 
-  const symbolicatedSourcePromise: null | Promise<ReactFunctionLocation | null> =
+  const symbolicatedSourcePromise: Promise<ReactFunctionLocation | null> =
     React.useMemo(() => {
-      if (fetchFileWithCaching == null) return Promise.resolve(null);
+      if (fetchFileWithCaching == null) return noSourcePromise;
 
-      if (source == null) return Promise.resolve(null);
+      if (source == null) return noSourcePromise;
 
       const [, sourceURL, line, column] = source;
       return symbolicateSourceWithCache(
@@ -291,7 +293,7 @@ export default function InspectedElementWrapper(_: Props): React.Node {
         <div className={styles.Loading}>Loading...</div>
       )}
 
-      {inspectedElement !== null && symbolicatedSourcePromise != null && (
+      {inspectedElement !== null && (
         <InspectedElementView
           element={element}
           hookNames={hookNames}
Repository: vercel/next.js
Pull request: Turbopack: Add --experimental-server-fast-refresh CLI flag

This adds `--experimental-server-fast-refresh` CLI flag to enable experimental server-side Fast Refresh (HMR) during development. It's disabled by default.

We call HMR "fast refresh" in public docs so let's keep the flag consistent with that. We use the HMR naming past this outer layer in the codebase.

Test Plan:

```bash
next dev --experimental-server-fast-refresh
```

Changed files:
filename: packages/next/src/bin/next.ts
patch: @@ -309,6 +309,10 @@ program
     '--experimental-https-ca, <path>',
     'Path to a HTTPS certificate authority file.'
   )
+  .option(
+    '--experimental-server-fast-refresh',
+    'Enable experimental server-side Fast Refresh.'
+  )
   .option(
     '--experimental-upload-trace, <traceUrl>',
     'Reports a subset of the debugging trace to a remote HTTP URL. Includes sensitive data.'

filename: packages/next/src/cli/next-dev.ts
patch: @@ -55,6 +55,7 @@ export type NextDevOptions = {
   experimentalUploadTrace?: string
   experimentalNextConfigStripTypes?: boolean
   experimentalCpuProf?: boolean
+  experimentalServerFastRefresh?: boolean
 }
 
 type PortSource = 'cli' | 'default' | 'env'
@@ -253,6 +254,7 @@ const nextDev = async (
     allowRetry,
     isDev: true,
     hostname: host,
+    experimentalServerFastRefresh: options.experimentalServerFastRefresh,
   }
 
   const startServerPath = require.resolve('../server/lib/start-server')

filename: packages/next/src/server/lib/start-server.ts
patch: @@ -123,6 +123,7 @@ export interface StartServerOptions {
   keepAliveTimeout?: number
   // this is dev-server only
   selfSignedCertificate?: SelfSignedCertificate
+  experimentalServerFastRefresh?: boolean
 }
 
 export async function getRequestHandlers({
Repository: electron/electron
Pull request: fix: rgbaf16 shared texture remove keyed mutex.

#### Description of Change

Fixed an issue that caused the RGBAF16 shared texture format to have a keyed mutex on Windows.

Closes #49752

#### Release Notes

Notes: Fixed an issue that caused the RGBAF16 shared texture format to have a keyed mutex on Windows.

Changed files:
filename: docs/api/structures/shared-texture-handle.md
patch: @@ -1,6 +1,6 @@
 # SharedTextureHandle Object
 
-* `ntHandle` Buffer (optional) _Windows_ - NT HANDLE holds the shared texture. Note that this NT HANDLE is local to current process.
+* `ntHandle` Buffer (optional) _Windows_ - NT HANDLE holds the shared texture. Note that this NT HANDLE is local to current process.  Output textures of `rgba`, `bgra`, `rgbaf16` formats don't have a keyed mutex on the texture handle, but `nv12` format texture handles do have a keyed mutex.
 * `ioSurface` Buffer (optional) _macOS_ - IOSurfaceRef holds the shared texture. Note that this IOSurface is local to current process (not global).
 * `nativePixmap` Object (optional) _Linux_ - Structure contains planes of shared texture.
   * `planes` Object[] _Linux_ - Each plane's info of the shared texture.

filename: patches/chromium/osr_shared_texture_remove_keyed_mutex_on_win_dxgi.patch
patch: @@ -36,10 +36,10 @@ index 660a50670db25c48bdb7ab9facd8efbe944844f1..904ae1ef29aae9a28b555acc71928450
    Microsoft::WRL::ComPtr<ID3D11Texture2D> d3d11_texture;
  
 diff --git a/media/video/renderable_mappable_shared_image_video_frame_pool.cc b/media/video/renderable_mappable_shared_image_video_frame_pool.cc
-index 36ed797edc58a6cf094a0b720bf949b3f6379890..950b839a67fc190f9c0d73bcc102b547178216bb 100644
+index 36ed797edc58a6cf094a0b720bf949b3f6379890..36a4a080da38cddad645d42e5c53c840e211105e 100644
 --- a/media/video/renderable_mappable_shared_image_video_frame_pool.cc
 +++ b/media/video/renderable_mappable_shared_image_video_frame_pool.cc
-@@ -211,6 +211,23 @@ bool FrameResources::Initialize(VideoPixelFormat format,
+@@ -211,6 +211,24 @@ bool FrameResources::Initialize(VideoPixelFormat format,
    const gfx::Size coded_size =
        GetCodedSizeForVideoPixelFormat(format, visible_size_);
  
@@ -49,7 +49,8 @@ index 36ed797edc58a6cf094a0b720bf949b3f6379890..950b839a67fc190f9c0d73bcc102b547
 +  // once the GMB is returned from CopyRequest. So there will be no race
 +  // condition on that texture. We can request a GMB without a keyed mutex to
 +  // accelerate and probably prevent some driver deadlock.
-+  if (format == PIXEL_FORMAT_ARGB || format == PIXEL_FORMAT_ABGR) {
++  if (format == PIXEL_FORMAT_ARGB || format == PIXEL_FORMAT_ABGR ||
++      format == PIXEL_FORMAT_RGBAF16) {
 +    // This value is 'borrowed', SCANOUT_VEA_CPU_READ is probably invalid
 +    // cause there's no real SCANOUT on Windows. We simply use this enum as a
 +    // flag to disable mutex in the GMBFactoryDXGI because this enum is also
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -278,6 +278,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/troypoint.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://webreinvent.com?utm_source=vuejs.org&utm_medium=logo&utm_campaign=patreon-sponsors" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/webreinvent_technologies_pvt_ltd.svg?sanitize=true">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>

filename: README.md
patch: @@ -283,6 +283,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/troypoint.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://webreinvent.com?utm_source=vuejs.org&utm_medium=logo&utm_campaign=patreon-sponsors" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/webreinvent_technologies_pvt_ltd.svg?sanitize=true">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>
Repository: ggml-org/llama.cpp
Pull request: Make debug build possible on Windows with HIP backend.

# What is it?

Debug build for HIP backend fails on Windows. It is known problem (see https://github.com/ROCm/ROCm/issues/5826) and was [previously fixed for Linux build](https://github.com/ggml-org/llama.cpp/pull/20392). However, CMakeFiles.txt on Windows treat HIP files as CXX files, therefore one should provide extra treatment for Windows build.

Fix is to explicitly set "-O2" option for HIP source files at Windows debug build.

If this correction is good enough to be accepted, I will also make PRs for [ggml](https://github.com/ggml-org/ggml) and [whisper.cpp](https://github.com/ggml-org/whisper.cpp) repos.

# Ways to test and reproduce.
I found this issue while trying to build llama.cpp for Strix Halo (architecture gfx1151). Most likely this error occurs not only on Strix Halo and can be reproduced at any RDNA 2/3/4 AMD GPU.

```powershell
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -G Ninja -B build -DGGML_HIP=ON -DGGML_HIP_ROCWMMA_FATTN=OFF -DGGML_OPENMP=OFF -DAMDGPU_TARGETS=gfx1151 -DCMAKE_RC_COMPILER="C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64/rc.exe" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DCURL_LIBRARY=C:/vcpkg_github/vcpkg/installed/x64-windows/lib/libcurl.lib -DCURL_INCLUDE_DIR=C:/vcpkg_github/vcpkg/installed/x64-windows/include
cmake --build build
```

# Additional tests.
Not needed, current ones are good.

Changed files:
filename: ggml/src/ggml-hip/CMakeLists.txt
patch: @@ -129,6 +129,11 @@ endif()
 
 if (CXX_IS_HIPCC)
     set_source_files_properties(${GGML_SOURCES_ROCM} PROPERTIES LANGUAGE CXX)
+    if (WIN32 AND CMAKE_BUILD_TYPE STREQUAL "Debug")
+        # CMake on Windows doesn't support the HIP language yet.
+        # Therefore we workaround debug build's failure on HIP backend this way.
+        set_source_files_properties(${GGML_SOURCES_ROCM} PROPERTIES COMPILE_FLAGS "-O2 -g")
+    endif()
     target_link_libraries(ggml-hip PRIVATE hip::device)
 else()
     set_source_files_properties(${GGML_SOURCES_ROCM} PROPERTIES LANGUAGE HIP)