instance_id
stringclasses
7 values
text
stringlengths
11.4k
828k
repo
stringclasses
3 values
base_commit
stringclasses
7 values
problem_statement
stringclasses
6 values
hints_text
stringclasses
5 values
created_at
stringclasses
7 values
patch
stringclasses
7 values
test_patch
stringclasses
7 values
version
stringclasses
1 value
FAIL_TO_PASS
stringclasses
1 value
PASS_TO_PASS
stringclasses
1 value
environment_setup_commit
stringclasses
1 value
celery__celery-2840
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Message being acknowledged on WorkerLostError when CELERY_ACKS_LATE=True When using celery v3.0.24, with `CELERY_ACKS_LATE = True` , if the OOM killer kills the celery worker, then the worker acknowledges the m...
celery/celery
045b52f1450d6d5cc500e0057a4b498250dc5692
Message being acknowledged on WorkerLostError when CELERY_ACKS_LATE=True When using celery v3.0.24, with `CELERY_ACKS_LATE = True` , if the OOM killer kills the celery worker, then the worker acknowledges the message. As per [this](https://github.com/celery/celery/commit/e810420c) commit. The `exc_info.internal` comes ...
This is deliberate as if a task is killed it may mean that the next invocation will also cause the same to happen. If the task is redelivered it may cause a loop where the same conditions occur again and again. Also, sadly you cannot distinguish processes killed by OOM from processes killed by other means, and if an ...
2015-10-06T05:34:34Z
<patch> <patch> diff --git a/celery/app/defaults.py b/celery/app/defaults.py --- a/celery/app/defaults.py +++ b/celery/app/defaults.py @@ -132,6 +132,7 @@ def __repr__(self): 'REDIS_DB': Option(type='int', **_REDIS_OLD), 'REDIS_PASSWORD': Option(type='string', **_REDIS_OLD), 'REDIS_MAX_CONNEC...
diff --git a/celery/tests/worker/test_request.py b/celery/tests/worker/test_request.py --- a/celery/tests/worker/test_request.py +++ b/celery/tests/worker/test_request.py @@ -325,6 +325,20 @@ def test_on_failure_Reject_rejects_with_requeue(self): req_logger, req.connection_errors, True, ) + d...
1.0
NVIDIA__NeMo-473
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Jasper Encoder Export failed The export of Jasper Encoder is failing. I am using the core API [deployment_export](https://nvidia.github.io/NeMo/api-docs/nemo.html#nemo.core.neural_factory.NeuralModuleFactory.de...
NVIDIA/NeMo
ba4616f1f011d599de87f0cb3315605e715d402a
Jasper Encoder Export failed The export of Jasper Encoder is failing. I am using the core API [deployment_export](https://nvidia.github.io/NeMo/api-docs/nemo.html#nemo.core.neural_factory.NeuralModuleFactory.deployment_export) like in the script: https://github.com/NVIDIA/NeMo/blob/403238f82d26879ba5fca53fbf75b3cdc70f...
2020-03-10T03:03:23Z
<patch> <patch> diff --git a/nemo/backends/pytorch/actions.py b/nemo/backends/pytorch/actions.py --- a/nemo/backends/pytorch/actions.py +++ b/nemo/backends/pytorch/actions.py @@ -937,26 +937,16 @@ def __extract_dynamic_axes(port_name: str, ntype: NeuralType, dynamic_axes: defa if axis.kind == AxisK...
diff --git a/tests/unit/core/test_deploy_export.py b/tests/unit/core/test_deploy_export.py --- a/tests/unit/core/test_deploy_export.py +++ b/tests/unit/core/test_deploy_export.py @@ -46,9 +46,11 @@ import nemo.collections.nlp.nm.trainables.common.token_classification_nm from nemo import logging +TRT_ONNX_DISABLED =...
1.0
NVIDIA__NeMo-3632
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> ./reinstall.sh crashes due to not being able to uninstall llvmlite Starting off of `nemo:1.5.1` container, cloning the NeMo repo to a folder inside of it and calling `./reinstall.sh` fails with ``` ERROR: Can...
NVIDIA/NeMo
022f0292aecbc98d591d49423d5045235394f793
./reinstall.sh crashes due to not being able to uninstall llvmlite Starting off of `nemo:1.5.1` container, cloning the NeMo repo to a folder inside of it and calling `./reinstall.sh` fails with ``` ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which fi...
2022-02-09T05:12:31Z
<patch> <patch> diff --git a/nemo_text_processing/text_normalization/__init__.py b/nemo_text_processing/text_normalization/__init__.py --- a/nemo_text_processing/text_normalization/__init__.py +++ b/nemo_text_processing/text_normalization/__init__.py @@ -21,7 +21,7 @@ except (ModuleNotFoundError, ImportError): lo...
diff --git a/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt b/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt new file mode 100644 --- /dev/null +++ b/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt @@ -0,0 +1,86 @@ +1~un +2~dos ...
1.0
NVIDIA__NeMo-7582
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from p...
NVIDIA/NeMo
8a892b86186dbdf61803d75570cb5c58471e9dda
Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from pipI, or the latest current commit with `[asr]` extras, I'm getting this error from `hydra-core==1.2.0` when tr...
Seems to be a similar to #7002 Interesting. The fix is easy but needs to be applied to basically every single place that has this constructor for our adapter configs. Let me see if I can update it. But no guarantees on how soon fixes will come in main. Looking forward to it @titu1994 ! Thanks 😃 @titu1994 I was looki...
2023-09-30T01:26:50Z
<patch> <patch> diff --git a/examples/asr/experimental/k2/align_speech_parallel.py b/examples/asr/experimental/k2/align_speech_parallel.py --- a/examples/asr/experimental/k2/align_speech_parallel.py +++ b/examples/asr/experimental/k2/align_speech_parallel.py @@ -74,7 +74,7 @@ import os -from dataclasses import dat...
diff --git a/tests/collections/asr/test_text_to_text_dataset.py b/tests/collections/asr/test_text_to_text_dataset.py --- a/tests/collections/asr/test_text_to_text_dataset.py +++ b/tests/collections/asr/test_text_to_text_dataset.py @@ -15,7 +15,7 @@ import json import multiprocessing import os -from dataclasses impor...
1.0
NVIDIA__NeMo-7616
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from p...
NVIDIA/NeMo
15db83ec4a65e649d83b61d7a4a58d911586e853
Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from pipI, or the latest current commit with `[asr]` extras, I'm getting this error from `hydra-core==1.2.0` when tr...
Seems to be a similar to #7002 Interesting. The fix is easy but needs to be applied to basically every single place that has this constructor for our adapter configs. Let me see if I can update it. But no guarantees on how soon fixes will come in main. Looking forward to it @titu1994 ! Thanks 😃 @titu1994 I was looki...
2023-10-03T19:14:38Z
<patch> <patch> diff --git a/examples/asr/experimental/k2/align_speech_parallel.py b/examples/asr/experimental/k2/align_speech_parallel.py --- a/examples/asr/experimental/k2/align_speech_parallel.py +++ b/examples/asr/experimental/k2/align_speech_parallel.py @@ -74,7 +74,7 @@ import os -from dataclasses import dat...
diff --git a/tests/collections/asr/test_text_to_text_dataset.py b/tests/collections/asr/test_text_to_text_dataset.py --- a/tests/collections/asr/test_text_to_text_dataset.py +++ b/tests/collections/asr/test_text_to_text_dataset.py @@ -15,7 +15,7 @@ import json import multiprocessing import os -from dataclasses impor...
1.0
slackapi__python-slack-events-api-71
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Passing Flask app proxy as server Hi Guys, I have an app factory on my setup and the app object usually it is invoked as : `from flask import current_app as app` However, the slackeventsapi complains abo...
slackapi/python-slack-events-api
0c0ce604b502508622fb14c278a0d64841fa32e3
Passing Flask app proxy as server Hi Guys, I have an app factory on my setup and the app object usually it is invoked as : `from flask import current_app as app` However, the slackeventsapi complains about the app object : `TypeError("Server must be an instance of Flask")` I have fixed adding the following ...
2020-06-12T06:58:10Z
<patch> <patch> diff --git a/example/current_app/main.py b/example/current_app/main.py new file mode 100644 --- /dev/null +++ b/example/current_app/main.py @@ -0,0 +1,49 @@ +# ------------------ +# Only for running this script here +import sys +from os.path import dirname +sys.path.insert(1, f"{dirname(__file__)}/../.....
diff --git a/example/current_app/test_module/__init__.py b/example/current_app/test_module/__init__.py new file mode 100644 diff --git a/example/current_app/test_module/slack_app.py b/example/current_app/test_module/slack_app.py new file mode 100644 --- /dev/null +++ b/example/current_app/test_module/slack_app.py @@ -0...
1.0
celery__celery-2598
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> CELERY_RESULT_SERIALIZER = 'json' breaks Exception marshaling Setting `CELERY_RESULT_SERIALIZER = json` and raising an exception in the worker leads to this: ``` /path/to/lib/python2.7/site-packages/celery/res...
celery/celery
6592ff64b6b024a4b68abcc53b151888fdf0dee3
CELERY_RESULT_SERIALIZER = 'json' breaks Exception marshaling Setting `CELERY_RESULT_SERIALIZER = json` and raising an exception in the worker leads to this: ``` /path/to/lib/python2.7/site-packages/celery/result.py in get(self, timeout, propagate, interval, no_ack, follow_parents, EXCEPTION_STATES, PROPAGATE_STATES) ...
This is biting me as well. Any news?
2015-04-29T14:52:17Z
<patch> <patch> diff --git a/celery/backends/amqp.py b/celery/backends/amqp.py --- a/celery/backends/amqp.py +++ b/celery/backends/amqp.py @@ -195,7 +195,7 @@ def drain_events(self, connection, consumer, def callback(meta, message): if meta['status'] in states.READY_STATES: - resu...
diff --git a/celery/tests/backends/test_amqp.py b/celery/tests/backends/test_amqp.py --- a/celery/tests/backends/test_amqp.py +++ b/celery/tests/backends/test_amqp.py @@ -13,6 +13,7 @@ from celery.backends.amqp import AMQPBackend from celery.exceptions import TimeoutError from celery.five import Empty, Queue, range ...
1.0
celery__celery-2840
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Message being acknowledged on WorkerLostError when CELERY_ACKS_LATE=True When using celery v3.0.24, with `CELERY_ACKS_LATE = True` , if the OOM killer kills the celery worker, then the worker acknowledges the m...
celery/celery
045b52f1450d6d5cc500e0057a4b498250dc5692
Message being acknowledged on WorkerLostError when CELERY_ACKS_LATE=True When using celery v3.0.24, with `CELERY_ACKS_LATE = True` , if the OOM killer kills the celery worker, then the worker acknowledges the message. As per [this](https://github.com/celery/celery/commit/e810420c) commit. The `exc_info.internal` comes ...
This is deliberate as if a task is killed it may mean that the next invocation will also cause the same to happen. If the task is redelivered it may cause a loop where the same conditions occur again and again. Also, sadly you cannot distinguish processes killed by OOM from processes killed by other means, and if an ...
2015-10-06T05:34:34Z
<patch> <patch> diff --git a/celery/app/defaults.py b/celery/app/defaults.py --- a/celery/app/defaults.py +++ b/celery/app/defaults.py @@ -132,6 +132,7 @@ def __repr__(self): 'REDIS_DB': Option(type='int', **_REDIS_OLD), 'REDIS_PASSWORD': Option(type='string', **_REDIS_OLD), 'REDIS_MAX_CONNEC...
diff --git a/celery/tests/worker/test_request.py b/celery/tests/worker/test_request.py --- a/celery/tests/worker/test_request.py +++ b/celery/tests/worker/test_request.py @@ -325,6 +325,20 @@ def test_on_failure_Reject_rejects_with_requeue(self): req_logger, req.connection_errors, True, ) + d...
1.0
NVIDIA__NeMo-473
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Jasper Encoder Export failed The export of Jasper Encoder is failing. I am using the core API [deployment_export](https://nvidia.github.io/NeMo/api-docs/nemo.html#nemo.core.neural_factory.NeuralModuleFactory.de...
NVIDIA/NeMo
ba4616f1f011d599de87f0cb3315605e715d402a
Jasper Encoder Export failed The export of Jasper Encoder is failing. I am using the core API [deployment_export](https://nvidia.github.io/NeMo/api-docs/nemo.html#nemo.core.neural_factory.NeuralModuleFactory.deployment_export) like in the script: https://github.com/NVIDIA/NeMo/blob/403238f82d26879ba5fca53fbf75b3cdc70f...
2020-03-10T03:03:23Z
<patch> <patch> diff --git a/nemo/backends/pytorch/actions.py b/nemo/backends/pytorch/actions.py --- a/nemo/backends/pytorch/actions.py +++ b/nemo/backends/pytorch/actions.py @@ -937,26 +937,16 @@ def __extract_dynamic_axes(port_name: str, ntype: NeuralType, dynamic_axes: defa if axis.kind == AxisK...
diff --git a/tests/unit/core/test_deploy_export.py b/tests/unit/core/test_deploy_export.py --- a/tests/unit/core/test_deploy_export.py +++ b/tests/unit/core/test_deploy_export.py @@ -46,9 +46,11 @@ import nemo.collections.nlp.nm.trainables.common.token_classification_nm from nemo import logging +TRT_ONNX_DISABLED =...
1.0
NVIDIA__NeMo-3632
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> ./reinstall.sh crashes due to not being able to uninstall llvmlite Starting off of `nemo:1.5.1` container, cloning the NeMo repo to a folder inside of it and calling `./reinstall.sh` fails with ``` ERROR: Can...
NVIDIA/NeMo
022f0292aecbc98d591d49423d5045235394f793
./reinstall.sh crashes due to not being able to uninstall llvmlite Starting off of `nemo:1.5.1` container, cloning the NeMo repo to a folder inside of it and calling `./reinstall.sh` fails with ``` ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which fi...
2022-02-09T05:12:31Z
<patch> <patch> diff --git a/nemo_text_processing/text_normalization/__init__.py b/nemo_text_processing/text_normalization/__init__.py --- a/nemo_text_processing/text_normalization/__init__.py +++ b/nemo_text_processing/text_normalization/__init__.py @@ -21,7 +21,7 @@ except (ModuleNotFoundError, ImportError): lo...
diff --git a/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt b/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt new file mode 100644 --- /dev/null +++ b/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt @@ -0,0 +1,86 @@ +1~un +2~dos ...
1.0
NVIDIA__NeMo-7582
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from p...
NVIDIA/NeMo
8a892b86186dbdf61803d75570cb5c58471e9dda
Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from pipI, or the latest current commit with `[asr]` extras, I'm getting this error from `hydra-core==1.2.0` when tr...
Seems to be a similar to #7002 Interesting. The fix is easy but needs to be applied to basically every single place that has this constructor for our adapter configs. Let me see if I can update it. But no guarantees on how soon fixes will come in main. Looking forward to it @titu1994 ! Thanks 😃 @titu1994 I was looki...
2023-09-30T01:26:50Z
<patch> <patch> diff --git a/examples/asr/experimental/k2/align_speech_parallel.py b/examples/asr/experimental/k2/align_speech_parallel.py --- a/examples/asr/experimental/k2/align_speech_parallel.py +++ b/examples/asr/experimental/k2/align_speech_parallel.py @@ -74,7 +74,7 @@ import os -from dataclasses import dat...
diff --git a/tests/collections/asr/test_text_to_text_dataset.py b/tests/collections/asr/test_text_to_text_dataset.py --- a/tests/collections/asr/test_text_to_text_dataset.py +++ b/tests/collections/asr/test_text_to_text_dataset.py @@ -15,7 +15,7 @@ import json import multiprocessing import os -from dataclasses impor...
1.0
NVIDIA__NeMo-7616
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from p...
NVIDIA/NeMo
15db83ec4a65e649d83b61d7a4a58d911586e853
Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from pipI, or the latest current commit with `[asr]` extras, I'm getting this error from `hydra-core==1.2.0` when tr...
Seems to be a similar to #7002 Interesting. The fix is easy but needs to be applied to basically every single place that has this constructor for our adapter configs. Let me see if I can update it. But no guarantees on how soon fixes will come in main. Looking forward to it @titu1994 ! Thanks 😃 @titu1994 I was looki...
2023-10-03T19:14:38Z
<patch> <patch> diff --git a/examples/asr/experimental/k2/align_speech_parallel.py b/examples/asr/experimental/k2/align_speech_parallel.py --- a/examples/asr/experimental/k2/align_speech_parallel.py +++ b/examples/asr/experimental/k2/align_speech_parallel.py @@ -74,7 +74,7 @@ import os -from dataclasses import dat...
diff --git a/tests/collections/asr/test_text_to_text_dataset.py b/tests/collections/asr/test_text_to_text_dataset.py --- a/tests/collections/asr/test_text_to_text_dataset.py +++ b/tests/collections/asr/test_text_to_text_dataset.py @@ -15,7 +15,7 @@ import json import multiprocessing import os -from dataclasses impor...
1.0
slackapi__python-slack-events-api-71
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Passing Flask app proxy as server Hi Guys, I have an app factory on my setup and the app object usually it is invoked as : `from flask import current_app as app` However, the slackeventsapi complains abo...
slackapi/python-slack-events-api
0c0ce604b502508622fb14c278a0d64841fa32e3
Passing Flask app proxy as server Hi Guys, I have an app factory on my setup and the app object usually it is invoked as : `from flask import current_app as app` However, the slackeventsapi complains about the app object : `TypeError("Server must be an instance of Flask")` I have fixed adding the following ...
2020-06-12T06:58:10Z
<patch> <patch> diff --git a/example/current_app/main.py b/example/current_app/main.py new file mode 100644 --- /dev/null +++ b/example/current_app/main.py @@ -0,0 +1,49 @@ +# ------------------ +# Only for running this script here +import sys +from os.path import dirname +sys.path.insert(1, f"{dirname(__file__)}/../.....
diff --git a/example/current_app/test_module/__init__.py b/example/current_app/test_module/__init__.py new file mode 100644 diff --git a/example/current_app/test_module/slack_app.py b/example/current_app/test_module/slack_app.py new file mode 100644 --- /dev/null +++ b/example/current_app/test_module/slack_app.py @@ -0...
1.0
celery__celery-2598
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> CELERY_RESULT_SERIALIZER = 'json' breaks Exception marshaling Setting `CELERY_RESULT_SERIALIZER = json` and raising an exception in the worker leads to this: ``` /path/to/lib/python2.7/site-packages/celery/res...
celery/celery
6592ff64b6b024a4b68abcc53b151888fdf0dee3
CELERY_RESULT_SERIALIZER = 'json' breaks Exception marshaling Setting `CELERY_RESULT_SERIALIZER = json` and raising an exception in the worker leads to this: ``` /path/to/lib/python2.7/site-packages/celery/result.py in get(self, timeout, propagate, interval, no_ack, follow_parents, EXCEPTION_STATES, PROPAGATE_STATES) ...
This is biting me as well. Any news?
2015-04-29T14:52:17Z
<patch> <patch> diff --git a/celery/backends/amqp.py b/celery/backends/amqp.py --- a/celery/backends/amqp.py +++ b/celery/backends/amqp.py @@ -195,7 +195,7 @@ def drain_events(self, connection, consumer, def callback(meta, message): if meta['status'] in states.READY_STATES: - resu...
diff --git a/celery/tests/backends/test_amqp.py b/celery/tests/backends/test_amqp.py --- a/celery/tests/backends/test_amqp.py +++ b/celery/tests/backends/test_amqp.py @@ -13,6 +13,7 @@ from celery.backends.amqp import AMQPBackend from celery.exceptions import TimeoutError from celery.five import Empty, Queue, range ...
1.0
celery__celery-2840
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Message being acknowledged on WorkerLostError when CELERY_ACKS_LATE=True When using celery v3.0.24, with `CELERY_ACKS_LATE = True` , if the OOM killer kills the celery worker, then the worker acknowledges the m...
celery/celery
045b52f1450d6d5cc500e0057a4b498250dc5692
Message being acknowledged on WorkerLostError when CELERY_ACKS_LATE=True When using celery v3.0.24, with `CELERY_ACKS_LATE = True` , if the OOM killer kills the celery worker, then the worker acknowledges the message. As per [this](https://github.com/celery/celery/commit/e810420c) commit. The `exc_info.internal` comes ...
This is deliberate as if a task is killed it may mean that the next invocation will also cause the same to happen. If the task is redelivered it may cause a loop where the same conditions occur again and again. Also, sadly you cannot distinguish processes killed by OOM from processes killed by other means, and if an ...
2015-10-06T05:34:34Z
<patch> <patch> diff --git a/celery/app/defaults.py b/celery/app/defaults.py --- a/celery/app/defaults.py +++ b/celery/app/defaults.py @@ -132,6 +132,7 @@ def __repr__(self): 'REDIS_DB': Option(type='int', **_REDIS_OLD), 'REDIS_PASSWORD': Option(type='string', **_REDIS_OLD), 'REDIS_MAX_CONNEC...
diff --git a/celery/tests/worker/test_request.py b/celery/tests/worker/test_request.py --- a/celery/tests/worker/test_request.py +++ b/celery/tests/worker/test_request.py @@ -325,6 +325,20 @@ def test_on_failure_Reject_rejects_with_requeue(self): req_logger, req.connection_errors, True, ) + d...
1.0
NVIDIA__NeMo-473
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Jasper Encoder Export failed The export of Jasper Encoder is failing. I am using the core API [deployment_export](https://nvidia.github.io/NeMo/api-docs/nemo.html#nemo.core.neural_factory.NeuralModuleFactory.de...
NVIDIA/NeMo
ba4616f1f011d599de87f0cb3315605e715d402a
Jasper Encoder Export failed The export of Jasper Encoder is failing. I am using the core API [deployment_export](https://nvidia.github.io/NeMo/api-docs/nemo.html#nemo.core.neural_factory.NeuralModuleFactory.deployment_export) like in the script: https://github.com/NVIDIA/NeMo/blob/403238f82d26879ba5fca53fbf75b3cdc70f...
2020-03-10T03:03:23Z
<patch> <patch> diff --git a/nemo/backends/pytorch/actions.py b/nemo/backends/pytorch/actions.py --- a/nemo/backends/pytorch/actions.py +++ b/nemo/backends/pytorch/actions.py @@ -937,26 +937,16 @@ def __extract_dynamic_axes(port_name: str, ntype: NeuralType, dynamic_axes: defa if axis.kind == AxisK...
diff --git a/tests/unit/core/test_deploy_export.py b/tests/unit/core/test_deploy_export.py --- a/tests/unit/core/test_deploy_export.py +++ b/tests/unit/core/test_deploy_export.py @@ -46,9 +46,11 @@ import nemo.collections.nlp.nm.trainables.common.token_classification_nm from nemo import logging +TRT_ONNX_DISABLED =...
1.0
NVIDIA__NeMo-3632
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> ./reinstall.sh crashes due to not being able to uninstall llvmlite Starting off of `nemo:1.5.1` container, cloning the NeMo repo to a folder inside of it and calling `./reinstall.sh` fails with ``` ERROR: Can...
NVIDIA/NeMo
022f0292aecbc98d591d49423d5045235394f793
./reinstall.sh crashes due to not being able to uninstall llvmlite Starting off of `nemo:1.5.1` container, cloning the NeMo repo to a folder inside of it and calling `./reinstall.sh` fails with ``` ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which fi...
2022-02-09T05:12:31Z
<patch> <patch> diff --git a/nemo_text_processing/text_normalization/__init__.py b/nemo_text_processing/text_normalization/__init__.py --- a/nemo_text_processing/text_normalization/__init__.py +++ b/nemo_text_processing/text_normalization/__init__.py @@ -21,7 +21,7 @@ except (ModuleNotFoundError, ImportError): lo...
diff --git a/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt b/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt new file mode 100644 --- /dev/null +++ b/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt @@ -0,0 +1,86 @@ +1~un +2~dos ...
1.0
NVIDIA__NeMo-7582
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from p...
NVIDIA/NeMo
8a892b86186dbdf61803d75570cb5c58471e9dda
Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from pipI, or the latest current commit with `[asr]` extras, I'm getting this error from `hydra-core==1.2.0` when tr...
Seems to be a similar to #7002 Interesting. The fix is easy but needs to be applied to basically every single place that has this constructor for our adapter configs. Let me see if I can update it. But no guarantees on how soon fixes will come in main. Looking forward to it @titu1994 ! Thanks 😃 @titu1994 I was looki...
2023-09-30T01:26:50Z
<patch> <patch> diff --git a/examples/asr/experimental/k2/align_speech_parallel.py b/examples/asr/experimental/k2/align_speech_parallel.py --- a/examples/asr/experimental/k2/align_speech_parallel.py +++ b/examples/asr/experimental/k2/align_speech_parallel.py @@ -74,7 +74,7 @@ import os -from dataclasses import dat...
diff --git a/tests/collections/asr/test_text_to_text_dataset.py b/tests/collections/asr/test_text_to_text_dataset.py --- a/tests/collections/asr/test_text_to_text_dataset.py +++ b/tests/collections/asr/test_text_to_text_dataset.py @@ -15,7 +15,7 @@ import json import multiprocessing import os -from dataclasses impor...
1.0
NVIDIA__NeMo-7616
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from p...
NVIDIA/NeMo
15db83ec4a65e649d83b61d7a4a58d911586e853
Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from pipI, or the latest current commit with `[asr]` extras, I'm getting this error from `hydra-core==1.2.0` when tr...
Seems to be a similar to #7002 Interesting. The fix is easy but needs to be applied to basically every single place that has this constructor for our adapter configs. Let me see if I can update it. But no guarantees on how soon fixes will come in main. Looking forward to it @titu1994 ! Thanks 😃 @titu1994 I was looki...
2023-10-03T19:14:38Z
<patch> <patch> diff --git a/examples/asr/experimental/k2/align_speech_parallel.py b/examples/asr/experimental/k2/align_speech_parallel.py --- a/examples/asr/experimental/k2/align_speech_parallel.py +++ b/examples/asr/experimental/k2/align_speech_parallel.py @@ -74,7 +74,7 @@ import os -from dataclasses import dat...
diff --git a/tests/collections/asr/test_text_to_text_dataset.py b/tests/collections/asr/test_text_to_text_dataset.py --- a/tests/collections/asr/test_text_to_text_dataset.py +++ b/tests/collections/asr/test_text_to_text_dataset.py @@ -15,7 +15,7 @@ import json import multiprocessing import os -from dataclasses impor...
1.0
slackapi__python-slack-events-api-71
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Passing Flask app proxy as server Hi Guys, I have an app factory on my setup and the app object usually it is invoked as : `from flask import current_app as app` However, the slackeventsapi complains abo...
slackapi/python-slack-events-api
0c0ce604b502508622fb14c278a0d64841fa32e3
Passing Flask app proxy as server Hi Guys, I have an app factory on my setup and the app object usually it is invoked as : `from flask import current_app as app` However, the slackeventsapi complains about the app object : `TypeError("Server must be an instance of Flask")` I have fixed adding the following ...
2020-06-12T06:58:10Z
<patch> <patch> diff --git a/example/current_app/main.py b/example/current_app/main.py new file mode 100644 --- /dev/null +++ b/example/current_app/main.py @@ -0,0 +1,49 @@ +# ------------------ +# Only for running this script here +import sys +from os.path import dirname +sys.path.insert(1, f"{dirname(__file__)}/../.....
diff --git a/example/current_app/test_module/__init__.py b/example/current_app/test_module/__init__.py new file mode 100644 diff --git a/example/current_app/test_module/slack_app.py b/example/current_app/test_module/slack_app.py new file mode 100644 --- /dev/null +++ b/example/current_app/test_module/slack_app.py @@ -0...
1.0
celery__celery-2598
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> CELERY_RESULT_SERIALIZER = 'json' breaks Exception marshaling Setting `CELERY_RESULT_SERIALIZER = json` and raising an exception in the worker leads to this: ``` /path/to/lib/python2.7/site-packages/celery/res...
celery/celery
6592ff64b6b024a4b68abcc53b151888fdf0dee3
CELERY_RESULT_SERIALIZER = 'json' breaks Exception marshaling Setting `CELERY_RESULT_SERIALIZER = json` and raising an exception in the worker leads to this: ``` /path/to/lib/python2.7/site-packages/celery/result.py in get(self, timeout, propagate, interval, no_ack, follow_parents, EXCEPTION_STATES, PROPAGATE_STATES) ...
This is biting me as well. Any news?
2015-04-29T14:52:17Z
<patch> <patch> diff --git a/celery/backends/amqp.py b/celery/backends/amqp.py --- a/celery/backends/amqp.py +++ b/celery/backends/amqp.py @@ -195,7 +195,7 @@ def drain_events(self, connection, consumer, def callback(meta, message): if meta['status'] in states.READY_STATES: - resu...
diff --git a/celery/tests/backends/test_amqp.py b/celery/tests/backends/test_amqp.py --- a/celery/tests/backends/test_amqp.py +++ b/celery/tests/backends/test_amqp.py @@ -13,6 +13,7 @@ from celery.backends.amqp import AMQPBackend from celery.exceptions import TimeoutError from celery.five import Empty, Queue, range ...
1.0
celery__celery-2840
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Message being acknowledged on WorkerLostError when CELERY_ACKS_LATE=True When using celery v3.0.24, with `CELERY_ACKS_LATE = True` , if the OOM killer kills the celery worker, then the worker acknowledges the m...
celery/celery
045b52f1450d6d5cc500e0057a4b498250dc5692
Message being acknowledged on WorkerLostError when CELERY_ACKS_LATE=True When using celery v3.0.24, with `CELERY_ACKS_LATE = True` , if the OOM killer kills the celery worker, then the worker acknowledges the message. As per [this](https://github.com/celery/celery/commit/e810420c) commit. The `exc_info.internal` comes ...
This is deliberate as if a task is killed it may mean that the next invocation will also cause the same to happen. If the task is redelivered it may cause a loop where the same conditions occur again and again. Also, sadly you cannot distinguish processes killed by OOM from processes killed by other means, and if an ...
2015-10-06T05:34:34Z
<patch> <patch> diff --git a/celery/app/defaults.py b/celery/app/defaults.py --- a/celery/app/defaults.py +++ b/celery/app/defaults.py @@ -132,6 +132,7 @@ def __repr__(self): 'REDIS_DB': Option(type='int', **_REDIS_OLD), 'REDIS_PASSWORD': Option(type='string', **_REDIS_OLD), 'REDIS_MAX_CONNEC...
diff --git a/celery/tests/worker/test_request.py b/celery/tests/worker/test_request.py --- a/celery/tests/worker/test_request.py +++ b/celery/tests/worker/test_request.py @@ -325,6 +325,20 @@ def test_on_failure_Reject_rejects_with_requeue(self): req_logger, req.connection_errors, True, ) + d...
1.0
NVIDIA__NeMo-473
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Jasper Encoder Export failed The export of Jasper Encoder is failing. I am using the core API [deployment_export](https://nvidia.github.io/NeMo/api-docs/nemo.html#nemo.core.neural_factory.NeuralModuleFactory.de...
NVIDIA/NeMo
ba4616f1f011d599de87f0cb3315605e715d402a
Jasper Encoder Export failed The export of Jasper Encoder is failing. I am using the core API [deployment_export](https://nvidia.github.io/NeMo/api-docs/nemo.html#nemo.core.neural_factory.NeuralModuleFactory.deployment_export) like in the script: https://github.com/NVIDIA/NeMo/blob/403238f82d26879ba5fca53fbf75b3cdc70f...
2020-03-10T03:03:23Z
<patch> <patch> diff --git a/nemo/backends/pytorch/actions.py b/nemo/backends/pytorch/actions.py --- a/nemo/backends/pytorch/actions.py +++ b/nemo/backends/pytorch/actions.py @@ -937,26 +937,16 @@ def __extract_dynamic_axes(port_name: str, ntype: NeuralType, dynamic_axes: defa if axis.kind == AxisK...
diff --git a/tests/unit/core/test_deploy_export.py b/tests/unit/core/test_deploy_export.py --- a/tests/unit/core/test_deploy_export.py +++ b/tests/unit/core/test_deploy_export.py @@ -46,9 +46,11 @@ import nemo.collections.nlp.nm.trainables.common.token_classification_nm from nemo import logging +TRT_ONNX_DISABLED =...
1.0
NVIDIA__NeMo-3632
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> ./reinstall.sh crashes due to not being able to uninstall llvmlite Starting off of `nemo:1.5.1` container, cloning the NeMo repo to a folder inside of it and calling `./reinstall.sh` fails with ``` ERROR: Can...
NVIDIA/NeMo
022f0292aecbc98d591d49423d5045235394f793
./reinstall.sh crashes due to not being able to uninstall llvmlite Starting off of `nemo:1.5.1` container, cloning the NeMo repo to a folder inside of it and calling `./reinstall.sh` fails with ``` ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which fi...
2022-02-09T05:12:31Z
<patch> <patch> diff --git a/nemo_text_processing/text_normalization/__init__.py b/nemo_text_processing/text_normalization/__init__.py --- a/nemo_text_processing/text_normalization/__init__.py +++ b/nemo_text_processing/text_normalization/__init__.py @@ -21,7 +21,7 @@ except (ModuleNotFoundError, ImportError): lo...
diff --git a/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt b/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt new file mode 100644 --- /dev/null +++ b/tests/nemo_text_processing/es/data_text_normalization/test_cases_cardinal.txt @@ -0,0 +1,86 @@ +1~un +2~dos ...
1.0
NVIDIA__NeMo-7582
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from p...
NVIDIA/NeMo
8a892b86186dbdf61803d75570cb5c58471e9dda
Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from pipI, or the latest current commit with `[asr]` extras, I'm getting this error from `hydra-core==1.2.0` when tr...
Seems to be a similar to #7002 Interesting. The fix is easy but needs to be applied to basically every single place that has this constructor for our adapter configs. Let me see if I can update it. But no guarantees on how soon fixes will come in main. Looking forward to it @titu1994 ! Thanks 😃 @titu1994 I was looki...
2023-09-30T01:26:50Z
<patch> <patch> diff --git a/examples/asr/experimental/k2/align_speech_parallel.py b/examples/asr/experimental/k2/align_speech_parallel.py --- a/examples/asr/experimental/k2/align_speech_parallel.py +++ b/examples/asr/experimental/k2/align_speech_parallel.py @@ -74,7 +74,7 @@ import os -from dataclasses import dat...
diff --git a/tests/collections/asr/test_text_to_text_dataset.py b/tests/collections/asr/test_text_to_text_dataset.py --- a/tests/collections/asr/test_text_to_text_dataset.py +++ b/tests/collections/asr/test_text_to_text_dataset.py @@ -15,7 +15,7 @@ import json import multiprocessing import os -from dataclasses impor...
1.0
NVIDIA__NeMo-7616
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from p...
NVIDIA/NeMo
15db83ec4a65e649d83b61d7a4a58d911586e853
Ubuntu 22.04 Python 3.11 [asr]: multiple errors `dataclasses ValueError: mutable default * for field * is not allowed: use default_factory` **Describe the bug** After installing latest stable `1.19.1` from pipI, or the latest current commit with `[asr]` extras, I'm getting this error from `hydra-core==1.2.0` when tr...
Seems to be a similar to #7002 Interesting. The fix is easy but needs to be applied to basically every single place that has this constructor for our adapter configs. Let me see if I can update it. But no guarantees on how soon fixes will come in main. Looking forward to it @titu1994 ! Thanks 😃 @titu1994 I was looki...
2023-10-03T19:14:38Z
<patch> <patch> diff --git a/examples/asr/experimental/k2/align_speech_parallel.py b/examples/asr/experimental/k2/align_speech_parallel.py --- a/examples/asr/experimental/k2/align_speech_parallel.py +++ b/examples/asr/experimental/k2/align_speech_parallel.py @@ -74,7 +74,7 @@ import os -from dataclasses import dat...
diff --git a/tests/collections/asr/test_text_to_text_dataset.py b/tests/collections/asr/test_text_to_text_dataset.py --- a/tests/collections/asr/test_text_to_text_dataset.py +++ b/tests/collections/asr/test_text_to_text_dataset.py @@ -15,7 +15,7 @@ import json import multiprocessing import os -from dataclasses impor...
1.0
slackapi__python-slack-events-api-71
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Passing Flask app proxy as server Hi Guys, I have an app factory on my setup and the app object usually it is invoked as : `from flask import current_app as app` However, the slackeventsapi complains abo...
slackapi/python-slack-events-api
0c0ce604b502508622fb14c278a0d64841fa32e3
Passing Flask app proxy as server Hi Guys, I have an app factory on my setup and the app object usually it is invoked as : `from flask import current_app as app` However, the slackeventsapi complains about the app object : `TypeError("Server must be an instance of Flask")` I have fixed adding the following ...
2020-06-12T06:58:10Z
<patch> <patch> diff --git a/example/current_app/main.py b/example/current_app/main.py new file mode 100644 --- /dev/null +++ b/example/current_app/main.py @@ -0,0 +1,49 @@ +# ------------------ +# Only for running this script here +import sys +from os.path import dirname +sys.path.insert(1, f"{dirname(__file__)}/../.....
diff --git a/example/current_app/test_module/__init__.py b/example/current_app/test_module/__init__.py new file mode 100644 diff --git a/example/current_app/test_module/slack_app.py b/example/current_app/test_module/slack_app.py new file mode 100644 --- /dev/null +++ b/example/current_app/test_module/slack_app.py @@ -0...
1.0
celery__celery-2598
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> CELERY_RESULT_SERIALIZER = 'json' breaks Exception marshaling Setting `CELERY_RESULT_SERIALIZER = json` and raising an exception in the worker leads to this: ``` /path/to/lib/python2.7/site-packages/celery/res...
celery/celery
6592ff64b6b024a4b68abcc53b151888fdf0dee3
CELERY_RESULT_SERIALIZER = 'json' breaks Exception marshaling Setting `CELERY_RESULT_SERIALIZER = json` and raising an exception in the worker leads to this: ``` /path/to/lib/python2.7/site-packages/celery/result.py in get(self, timeout, propagate, interval, no_ack, follow_parents, EXCEPTION_STATES, PROPAGATE_STATES) ...
This is biting me as well. Any news?
2015-04-29T14:52:17Z
<patch> <patch> diff --git a/celery/backends/amqp.py b/celery/backends/amqp.py --- a/celery/backends/amqp.py +++ b/celery/backends/amqp.py @@ -195,7 +195,7 @@ def drain_events(self, connection, consumer, def callback(meta, message): if meta['status'] in states.READY_STATES: - resu...
diff --git a/celery/tests/backends/test_amqp.py b/celery/tests/backends/test_amqp.py --- a/celery/tests/backends/test_amqp.py +++ b/celery/tests/backends/test_amqp.py @@ -13,6 +13,7 @@ from celery.backends.amqp import AMQPBackend from celery.exceptions import TimeoutError from celery.five import Empty, Queue, range ...
1.0