repo stringclasses 5
values | pull_number int64 4.81k 20.4k | instance_id stringlengths 17 42 | issue_numbers sequencelengths 1 2 | base_commit stringlengths 40 40 | patch stringlengths 417 316k | test_patch stringlengths 397 34.2k | problem_statement stringlengths 109 22k | hints_text stringlengths 0 29.2k | created_at stringlengths 20 20 | version stringclasses 8
values | base_commit_date stringlengths 20 20 | FAIL_TO_PASS sequencelengths 1 388 | PASS_TO_PASS sequencelengths 0 530 | environment_setup_commit stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
manhtdd/deepspeed__deepspeed | 6,613 | deepspeed__deepspeed-6613 | [
"4460"
] | adec99121b411709e1b185a486d18aa846c82c64 | diff --git a/deepspeed/launcher/multinode_runner.py b/deepspeed/launcher/multinode_runner.py
index a816b5685760..74d20a6d53e5 100644
--- a/deepspeed/launcher/multinode_runner.py
+++ b/deepspeed/launcher/multinode_runner.py
@@ -141,6 +141,17 @@ def validate_args(self):
def get_cmd(self, environment, active_resource... | diff --git a/tests/unit/launcher/test_multinode_runner.py b/tests/unit/launcher/test_multinode_runner.py
index ec0459ab0a6f..a3b50a4c90ab 100644
--- a/tests/unit/launcher/test_multinode_runner.py
+++ b/tests/unit/launcher/test_multinode_runner.py
@@ -32,6 +32,27 @@ def test_openmpi_runner(runner_info):
runner = mn... | [BUG] OpenMPI launcher has hard-coded values for network interface
**Describe the bug**
When using the OpenMPI launcher, the network options `btl` and `btl_tcp_if_include` have hard-coded values (to ignore InfiniBand and use `eth0` interface, respectively), making it impossible to run in configurations with different ... | 2024-10-09T09:50:48Z | v0.16.0 | 2024-10-10T02:59:26Z | [
"tests/unit/launcher/test_multinode_runner.py::test_btl_nic_openmpi_runner",
"tests/unit/launcher/test_multinode_runner.py::test_btl_nic_two_dashes_openmpi_runner"
] | [
"tests/unit/launcher/test_multinode_runner.py::test_pdsh_runner",
"tests/unit/launcher/test_multinode_runner.py::test_openmpi_runner",
"tests/unit/launcher/test_multinode_runner.py::test_mpich_runner",
"tests/unit/launcher/test_multinode_runner.py::test_slurm_runner",
"tests/unit/launcher/test_multinode_run... | 9a2c209cee898931df310c218cd87d0840a72572 | |
manhtdd/gradio__gradio | 9,450 | gradio__gradio-9450 | [
"6041"
] | d054262f611d5f1eb1a1c936db7152347a891f8e | diff --git a/.changeset/chilly-socks-poke.md b/.changeset/chilly-socks-poke.md
new file mode 100644
index 0000000000000..85f9336838641
--- /dev/null
+++ b/.changeset/chilly-socks-poke.md
@@ -0,0 +1,7 @@
+---
+"@gradio/code": minor
+"@gradio/icons": minor
+"gradio": minor
+---
+
+feat:Improve `gr.Code`
diff --git a/grad... | diff --git a/test/components/test_code.py b/test/components/test_code.py
index 072e46d34c815..1d4169c73c1fb 100644
--- a/test/components/test_code.py
+++ b/test/components/test_code.py
@@ -32,7 +32,7 @@ def fn(a):
"value": None,
"language": None,
"lines": 5,
- "max_line... | issues with code component
### Describe the bug
Few things:
- Using the Code component on its own is an exercise in frustration. This is probably true for most of our component but I've experienced it first hand now.
- You need to pass a million props, many of which don't make sense on their own.
- Some pro... | 2024-09-26T12:41:14Z | @gradio-accordion@0.3.23-beta.5 | 2024-10-02T18:03:13Z | [
"test/components/test_code.py::TestCode::test_component_functions"
] | [
"test/components/test_code.py::TestCode::test_process_example"
] | 17e6c84d6b11651cd03c1d47caec85de62030ea0 | |
manhtdd/gradio__gradio | 9,582 | gradio__gradio-9582 | [
"8253"
] | 17e6c84d6b11651cd03c1d47caec85de62030ea0 | diff --git a/.changeset/lazy-clubs-help.md b/.changeset/lazy-clubs-help.md
new file mode 100644
index 0000000000000..987753ba7e0d4
--- /dev/null
+++ b/.changeset/lazy-clubs-help.md
@@ -0,0 +1,9 @@
+---
+"@gradio/chatbot": minor
+"@gradio/icons": minor
+"@gradio/image": minor
+"@gradio/video": minor
+"gradio": minor
+--... | diff --git a/test/components/test_chatbot.py b/test/components/test_chatbot.py
index 0b6287f6d69c8..a7aa3f298c3ea 100644
--- a/test/components/test_chatbot.py
+++ b/test/components/test_chatbot.py
@@ -46,6 +46,7 @@ def test_component_functions(self):
"height": 400,
"max_height": None,
... | Add auto-scroll down to the bottom of the Gradio chat box whenever there's a new LLM response or show down arrow button
- Yes, I have searched to see if a similar issue already exists.
While using the Gradio chat interface I noticed that when I scroll up to see previous LLM responses, and then submit a new question,... | Related (but not the same): https://github.com/gradio-app/gradio/issues/5785
+1 on this, would be great to see the autoscroll functionality added to textbox was also added to chatbot!
You can add this javascript with gr.Blocks(js="scrolldown.js") (either as a file in the same folder as the python script or as a text va... | 2024-10-08T10:26:23Z | @gradio-accordion@0.3.23-beta.5 | 2024-10-08T18:32:32Z | [
"test/components/test_chatbot.py::TestChatbot::test_component_functions"
] | [
"test/components/test_chatbot.py::TestChatbot::test_avatar_images_are_moved_to_cache"
] | 17e6c84d6b11651cd03c1d47caec85de62030ea0 |
manhtdd/gradio__gradio | 9,589 | gradio__gradio-9589 | [
"9540"
] | 17e6c84d6b11651cd03c1d47caec85de62030ea0 | diff --git a/.changeset/evil-clocks-visit.md b/.changeset/evil-clocks-visit.md
new file mode 100644
index 0000000000000..c31c3eb685db4
--- /dev/null
+++ b/.changeset/evil-clocks-visit.md
@@ -0,0 +1,6 @@
+---
+"gradio": minor
+"gradio_client": minor
+---
+
+feat:Only move files to the cache that have a meta key
diff --g... | diff --git a/test/components/test_json.py b/test/components/test_json.py
index 5530bd15f31ef..b72c685053cc7 100644
--- a/test/components/test_json.py
+++ b/test/components/test_json.py
@@ -86,6 +86,12 @@ def get_avg_age_per_gender(data):
"O": 20,
}
+ @pytest.mark.asyncio
+ async def test_d... | gradio.JSON component adds extra data to my dict value when key includes 'path' and 'assets'
### Describe the bug
When using the gradio.JSON component to display a dictionary value that includes a key named 'path' and is nested within a key named 'assets', the component adds an extra key-value pair to the dictionary. ... | 2024-10-08T18:50:03Z | @gradio-accordion@0.3.23-beta.5 | 2024-10-08T18:32:32Z | [
"test/components/test_json.py::TestJSON::test_dict_with_path_key_not_moved"
] | [
"test/components/test_json.py::TestJSON::test_component_functions",
"test/components/test_json.py::TestJSON::test_chatbot_selectable_in_config",
"test/components/test_json.py::TestJSON::test_in_interface",
"test/components/test_json.py::TestJSON::test_postprocess_returns_json_serializable_value[None-None]",
... | 17e6c84d6b11651cd03c1d47caec85de62030ea0 | |
manhtdd/keras__keras | 19,190 | keras__keras-19190 | [
"19180"
] | 436937dea3d52eecff3cb6f1bd5161f23c825fae | diff --git a/keras/layers/preprocessing/text_vectorization.py b/keras/layers/preprocessing/text_vectorization.py
index 2e1fa4633a3..c40715f6c4a 100644
--- a/keras/layers/preprocessing/text_vectorization.py
+++ b/keras/layers/preprocessing/text_vectorization.py
@@ -492,6 +492,10 @@ def from_config(cls, config):
... | diff --git a/keras/layers/preprocessing/text_vectorization_test.py b/keras/layers/preprocessing/text_vectorization_test.py
index ac3e92652e3..633013adc6e 100644
--- a/keras/layers/preprocessing/text_vectorization_test.py
+++ b/keras/layers/preprocessing/text_vectorization_test.py
@@ -1,11 +1,15 @@
+import os
+
import ... | `ValueError`: `ngrams` when loading a model with a `TextVectorization` layer
### Describe a bug
Loading a model that contains a `TextVectorization` layer with `ngram` set to a tuple results in a `ValueError`.
### Code to Reproduce
```python
import numpy as np
import tensorflow as tf
from tensorflow import k... | 2024-02-16T15:30:56Z | v3.6.0 | 2024-02-16T06:34:26Z | [
"keras/layers/preprocessing/text_vectorization_test.py::TextVectorizationTest::test_save_load_with_ngrams_flow"
] | [
"keras/layers/preprocessing/text_vectorization_test.py::TextVectorizationTest::test_adapt_flow",
"keras/layers/preprocessing/text_vectorization_test.py::TextVectorizationTest::test_config",
"keras/layers/preprocessing/text_vectorization_test.py::TextVectorizationTest::test_fixed_vocabulary",
"keras/layers/pre... | 0c2bdff313f7533f0d7e6670a906102cc2fb046d | |
manhtdd/keras__keras | 19,387 | keras__keras-19387 | [
"19383"
] | 2958e0a8e61b01523b6232486683e21e22c85465 | diff --git a/keras/dtype_policies/dtype_policy.py b/keras/dtype_policies/dtype_policy.py
index 7c8586c2a6e..8734037f7d4 100644
--- a/keras/dtype_policies/dtype_policy.py
+++ b/keras/dtype_policies/dtype_policy.py
@@ -69,6 +69,10 @@ def __new__(cls, name):
return FloatDTypePolicy(name)
return super... | diff --git a/keras/dtype_policies/dtype_policy_test.py b/keras/dtype_policies/dtype_policy_test.py
index 9df8dd0a85f..7b3535e66a7 100644
--- a/keras/dtype_policies/dtype_policy_test.py
+++ b/keras/dtype_policies/dtype_policy_test.py
@@ -61,6 +61,32 @@ def test_get_config_from_config(self):
new_policy = DTypePo... | TypeError: DTypePolicy.__new__() when deepcopy(layer_instance)
Hello,
I use `Python==3.11.8` with `keras==3.1.1`.
When I create a layer instance and try to deepcopy this layer I receive the following error which did not happen before.
```python
>>> import keras
>>> import copy
>>> layer_obj = keras.layers... | Related to this line apparently: https://github.com/keras-team/keras/blob/v3.1.1/keras/dtype_policies/dtype_policy.py#L58 | 2024-03-27T01:49:48Z | v3.6.0 | 2024-03-26T17:14:45Z | [
"keras/dtype_policies/dtype_policy_test.py::DTypePolicyTest::test_deepcopy"
] | [
"keras/dtype_policies/dtype_policy_test.py::DTypePolicyTest::test_get_config_from_config",
"keras/dtype_policies/dtype_policy_test.py::DTypePolicyTest::test_initialization_invalid_name",
"keras/dtype_policies/dtype_policy_test.py::DTypePolicyTest::test_initialization_non_string_name",
"keras/dtype_policies/dt... | 0c2bdff313f7533f0d7e6670a906102cc2fb046d |
manhtdd/keras__keras | 19,143 | keras__keras-19143 | [
"19062"
] | ca179cf1dea6a8e5dfd862678484fb2af2b64f32 | diff --git a/keras/backend/jax/__init__.py b/keras/backend/jax/__init__.py
index 587fa47b773..327bd95dc0d 100644
--- a/keras/backend/jax/__init__.py
+++ b/keras/backend/jax/__init__.py
@@ -1,6 +1,7 @@
from keras.backend.jax import core
from keras.backend.jax import distribution_lib
from keras.backend.jax import imag... | diff --git a/keras/ops/linalg_test.py b/keras/ops/linalg_test.py
new file mode 100644
index 00000000000..f0146d63f66
--- /dev/null
+++ b/keras/ops/linalg_test.py
@@ -0,0 +1,519 @@
+import numpy as np
+from absl.testing import parameterized
+
+from keras import backend
+from keras import ops
+from keras import testing
+... | What are the keras3 operations to replace those in tf.linalg?
I am looking for a replacement to tf.linalg.eigh, etc.
There doesn't seem to be equivalent functionality in keras.ops or keras.utils.
| Hi @tsjain ,
This Op seems not yet implemented in Keras3. But if you are using tensorflow as backend you can still use Tensorflow API itself.
The major promise of keras 3 was to seamlessly switch backends, so it would be good if this functionality was abstracted into the API as well.
Looks like a wide variety of t... | 2024-02-03T16:59:29Z | v3.6.0 | 2024-02-02T18:56:19Z | [
"keras/ops/linalg_test.py::LinalgOpsDynamicShapeTest::test_cholesky",
"keras/ops/linalg_test.py::LinalgOpsDynamicShapeTest::test_det",
"keras/ops/linalg_test.py::LinalgOpsDynamicShapeTest::test_eig",
"keras/ops/linalg_test.py::LinalgOpsDynamicShapeTest::test_inv",
"keras/ops/linalg_test.py::LinalgOpsDynamic... | [] | 0c2bdff313f7533f0d7e6670a906102cc2fb046d |
manhtdd/keras__keras | 19,799 | keras__keras-19799 | [
"19792"
] | c94663711d738b50af324214d89f895e046a2b66 | diff --git a/keras/src/models/functional.py b/keras/src/models/functional.py
index 85533d0a32e..51d7eb021a4 100644
--- a/keras/src/models/functional.py
+++ b/keras/src/models/functional.py
@@ -181,6 +181,10 @@ def compute_output_spec(self, inputs, training=None, mask=None):
# From Function
return supe... | diff --git a/keras/src/models/functional_test.py b/keras/src/models/functional_test.py
index 7d17abee66d..de425d44582 100644
--- a/keras/src/models/functional_test.py
+++ b/keras/src/models/functional_test.py
@@ -118,6 +118,20 @@ def test_basic_flow_dict_io(self):
out_val = model(in_val)
self.assertEq... | TimeDistributed layer with nested model no longer working in TensorFlow 2.16.1
With TensorFlow `2.15.1`, the following code works fine:
```python3
import numpy as np
from tensorflow.keras.layers import Input, TimeDistributed, Flatten
from tensorflow.keras.models import Model, Sequential
inputs = [Input((17, 4)... | 2024-06-04T05:07:23Z | v3.6.0 | 2024-06-03T18:46:08Z | [
"keras/src/models/functional_test.py::FunctionalTest::test_basic_flow_as_a_submodel",
"keras/src/models/sequential_test.py::SequentialTest::test_basic_flow_as_a_submodel",
"keras/src/models/sequential_test.py::SequentialTest::test_compute_output_shape",
"keras/src/ops/function_test.py::FunctionTest::test_dyna... | [
"keras/src/models/functional_test.py::FunctionalTest::test_add_loss",
"keras/src/models/functional_test.py::FunctionalTest::test_bad_input_spec",
"keras/src/models/functional_test.py::FunctionalTest::test_basic_flow_dict_io",
"keras/src/models/functional_test.py::FunctionalTest::test_basic_flow_multi_input",
... | 0c2bdff313f7533f0d7e6670a906102cc2fb046d | |
manhtdd/keras__keras | 20,197 | keras__keras-20197 | [
"20188"
] | 8b1ca959bd23d68848eed58f337cf3d25b00f9aa | diff --git a/keras/src/trainers/trainer.py b/keras/src/trainers/trainer.py
index 4c91cf21e60..7bf0ba8b795 100644
--- a/keras/src/trainers/trainer.py
+++ b/keras/src/trainers/trainer.py
@@ -134,6 +134,7 @@ def compile(
wrapped in a `LossScaleOptimizer`, which will dynamically
scale the ... | diff --git a/keras/src/trainers/trainer_test.py b/keras/src/trainers/trainer_test.py
index fee4fa3f282..c590436f1a9 100644
--- a/keras/src/trainers/trainer_test.py
+++ b/keras/src/trainers/trainer_test.py
@@ -199,8 +199,8 @@ def __init__(self, units):
# my_metric.
self.assertEqual(len(model.metrics), ... | Cannot get result() since the metric has not yet been built
Basically the heading. I am attaching the colab notebook for reproducibility purpose, and have printed out the tensorflow and keras versions for perusal. [Link here](https://colab.research.google.com/drive/1F5Wzq6AqbYTzlBZHXypgiTn9xUVMOhyt#scrollTo=PUKQ6_Vv3nG... | 2024-09-02T13:48:09Z | v3.6.0 | 2024-09-01T15:05:37Z | [
"keras/src/trainers/trainer_test.py::TestTrainer::test_metric_tracking",
"keras/src/trainers/trainer_test.py::TestTrainer::test_nested_trainer_metrics"
] | [
"keras/src/trainers/trainer_test.py::TestTrainer::test_adds_loss_scaling_optimizer",
"keras/src/trainers/trainer_test.py::TestTrainer::test_callback_methods_keys",
"keras/src/trainers/trainer_test.py::TestTrainer::test_callbacks_can_update_state_at_batch_boundary",
"keras/src/trainers/trainer_test.py::TestTra... | 0c2bdff313f7533f0d7e6670a906102cc2fb046d | |
manhtdd/keras__keras | 19,331 | keras__keras-19331 | [
"19328"
] | b2ef949cceb01c53d231a4da9cbfbaa12cea981d | diff --git a/keras/layers/rnn/bidirectional.py b/keras/layers/rnn/bidirectional.py
index 6c996d55d8b..9a2569fa159 100644
--- a/keras/layers/rnn/bidirectional.py
+++ b/keras/layers/rnn/bidirectional.py
@@ -182,13 +182,13 @@ def compute_output_shape(self, sequences_shape, initial_state_shape=None):
output_sh... | diff --git a/keras/layers/rnn/bidirectional_test.py b/keras/layers/rnn/bidirectional_test.py
index b2a082657c5..6391abdace2 100644
--- a/keras/layers/rnn/bidirectional_test.py
+++ b/keras/layers/rnn/bidirectional_test.py
@@ -234,3 +234,29 @@ def test_return_state(self):
np.array([[0.2501858, 0.2501858], [0... | Error "Can only concatenate list (not "tuple") to list" when passing Embedding layer to Bidirectional LSTM layer in Keras 3
**TensorFlow version**: 2.16.1
**Keras version**: 3.1.0
I was playing with encoder-decoder architectures and encountered the "_can only concatenate list (not "tuple") to list_" error when pass... | Hi @csttsn ,
Thanks for reporting. Replicated the reported error and attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/08914fe3d1b6b3f49bca3dfaacfbd4c5/19328.ipynb). Seems like a bug. Will gig more and comeback to you. | 2024-03-19T06:40:04Z | v3.6.0 | 2024-03-18T22:25:43Z | [
"keras/layers/rnn/bidirectional_test.py::SimpleRNNTest::test_output_shape"
] | [
"keras/layers/rnn/bidirectional_test.py::SimpleRNNTest::test_basics",
"keras/layers/rnn/bidirectional_test.py::SimpleRNNTest::test_correctness",
"keras/layers/rnn/bidirectional_test.py::SimpleRNNTest::test_masking",
"keras/layers/rnn/bidirectional_test.py::SimpleRNNTest::test_pass_initial_state",
"keras/lay... | 0c2bdff313f7533f0d7e6670a906102cc2fb046d |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 5