helloadhavan/github_issues huggingface dataset:
Repository: vercel/next.js
Pull request: Turbopack: make GraphTraversal deterministically calling all nodes before erroring

### What?

The graph traversal used to early exit when there are errors. This leads to cycles to continuously executing the graph traversal to discover more task one by one. This leads to bad incremental performance.

Changed files:
filename: turbopack/crates/turbo-tasks/src/graph/control_flow.rs
patch: @@ -8,6 +8,4 @@ pub enum VisitControlFlow {
     /// The edge is excluded, and the traversal should not continue on the outgoing edges of the
     /// given node.
     Exclude,
-    /// The traversal should abort and return immediately.
-    Abort,
 }

filename: turbopack/crates/turbo-tasks/src/graph/graph_traversal.rs
patch: @@ -42,7 +42,6 @@ where
         Impl: Send,
     {
         let mut futures = FuturesUnordered::new();
-        let mut is_abort = false;
 
         // Populate `futures` with all the roots, `root_nodes` isn't required to be `Send`, so this
         // has to happen outside of the future. We could require `root_nodes` to be `Send` in the
@@ -62,18 +61,11 @@ where
                 VisitControlFlow::Exclude => {
                     // do nothing
                 }
-                VisitControlFlow::Abort => {
-                    // this must be returned inside the `async` block below so that it's part of the
-                    // returned future
-                    is_abort = true;
-                }
             }
         }
 
         async move {
-            if is_abort {
-                return GraphTraversalResult::Aborted;
-            }
+            let mut result = Ok(());
             loop {
                 match futures.next().await {
                     Some((parent_node, span, Ok(edges))) => {
@@ -94,17 +86,14 @@ where
                                 VisitControlFlow::Exclude => {
                                     // do nothing
                                 }
-                                VisitControlFlow::Abort => {
-                                    return GraphTraversalResult::Aborted;
-                                }
                             }
                         }
                     }
                     Some((_, _, Err(err))) => {
-                        return GraphTraversalResult::Completed(Err(err));
+                        result = Err(err);
                     }
                     None => {
-                        return GraphTraversalResult::Completed(Ok(self));
+                        return GraphTraversalResult::Completed(result.map(|()| self));
                     }
                 }
             }
@@ -114,14 +103,12 @@ where
 
 pub enum GraphTraversalResult<Completed> {
     Completed(Completed),
-    Aborted,
 }
 
 impl<Completed> GraphTraversalResult<Completed> {
     pub fn completed(self) -> Completed {
         match self {
             GraphTraversalResult::Completed(completed) => completed,
-            GraphTraversalResult::Aborted => panic!("Graph traversal was aborted"),
         }
     }
 }
Repository: vuejs/vue
Pull request: fix(model): direct access array with multiple checkboxes

Closes #7670

