id
stringlengths
13
54
prompt
stringlengths
708
2.91M
answer
stringlengths
110
352k
prompt_input_token_count
int64
206
1.14M
metadata
dict
sql-machine-learning__elasticdl-1229
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 3c2156ac3ca3cf9e938d9a27f52a3a03442f6464 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 0000000..0000000 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -210,7 +210,7 @@ def add_train_params(parser): "--grads_to_wait", type=int, help="Number of gradients to ...
24,018
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1229", "repo": "sql-machine-learning/elasticdl", "base_commit": "3c2156ac3ca3cf9e938d9a27f52a3a03442f6464", "pull_number": 1...
sql-machine-learning__elasticdl-1245
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: a05413e3fd853884c9c881305b6c12e15c361def Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 0000000..0000000 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -173,7 +173,12 @@ def add_common_params(parser): help="The name of the Kubernetes namespace where ElasticDL " "pod...
18,439
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1245", "repo": "sql-machine-learning/elasticdl", "base_commit": "a05413e3fd853884c9c881305b6c12e15c361def", "pull_number": 1...
sql-machine-learning__elasticdl-1247
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 9d227c9cdc47896dadabc5144edc0521d496a8cf Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/task_dispatcher.py b/elasticdl/python/master/task_dispatcher.py index 0000000..0000000 100644 --- a/elasticdl/python/master/task_dispatcher.py +++ b/elasticdl/python/master/task_dispatcher.py @@ -87,12 +87,24 @@ class _TaskDispatcher(object): shards = self._prediction_s...
5,405
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1247", "repo": "sql-machine-learning/elasticdl", "base_commit": "9d227c9cdc47896dadabc5144edc0521d496a8cf", "pull_number": 1...
sql-machine-learning__elasticdl-1249
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 8d8ebe3aca6773156e5e82227b2974dd95147ded Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/optimizer_wrapper.py b/elasticdl/python/master/optimizer_wrapper.py index 0000000..0000000 100644 --- a/elasticdl/python/master/optimizer_wrapper.py +++ b/elasticdl/python/master/optimizer_wrapper.py @@ -1,6 +1,8 @@ """Optimizer Wrapper for ElasticDL""" +import threading + imp...
12,342
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1249", "repo": "sql-machine-learning/elasticdl", "base_commit": "8d8ebe3aca6773156e5e82227b2974dd95147ded", "pull_number": 1...
sql-machine-learning__elasticdl-1263
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: aac4beff9fdfe0f01efdabcf869c34af1524eecf Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/dtypes.py b/elasticdl/python/common/dtypes.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl/python/common/dtypes.py @@ -0,0 +1,40 @@ +import numpy as np + +from elasticdl.proto import tensor_dtype_pb2 + + +def dtype_tensor_to_numpy(dtype): + """Convert...
1,984
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1263", "repo": "sql-machine-learning/elasticdl", "base_commit": "aac4beff9fdfe0f01efdabcf869c34af1524eecf", "pull_number": 1...
sql-machine-learning__elasticdl-1280
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: dfc7886b6edd7cf81365917973fe3fedda6bef60 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 0000000..0000000 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -15,17 +15,17 @@ MODEL_SPEC_GROUP = [ "grads_to_wait", "num_epochs", "tensorboard_log_dir", - "training_data_dir",...
19,259
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1280", "repo": "sql-machine-learning/elasticdl", "base_commit": "dfc7886b6edd7cf81365917973fe3fedda6bef60", "pull_number": 1...
sql-machine-learning__elasticdl-1293
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: e70ce0ee83660bbc7c90e48b2496093da4f6caa9 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/elasticdl/api.py b/elasticdl/python/elasticdl/api.py index 0000000..0000000 100644 --- a/elasticdl/python/elasticdl/api.py +++ b/elasticdl/python/elasticdl/api.py @@ -13,8 +13,10 @@ from elasticdl.python.elasticdl.image_builder import ( def train(args): + model_zoo = os.path.normpa...
4,133
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1293", "repo": "sql-machine-learning/elasticdl", "base_commit": "e70ce0ee83660bbc7c90e48b2496093da4f6caa9", "pull_number": 1...
sql-machine-learning__elasticdl-1296
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: e70ce0ee83660bbc7c90e48b2496093da4f6caa9 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/constants.py b/elasticdl/python/common/constants.py index 0000000..0000000 100644 --- a/elasticdl/python/common/constants.py +++ b/elasticdl/python/common/constants.py @@ -37,3 +37,4 @@ class Redis(object): class MetricsDictKey(object): MODEL_OUTPUT = "output" + LABEL = "...
15,096
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1296", "repo": "sql-machine-learning/elasticdl", "base_commit": "e70ce0ee83660bbc7c90e48b2496093da4f6caa9", "pull_number": 1...
sql-machine-learning__elasticdl-1324
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 20ff9081f00ce8a445768657e8f0453465a5c1c6 Changed files: - setup.py ##...
diff --git a/setup.py b/setup.py index 0000000..0000000 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,11 @@ from setuptools import find_packages, setup with open("elasticdl/requirements.txt") as f: - requirements = f.read().splitlines() + required_deps = f.read().splitlines() + +extras = {} +with open("elas...
756
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1324", "repo": "sql-machine-learning/elasticdl", "base_commit": "20ff9081f00ce8a445768657e8f0453465a5c1c6", "pull_number": 1...
sql-machine-learning__elasticdl-1329
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: aab4e1c81e2bb82b642eed4d890e36e39e94161a Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 0000000..0000000 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -164,7 +164,9 @@ def add_common_params(parser): "comma is supported in value field", ) parser.add_argument( - ...
12,812
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1329", "repo": "sql-machine-learning/elasticdl", "base_commit": "aab4e1c81e2bb82b642eed4d890e36e39e94161a", "pull_number": 1...
sql-machine-learning__elasticdl-1335
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: d11958498e05cac2dccb0097b716f7996b7d3a05 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/k8s_client.py b/elasticdl/python/common/k8s_client.py index 0000000..0000000 100644 --- a/elasticdl/python/common/k8s_client.py +++ b/elasticdl/python/common/k8s_client.py @@ -43,12 +43,18 @@ class Client(object): event_callback: If not None, an event watcher will be cr...
7,717
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1335", "repo": "sql-machine-learning/elasticdl", "base_commit": "d11958498e05cac2dccb0097b716f7996b7d3a05", "pull_number": 1...
sql-machine-learning__elasticdl-1347
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 820562615dc1a0979b48520afd26c2295f419a2e Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/__init__.py b/elasticdl/python/ps/__init__.py new file mode 100644 index 0000000..0000000 diff --git a/elasticdl/python/ps/embedding_table.py b/elasticdl/python/ps/embedding_table.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl/python/ps/embedding_table.py @...
780
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1347", "repo": "sql-machine-learning/elasticdl", "base_commit": "820562615dc1a0979b48520afd26c2295f419a2e", "pull_number": 1...
sql-machine-learning__elasticdl-1349
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: fd1d0cde444b4324a31aa1c6416d94ced6a14e43 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 0000000..0000000 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -125,6 +125,9 @@ def add_common_params(parser): parser.add_argument( "--num_workers", type=int, help="Number of worker...
12,764
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1349", "repo": "sql-machine-learning/elasticdl", "base_commit": "fd1d0cde444b4324a31aa1c6416d94ced6a14e43", "pull_number": 1...
sql-machine-learning__elasticdl-1358
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 58e7757f724fc6590041f483758c0e528641b8d3 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/main.py b/elasticdl/python/master/main.py index 0000000..0000000 100644 --- a/elasticdl/python/master/main.py +++ b/elasticdl/python/master/main.py @@ -1,315 +1,12 @@ -import os -import time -from concurrent import futures - -import grpc -from kubernetes.client import V1EnvVar - -fr...
17,936
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1358", "repo": "sql-machine-learning/elasticdl", "base_commit": "58e7757f724fc6590041f483758c0e528641b8d3", "pull_number": 1...
sql-machine-learning__elasticdl-1359
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 50e0f8ea0733dd2331f624c202c4a3c3b941a427 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/parameters.py b/elasticdl/python/ps/parameters.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl/python/ps/parameters.py @@ -0,0 +1,56 @@ +import tensorflow as tf + +from elasticdl.python.common.ndarray import tensor_to_ndarray +from elasticdl.python.ps.embedd...
865
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1359", "repo": "sql-machine-learning/elasticdl", "base_commit": "50e0f8ea0733dd2331f624c202c4a3c3b941a427", "pull_number": 1...
sql-machine-learning__elasticdl-1369
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: ccb7314d2b4260fe1929337d2dfc1bff9f8efae6 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/main.py b/elasticdl/python/ps/main.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/main.py +++ b/elasticdl/python/ps/main.py @@ -1,19 +1,13 @@ from elasticdl.python.common.args import parse_ps_args -from elasticdl.python.common.log_utils import get_logger -from elasticdl.pyt...
1,612
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1369", "repo": "sql-machine-learning/elasticdl", "base_commit": "ccb7314d2b4260fe1929337d2dfc1bff9f8efae6", "pull_number": 1...
sql-machine-learning__elasticdl-1380
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: dce8f29c2779d98427ff7e8fc5f79d9352578103 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/elasticdl/layers/embedding.py b/elasticdl/python/elasticdl/layers/embedding.py index 0000000..0000000 100644 --- a/elasticdl/python/elasticdl/layers/embedding.py +++ b/elasticdl/python/elasticdl/layers/embedding.py @@ -64,16 +64,21 @@ class Embedding(tf.keras.layers.Layer): # `Non...
7,191
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1380", "repo": "sql-machine-learning/elasticdl", "base_commit": "dce8f29c2779d98427ff7e8fc5f79d9352578103", "pull_number": 1...
sql-machine-learning__elasticdl-1383
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: dce8f29c2779d98427ff7e8fc5f79d9352578103 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/master.py b/elasticdl/python/master/master.py index 0000000..0000000 100644 --- a/elasticdl/python/master/master.py +++ b/elasticdl/python/master/master.py @@ -68,6 +68,7 @@ class Master(object): def __init__(self, args): self.logger = get_logger("master", level=args.l...
8,880
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1383", "repo": "sql-machine-learning/elasticdl", "base_commit": "dce8f29c2779d98427ff7e8fc5f79d9352578103", "pull_number": 1...
sql-machine-learning__elasticdl-1384
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: e13b505f116077e666542d603bffd3ae28848938 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/servicer.py b/elasticdl/python/ps/servicer.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/servicer.py +++ b/elasticdl/python/ps/servicer.py @@ -1,6 +1,6 @@ from google.protobuf import empty_pb2 -from elasticdl.proto import elasticdl_pb2_grpc +from elasticdl.proto import e...
959
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1384", "repo": "sql-machine-learning/elasticdl", "base_commit": "e13b505f116077e666542d603bffd3ae28848938", "pull_number": 1...
sql-machine-learning__elasticdl-1385
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 7a1af762f2fdeb007c31ebe2e1ce4f63e6c4b840 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/parameters.py b/elasticdl/python/ps/parameters.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/parameters.py +++ b/elasticdl/python/ps/parameters.py @@ -18,6 +18,7 @@ class Parameters(object): """ def __init__(self): + self.version = 0 self.init_st...
2,218
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1385", "repo": "sql-machine-learning/elasticdl", "base_commit": "7a1af762f2fdeb007c31ebe2e1ce4f63e6c4b840", "pull_number": 1...
sql-machine-learning__elasticdl-1393
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 4b22d90f162583d9e5f339f0699a4b53a1973169 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/servicer.py b/elasticdl/python/ps/servicer.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/servicer.py +++ b/elasticdl/python/ps/servicer.py @@ -3,6 +3,7 @@ import threading from google.protobuf import empty_pb2 from elasticdl.proto import elasticdl_pb2, elasticdl_pb2_grp...
1,248
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1393", "repo": "sql-machine-learning/elasticdl", "base_commit": "4b22d90f162583d9e5f339f0699a4b53a1973169", "pull_number": 1...
sql-machine-learning__elasticdl-1400
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 34dfbb2404f13de53309fd5b1aa37001fe6c4c53 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/model_handler.py b/elasticdl/python/common/model_handler.py index 0000000..0000000 100644 --- a/elasticdl/python/common/model_handler.py +++ b/elasticdl/python/common/model_handler.py @@ -21,7 +21,7 @@ class ModelHandler(metaclass=abc.ABCMeta): pass @abc.abstractmeth...
10,668
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1400", "repo": "sql-machine-learning/elasticdl", "base_commit": "34dfbb2404f13de53309fd5b1aa37001fe6c4c53", "pull_number": 1...
sql-machine-learning__elasticdl-1401
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 34dfbb2404f13de53309fd5b1aa37001fe6c4c53 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/servicer.py b/elasticdl/python/ps/servicer.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/servicer.py +++ b/elasticdl/python/ps/servicer.py @@ -4,6 +4,7 @@ from google.protobuf import empty_pb2 from elasticdl.proto import elasticdl_pb2, elasticdl_pb2_grpc from elasticdl....
1,572
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1401", "repo": "sql-machine-learning/elasticdl", "base_commit": "34dfbb2404f13de53309fd5b1aa37001fe6c4c53", "pull_number": 1...
sql-machine-learning__elasticdl-1406
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 1bbb49f31a182ffa29eb9a1578661feb3ae1c246 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/parameters.py b/elasticdl/python/ps/parameters.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/parameters.py +++ b/elasticdl/python/ps/parameters.py @@ -23,6 +23,9 @@ class Parameters(object): self.non_embedding_params = {} self.embedding_params = {} + ...
3,235
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1406", "repo": "sql-machine-learning/elasticdl", "base_commit": "1bbb49f31a182ffa29eb9a1578661feb3ae1c246", "pull_number": 1...
sql-machine-learning__elasticdl-1435
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 067f3e64d786b09f3a91aba787eaa9556f21f95b Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/hash_utils.py b/elasticdl/python/common/hash_utils.py index 0000000..0000000 100644 --- a/elasticdl/python/common/hash_utils.py +++ b/elasticdl/python/common/hash_utils.py @@ -1,6 +1,10 @@ import hashlib -def string_to_id(name, num): +def string_to_id(name, bucket_num): h ...
26,596
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1435", "repo": "sql-machine-learning/elasticdl", "base_commit": "067f3e64d786b09f3a91aba787eaa9556f21f95b", "pull_number": 1...
sql-machine-learning__elasticdl-1437
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: ee9b9b7c3b4174c032cb8300b9889a12c0ee1b49 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/hash_utils.py b/elasticdl/python/common/hash_utils.py index 0000000..0000000 100644 --- a/elasticdl/python/common/hash_utils.py +++ b/elasticdl/python/common/hash_utils.py @@ -8,3 +8,42 @@ def string_to_id(name, bucket_num): def int_to_id(number, bucket_num): return number %...
20,431
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1437", "repo": "sql-machine-learning/elasticdl", "base_commit": "ee9b9b7c3b4174c032cb8300b9889a12c0ee1b49", "pull_number": 1...
sql-machine-learning__elasticdl-1439
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 7172449e9ba38d8f1a885c91a29c828bb28d9508 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/parameters.py b/elasticdl/python/ps/parameters.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/parameters.py +++ b/elasticdl/python/ps/parameters.py @@ -55,10 +55,10 @@ class Parameters(object): dim1 = grad.values.shape[1] if dim0 > param_sha...
7,563
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1439", "repo": "sql-machine-learning/elasticdl", "base_commit": "7172449e9ba38d8f1a885c91a29c828bb28d9508", "pull_number": 1...
sql-machine-learning__elasticdl-1442
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 35d0647a737d93e6969764cabe541ac8078d13bf Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/tensor.py b/elasticdl/python/common/tensor.py index 0000000..0000000 100644 --- a/elasticdl/python/common/tensor.py +++ b/elasticdl/python/common/tensor.py @@ -6,7 +6,6 @@ from elasticdl.python.common.dtypes import ( dtype_numpy_to_tensor, dtype_tensor_to_numpy, ) -from e...
4,482
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1442", "repo": "sql-machine-learning/elasticdl", "base_commit": "35d0647a737d93e6969764cabe541ac8078d13bf", "pull_number": 1...
sql-machine-learning__elasticdl-1446
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 5099d718fbb8d8bda45bd97506763b1a383b2f5d Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/model_handler.py b/elasticdl/python/common/model_handler.py index 0000000..0000000 100644 --- a/elasticdl/python/common/model_handler.py +++ b/elasticdl/python/common/model_handler.py @@ -128,7 +128,7 @@ class ParameterServerModelHandler(ModelHandler): # clear keras model s...
5,203
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1446", "repo": "sql-machine-learning/elasticdl", "base_commit": "5099d718fbb8d8bda45bd97506763b1a383b2f5d", "pull_number": 1...
sql-machine-learning__elasticdl-1449
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 21ebd8280eee40b05335ca6c8cb411974683af29 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/worker/worker.py b/elasticdl/python/worker/worker.py index 0000000..0000000 100644 --- a/elasticdl/python/worker/worker.py +++ b/elasticdl/python/worker/worker.py @@ -165,6 +165,8 @@ class Worker(object): self._model, self._embedding_layers ): ...
20,872
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1449", "repo": "sql-machine-learning/elasticdl", "base_commit": "21ebd8280eee40b05335ca6c8cb411974683af29", "pull_number": 1...
sql-machine-learning__elasticdl-1457
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 94420ef5bd69bb7e9dc02bc0d9ea63168849f7d3 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 0000000..0000000 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -491,7 +491,6 @@ def add_common_args_between_master_and_worker(parser): parser.add_argument( "--distribution_strategy"...
36,226
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1457", "repo": "sql-machine-learning/elasticdl", "base_commit": "94420ef5bd69bb7e9dc02bc0d9ea63168849f7d3", "pull_number": 1...
sql-machine-learning__elasticdl-1463
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 7a1530768f6963209b44a53fceff5579a922313b Changed files: - elasticdl/py...
diff --git a/elasticdl/python/elasticdl/__init__.py b/elasticdl/python/elasticdl/__init__.py index 0000000..0000000 100644 --- a/elasticdl/python/elasticdl/__init__.py +++ b/elasticdl/python/elasticdl/__init__.py @@ -0,0 +1 @@ +from elasticdl.python.elasticdl import layers # noqa: F401
424
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1463", "repo": "sql-machine-learning/elasticdl", "base_commit": "7a1530768f6963209b44a53fceff5579a922313b", "pull_number": 1...
sql-machine-learning__elasticdl-1475
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 742beec171f013f7275f6741fe47d4dc7d6b04ed Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/servicer.py b/elasticdl/python/ps/servicer.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/servicer.py +++ b/elasticdl/python/ps/servicer.py @@ -37,6 +37,7 @@ class PserverServicer(elasticdl_pb2_grpc.PserverServicer): self._eval_steps = evaluation_steps self...
4,936
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1475", "repo": "sql-machine-learning/elasticdl", "base_commit": "742beec171f013f7275f6741fe47d4dc7d6b04ed", "pull_number": 1...
sql-machine-learning__elasticdl-1483
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 64b9a82de5b04733557f43a63eb9aa11473f611b Changed files: - elasticdl/py...
diff --git a/elasticdl/python/worker/worker.py b/elasticdl/python/worker/worker.py index 0000000..0000000 100644 --- a/elasticdl/python/worker/worker.py +++ b/elasticdl/python/worker/worker.py @@ -698,7 +698,12 @@ class Worker(object): dataset, ) = self._task_data_service.get_save_model_task_and_d...
21,680
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1483", "repo": "sql-machine-learning/elasticdl", "base_commit": "64b9a82de5b04733557f43a63eb9aa11473f611b", "pull_number": 1...
sql-machine-learning__elasticdl-1486
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: f0a118cbb2f133f78732e658c4958e938d2f797f Changed files: - elasticdl/py...
diff --git a/elasticdl/python/worker/worker.py b/elasticdl/python/worker/worker.py index 0000000..0000000 100644 --- a/elasticdl/python/worker/worker.py +++ b/elasticdl/python/worker/worker.py @@ -203,16 +203,21 @@ class Worker(object): def get_model_from_ps(self, version, method): model_version = -1 + ...
20,902
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1486", "repo": "sql-machine-learning/elasticdl", "base_commit": "f0a118cbb2f133f78732e658c4958e938d2f797f", "pull_number": 1...
sql-machine-learning__elasticdl-1495
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: ec73250996c9e357477b65c8e18e7ccc71a35c47 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/worker/main.py b/elasticdl/python/worker/main.py index 0000000..0000000 100644 --- a/elasticdl/python/worker/main.py +++ b/elasticdl/python/worker/main.py @@ -53,6 +53,13 @@ def main(): ), ], ) + + # Wait the channel is ready by...
1,668
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1495", "repo": "sql-machine-learning/elasticdl", "base_commit": "ec73250996c9e357477b65c8e18e7ccc71a35c47", "pull_number": 1...
sql-machine-learning__elasticdl-1539
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 8ea9e0e8a9a972130b2d7c01640b93e01575bee3 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/worker/worker.py b/elasticdl/python/worker/worker.py index 0000000..0000000 100644 --- a/elasticdl/python/worker/worker.py +++ b/elasticdl/python/worker/worker.py @@ -75,6 +75,7 @@ class Worker(object): self._stub = elasticdl_pb2_grpc.MasterStub(channel) self._use_m...
21,500
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1539", "repo": "sql-machine-learning/elasticdl", "base_commit": "8ea9e0e8a9a972130b2d7c01640b93e01575bee3", "pull_number": 1...
sql-machine-learning__elasticdl-1555
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 6c8fbf501eb901a6310f6e4ded1fb6548df3d659 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/k8s_instance_manager.py b/elasticdl/python/master/k8s_instance_manager.py index 0000000..0000000 100644 --- a/elasticdl/python/master/k8s_instance_manager.py +++ b/elasticdl/python/master/k8s_instance_manager.py @@ -51,7 +51,6 @@ class InstanceManager(object): self._envs = ...
7,132
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1555", "repo": "sql-machine-learning/elasticdl", "base_commit": "6c8fbf501eb901a6310f6e4ded1fb6548df3d659", "pull_number": 1...
sql-machine-learning__elasticdl-1556
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 6c8fbf501eb901a6310f6e4ded1fb6548df3d659 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/k8s_client.py b/elasticdl/python/common/k8s_client.py index 0000000..0000000 100644 --- a/elasticdl/python/common/k8s_client.py +++ b/elasticdl/python/common/k8s_client.py @@ -1,5 +1,6 @@ import os import threading +import time import traceback import yaml @@ -81,16 +82,20 @@ ...
11,707
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1556", "repo": "sql-machine-learning/elasticdl", "base_commit": "6c8fbf501eb901a6310f6e4ded1fb6548df3d659", "pull_number": 1...
sql-machine-learning__elasticdl-1563
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: f8a8dbb6180e523543f62f3dc7f104c4ccc58c3c Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/k8s_instance_manager.py b/elasticdl/python/master/k8s_instance_manager.py index 0000000..0000000 100644 --- a/elasticdl/python/master/k8s_instance_manager.py +++ b/elasticdl/python/master/k8s_instance_manager.py @@ -73,6 +73,8 @@ class InstanceManager(object): self._ps_pod_...
7,124
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1563", "repo": "sql-machine-learning/elasticdl", "base_commit": "f8a8dbb6180e523543f62f3dc7f104c4ccc58c3c", "pull_number": 1...
sql-machine-learning__elasticdl-1579
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 0d8b9304e108ba7d7556ab860390e14f8d024cf9 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/elasticdl/embedding_delegate.py b/elasticdl/python/elasticdl/embedding_delegate.py index 0000000..0000000 100644 --- a/elasticdl/python/elasticdl/embedding_delegate.py +++ b/elasticdl/python/elasticdl/embedding_delegate.py @@ -2,6 +2,8 @@ import collections import numpy as np import te...
15,706
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1579", "repo": "sql-machine-learning/elasticdl", "base_commit": "0d8b9304e108ba7d7556ab860390e14f8d024cf9", "pull_number": 1...
sql-machine-learning__elasticdl-1591
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: dfea379b0abe5f9d02904aa068305cdbe7607edf Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/master.py b/elasticdl/python/master/master.py index 0000000..0000000 100644 --- a/elasticdl/python/master/master.py +++ b/elasticdl/python/master/master.py @@ -379,6 +379,8 @@ class Master(object): str(args.num_ps_pods), "--checkpoint_dir_for_init",...
12,639
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1591", "repo": "sql-machine-learning/elasticdl", "base_commit": "dfea379b0abe5f9d02904aa068305cdbe7607edf", "pull_number": 1...
sql-machine-learning__elasticdl-1594
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 016a80c513cb1736069f44b004d0e16bdb5e955c Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/optimizer_wrapper.py b/elasticdl/python/ps/optimizer_wrapper.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/optimizer_wrapper.py +++ b/elasticdl/python/ps/optimizer_wrapper.py @@ -99,7 +99,7 @@ class OptimizerWrapper(object): self._update_embedding_func = update_emb...
8,760
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1594", "repo": "sql-machine-learning/elasticdl", "base_commit": "016a80c513cb1736069f44b004d0e16bdb5e955c", "pull_number": 1...
sql-machine-learning__elasticdl-1603
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: aa43906cb702c699d8516d81583f3158d760e045 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/data/odps_io.py b/elasticdl/python/data/odps_io.py index 0000000..0000000 100644 --- a/elasticdl/python/data/odps_io.py +++ b/elasticdl/python/data/odps_io.py @@ -226,17 +226,14 @@ class ODPSReader(object): columns = self._odps_table.schema.names while retry_count < m...
11,206
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1603", "repo": "sql-machine-learning/elasticdl", "base_commit": "aa43906cb702c699d8516d81583f3158d760e045", "pull_number": 1...
sql-machine-learning__elasticdl-1666
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: b98458d4d2232f0f6a8cf45c54030d02c5b05cb6 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 0000000..0000000 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -333,7 +333,7 @@ def add_train_params(parser): parser=parser, name="--lr_staleness_modulation", default=F...
15,132
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1666", "repo": "sql-machine-learning/elasticdl", "base_commit": "b98458d4d2232f0f6a8cf45c54030d02c5b05cb6", "pull_number": 1...
sql-machine-learning__elasticdl-1674
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 44ebe86b45adcfbe5f601b4396daa8049e57e32a Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 0000000..0000000 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -249,6 +249,13 @@ def add_common_params(parser): "the job automatically, and users need to launch the job through " ...
24,395
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1674", "repo": "sql-machine-learning/elasticdl", "base_commit": "44ebe86b45adcfbe5f601b4396daa8049e57e32a", "pull_number": 1...
sql-machine-learning__elasticdl-1682
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 52cc32f063e2abcca7b3f4430bebb14e78aa9d90 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/k8s_client.py b/elasticdl/python/common/k8s_client.py index 0000000..0000000 100644 --- a/elasticdl/python/common/k8s_client.py +++ b/elasticdl/python/common/k8s_client.py @@ -32,6 +32,20 @@ def get_ps_pod_name(job_name, ps_id): return "elasticdl-%s-ps-%s" % (job_name, str(ps_i...
11,218
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1682", "repo": "sql-machine-learning/elasticdl", "base_commit": "52cc32f063e2abcca7b3f4430bebb14e78aa9d90", "pull_number": 1...
sql-machine-learning__elasticdl-1695
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 1a573e1be5b9ceab14ad672db14504717e27b49b Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/model_utils.py b/elasticdl/python/common/model_utils.py index 0000000..0000000 100644 --- a/elasticdl/python/common/model_utils.py +++ b/elasticdl/python/common/model_utils.py @@ -1,6 +1,8 @@ import importlib.util import os +import tensorflow as tf + from elasticdl.python.commo...
14,200
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1695", "repo": "sql-machine-learning/elasticdl", "base_commit": "1a573e1be5b9ceab14ad672db14504717e27b49b", "pull_number": 1...
sql-machine-learning__elasticdl-1738
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 9e22a36cb4f1d02c44b1d3945a6deb25bd37cd6b Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/task_dispatcher.py b/elasticdl/python/master/task_dispatcher.py index 0000000..0000000 100644 --- a/elasticdl/python/master/task_dispatcher.py +++ b/elasticdl/python/master/task_dispatcher.py @@ -190,6 +190,8 @@ class _TaskDispatcher(object): SavedModelExporter to execute o...
7,920
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1738", "repo": "sql-machine-learning/elasticdl", "base_commit": "9e22a36cb4f1d02c44b1d3945a6deb25bd37cd6b", "pull_number": 1...
sql-machine-learning__elasticdl-1757
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 453a1610f1f861388ba4661cc1a557b3ab65a39d Changed files: - elasticdl/py...
diff --git a/elasticdl/python/elasticdl/api.py b/elasticdl/python/elasticdl/api.py index 0000000..0000000 100644 --- a/elasticdl/python/elasticdl/api.py +++ b/elasticdl/python/elasticdl/api.py @@ -201,7 +201,7 @@ def _model_zoo_in_docker(model_zoo, image_pre_built): if image_pre_built: return model_zoo ...
10,924
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1757", "repo": "sql-machine-learning/elasticdl", "base_commit": "453a1610f1f861388ba4661cc1a557b3ab65a39d", "pull_number": 1...
sql-machine-learning__elasticdl-1810
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 1af851852ef39928fac7e0a74319b1819bc9ddc1 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/evaluation_service.py b/elasticdl/python/master/evaluation_service.py index 0000000..0000000 100644 --- a/elasticdl/python/master/evaluation_service.py +++ b/elasticdl/python/master/evaluation_service.py @@ -194,6 +194,8 @@ class EvaluationService(object): ) def ...
5,297
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1810", "repo": "sql-machine-learning/elasticdl", "base_commit": "1af851852ef39928fac7e0a74319b1819bc9ddc1", "pull_number": 1...
sql-machine-learning__elasticdl-1815
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 21dbb75a521520822efdafe2064adbe15cb0c336 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/worker/main.py b/elasticdl/python/worker/main.py index 0000000..0000000 100644 --- a/elasticdl/python/worker/main.py +++ b/elasticdl/python/worker/main.py @@ -5,6 +5,9 @@ from elasticdl.python.common.args import parse_worker_args from elasticdl.python.common.grpc_utils import build_channe...
1,232
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1815", "repo": "sql-machine-learning/elasticdl", "base_commit": "21dbb75a521520822efdafe2064adbe15cb0c336", "pull_number": 1...
sql-machine-learning__elasticdl-1818
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 3494e4fa9ed7eb3d3cada521b0a8ca6af1bd9439 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/ps/embedding_table.py b/elasticdl/python/ps/embedding_table.py index 0000000..0000000 100644 --- a/elasticdl/python/ps/embedding_table.py +++ b/elasticdl/python/ps/embedding_table.py @@ -1,3 +1,5 @@ +import threading + import numpy as np import tensorflow as tf @@ -44,6 +46,7 @@ class ...
3,040
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1818", "repo": "sql-machine-learning/elasticdl", "base_commit": "3494e4fa9ed7eb3d3cada521b0a8ca6af1bd9439", "pull_number": 1...
sql-machine-learning__elasticdl-1824
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 96fc09325e57b99ad623cce0d15e30d4e9cd9914 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/model_handler.py b/elasticdl/python/common/model_handler.py index 0000000..0000000 100644 --- a/elasticdl/python/common/model_handler.py +++ b/elasticdl/python/common/model_handler.py @@ -8,6 +8,7 @@ from elasticdl.python.common.constants import DistributionStrategy from elasticdl....
10,629
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1824", "repo": "sql-machine-learning/elasticdl", "base_commit": "96fc09325e57b99ad623cce0d15e30d4e9cd9914", "pull_number": 1...
sql-machine-learning__elasticdl-1830
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: df3c51fa912a100d95a517422328abd90880d9dd Changed files: - elasticdl/py...
diff --git a/elasticdl/python/worker/task_data_service.py b/elasticdl/python/worker/task_data_service.py index 0000000..0000000 100644 --- a/elasticdl/python/worker/task_data_service.py +++ b/elasticdl/python/worker/task_data_service.py @@ -83,6 +83,9 @@ class TaskDataService(object): if err_msg: ...
5,839
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1830", "repo": "sql-machine-learning/elasticdl", "base_commit": "df3c51fa912a100d95a517422328abd90880d9dd", "pull_number": 1...
sql-machine-learning__elasticdl-1834
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 35e598c8f46b1b94867dc2204045270712fcaa4b Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/save_utils.py b/elasticdl/python/common/save_utils.py index 0000000..0000000 100644 --- a/elasticdl/python/common/save_utils.py +++ b/elasticdl/python/common/save_utils.py @@ -1,5 +1,6 @@ import contextlib import os +import shutil import tempfile import tensorflow as tf @@ -91...
6,948
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1834", "repo": "sql-machine-learning/elasticdl", "base_commit": "35e598c8f46b1b94867dc2204045270712fcaa4b", "pull_number": 1...
sql-machine-learning__elasticdl-1842
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 6a0da47417b4ba4e08d4eb83ac79c22e38742cdc Changed files: - elasticdl_pr...
diff --git a/elasticdl_preprocessing/layers/round_identity.py b/elasticdl_preprocessing/layers/round_identity.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl_preprocessing/layers/round_identity.py @@ -0,0 +1,71 @@ +import tensorflow as tf +from tensorflow.python.ops.ragged import ragged_fun...
1,095
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1842", "repo": "sql-machine-learning/elasticdl", "base_commit": "6a0da47417b4ba4e08d4eb83ac79c22e38742cdc", "pull_number": 1...
sql-machine-learning__elasticdl-1846
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 6f26f05fb36033ddf85f7f364979c1c49a3c384c Changed files: - elasticdl_pr...
diff --git a/elasticdl_preprocessing/layers/concatenate_with_offset.py b/elasticdl_preprocessing/layers/concatenate_with_offset.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl_preprocessing/layers/concatenate_with_offset.py @@ -0,0 +1,66 @@ +import tensorflow as tf + + +class ConcatenateWit...
2,505
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1846", "repo": "sql-machine-learning/elasticdl", "base_commit": "6f26f05fb36033ddf85f7f364979c1c49a3c384c", "pull_number": 1...
sql-machine-learning__elasticdl-1860
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 3a57c42f3d540852933859d3ae49ae5dd884ef6f Changed files: - elasticdl_pr...
diff --git a/elasticdl_preprocessing/layers/to_sparse.py b/elasticdl_preprocessing/layers/to_sparse.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl_preprocessing/layers/to_sparse.py @@ -0,0 +1,66 @@ +import tensorflow as tf + + +class ToSparse(tf.keras.layers.Layer): + """Converts a `Ten...
2,232
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1860", "repo": "sql-machine-learning/elasticdl", "base_commit": "3a57c42f3d540852933859d3ae49ae5dd884ef6f", "pull_number": 1...
sql-machine-learning__elasticdl-1862
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: d757e7079c739f92446ea140e48786eef1e4065d Changed files: - elasticdl_pr...
diff --git a/elasticdl_preprocessing/layers/to_ragged.py b/elasticdl_preprocessing/layers/to_ragged.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl_preprocessing/layers/to_ragged.py @@ -0,0 +1,75 @@ +import tensorflow as tf + +_COMMA_SEP = "," + + +class ToRagged(tf.keras.layers.Layer): + ...
1,286
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1862", "repo": "sql-machine-learning/elasticdl", "base_commit": "d757e7079c739f92446ea140e48786eef1e4065d", "pull_number": 1...
sql-machine-learning__elasticdl-1884
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 6ee7c6eadc797b3fae6fd9d5dbce82e0266f2082 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/collective_ops/communicator.py b/elasticdl/python/collective_ops/communicator.py index 0000000..0000000 100644 --- a/elasticdl/python/collective_ops/communicator.py +++ b/elasticdl/python/collective_ops/communicator.py @@ -23,17 +23,18 @@ _FTLIB_UNINSTALLED_DEFAULT_STATUS_MESSAGE = ( clas...
3,565
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1884", "repo": "sql-machine-learning/elasticdl", "base_commit": "6ee7c6eadc797b3fae6fd9d5dbce82e0266f2082", "pull_number": 1...
sql-machine-learning__elasticdl-1916
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 186f15a815263424af87b2538f1f7e7cbf0a69dc Changed files: - elasticdl_pr...
diff --git a/elasticdl_preprocessing/layers/__init__.py b/elasticdl_preprocessing/layers/__init__.py index 0000000..0000000 100644 --- a/elasticdl_preprocessing/layers/__init__.py +++ b/elasticdl_preprocessing/layers/__init__.py @@ -7,6 +7,7 @@ from elasticdl_preprocessing.layers.concatenate_with_offset import ( from ...
1,498
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1916", "repo": "sql-machine-learning/elasticdl", "base_commit": "186f15a815263424af87b2538f1f7e7cbf0a69dc", "pull_number": 1...
sql-machine-learning__elasticdl-1925
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: eefcb31cb148a44884643d24e9db9d8a4c230856 Changed files: - elasticdl_pr...
diff --git a/elasticdl_preprocessing/layers/__init__.py b/elasticdl_preprocessing/layers/__init__.py index 0000000..0000000 100644 --- a/elasticdl_preprocessing/layers/__init__.py +++ b/elasticdl_preprocessing/layers/__init__.py @@ -8,6 +8,7 @@ from elasticdl_preprocessing.layers.discretization import Discretization f...
1,314
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1925", "repo": "sql-machine-learning/elasticdl", "base_commit": "eefcb31cb148a44884643d24e9db9d8a4c230856", "pull_number": 1...
sql-machine-learning__elasticdl-1942
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: dc8c3294593f20159f70dfb1778e2b68b8f671e9 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/k8s_instance_manager.py b/elasticdl/python/master/k8s_instance_manager.py index 0000000..0000000 100644 --- a/elasticdl/python/master/k8s_instance_manager.py +++ b/elasticdl/python/master/k8s_instance_manager.py @@ -4,7 +4,7 @@ import threading from collections import Counter fr...
20,829
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1942", "repo": "sql-machine-learning/elasticdl", "base_commit": "dc8c3294593f20159f70dfb1778e2b68b8f671e9", "pull_number": 1...
sql-machine-learning__elasticdl-1965
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: a0342c27f0e6c5556037b18282cce2b03c734c28 Changed files: - elasticdl_pr...
diff --git a/elasticdl_preprocessing/setup.py b/elasticdl_preprocessing/setup.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl_preprocessing/setup.py @@ -0,0 +1,26 @@ +from setuptools import setup + +with open("elasticdl_preprocessing/requirements.txt") as f: + required_deps = f.read().sp...
531
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-1965", "repo": "sql-machine-learning/elasticdl", "base_commit": "a0342c27f0e6c5556037b18282cce2b03c734c28", "pull_number": 1...
sql-machine-learning__elasticdl-2088
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 9a86d1c4a3be8f8d4a13de25a78faa98b44513dc Changed files: - scripts/trav...
diff --git a/scripts/travis/gen_mnist_checkpoint.py b/scripts/travis/gen_mnist_checkpoint.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/scripts/travis/gen_mnist_checkpoint.py @@ -0,0 +1,52 @@ +# Copyright 2020 The ElasticDL Authors. All rights reserved. +# Licensed under the Apache License, Version...
856
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2088", "repo": "sql-machine-learning/elasticdl", "base_commit": "9a86d1c4a3be8f8d4a13de25a78faa98b44513dc", "pull_number": 2...
sql-machine-learning__elasticdl-2107
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: cfbeb963d9860d173c90b86a22157a3f97a442b3 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/k8s_instance_manager.py b/elasticdl/python/master/k8s_instance_manager.py index 0000000..0000000 100644 --- a/elasticdl/python/master/k8s_instance_manager.py +++ b/elasticdl/python/master/k8s_instance_manager.py @@ -305,32 +305,36 @@ class InstanceManager(object): if po...
9,958
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2107", "repo": "sql-machine-learning/elasticdl", "base_commit": "cfbeb963d9860d173c90b86a22157a3f97a442b3", "pull_number": 2...
sql-machine-learning__elasticdl-2130
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: c1fc8029329fd8a49037a0ce0915b735e4a48d10 Changed files: - elasticdl_cl...
diff --git a/elasticdl_client/api.py b/elasticdl_client/api.py index 0000000..0000000 100644 --- a/elasticdl_client/api.py +++ b/elasticdl_client/api.py @@ -53,7 +53,9 @@ RUN pip install elasticdl_preprocessing\ --extra-index-url={{ EXTRA_PYPI_INDEX }} RUN pip install elasticdl --extra-index-url={{ EXTRA_PYPI_INDE...
5,561
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2130", "repo": "sql-machine-learning/elasticdl", "base_commit": "c1fc8029329fd8a49037a0ce0915b735e4a48d10", "pull_number": 2...
sql-machine-learning__elasticdl-2167
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: daf8f1758024b9b129ed13ca0ee2119ec0e000eb Changed files: - tools/odps_t...
diff --git a/tools/odps_table_tools/normalize_kv_udf.py b/tools/odps_table_tools/normalize_kv_udf.py deleted file mode 100644 index 0000000..0000000 --- a/tools/odps_table_tools/normalize_kv_udf.py +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2020 The ElasticDL Authors. All rights reserved. -# Licensed under the Apache ...
4,598
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2167", "repo": "sql-machine-learning/elasticdl", "base_commit": "daf8f1758024b9b129ed13ca0ee2119ec0e000eb", "pull_number": 2...
sql-machine-learning__elasticdl-2172
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 1f43d8fde4ede379f252729c7ad7847befb0714d Changed files: - elasticdl_cl...
diff --git a/elasticdl_client/api.py b/elasticdl_client/api.py index 0000000..0000000 100644 --- a/elasticdl_client/api.py +++ b/elasticdl_client/api.py @@ -57,7 +57,7 @@ RUN /bin/bash -c\ 'PYTHON_PKG_PATH=$(pip3 show elasticdl | grep "Location:" | cut -d " " -f2);\ echo "PATH=${PYTHON_PKG_PATH}/elasticdl/go/bin:$P...
18,346
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2172", "repo": "sql-machine-learning/elasticdl", "base_commit": "1f43d8fde4ede379f252729c7ad7847befb0714d", "pull_number": 2...
sql-machine-learning__elasticdl-2173
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: c3c9e79483189a6fad64d68e808e721578531038 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/k8s_instance_manager.py b/elasticdl/python/master/k8s_instance_manager.py index 0000000..0000000 100644 --- a/elasticdl/python/master/k8s_instance_manager.py +++ b/elasticdl/python/master/k8s_instance_manager.py @@ -147,11 +147,14 @@ class InstanceManager(object): logger.in...
9,803
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2173", "repo": "sql-machine-learning/elasticdl", "base_commit": "c3c9e79483189a6fad64d68e808e721578531038", "pull_number": 2...
sql-machine-learning__elasticdl-2175
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: c3c9e79483189a6fad64d68e808e721578531038 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/master.py b/elasticdl/python/master/master.py index 0000000..0000000 100644 --- a/elasticdl/python/master/master.py +++ b/elasticdl/python/master/master.py @@ -52,6 +52,7 @@ from elasticdl_client.common.args import ( ) from elasticdl_client.common.constants import ( BashComma...
18,744
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2175", "repo": "sql-machine-learning/elasticdl", "base_commit": "c3c9e79483189a6fad64d68e808e721578531038", "pull_number": 2...
sql-machine-learning__elasticdl-2180
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: f064da7de6ce35da8d17c610edcbf58a6d3a759d Changed files: - elasticdl_cl...
diff --git a/elasticdl_client/main.py b/elasticdl_client/main.py index 0000000..0000000 100644 --- a/elasticdl_client/main.py +++ b/elasticdl_client/main.py @@ -94,7 +94,12 @@ def main(): parser.print_help(sys.stderr) sys.exit(1) - args, _ = parser.parse_known_args() + try: + args, _ = ...
2,638
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2180", "repo": "sql-machine-learning/elasticdl", "base_commit": "f064da7de6ce35da8d17c610edcbf58a6d3a759d", "pull_number": 2...
sql-machine-learning__elasticdl-2182
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 0118bc106112e73fd7d68bafc8d25ccdb09be529 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/collective_ops/communicator.py b/elasticdl/python/collective_ops/communicator.py index 0000000..0000000 100644 --- a/elasticdl/python/collective_ops/communicator.py +++ b/elasticdl/python/collective_ops/communicator.py @@ -12,6 +12,7 @@ # limitations under the License. import socket +i...
16,743
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2182", "repo": "sql-machine-learning/elasticdl", "base_commit": "0118bc106112e73fd7d68bafc8d25ccdb09be529", "pull_number": 2...
sql-machine-learning__elasticdl-2188
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: bccf11dd7032fcbdfc4aab8a973c000c53ea1001 Changed files: - setup.py - s...
diff --git a/setup.py b/setup.py index 0000000..0000000 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ with open("elasticdl/requirements-dev.txt") as f: setup( name="elasticdl", - version="develop", + version="0.2.0rc3.dev0", description="A Kubernetes-native Deep Learning Framework", lon...
3,288
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2188", "repo": "sql-machine-learning/elasticdl", "base_commit": "bccf11dd7032fcbdfc4aab8a973c000c53ea1001", "pull_number": 2...
sql-machine-learning__elasticdl-2194
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 13ce8d32b7cd21736186ab88bb79f39ca92fb5f7 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/k8s_instance_manager.py b/elasticdl/python/master/k8s_instance_manager.py index 0000000..0000000 100644 --- a/elasticdl/python/master/k8s_instance_manager.py +++ b/elasticdl/python/master/k8s_instance_manager.py @@ -386,6 +386,13 @@ class InstanceManager(object): # tole...
27,197
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2194", "repo": "sql-machine-learning/elasticdl", "base_commit": "13ce8d32b7cd21736186ab88bb79f39ca92fb5f7", "pull_number": 2...
sql-machine-learning__elasticdl-2245
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: f95f55e4a7fd63eb7fb328e31284c43e0fd1d49e Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/rendezvous_server.py b/elasticdl/python/master/rendezvous_server.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl/python/master/rendezvous_server.py @@ -0,0 +1,69 @@ +# Copyright 2020 The ElasticDL Authors. All rights reserved. +# Licensed under the Apach...
1,089
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2245", "repo": "sql-machine-learning/elasticdl", "base_commit": "f95f55e4a7fd63eb7fb328e31284c43e0fd1d49e", "pull_number": 2...
sql-machine-learning__elasticdl-2264
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 5fe8f4bc01cb0358926066b8d9dd014692e05f26 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/rendezvous_server.py b/elasticdl/python/master/rendezvous_server.py index 0000000..0000000 100644 --- a/elasticdl/python/master/rendezvous_server.py +++ b/elasticdl/python/master/rendezvous_server.py @@ -10,6 +10,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express o...
5,928
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2264", "repo": "sql-machine-learning/elasticdl", "base_commit": "5fe8f4bc01cb0358926066b8d9dd014692e05f26", "pull_number": 2...
sql-machine-learning__elasticdl-2292
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 7bd6de73687691c2c5b38fdfa5b1c94597b43982 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/constants.py b/elasticdl/python/common/constants.py index 0000000..0000000 100644 --- a/elasticdl/python/common/constants.py +++ b/elasticdl/python/common/constants.py @@ -94,3 +94,4 @@ class HorovodEnv(object): CONTROLLER = "HOROVOD_CONTROLLER" CPU_OPERATIONS = "HOROVOD_C...
16,376
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2292", "repo": "sql-machine-learning/elasticdl", "base_commit": "7bd6de73687691c2c5b38fdfa5b1c94597b43982", "pull_number": 2...
sql-machine-learning__elasticdl-2304
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 6ab1405cf1f60ceb6a4fa92603e26f3664971147 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/common/k8s_client.py b/elasticdl/python/common/k8s_client.py index 0000000..0000000 100644 --- a/elasticdl/python/common/k8s_client.py +++ b/elasticdl/python/common/k8s_client.py @@ -45,6 +45,7 @@ class Client(BaseClient): namespace, job_name, event_callback=None...
18,208
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2304", "repo": "sql-machine-learning/elasticdl", "base_commit": "6ab1405cf1f60ceb6a4fa92603e26f3664971147", "pull_number": 2...
sql-machine-learning__elasticdl-2306
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 2f1311592b9b55a049eb6c2f17c4ae6007b00153 Changed files: - docs/benchma...
diff --git a/docs/benchmark/allreduce/scripts/acc_plot.py b/docs/benchmark/allreduce/scripts/acc_plot.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/docs/benchmark/allreduce/scripts/acc_plot.py @@ -0,0 +1,48 @@ +# Copyright 2020 The ElasticDL Authors. All rights reserved. +# Licensed under the Apach...
1,811
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2306", "repo": "sql-machine-learning/elasticdl", "base_commit": "2f1311592b9b55a049eb6c2f17c4ae6007b00153", "pull_number": 2...
sql-machine-learning__elasticdl-2319
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: db99ea1b420e89bb7f0a0694d32e2751b0e6a713 Changed files: - model_zoo/de...
diff --git a/model_zoo/deepctr/__init__.py b/model_zoo/deepctr/__init__.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/model_zoo/deepctr/__init__.py @@ -0,0 +1,12 @@ +# Copyright 2020 The ElasticDL Authors. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# yo...
1,539
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2319", "repo": "sql-machine-learning/elasticdl", "base_commit": "db99ea1b420e89bb7f0a0694d32e2751b0e6a713", "pull_number": 2...
sql-machine-learning__elasticdl-2345
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: e03122e7f6c6a5c3d5df3bd1ee82fa5b8f35833b Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/k8s_instance_manager.py b/elasticdl/python/master/k8s_instance_manager.py index 0000000..0000000 100644 --- a/elasticdl/python/master/k8s_instance_manager.py +++ b/elasticdl/python/master/k8s_instance_manager.py @@ -142,7 +142,7 @@ class InstanceManager(object): self._relau...
21,646
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2345", "repo": "sql-machine-learning/elasticdl", "base_commit": "e03122e7f6c6a5c3d5df3bd1ee82fa5b8f35833b", "pull_number": 2...
sql-machine-learning__elasticdl-2368
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 83b37c0c0c001d71cf0438c7b14adf29a163b835 Changed files: - elasticdl/py...
diff --git a/elasticdl/python/worker/ps_trainer.py b/elasticdl/python/worker/ps_trainer.py index 0000000..0000000 100644 --- a/elasticdl/python/worker/ps_trainer.py +++ b/elasticdl/python/worker/ps_trainer.py @@ -262,7 +262,7 @@ class ParameterServerTrainer(Trainer): grad = Tensor( ...
10,437
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2368", "repo": "sql-machine-learning/elasticdl", "base_commit": "83b37c0c0c001d71cf0438c7b14adf29a163b835", "pull_number": 2...
sql-machine-learning__elasticdl-2373
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 39db62f21a7a170a25e4a9dd1bc1a4deb6a49deb Changed files: - elasticdl/py...
diff --git a/elasticdl/python/master/pod_event_callbacks.py b/elasticdl/python/master/pod_event_callbacks.py new file mode 100644 index 0000000..0000000 --- /dev/null +++ b/elasticdl/python/master/pod_event_callbacks.py @@ -0,0 +1,92 @@ +# Copyright 2020 The ElasticDL Authors. All rights reserved. +# Licensed under the...
2,409
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2373", "repo": "sql-machine-learning/elasticdl", "base_commit": "39db62f21a7a170a25e4a9dd1bc1a4deb6a49deb", "pull_number": 2...
sql-machine-learning__elasticdl-2463
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: 649dc9ab6a4d6ad454f996e4220e127ab4f5c2bd Changed files: - elasticai_ap...
diff --git a/elasticai_api/common/data_shard_service.py b/elasticai_api/common/data_shard_service.py index 0000000..0000000 100644 --- a/elasticai_api/common/data_shard_service.py +++ b/elasticai_api/common/data_shard_service.py @@ -11,8 +11,11 @@ # See the License for the specific language governing permissions and ...
8,418
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2463", "repo": "sql-machine-learning/elasticdl", "base_commit": "649dc9ab6a4d6ad454f996e4220e127ab4f5c2bd", "pull_number": 2...
sql-machine-learning__elasticdl-2530
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: sql-machine-learning/elasticdl Base commit: a5a6c50161d1152e5cfffeb5ba279bf8d32a9614 Changed files: - model_zoo/mn...
diff --git a/model_zoo/mnist/mnist_pytorch.py b/model_zoo/mnist/mnist_pytorch.py index 0000000..0000000 100644 --- a/model_zoo/mnist/mnist_pytorch.py +++ b/model_zoo/mnist/mnist_pytorch.py @@ -11,31 +11,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -""" ...
5,779
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "sql-machine-learning__elasticdl-2530", "repo": "sql-machine-learning/elasticdl", "base_commit": "a5a6c50161d1152e5cfffeb5ba279bf8d32a9614", "pull_number": 2...
aio-libs__aiohttp-45
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 66cf05fbb23493da5f81b75d631a268d42ffe339 Changed files: - aiohttp/client.py - aiohtt...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -65,7 +65,7 @@ def request(method, url, *, :param chunked: Boolean or Integer. Set to chunk size for chunked transfer encoding. :param expect100: Boolean. Expect 100-cont...
27,264
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-45", "repo": "aio-libs/aiohttp", "base_commit": "66cf05fbb23493da5f81b75d631a268d42ffe339", "pull_number": 45, "issue_numbers": [ "4...
aio-libs__aiohttp-76
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: e1303882a893698ced3afc6e80e8a541279688fd Changed files: - aiohttp/client.py - aiohtt...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -94,12 +94,11 @@ def request(method, url, *, connector = aiohttp.TCPConnector(loop=loop) while True: - using_proxy = isinstance(connector, aiohttp.ProxyConnector) ...
29,906
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-76", "repo": "aio-libs/aiohttp", "base_commit": "e1303882a893698ced3afc6e80e8a541279688fd", "pull_number": 76, "issue_numbers": [ "7...
aio-libs__aiohttp-85
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 75c0d35559c8c33b277fafc3ffa7809842921807 Changed files: - aiohttp/client.py - aiohtt...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -35,6 +35,8 @@ def request(method, url, *, cookies=None, files=None, auth=None, + basic_login=None, + basic_passwd=None, ...
29,229
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-85", "repo": "aio-libs/aiohttp", "base_commit": "75c0d35559c8c33b277fafc3ffa7809842921807", "pull_number": 85, "issue_numbers": [ "8...
aio-libs__aiohttp-93
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 771e7db8e0f9dd2b4bcf9ce7b8a257cde7a9e9ee Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -153,7 +153,7 @@ def request(method, url, *, url = urllib.parse.urldefrag(r_url)[0] if url: - resp.close() + yield from asyncio.Ta...
21,292
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-93", "repo": "aio-libs/aiohttp", "base_commit": "771e7db8e0f9dd2b4bcf9ce7b8a257cde7a9e9ee", "pull_number": 93, "issue_numbers": [ "8...
aio-libs__aiohttp-144
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 4133c6752e3d2b302f4874893b494d3b79761cbf Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -189,7 +189,7 @@ class ClientRequest: self.update_version(version) self.update_host(url) - self.update_path(params, data) + self.update_path(params) ...
20,313
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-144", "repo": "aio-libs/aiohttp", "base_commit": "4133c6752e3d2b302f4874893b494d3b79761cbf", "pull_number": 144, "issue_numbers": [ ...
aio-libs__aiohttp-181
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: ec67f8d6ba080817e93536f51895a93aa0d52b24 Changed files: - aiohttp/log.py - aiohttp/w...
diff --git a/aiohttp/log.py b/aiohttp/log.py index 0000000..0000000 100644 --- a/aiohttp/log.py +++ b/aiohttp/log.py @@ -5,3 +5,4 @@ access_log = logging.getLogger('aiohttp.access') client_log = logging.getLogger('aiohttp.client') internal_log = logging.getLogger('aiohttp.internal') server_log = logging.getLogger('a...
6,760
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-181", "repo": "aio-libs/aiohttp", "base_commit": "ec67f8d6ba080817e93536f51895a93aa0d52b24", "pull_number": 181, "issue_numbers": [ ...
aio-libs__aiohttp-219
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 106ce9c4bfbac0548c404373e5434bfdcf708539 Changed files: - aiohttp/protocol.py ## Pr...
diff --git a/aiohttp/protocol.py b/aiohttp/protocol.py index 0000000..0000000 100644 --- a/aiohttp/protocol.py +++ b/aiohttp/protocol.py @@ -521,8 +521,6 @@ class HttpMessage: # this is useful for wsgi's start_response implementation. _send_headers = False - _has_user_agent = False - def __init__(se...
18,940
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-219", "repo": "aio-libs/aiohttp", "base_commit": "106ce9c4bfbac0548c404373e5434bfdcf708539", "pull_number": 219, "issue_numbers": [ ...
aio-libs__aiohttp-254
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 40b43ed99a7379d5a1da20398a22f39e381bd048 Changed files: - aiohttp/connector.py ## P...
diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 0000000..0000000 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -199,7 +199,9 @@ class BaseConnector(object): reader = protocol.reader if should_close or (reader.output and not reader.output.at_eof()): - self....
11,087
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-254", "repo": "aio-libs/aiohttp", "base_commit": "40b43ed99a7379d5a1da20398a22f39e381bd048", "pull_number": 254, "issue_numbers": [ ...
aio-libs__aiohttp-327
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 33e9ca0c9306db5fa086307df0affb786ce9267e Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -9,6 +9,7 @@ import urllib.parse import weakref import warnings import chardet +from os import fstat import aiohttp from . import hdrs, helpers, streams @@ -383,7 +384,13 @@ class C...
18,227
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-327", "repo": "aio-libs/aiohttp", "base_commit": "33e9ca0c9306db5fa086307df0affb786ce9267e", "pull_number": 327, "issue_numbers": [ ...
aio-libs__aiohttp-366
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: ec81d017cd7dcbcc8daf389af68cce4b25275885 Changed files: - aiohttp/connector.py - aio...
diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 0000000..0000000 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -9,6 +9,7 @@ import traceback import warnings from collections import defaultdict +from hashlib import md5, sha1, sha256 from itertools import chain from math import ceil...
18,361
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-366", "repo": "aio-libs/aiohttp", "base_commit": "ec81d017cd7dcbcc8daf389af68cce4b25275885", "pull_number": 366, "issue_numbers": [ ...
aio-libs__aiohttp-405
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3aa335c378771d6a297562755ca6ebcb2ee74afd Changed files: - aiohttp/server.py ## Prob...
diff --git a/aiohttp/server.py b/aiohttp/server.py index 0000000..0000000 100644 --- a/aiohttp/server.py +++ b/aiohttp/server.py @@ -280,6 +280,8 @@ class ServerHttpProtocol(aiohttp.StreamProtocol): if self.transport is not None: yield from self.handle_error(exc.code, message, ...
9,375
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-405", "repo": "aio-libs/aiohttp", "base_commit": "3aa335c378771d6a297562755ca6ebcb2ee74afd", "pull_number": 405, "issue_numbers": [ ...
aio-libs__aiohttp-408
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 8b3d582809442577827d8b808a514d0c3b1a4195 Changed files: - aiohttp/helpers.py - aioht...
diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index 0000000..0000000 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -290,6 +290,9 @@ class SafeAtoms(dict): return '-' +_marker = object() + + class reify: """Use as a class method decorator. It operates almost exactly like ...
23,019
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-408", "repo": "aio-libs/aiohttp", "base_commit": "8b3d582809442577827d8b808a514d0c3b1a4195", "pull_number": 408, "issue_numbers": [ ...
aio-libs__aiohttp-418
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 4bca7ab196bba149328c8ff4815d709f4dc54464 Changed files: - aiohttp/client_reqrep.py ...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -9,7 +9,10 @@ import traceback import urllib.parse import warnings -import chardet +try: + import cchardet as chardet +except ImportError: + import ch...
15,706
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-418", "repo": "aio-libs/aiohttp", "base_commit": "4bca7ab196bba149328c8ff4815d709f4dc54464", "pull_number": 418, "issue_numbers": [ ...