helloadhavan/github_issues huggingface dataset:
Repository: vuejs/vue
Pull request: perf: deep clone slot vnodes on re-render

avoid unnecessary assignment.

<!--
Please make sure to read the Pull Request Guidelines:
https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines
-->

<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->

**What kind of change does this PR introduce?** (check at least one)

- [x] Refactor

**Does this PR introduce a breaking change?** (check one)

- [x] No

If yes, please describe the impact and migration path for existing applications:

**The PR fulfills these requirements:**

- [x] It's submitted to the `dev` branch for v2.x (or to a previous version branch), _not_ the `master` branch
- [x] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number)
- [x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup


Changed files:
filename: src/core/vdom/vnode.js
patch: @@ -95,8 +95,8 @@ export function cloneVNode (vnode: VNode, deep?: boolean): VNode {
   cloned.key = vnode.key
   cloned.isComment = vnode.isComment
   cloned.isCloned = true
-  if (deep) {
-    cloned.children = vnode.children && cloneVNodes(vnode.children)
+  if (deep && vnode.children) {
+    cloned.children = cloneVNodes(vnode.children)
   }
   return cloned
 }
Repository: vuejs/vue
Pull request: [weex] Remove legacy api and wrap IFFE for appCode

**This PR only affects the Weex platform.**

+ [x] Remove `__weex_require_module__` api, use `weex.requireModule` instead. The tast case also has been changed.
+ [x] Wrap IFFE and mock the `global` variable for js bundle. (https://github.com/alibaba/weex/pull/1626)
+ [x] return the instance in `createInstance`.


Changed files:
filename: src/platforms/weex/entry-framework.js
patch: @@ -104,6 +104,8 @@ export function createInstance (
 
   // Send `createFinish` signal to native.
   instance.document.taskCenter.send('dom', { action: 'createFinish' }, [])
+
+  return instance
 }
 
 /**
Repository: ggml-org/llama.cpp
Pull request: add `LLAMA_ARG_OVERRIDE_TENSOR` env var for `-ot` arg

This PR makes it so that `-ot` / `--override-tensor` can be controlled by a new environment variable `LLAMA_ARG_OVERRIDE_TENSOR`.

*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR*

Changed files:
filename: common/arg.cpp
patch: @@ -2087,7 +2087,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
         "override tensor buffer type", [](common_params & params, const std::string & value) {
             parse_tensor_buffer_overrides(value, params.tensor_buft_overrides);
         }
-    ));
+    ).set_env("LLAMA_ARG_OVERRIDE_TENSOR"));
     add_opt(common_arg(
         {"-otd", "--override-tensor-draft"}, "<tensor name pattern>=<buffer type>,...",
         "override tensor buffer type for draft model", [](common_params & params, const std::string & value) {
Repository: ollama/ollama
Pull request: Update README.md with node-red-contrib-ollama

Update README.md with node-red-contrib-ollama in the Extensions & Plugins section

Changed files:
filename: README.md
patch: @@ -479,6 +479,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Discord-Ollama Chat Bot](https://github.com/kevinthedang/discord-ollama) (Generalized TypeScript Discord Bot w/ Tuning Documentation)
 - [Discord AI chat/moderation bot](https://github.com/rapmd73/Companion) Chat/moderation bot written in python. Uses Ollama to create personalities.
 - [Headless Ollama](https://github.com/nischalj10/headless-ollama) (Scripts to automatically install ollama client & models on any OS for apps that depends on ollama server)
+- [node-red-contrib-ollama](https://github.com/jakubburkiewicz/node-red-contrib-ollama)
 - [Local AI Helper](https://github.com/ivostoykov/localAI) (Chrome and Firefox extensions that enable interactions with the active tab and customisable API endpoints. Includes secure storage for user prompts.)
 - [vnc-lm](https://github.com/jk011ru/vnc-lm) (A containerized Discord bot with support for attachments and web links)
 - [LSP-AI](https://github.com/SilasMarvin/lsp-ai) (Open-source language server for AI-powered functionality)
Repository: ollama/ollama
Pull request: Add LLPhant to README.md

LLPhant is a PHP library that wraps many LLM services and it supports Ollama.
https://github.com/theodo-group/LLPhant?tab=readme-ov-file#ollama

Changed files:
filename: README.md
patch: @@ -402,6 +402,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [LangChainGo](https://github.com/tmc/langchaingo/) with [example](https://github.com/tmc/langchaingo/tree/main/examples/ollama-completion-example)
 - [LangChain4j](https://github.com/langchain4j/langchain4j) with [example](https://github.com/langchain4j/langchain4j-examples/tree/main/ollama-examples/src/main/java)
 - [LangChainRust](https://github.com/Abraxas-365/langchain-rust) with [example](https://github.com/Abraxas-365/langchain-rust/blob/main/examples/llm_ollama.rs)
+- [LLPhant](https://github.com/theodo-group/LLPhant?tab=readme-ov-file#ollama)
 - [LlamaIndex](https://docs.llamaindex.ai/en/stable/examples/llm/ollama/) and [LlamaIndexTS](https://ts.llamaindex.ai/modules/llms/available_llms/ollama)
 - [LiteLLM](https://github.com/BerriAI/litellm)
 - [OllamaFarm for Go](https://github.com/presbrey/ollamafarm)
Repository: ollama/ollama
Pull request: Add autogpt integration to list of community integrations

AutoGPT now supports building agents using Ollama 🥳. Updating Ollama's readme so people are aware of yet another way to use Ollama within their apps!

Changed files:
filename: README.md
patch: @@ -323,6 +323,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [LLMStack](https://github.com/trypromptly/LLMStack) (No-code multi-agent framework to build LLM agents and workflows)
 - [BoltAI for Mac](https://boltai.com) (AI Chat Client for Mac)
 - [Harbor](https://github.com/av/harbor) (Containerized LLM Toolkit with Ollama as default backend)
+- [AutoGPT](https://github.com/Significant-Gravitas/AutoGPT/blob/master/docs/content/platform/ollama.md) (AutoGPT Ollama integration)
 - [Go-CREW](https://www.jonathanhecl.com/go-crew/) (Powerful Offline RAG in Golang)
 - [PartCAD](https://github.com/openvmp/partcad/) (CAD model generation with OpenSCAD and CadQuery)
 - [Ollama4j Web UI](https://github.com/ollama4j/ollama4j-web-ui) - Java-based Web UI for Ollama built with Vaadin, Spring Boot and Ollama4j
Repository: electron/electron
Pull request: fix: devtools crashing on Linux in detach mode

Backport of #48600

See that PR for details.


Notes: Fixed an issue where calling `webContents.openDevTools({ mode: 'detach' })` would cause a crash on Wayland.


Changed files:
filename: shell/browser/ui/views/electron_views_delegate.cc
patch: @@ -8,6 +8,7 @@
 
 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
 #include "ui/views/widget/native_widget_aura.h"
+#include "ui/views/window/default_frame_view.h"
 
 #if BUILDFLAG(IS_LINUX)
 #include "base/environment.h"
@@ -62,7 +63,7 @@ gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const {
 
 std::unique_ptr<views::NonClientFrameView>
 ViewsDelegate::CreateDefaultNonClientFrameView(views::Widget* widget) {
-  return nullptr;
+  return std::make_unique<views::DefaultFrameView>(widget);
 }
 
 void ViewsDelegate::OnBeforeWidgetInit(
Repository: nodejs/node
Pull request: doc: restore REPLACEME on assert change

The change was semver-major and didn't land on v25.x

Refs: https://github.com/nodejs/node/pull/60774

<!--
Before submitting a pull request, please read:

- the CONTRIBUTING guide at https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
- the commit message formatting guidelines at
  https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines

For code changes:
1. Include tests for any bug fixes or new features.
2. Update documentation if relevant.
3. Ensure that `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes.

If you believe this PR should be highlighted in the Node.js CHANGELOG
please add the `notable-change` label.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
-->


Changed files:
filename: doc/api/assert.md
patch: @@ -342,7 +342,7 @@ An alias of [`assert.ok()`][].
 <!-- YAML
 added: v0.1.21
 changes:
-  - version: v25.1.0
+  - version: REPLACEME
     pr-url: https://github.com/nodejs/node/pull/58849
     description: Message may now be a `printf`-like format string or function.
   - version: v25.0.0
Repository: ollama/ollama
Pull request: Update README.md

I have created an easy to use GUI in python that would make a great addition to the Community Integrations
Web & Desktop section.

- [Ollama-Kis](https://github.com/elearningshow/ollama-kis) (A simple easy to use GUI with sample custom LLM for Drivers Education) 


Changed files:
filename: README.md
patch: @@ -314,6 +314,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Shinkai Desktop](https://github.com/dcSpark/shinkai-apps) (Two click install Local AI using Ollama + Files + RAG)
 - [AiLama](https://github.com/zeyoyt/ailama) (A Discord User App that allows you to interact with Ollama anywhere in discord )
 - [Ollama with Google Mesop](https://github.com/rapidarchitect/ollama_mesop/) (Mesop Chat Client implementation with Ollama)
+- [Ollama-Kis](https://github.com/elearningshow/ollama-kis) (A simple easy to use GUI with sample custom LLM for Drivers Education) 
 - [OpenGPA](https://opengpa.org) (Open-source offline-first Enterprise Agentic Application) 
 - [Painting Droid](https://github.com/mateuszmigas/painting-droid) (Painting app with AI integrations)
 - [Kerlig AI](https://www.kerlig.com/) (AI writing assistant for macOS)
Repository: ollama/ollama
Pull request: Update README.md: Add Ollama-GUI to web & desktop

Hi,
ollama-gui is a very simple client, implemented using the built-in Python tkinter library, with no additional dependencies. Provide with the simplest possible visual Ollama interface.

Repository:
https://github.com/chyok/ollama-gui

Screenshots(current version):
![ollama-gui-1 2 0](https://github.com/user-attachments/assets/a4bb979b-68a4-4062-b484-7542f2a866e0)

Hope it can be adopted, thanks

Changed files:
filename: README.md
patch: @@ -331,6 +331,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [ConfiChat](https://github.com/1runeberg/confichat) (Lightweight, standalone, multi-platform, and privacy focused LLM chat interface with optional encryption)
 - [Archyve](https://github.com/nickthecook/archyve) (RAG-enabling document library)
 - [crewAI with Mesop](https://github.com/rapidarchitect/ollama-crew-mesop) (Mesop Web Interface to run crewAI with Ollama)
+- [Tkinter-based client](https://github.com/chyok/ollama-gui) (Python tkinter-based Client for Ollama)
 - [LLMChat](https://github.com/trendy-design/llmchat) (Privacy focused, 100% local, intuitive all-in-one chat interface)
 - [ARGO](https://github.com/xark-argo/argo) (Locally download and run Ollama and Huggingface models with RAG on Mac/Windows/Linux)
 - [G1](https://github.com/bklieger-groq/g1) (Prototype of using prompting strategies to improve the LLM's reasoning through o1-like reasoning chains.)
Repository: facebook/react
Pull request: Add "auto" class to mean the built-in should run

Stacked on https://github.com/facebook/react/pull/32734

In React a ViewTransition class of `"none"` doesn't just mean that it has no class but also that it has no ViewTransition name. The default (`null | undefined`) means that it has no specific class but should run with the default built-in animation. This adds this as an explicit string called `"auto"` as well.

That way you can do `<ViewTransition default="foo" enter="auto">` to override the "foo" just for the "enter" trigger to be the default built-in animation. Where as if you just specified `null` it would be like not specifying enter at all which would trigger "foo".


Changed files:
filename: packages/react-reconciler/src/ReactFiberViewTransitionComponent.js
patch: @@ -21,10 +21,14 @@ import {getIsHydrating} from './ReactFiberHydrationContext';
 import {getTreeId} from './ReactFiberTreeContext';
 
 export type ViewTransitionClassPerType = {
-  [transitionType: 'default' | string]: 'none' | string,
+  [transitionType: 'default' | string]: 'none' | 'auto' | string,
 };
 
-export type ViewTransitionClass = 'none' | string | ViewTransitionClassPerType;
+export type ViewTransitionClass =
+  | 'none'
+  | 'auto'
+  | string
+  | ViewTransitionClassPerType;
 
 export type ViewTransitionProps = {
   name?: string,
@@ -127,7 +131,10 @@ export function getViewTransitionClassName(
   const className: ?string = getClassNameByType(defaultClass);
   const eventClassName: ?string = getClassNameByType(eventClass);
   if (eventClassName == null) {
-    return className;
+    return className === 'auto' ? null : className;
+  }
+  if (eventClassName === 'auto') {
+    return null;
   }
   return eventClassName;
 }
Repository: ollama/ollama
Pull request: Update README.md to add Shinkai Desktop

Adding Shinkai Desktop to the list of Apps using Ollama (opensource), free and a two click install! no docker required

Changed files:
filename: README.md
patch: @@ -311,6 +311,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Olpaka](https://github.com/Otacon/olpaka) (User-friendly Flutter Web App for Ollama)
 - [OllamaSpring](https://github.com/CrazyNeil/OllamaSpring) (Ollama Client for macOS)
 - [LLocal.in](https://github.com/kartikm7/llocal) (Easy to use Electron Desktop Client for Ollama)
+- [Shinkai Desktop](https://github.com/dcSpark/shinkai-apps) (Two click install Local AI using Ollama + Files + RAG)
 - [AiLama](https://github.com/zeyoyt/ailama) (A Discord User App that allows you to interact with Ollama anywhere in discord )
 - [Ollama with Google Mesop](https://github.com/rapidarchitect/ollama_mesop/) (Mesop Chat Client implementation with Ollama)
 - [OpenGPA](https://opengpa.org) (Open-source offline-first Enterprise Agentic Application)
Repository: ollama/ollama
Pull request: Add Orbiton to the README.md file

Orbiton is a configuration-free text editor and IDE that can use Ollama for tab-completion.

Changed files:
filename: README.md
patch: @@ -368,6 +368,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [vim-intelligence-bridge](https://github.com/pepo-ec/vim-intelligence-bridge) Simple interaction of "Ollama" with the Vim editor
 - [SwollamaCLI](https://github.com/marcusziade/Swollama) bundled with the Swollama Swift package. [Demo](https://github.com/marcusziade/Swollama?tab=readme-ov-file#cli-usage)
 - [aichat](https://github.com/sigoden/aichat) All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI tools & agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.
+- [orbiton](https://github.com/xyproto/orbiton) Configuration-free text editor and IDE with support for tab completion with Ollama.
 
 ### Apple Vision Pro
 - [Enchanted](https://github.com/AugustDev/enchanted)
Repository: electron/electron
Pull request: fix: handle tar.xz files in uploaders, add to breaking changes

Backport of #48941

See that PR for details.


Notes: Fixed an error on debug symbol upload by moving dsym.zip to use tar.xz compression.


Changed files:
filename: docs/breaking-changes.md
patch: @@ -20,6 +20,11 @@ Using the `clipboard` API directly in the renderer process is deprecated.
 If you want to call this API from a renderer process, place the API call in
 your preload script and expose it using the [contextBridge](https://www.electronjs.org/docs/latest/api/context-bridge) API.
 
+### Behavior Changed: MacOS dSYM files now compressed with tar.xz
+
+Debug symbols for MacOS (dSYM) now use xz compression in order to handle larger file sizes. `dsym.zip` files are now
+`dsym.tar.xz` files. End users using debug symbols may need to update their zip utilities.
+
 ## Planned Breaking API Changes (39.0)
 
 ### Deprecated: `--host-rules` command line switch

filename: script/release/release.ts
patch: @@ -137,11 +137,11 @@ function assetsForVersion (version: string, validatingRelease: boolean) {
     `chromedriver-${version}-win32-ia32.zip`,
     `chromedriver-${version}-win32-x64.zip`,
     `chromedriver-${version}-win32-arm64.zip`,
-    `electron-${version}-darwin-x64-dsym.zip`,
+    `electron-${version}-darwin-x64-dsym.tar.xz`,
     `electron-${version}-darwin-x64-dsym-snapshot.zip`,
     `electron-${version}-darwin-x64-symbols.zip`,
     `electron-${version}-darwin-x64.zip`,
-    `electron-${version}-darwin-arm64-dsym.zip`,
+    `electron-${version}-darwin-arm64-dsym.tar.xz`,
     `electron-${version}-darwin-arm64-dsym-snapshot.zip`,
     `electron-${version}-darwin-arm64-symbols.zip`,
     `electron-${version}-darwin-arm64.zip`,
@@ -152,11 +152,11 @@ function assetsForVersion (version: string, validatingRelease: boolean) {
     `electron-${version}-linux-x64-debug.zip`,
     `electron-${version}-linux-x64-symbols.zip`,
     `electron-${version}-linux-x64.zip`,
-    `electron-${version}-mas-x64-dsym.zip`,
+    `electron-${version}-mas-x64-dsym.tar.xz`,
     `electron-${version}-mas-x64-dsym-snapshot.zip`,
     `electron-${version}-mas-x64-symbols.zip`,
     `electron-${version}-mas-x64.zip`,
-    `electron-${version}-mas-arm64-dsym.zip`,
+    `electron-${version}-mas-arm64-dsym.tar.xz`,
     `electron-${version}-mas-arm64-dsym-snapshot.zip`,
     `electron-${version}-mas-arm64-symbols.zip`,
     `electron-${version}-mas-arm64.zip`,

filename: script/release/uploaders/upload.py
patch: @@ -88,7 +88,7 @@ def main():
       upload_electron(release, ts_defs_path, args)
 
     dsym_zip = os.path.join(OUT_DIR, DSYM_NAME)
-    shutil.copy2(os.path.join(OUT_DIR, 'dsym.zip'), dsym_zip)
+    shutil.copy2(os.path.join(OUT_DIR, 'dsym.tar.xz'), dsym_zip)
     upload_electron(release, dsym_zip, args)
 
     dsym_snapshot_zip = os.path.join(OUT_DIR, DSYM_SNAPSHOT_NAME)
Repository: ollama/ollama
Pull request: Update README.md - Library - Haverscript

This PR adds a link to Haverscript. 

Haverscript uses classical functional programming techniques to provide a composable interface for interacting with ollama-hosted LLMs. 

Changed files:
filename: README.md
patch: @@ -428,6 +428,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [High-level function abstraction in Go](https://gitlab.com/tozd/go/fun)
 - [Ollama PHP](https://github.com/ArdaGnsrn/ollama-php)
 - [Agents-Flex for Java](https://github.com/agents-flex/agents-flex) with [example](https://github.com/agents-flex/agents-flex/tree/main/agents-flex-llm/agents-flex-llm-ollama/src/test/java/com/agentsflex/llm/ollama)
+- [Haverscript](https://github.com/andygill/haverscript) with [examples](https://github.com/andygill/haverscript/tree/main/examples)
 - [Ollama for Swift](https://github.com/mattt/ollama-swift)
 - [Swollama for Swift](https://github.com/marcusziade/Swollama) with [DocC](https://marcusziade.github.io/Swollama/documentation/swollama/)
 - [GoLamify](https://github.com/prasad89/golamify)
Repository: huggingface/transformers
Pull request: Fix xpu output check for Ministral3 tests

Fix xpu output check for Ministral3 tests

Changed files:
filename: tests/models/ministral3/test_modeling_ministral3.py
patch: @@ -21,8 +21,10 @@
 
 from transformers import AutoTokenizer, Mistral3ForConditionalGeneration, is_torch_available
 from transformers.testing_utils import (
+    Expectations,
     backend_empty_cache,
     cleanup,
+    require_deterministic_for_xpu,
     require_flash_attn,
     require_torch,
     require_torch_accelerator,
@@ -89,18 +91,33 @@ def test_model_3b_logits(self):
         with torch.no_grad():
             out = model(input_ids).logits.float().cpu()
         # Expected mean on dim = -1
-        EXPECTED_MEAN = torch.tensor([[-1.1503, -1.9935, -0.4457, -1.0717, -1.9182, -1.1431, -0.9697, -1.7098]])
+        # fmt: off
+        EXPECTED_MEANS = Expectations(
+            {
+                ("cuda", None): torch.tensor([[-1.1503, -1.9935, -0.4457, -1.0717, -1.9182, -1.1431, -0.9697, -1.7098]]),
+                ("xpu", None): torch.tensor([[-0.9800, -2.4773, -0.2386, -1.0664, -1.8994, -1.3792, -1.0531, -1.8832]]),
+            }
+        )
+        # fmt: on
+        EXPECTED_MEAN = EXPECTED_MEANS.get_expectation()
         torch.testing.assert_close(out.mean(-1), EXPECTED_MEAN, rtol=1e-2, atol=1e-2)
 
         del model
         backend_empty_cache(torch_device)
         gc.collect()
 
     @slow
+    @require_deterministic_for_xpu
     def test_model_3b_generation(self):
-        EXPECTED_TEXT_COMPLETION = (
-            "My favourite condiment is 100% pure olive oil. It's a staple in my kitchen and I use it in"
+        # fmt: off
+        EXPECTED_TEXTS = Expectations(
+            {
+                ("cuda", None): "My favourite condiment is 100% pure olive oil. It's a staple in my kitchen and I use it in",
+                ("xpu", None): "My favourite condiment is iced tea. I love the way it makes me feel. It’s like a little bubble bath for",
+            }
         )
+        # fmt: on
+        EXPECTED_TEXT = EXPECTED_TEXTS.get_expectation()
         prompt = "My favourite condiment is "
         tokenizer = AutoTokenizer.from_pretrained("mistralai/Ministral-3-3B-Instruct-2512")
         model = Mistral3ForConditionalGeneration.from_pretrained(
@@ -111,7 +128,7 @@ def test_model_3b_generation(self):
         # greedy generation outputs
         generated_ids = model.generate(input_ids, max_new_tokens=20, temperature=0)
         text = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
-        self.assertEqual(EXPECTED_TEXT_COMPLETION, text)
+        self.assertEqual(text, EXPECTED_TEXT)
 
         del model
         backend_empty_cache(torch_device)