<!--
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] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [ ] Other, please describe:

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [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)
- [ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
- [ ] New/updated tests are included

If adding a **new feature**, the PR's description includes:
- [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

**Other information:**

I'm not sure where to test this. I was going to write a codegen test but maybe it's better to write one in `model-checkbox.spec.js`

Changed files:
filename: src/platforms/web/compiler/directives/model.js
patch: @@ -86,8 +86,8 @@ function genCheckboxModel (
     'if(Array.isArray($$a)){' +
       `var $$v=${number ? '_n(' + valueBinding + ')' : valueBinding},` +
           '$$i=_i($$a,$$v);' +
-      `if($$el.checked){$$i<0&&(${value}=$$a.concat([$$v]))}` +
-      `else{$$i>-1&&(${value}=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}` +
+      `if($$el.checked){$$i<0&&(${genAssignmentCode(value, '$$a.concat([$$v])')})}` +
+      `else{$$i>-1&&(${genAssignmentCode(value, '$$a.slice(0,$$i).concat($$a.slice($$i+1))')})}` +
     `}else{${genAssignmentCode(value, '$$c')}}`,
     null, true
   )
Repository: ollama/ollama
Pull request: readme: add ChibiChat to community integrations


Changed files:
filename: README.md
patch: @@ -373,6 +373,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [AI Toolkit for Visual Studio Code](https://aka.ms/ai-tooklit/ollama-docs) (Microsoft-official VSCode extension to chat, test, evaluate models with Ollama support, and use them in your AI applications.)
 - [MinimalNextOllamaChat](https://github.com/anilkay/MinimalNextOllamaChat) (Minimal Web UI for Chat and Model Control)
 - [Chipper](https://github.com/TilmanGriesel/chipper) AI interface for tinkerers (Ollama, Haystack RAG, Python)
+- [ChibiChat](https://github.com/CosmicEventHorizon/ChibiChat) (Kotlin-based Android app to chat with Ollama and Koboldcpp API endpoints)
 
 ### Cloud
Repository: huggingface/transformers
Pull request: Fix audio pipelines

# What does this PR do?

Attribute `_processor_class` was deleted from subprocessors but there are still places where we try to access it. This PR deletes  `_processor_class` everywhere and fixes failing audio pipeline tests

Changed files:
filename: src/transformers/models/wav2vec2_bert/convert_wav2vec2_seamless_checkpoint.py
patch: @@ -150,7 +150,6 @@ def convert_wav2vec2_bert_checkpoint(
 
     # save feature extractor
     fe = SeamlessM4TFeatureExtractor(padding_value=1)
-    fe._processor_class = "Wav2Vec2BertProcessor"
     fe.save_pretrained(pytorch_dump_folder_path)
 
     if repo_id:

filename: src/transformers/pipelines/__init__.py
patch: @@ -22,7 +22,7 @@
 
 from ..configuration_utils import PreTrainedConfig
 from ..dynamic_module_utils import get_class_from_dynamic_module
-from ..feature_extraction_utils import PreTrainedFeatureExtractor
+from ..feature_extraction_utils import FeatureExtractionMixin, PreTrainedFeatureExtractor
 from ..image_processing_utils import BaseImageProcessor
 from ..models.auto.configuration_auto import AutoConfig
 from ..models.auto.feature_extraction_auto import FEATURE_EXTRACTOR_MAPPING, AutoFeatureExtractor
@@ -988,12 +988,13 @@ def pipeline(
                 feature_extractor = AutoFeatureExtractor.from_pretrained(
                     feature_extractor, _from_pipeline=task, **hub_kwargs, **model_kwargs
                 )
+                config_dict, _ = FeatureExtractionMixin.get_feature_extractor_dict(
+                    pretrained_model_name_or_path or model_name,
+                    **hub_kwargs,
+                )
+                processor_class = config_dict.get("processor_class", None)
 
-                if (
-                    feature_extractor._processor_class
-                    and feature_extractor._processor_class.endswith("WithLM")
-                    and isinstance(model_name, str)
-                ):
+                if processor_class is not None and processor_class.endswith("WithLM") and isinstance(model_name, str):
                     try:
                         import kenlm  # to trigger `ImportError` if not installed
                         from pyctcdecode import BeamSearchDecoderCTC

filename: src/transformers/pipelines/automatic_speech_recognition.py
patch: @@ -198,11 +198,7 @@ def __init__(
             self.type = "seq2seq_whisper"
         elif model.__class__.__name__ in MODEL_FOR_SPEECH_SEQ_2_SEQ_MAPPING_NAMES.values():
             self.type = "seq2seq"
-        elif (
-            feature_extractor._processor_class
-            and feature_extractor._processor_class.endswith("WithLM")
-            and decoder is not None
-        ):
+        elif decoder is not None:
             self.decoder = decoder
             self.type = "ctc_with_lm"
         else:
Repository: vercel/next.js
Pull request: Turbopack: more stale details for tracing

### What?

Add the point of stale detection to the trace

Changed files:
filename: turbopack/crates/turbo-tasks-backend/src/backend/mod.rs
patch: @@ -1815,7 +1815,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
         else {
             // Task was stale and has been rescheduled
             #[cfg(feature = "trace_task_details")]
-            span.record("stale", "true");
+            span.record("stale", "prepare");
             return true;
         };
 
@@ -1848,7 +1848,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
         {
             // Task was stale and has been rescheduled
             #[cfg(feature = "trace_task_details")]
-            span.record("stale", "true");
+            span.record("stale", "connect");
             return true;
         }
 
@@ -1863,7 +1863,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
         ) {
             // Task was stale and has been rescheduled
             #[cfg(feature = "trace_task_details")]
-            span.record("stale", "true");
+            span.record("stale", "finish");
             return true;
         }
Repository: ollama/ollama
Pull request: build(rocm): add numa, elf

add back libelf and libnuma for better compatibility

resolves #8884 

Changed files:
filename: CMakeLists.txt
patch: @@ -101,7 +101,7 @@ if(CMAKE_HIP_COMPILER)
         install(TARGETS ggml-hip
             RUNTIME_DEPENDENCIES
                 DIRECTORIES ${HIP_BIN_INSTALL_DIR} ${HIP_LIB_INSTALL_DIR}
-                PRE_INCLUDE_REGEXES hipblas rocblas amdhip64 rocsolver amd_comgr hsa-runtime64 rocsparse tinfo rocprofiler-register drm drm_amdgpu
+                PRE_INCLUDE_REGEXES hipblas rocblas amdhip64 rocsolver amd_comgr hsa-runtime64 rocsparse tinfo rocprofiler-register drm drm_amdgpu numa elf
                 PRE_EXCLUDE_REGEXES ".*"
                 POST_EXCLUDE_REGEXES "system32"
             RUNTIME DESTINATION ${OLLAMA_HIP_INSTALL_DIR} COMPONENT HIP
Repository: ollama/ollama
Pull request: ollama webui for  local docker deployment

I make a lightweight ollama-webui that allows you:
- to select models and chats etc via the browser, 
- and supports importing and exporting of records and such. 
- It supports local docker deployments.

Changed files:
filename: README.md
patch: @@ -369,6 +369,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Minima](https://github.com/dmayboroda/minima) (RAG with on-premises or fully local workflow)
 - [aidful-ollama-model-delete](https://github.com/AidfulAI/aidful-ollama-model-delete) (User interface for simplified model cleanup)
 - [Perplexica](https://github.com/ItzCrazyKns/Perplexica) (An AI-powered search engine & an open-source alternative to Perplexity AI)
+- [Ollama Chat WebUI for Docker ](https://github.com/oslook/ollama-webui) (Support for local docker deployment, lightweight ollama webui)
 - [AI Toolkit for Visual Studio Code](https://aka.ms/ai-tooklit/ollama-docs) (Microsoft-official VSCode extension to chat, test, evaluate models with Ollama support, and use them in your AI applications.)
 - [MinimalNextOllamaChat](https://github.com/anilkay/MinimalNextOllamaChat) (Minimal Web UI for Chat and Model Control)
 - [Chipper](https://github.com/TilmanGriesel/chipper) AI interface for tinkerers (Ollama, Haystack RAG, Python)
Repository: nodejs/node
Pull request: build: update test-wpt-report to use NODE instead of OUT_NODE

#60850 updated a target that never runs with Debug builds, this broke the ability for CI to upload daily wpt.fyi reports

This PR reverts the `test-wpt-report` target to use NODE which is what CI consistently sets

Refs: https://openjs-foundation.slack.com/archives/C03BJP63CH0/p1765400746909869

Changed files:
filename: Makefile
patch: @@ -655,11 +655,15 @@ test-test426: all ## Run the Web Platform Tests.
 test-wpt: all ## Run the Web Platform Tests.
 	$(PYTHON) tools/test.py $(PARALLEL_ARGS) wpt
 
+# https://github.com/nodejs/node/blob/a00d95c73dcac8fc2b316238fb978a7d5aa650c6/.github/workflows/daily-wpt-fyi.yml#L71-L97
+# This uses NODE instead of OUT_NODE and if changes are to be made they'd need to be made on all
+# non-EOL release lines' since the wpt.fyi job checks out the repository in a state of a given release
+# to ensure future changes to the WPT runner don't need to be backported.
 .PHONY: test-wpt-report
 test-wpt-report: ## Run the Web Platform Tests and generate a report.
 	$(RM) -r out/wpt
 	mkdir -p out/wpt
-	-WPT_REPORT=1 $(PYTHON) tools/test.py --shell $(OUT_NODE) $(PARALLEL_ARGS) wpt
+	-WPT_REPORT=1 $(PYTHON) tools/test.py --shell $(NODE) $(PARALLEL_ARGS) wpt
 	$(NODE) "$$PWD/tools/merge-wpt-reports.mjs"
 
 .PHONY: test-internet
Repository: huggingface/transformers
Pull request: Small fixes for `make fixup` to run without error

# What does this PR do?

Small changes so that `make fixup` runs without error


Changed files:
filename: .circleci/config.yml
patch: @@ -183,6 +183,7 @@ jobs:
             - run: python utils/check_modular_conversion.py
             - run: python utils/check_dummies.py
             - run: python utils/check_repo.py
+            - run: python utils/check_modeling_structure.py
             - run: python utils/check_inits.py
             - run: python utils/check_pipeline_typing.py
             - run: python utils/check_config_docstrings.py

filename: docs/source/en/model_doc/ernie4_5_vl_moe.md
patch: @@ -13,7 +13,7 @@ specific language governing permissions and limitations under the License.
 rendered properly in your Markdown viewer.
 
 -->
-*This model was released on 2025-06-30 and added to Hugging Face Transformers on TBD.*
+*This model was released on 2025-06-30 and added to Hugging Face Transformers on 2025-12-19.*
 
 <div style="float: right;">
     <div class="flex flex-wrap space-x-1">

filename: src/transformers/models/siglip/modeling_siglip.py
patch: @@ -518,6 +518,7 @@ def __init__(self, config: SiglipTextConfig):
         self.final_layer_norm = nn.LayerNorm(embed_dim, eps=config.layer_norm_eps)
 
         self.head = nn.Linear(embed_dim, config.projection_size)
+        self.post_init()
 
     @can_return_tuple
     @auto_docstring

filename: src/transformers/models/siglip2/modeling_siglip2.py
patch: @@ -608,6 +608,7 @@ def __init__(self, config: Siglip2TextConfig):
         self.final_layer_norm = nn.LayerNorm(embed_dim, eps=config.layer_norm_eps)
 
         self.head = nn.Linear(embed_dim, config.projection_size)
+        self.post_init()
 
     @can_return_tuple
     @auto_docstring
Repository: vuejs/vue
Pull request: Fix/7730

<!--
Please make sure to read the Pull Request Guidelines:
https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines
-->

Forked from https://github.com/vuejs/vue/pull/7735

<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->

**What kind of change does this PR introduce?** (check at least one)

- [x] Bugfix
- [x] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [ ] Other, please describe:

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [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)
- [ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
- [x] New/updated tests are included

If adding a **new feature**, the PR's description includes:
- [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

**Other information:**


Changed files:
filename: src/compiler/directives/model.js
patch: @@ -15,8 +15,8 @@ export function genComponentModel (
   if (trim) {
     valueExpression =
       `(typeof ${baseValueExpression} === 'string'` +
-        `? ${baseValueExpression}.trim()` +
-        `: ${baseValueExpression})`
+      `? ${baseValueExpression}.trim()` +
+      `: ${baseValueExpression})`
   }
   if (number) {
     valueExpression = `_n(${valueExpression})`
@@ -68,6 +68,9 @@ type ModelParseResult = {
 }
 
 export function parseModel (val: string): ModelParseResult {
+  // Fix https://github.com/vuejs/vue/pull/7730
+  // allow v-model="obj.val " (trailing whitespace)
+  val = val.trim()
   len = val.length
 
   if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) {

filename: test/unit/features/directives/model-text.spec.js
patch: @@ -19,6 +19,21 @@ describe('Directive v-model text', () => {
     }).then(done)
   })
 
+  it('should work with space ended expression in v-model', () => {
+    const vm = new Vue({
+      data: {
+        obj: {
+          test: 'b'
+        }
+      },
+      template: '<input v-model="obj.test ">'
+    }).$mount()
+
+    triggerEvent(vm.$el, 'input')
+    expect(vm.obj['test ']).toBe(undefined)
+    expect(vm.obj.test).toBe('b')
+  })
+
   it('.lazy modifier', () => {
     const vm = new Vue({
       data: {
Repository: ollama/ollama
Pull request: build(rocm): add tinfo


Changed files:
filename: CMakeLists.txt
patch: @@ -101,7 +101,7 @@ if(CMAKE_HIP_COMPILER)
         install(TARGETS ggml-hip
             RUNTIME_DEPENDENCIES
                 DIRECTORIES ${HIP_BIN_INSTALL_DIR} ${HIP_LIB_INSTALL_DIR}
-                PRE_INCLUDE_REGEXES hipblas rocblas amdhip64 rocsolver amd_comgr hsa-runtime64 rocsparse rocprofiler-register drm drm_amdgpu
+                PRE_INCLUDE_REGEXES hipblas rocblas amdhip64 rocsolver amd_comgr hsa-runtime64 rocsparse tinfo rocprofiler-register drm drm_amdgpu
                 PRE_EXCLUDE_REGEXES ".*"
                 POST_EXCLUDE_REGEXES "system32"
             RUNTIME DESTINATION ${OLLAMA_HIP_INSTALL_DIR} COMPONENT HIP
Repository: electron/electron
Pull request: test: remove outdated disabled test

#### Description of Change

Refs https://github.com/electron/electron/issues/49169

The test was originally added in https://github.com/electron/electron/pull/35421.

At some point, certain tests stopped running. When @ckerr fixed that bug in https://github.com/electron/electron/pull/46816, he disabled this test in particular because it was failing.

@codebytere fixed the original issue properly in https://github.com/electron/electron/pull/47664. She added new tests. So this original test can be removed.

#### Checklist

- [x] PR description included and stakeholders cc'd
- [x] `npm test` passes
- [x] tests are [changed or added](https://github.com/electron/electron/blob/main/docs/development/testing.md)
- [x] [PR release notes](https://github.com/electron/clerk/blob/main/README.md) describe the change in a way relevant to app developers, and are [capitalized, punctuated, and past tense](https://github.com/electron/clerk/blob/main/README.md#examples).

#### Release Notes

Notes: none


Changed files:
filename: spec/api-browser-window-spec.ts
patch: @@ -2135,12 +2135,6 @@ describe('BrowserWindow module', () => {
             expect(w.fullScreen).to.be.true();
           });
 
-          // FIXME: this test needs to be fixed and re-enabled.
-          it.skip('does not go fullscreen if roundedCorners are enabled', async () => {
-            w = new BrowserWindow({ frame: false, roundedCorners: false, fullscreen: true });
-            expect(w.fullScreen).to.be.false();
-          });
-
           it('can be changed', () => {
             w.fullScreen = false;
             expect(w.fullScreen).to.be.false();
Repository: huggingface/transformers
Pull request: Torch distrib smallfix

# What does this PR do?

Seems that the TP/dist integ refactor broke a method to count bytes, which is in from_pretrained. cc @3outeille as well if needed (I'm setting a 1 world size by default without initializing dist :shrug: )

Changed files:
filename: src/transformers/modeling_utils.py
patch: @@ -4556,7 +4556,7 @@ def get_total_byte_count(
 
     total_byte_count = defaultdict(lambda: 0)
     tied_param_names = model.all_tied_weights_keys.keys()
-    tp_plan = model._tp_plan
+    tp_plan = model._tp_plan if torch.distributed.is_available() and torch.distributed.is_initialized() else []
 
     for param_name, device in accelerator_device_map.items():
         # Skip if the parameter has already been accounted for (tied weights)

filename: tests/utils/test_modeling_utils.py
patch: @@ -133,6 +133,7 @@
         FLASH_ATTN_KERNEL_FALLBACK,
         _find_disjoint,
         _find_identical,
+        get_total_byte_count,
     )
     from transformers.pytorch_utils import isin_mps_friendly
 
@@ -398,6 +399,23 @@ def tearDown(self):
         torch.set_default_dtype(self.old_dtype)
         super().tearDown()
 
+    @require_torch
+    def test_get_total_byte_count_does_not_require_process_group(self):
+        model = BaseModel(PreTrainedConfig())
+        model._tp_plan = {"linear.weight": "rowwise"}
+        accelerator_device_map = {"linear.weight": torch.device("cpu")}
+
+        with (
+            patch("transformers.modeling_utils.torch.distributed.is_available", return_value=True),
+            patch("transformers.modeling_utils.torch.distributed.is_initialized", return_value=False),
+            patch("transformers.modeling_utils.torch.distributed.get_world_size") as mock_world_size,
+        ):
+            total_byte_count = get_total_byte_count(model, accelerator_device_map, None)
+
+        mock_world_size.assert_not_called()
+        self.assertIn(torch.device("cpu"), total_byte_count)
+        self.assertGreater(total_byte_count[torch.device("cpu")], 0)
+
     def test_hub_retry(self):
         @hub_retry(max_attempts=2)
         def test_func():
Repository: vercel/next.js
Pull request: Turbopack: add family to database read span

### What?

This makes database read spans being grouped per family

Changed files:
filename: turbopack/crates/turbo-persistence/src/db.rs
patch: @@ -1338,9 +1338,12 @@ impl<S: ParallelScheduler, const FAMILIES: usize> TurboPersistence<S, FAMILIES>
     /// might hold onto a block of the database and it should not be hold long-term.
     pub fn get<K: QueryKey>(&self, family: usize, key: &K) -> Result<Option<ArcSlice<u8>>> {
         debug_assert!(family < FAMILIES, "Family index out of bounds");
-        let span =
-            tracing::trace_span!("database read", family, result_size = tracing::field::Empty)
-                .entered();
+        let span = tracing::trace_span!(
+            "database read",
+            name = family,
+            result_size = tracing::field::Empty
+        )
+        .entered();
         let hash = hash_key(key);
         let inner = self.inner.read();
         for meta in inner.meta_files.iter().rev() {
@@ -1410,7 +1413,7 @@ impl<S: ParallelScheduler, const FAMILIES: usize> TurboPersistence<S, FAMILIES>
         debug_assert!(family < FAMILIES, "Family index out of bounds");
         let span = tracing::trace_span!(
             "database batch read",
-            family,
+            name = family,
             keys = keys.len(),
             not_found = tracing::field::Empty,
             deleted = tracing::field::Empty,