title stringlengths 2 169 | diff stringlengths 235 19.5k | body stringlengths 0 30.5k | url stringlengths 48 84 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 | updated_at stringlengths 20 20 | diff_len float64 101 3.99k | repo_name stringclasses 83
values | __index_level_0__ int64 15 52.7k |
|---|---|---|---|---|---|---|---|---|---|---|
Update README.md | diff --git a/README.md b/README.md
index 59ad89f322..03df132675 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Written by [@xtekky](https://github.com/hlohaus) & maintained by [@hlohaus](http
> By using this repository or any code related to it, you agree to the [legal notice](LEGAL_NOTICE.md). The author is *... | https://api.github.com/repos/xtekky/gpt4free/pulls/1636 | 2024-02-26T11:15:26Z | 2024-02-28T08:49:20Z | 2024-02-28T08:49:20Z | 2024-02-29T11:08:44Z | 1,203 | xtekky/gpt4free | 38,045 | |
ratesapi.io bought by apilayer, shut down / merged | diff --git a/README.md b/README.md
index d777d6a27f..cc1d033233 100644
--- a/README.md
+++ b/README.md
@@ -251,7 +251,6 @@ API | Description | Auth | HTTPS | CORS |
| [Exchangeratesapi.io](https://exchangeratesapi.io) | Exchange rates with currency conversion | `apiKey` | Yes | Yes |
| [Frankfurter](https://www.frank... | It was a good run since #902, but no longer.
<!-- Thank you for taking the time to work on a Pull Request for this project! -->
<!-- To ensure your PR is dealt with swiftly please check the following: -->
- [x] My submission is formatted according to the guidelines in the [contributing guide](CONTRIBUTING.md)
- [... | https://api.github.com/repos/public-apis/public-apis/pulls/1750 | 2021-05-27T19:49:49Z | 2021-05-28T00:48:10Z | 2021-05-28T00:48:10Z | 2021-05-28T01:23:31Z | 237 | public-apis/public-apis | 36,008 |
TF: T5 can now handle a padded past (i.e. XLA generation) | diff --git a/src/transformers/models/t5/modeling_tf_t5.py b/src/transformers/models/t5/modeling_tf_t5.py
index 5c8aec875b55d..2eebdfd1cb60e 100644
--- a/src/transformers/models/t5/modeling_tf_t5.py
+++ b/src/transformers/models/t5/modeling_tf_t5.py
@@ -23,6 +23,7 @@
import numpy as np
import tensorflow as tf
+from ... | # What does this PR do?
In TF T5, we now fetch the correct slice of `position_bias` -- [the same way we do it in FLAX](https://github.com/huggingface/transformers/blob/main/src/transformers/models/t5/modeling_flax_t5.py#L339). The key difference is that FLAX relies on an [external variable](https://github.com/huggin... | https://api.github.com/repos/huggingface/transformers/pulls/17969 | 2022-06-30T18:25:04Z | 2022-07-04T18:47:44Z | 2022-07-04T18:47:44Z | 2022-07-04T18:59:19Z | 844 | huggingface/transformers | 12,827 |
Add patch_config(configurable=) arg, make with_config(configurable=) merge it with existing | diff --git a/libs/langchain/langchain/schema/runnable/base.py b/libs/langchain/langchain/schema/runnable/base.py
index 612e19d2c70b14..afce1201e184cd 100644
--- a/libs/langchain/langchain/schema/runnable/base.py
+++ b/libs/langchain/langchain/schema/runnable/base.py
@@ -2253,30 +2253,32 @@ def _invoke(
inputs:... |
<!-- Thank you for contributing to LangChain!
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixes (if applicable),
- **Dependencies:** any dependencies required for this change,
- **Tag maintainer:** for a quicker response, tag the rele... | https://api.github.com/repos/langchain-ai/langchain/pulls/11662 | 2023-10-11T13:27:23Z | 2023-10-11T13:45:32Z | 2023-10-11T13:45:32Z | 2023-10-11T13:45:33Z | 815 | langchain-ai/langchain | 43,362 |
Test order randomization | diff --git a/tests/behavioral/test_command.py b/tests/behavioral/test_command.py
deleted file mode 100644
index fbee1059..00000000
--- a/tests/behavioral/test_command.py
+++ /dev/null
@@ -1,57 +0,0 @@
-import os
-import shutil
-import unittest
-from patterns.behavioral.command import MoveFileCommand
-
-
-class CommandT... | - without these changes test suite sometimes depends on tests ordering (bad practice in general)
- deleted tests are fully covered in script's doctests
- rewrote in pytest style | https://api.github.com/repos/faif/python-patterns/pulls/319 | 2020-01-08T15:54:07Z | 2020-01-11T23:38:58Z | 2020-01-11T23:38:58Z | 2020-01-11T23:38:58Z | 2,165 | faif/python-patterns | 33,505 |
separate Extra options | diff --git a/extensions-builtin/extra-options-section/scripts/extra_options_section.py b/extensions-builtin/extra-options-section/scripts/extra_options_section.py
index 588b64d2386..983f87ff033 100644
--- a/extensions-builtin/extra-options-section/scripts/extra_options_section.py
+++ b/extensions-builtin/extra-options-... | ## Description
separate extra options for txt2img and img2img
note I did not inherit the old settings maybe we should
## Screenshots/videos:
settings

txt2img
 - An online tool to generate boilerplate machine learning code that uses scikit-learn.
* [Flyte](https://flyte.org/) - Flyte makes it easy to create concurre... | Hello,
It's a great list. I wanted to put MLEM into this list, because data community would like it. Thank you for considering it. 🚀
Best, | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/881 | 2022-09-05T14:23:56Z | 2022-09-09T16:55:12Z | 2022-09-09T16:55:12Z | 2022-09-09T16:55:12Z | 193 | josephmisiti/awesome-machine-learning | 51,853 |
Add settings UI for llama.cpp and fixed reloading of llama.cpp models | diff --git a/modules/llamacpp_model.py b/modules/llamacpp_model.py
index fa8c304564..65577ee0cf 100644
--- a/modules/llamacpp_model.py
+++ b/modules/llamacpp_model.py
@@ -16,6 +16,9 @@ class LlamaCppModel:
def __init__(self):
self.initialized = False
+ def __del__(self):
+ self.model._... | I added settings for llama.cpp models to the UI tab.
I also fixed unloading and reloading of llama.cpp models, previously it didnt free the memory. Unfortunately it releases only RAM but not VRAM (when using offloading to GPU) because [llama.cpp library doesn't release the memory in llama_free method](https://github.c... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/2087 | 2023-05-15T20:45:09Z | 2023-05-15T22:51:23Z | 2023-05-15T22:51:23Z | 2023-05-15T22:51:23Z | 691 | oobabooga/text-generation-webui | 25,949 |
Add Grafana Mimir and Tempo | diff --git a/diagrams/onprem/monitoring.py b/diagrams/onprem/monitoring.py
index 96bf95661..2423a2db8 100644
--- a/diagrams/onprem/monitoring.py
+++ b/diagrams/onprem/monitoring.py
@@ -28,6 +28,10 @@ class Humio(_Monitoring):
_icon = "humio.png"
+class Mimir(_Monitoring):
+ _icon = "mimir.png"
+
+
class Na... | Add Grafana Mimir to resources, onprem, monitoring and add Grafana Tempo to resources, onprem, tracing. | https://api.github.com/repos/mingrammer/diagrams/pulls/857 | 2023-02-22T15:07:09Z | 2023-05-22T23:32:16Z | 2023-05-22T23:32:16Z | 2023-05-22T23:32:16Z | 894 | mingrammer/diagrams | 52,601 |
moto Integration Fix (api gateway put integration response) | diff --git a/localstack/services/apigateway/apigateway_starter.py b/localstack/services/apigateway/apigateway_starter.py
index bf680b80bb87a..1caae22eb28df 100644
--- a/localstack/services/apigateway/apigateway_starter.py
+++ b/localstack/services/apigateway/apigateway_starter.py
@@ -40,7 +40,7 @@ def apigateway_models... | moto Integration Fix (api gateway put integration response) | https://api.github.com/repos/localstack/localstack/pulls/2404 | 2020-05-07T08:32:36Z | 2020-05-07T09:05:00Z | 2020-05-07T09:05:00Z | 2020-05-07T09:05:00Z | 177 | localstack/localstack | 28,751 |
Add option to avoid sending size between interfaces. | diff --git a/modules/generation_parameters_copypaste.py b/modules/generation_parameters_copypaste.py
index 44fe1a6c2dc..e8d5250a885 100644
--- a/modules/generation_parameters_copypaste.py
+++ b/modules/generation_parameters_copypaste.py
@@ -121,8 +121,7 @@ def run_bind():
if send_generate_info and paste... | Adds #5433, the option `send_size`, virtually identical to the extant `send_seed`:

In short: when `send_size` is unchecked, the relevant "Send to {tab}" buttons stop sending size between interfaces.
✓ ... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/5441 | 2022-12-05T12:35:20Z | 2022-12-10T08:07:17Z | 2022-12-10T08:07:17Z | 2022-12-10T09:24:34Z | 469 | AUTOMATIC1111/stable-diffusion-webui | 39,761 |
added a note to the api documentation about JSON_SORT_KEYS. Fixes #922 | diff --git a/docs/api.rst b/docs/api.rst
index 5faccc30aa..db55050075 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -385,6 +385,12 @@ you are using Flask 0.10 which implies that:
doSomethingWith({{ user.username|tojson|safe }});
</script>
+.. admonition:: Auto-Sort JSON Keys
+
+ The configuration v... | See #922 for the conversation and rationale.
| https://api.github.com/repos/pallets/flask/pulls/962 | 2014-01-25T01:23:30Z | 2014-02-08T16:26:27Z | 2014-02-08T16:26:27Z | 2020-11-14T06:33:21Z | 164 | pallets/flask | 20,922 |
infra: update create_api_rst | diff --git a/docs/api_reference/create_api_rst.py b/docs/api_reference/create_api_rst.py
index bd2d5a3e0b9be0..e1e976d54ee918 100644
--- a/docs/api_reference/create_api_rst.py
+++ b/docs/api_reference/create_api_rst.py
@@ -307,7 +307,14 @@ def _package_namespace(package_name: str) -> str:
def _package_dir(package_na... | https://api.github.com/repos/langchain-ai/langchain/pulls/18361 | 2024-03-01T03:02:15Z | 2024-03-01T03:04:44Z | 2024-03-01T03:04:44Z | 2024-03-01T03:04:45Z | 212 | langchain-ai/langchain | 43,325 | |
docs(website): generate missing website images | diff --git a/website/static/img/resources/elastic/agent/agent.png b/website/static/img/resources/elastic/agent/agent.png
new file mode 100644
index 000000000..f2a90e0d5
Binary files /dev/null and b/website/static/img/resources/elastic/agent/agent.png differ
diff --git a/website/static/img/resources/elastic/agent/endpoi... | autogen did not run after merging the following PR:
#782
#742
The resources was not copied in website static folder. | https://api.github.com/repos/mingrammer/diagrams/pulls/806 | 2022-12-03T08:24:02Z | 2023-01-08T08:08:43Z | 2023-01-08T08:08:43Z | 2023-01-08T08:08:43Z | 1,459 | mingrammer/diagrams | 52,609 |
Fix documentation for provider's release | diff --git a/dev/README_RELEASE_PROVIDER_PACKAGES.md b/dev/README_RELEASE_PROVIDER_PACKAGES.md
index 1b79d9beecb78..58eed39ddb2ee 100644
--- a/dev/README_RELEASE_PROVIDER_PACKAGES.md
+++ b/dev/README_RELEASE_PROVIDER_PACKAGES.md
@@ -30,13 +30,14 @@
- [Commit the source packages to Apache SVN repo](#commit-the-source... | <!--
Thank you for contributing! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
remember to adjust the documentation.
Feel free to ping committers for the review!
In case of existing issue, reference it using one of the following:
closes: #ISSUE
r... | https://api.github.com/repos/apache/airflow/pulls/14654 | 2021-03-07T23:34:29Z | 2021-03-09T20:22:37Z | 2021-03-09T20:22:37Z | 2021-03-09T20:22:38Z | 1,225 | apache/airflow | 14,882 |
fix: BigQueryVectorSearch JSON type unsupported for metadatas | diff --git a/libs/community/langchain_community/vectorstores/bigquery_vector_search.py b/libs/community/langchain_community/vectorstores/bigquery_vector_search.py
index 3c77ffb917ea4e..da89dc34c2b2f0 100644
--- a/libs/community/langchain_community/vectorstores/bigquery_vector_search.py
+++ b/libs/community/langchain_co... | Thank you for contributing to LangChain!
- [x] **PR title**: "community: fix error in BigQueryVectorSearch"
- [x] **PR message**:
- **Description:** Fixes the incorrect parsing of the metadata column
- **Issue:** The metadata column can be of type JSON or STRING [1] but the code only works for the STRI... | https://api.github.com/repos/langchain-ai/langchain/pulls/18234 | 2024-02-27T23:35:40Z | 2024-02-28T16:19:53Z | 2024-02-28T16:19:53Z | 2024-02-28T16:19:53Z | 246 | langchain-ai/langchain | 43,506 |
[release] minor fix to pytorch_pbt_failure test when using gpu. | diff --git a/python/ray/train/examples/pytorch/tune_cifar_torch_pbt_example.py b/python/ray/train/examples/pytorch/tune_cifar_torch_pbt_example.py
index 90846eb84824e..196051971129f 100644
--- a/python/ray/train/examples/pytorch/tune_cifar_torch_pbt_example.py
+++ b/python/ray/train/examples/pytorch/tune_cifar_torch_pb... | manually tested on https://console.anyscale-staging.com/o/anyscale-internal/projects/prj_qC3ZfndQWYYjx2cz8KWGNUL4/clusters/ses_wttwryzcyl6ahytbfz23vwm5fa?command-history-section=head_start_up_log
Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
<!-- Thank you for your contribution! Please review https://github.... | https://api.github.com/repos/ray-project/ray/pulls/32070 | 2023-01-30T21:15:28Z | 2023-01-31T16:22:28Z | 2023-01-31T16:22:28Z | 2023-07-26T19:51:24Z | 315 | ray-project/ray | 19,196 |
bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode | diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
index 351aba5d44d7f4..a33a6208d6b584 100644
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -571,7 +571,8 @@ def __getattr__(self, name):
raise AttributeError(name)
if not self._mock_unsafe:
if name.startswith(('assert'... |
<!-- issue-number: [bpo-24758](https://bugs.python.org/issue24758) -->
https://bugs.python.org/issue24758
<!-- /issue-number -->
| https://api.github.com/repos/python/cpython/pulls/12991 | 2019-04-28T05:59:43Z | 2019-05-08T17:32:24Z | 2019-05-08T17:32:24Z | 2019-05-08T17:32:28Z | 351 | python/cpython | 4,728 |
ansible-test - Use quay.io containers in plugins. | diff --git a/changelogs/fragments/ansible-test-container-images.yml b/changelogs/fragments/ansible-test-container-images.yml
new file mode 100644
index 00000000000000..d5913f5fb3496c
--- /dev/null
+++ b/changelogs/fragments/ansible-test-container-images.yml
@@ -0,0 +1,3 @@
+minor_changes:
+ - ansible-test - Update the... | ##### SUMMARY
ansible-test - Use quay.io containers in plugins.
##### ISSUE TYPE
Feature Pull Request
##### COMPONENT NAME
ansible-test
| https://api.github.com/repos/ansible/ansible/pulls/77058 | 2022-02-17T21:08:25Z | 2022-02-17T21:31:44Z | 2022-02-17T21:31:44Z | 2022-03-03T14:00:19Z | 597 | ansible/ansible | 48,878 |
Fix Markdown() documentation | diff --git a/rich/markdown.py b/rich/markdown.py
index 26167286b..35ac28c1c 100644
--- a/rich/markdown.py
+++ b/rich/markdown.py
@@ -399,7 +399,7 @@ class Markdown(JupyterMixin):
style (Union[str, Style], optional): Optional style to apply to markdown.
hyperlinks (bool, optional): Enable hyperlinks. D... | Quick fix for #1350
## Type of changes
- [ ] Bug fix
- [ ] New feature
- [x] Documentation / docstrings
- [ ] Tests
- [ ] Other
## Checklist
- [ ] I've run the latest [black](https://github.com/psf/black) with default args on new code.
- [ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropria... | https://api.github.com/repos/Textualize/rich/pulls/1352 | 2021-07-15T17:35:22Z | 2021-07-15T20:37:40Z | 2021-07-15T20:37:39Z | 2021-07-15T20:37:40Z | 171 | Textualize/rich | 48,341 |
Query params and secrets in app tests | diff --git a/lib/streamlit/testing/v1/app_test.py b/lib/streamlit/testing/v1/app_test.py
index b5654192c2c0..246532df3e77 100644
--- a/lib/streamlit/testing/v1/app_test.py
+++ b/lib/streamlit/testing/v1/app_test.py
@@ -22,6 +22,7 @@
import traceback
from typing import Any, Callable, Sequence
from unittest.mock impor... | Query param reading, plus somewhat hacky secrets support.
## Testing Plan
Some tests added, but secrets are undertested
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| https://api.github.com/repos/streamlit/streamlit/pulls/7561 | 2023-10-16T23:11:48Z | 2023-10-17T23:21:48Z | 2023-10-17T23:21:48Z | 2023-10-17T23:21:52Z | 966 | streamlit/streamlit | 22,108 |
Fix proxyFile regex to properly match an address with a - | diff --git a/lib/core/option.py b/lib/core/option.py
index 64722e1e276..0fcd0406fa3 100755
--- a/lib/core/option.py
+++ b/lib/core/option.py
@@ -2324,7 +2324,7 @@ def _setProxyList():
return
conf.proxyList = []
- for match in re.finditer(r"(?i)((http[^:]*|socks[^:]*)://)?([\w.]+):(\d+)", readCachedFi... | Hi!
If you have a proxy file and have some hosts with - (and it's a valid char for a domain) the regex that matches the type_, address and port doesn't works properly.
Just added the - on the regex and every thing works fine!
```
$ python test.py
Testing string: foo.bar:80 fo-o.bar:80 foo-bar.foo.bar:80 foo-... | https://api.github.com/repos/sqlmapproject/sqlmap/pulls/2401 | 2017-02-17T23:46:58Z | 2017-02-19T00:31:12Z | 2017-02-19T00:31:12Z | 2017-02-19T00:31:12Z | 201 | sqlmapproject/sqlmap | 15,085 |
Render order enforcing | diff --git a/gym/utils/env_checker.py b/gym/utils/env_checker.py
index 19e4317c719..399c5b10e27 100644
--- a/gym/utils/env_checker.py
+++ b/gym/utils/env_checker.py
@@ -388,13 +388,6 @@ def check_env(env: gym.Env, warn: bool = True, skip_render_check: bool = True) -
observation_space = env.observation_space
a... | Add render order enforcement as most gym environments cannot be visualised before render
Inspired by https://github.com/openai/gym/issues/2751
As some users may want this as a feature of their environments, I have added a setting where if the users add `disable_render_order_enforcing` to the base environment then t... | https://api.github.com/repos/openai/gym/pulls/2805 | 2022-05-06T13:25:34Z | 2022-05-18T14:07:54Z | 2022-05-18T14:07:54Z | 2022-05-18T14:07:55Z | 1,570 | openai/gym | 5,258 |
Fixed #31628 -- Updated Windows install guide to recommend venv. | diff --git a/docs/howto/windows.txt b/docs/howto/windows.txt
index c0750ab71323c..9d67bd9e5ef12 100644
--- a/docs/howto/windows.txt
+++ b/docs/howto/windows.txt
@@ -5,11 +5,10 @@ How to install Django on Windows
.. highlight:: doscon
This document will guide you through installing Python 3.7 and Django on
-Windows.... | [Ticket #31628](https://code.djangoproject.com/ticket/31628) | https://api.github.com/repos/django/django/pulls/12981 | 2020-05-26T21:15:50Z | 2020-05-27T09:18:24Z | 2020-05-27T09:18:24Z | 2020-05-27T09:43:31Z | 949 | django/django | 50,987 |
Custom api_base for GeminiPro | diff --git a/g4f/Provider/GeminiPro.py b/g4f/Provider/GeminiPro.py
index e1738dc8f0..87ded3ac39 100644
--- a/g4f/Provider/GeminiPro.py
+++ b/g4f/Provider/GeminiPro.py
@@ -13,6 +13,7 @@ class GeminiPro(AsyncGeneratorProvider, ProviderModelMixin):
url = "https://ai.google.dev"
working = True
supports_messa... | https://api.github.com/repos/xtekky/gpt4free/pulls/1630 | 2024-02-25T08:42:10Z | 2024-02-25T20:34:21Z | 2024-02-25T20:34:21Z | 2024-02-25T20:34:22Z | 2,694 | xtekky/gpt4free | 38,159 | |
[serve] Restore "Get new handle to controller if killed" (#23283) | diff --git a/dashboard/optional_utils.py b/dashboard/optional_utils.py
index d36469ffbff51..c0fd147eb59c1 100644
--- a/dashboard/optional_utils.py
+++ b/dashboard/optional_utils.py
@@ -270,6 +270,7 @@ async def decorator(self, *args, **kwargs):
if connect_to_serve:
serve.start(de... | <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your P... | https://api.github.com/repos/ray-project/ray/pulls/23338 | 2022-03-18T19:22:02Z | 2022-03-18T23:40:09Z | 2022-03-18T23:40:09Z | 2022-03-18T23:40:09Z | 1,794 | ray-project/ray | 19,138 |
Prepare 2.7.3 release | diff --git a/paddleocr.py b/paddleocr.py
index 0619300c88..8e4359df50 100644
--- a/paddleocr.py
+++ b/paddleocr.py
@@ -59,7 +59,7 @@ def _import_file(module_name, file_path, make_importable=False):
]
SUPPORT_DET_MODEL = ['DB']
-VERSION = '2.7.2'
+VERSION = '2.7.3'
SUPPORT_REC_MODEL = ['CRNN', 'SVTR_LCNet']
BASE_D... | cherry-pick #11820 and bump version to 2.7.3 | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/11826 | 2024-03-28T03:42:28Z | 2024-03-28T03:43:15Z | 2024-03-28T03:43:15Z | 2024-03-28T03:43:15Z | 423 | PaddlePaddle/PaddleOCR | 42,723 |
Fixed #34424 -- Fixed SelectDateWidget crash for inputs raising OverflowError. | diff --git a/django/forms/widgets.py b/django/forms/widgets.py
index 842b73e95c4aa..3d6091c250525 100644
--- a/django/forms/widgets.py
+++ b/django/forms/widgets.py
@@ -1161,6 +1161,8 @@ def value_from_datadict(self, data, files, name):
# Return pseudo-ISO dates with zeros for any unselected values,
... | https://code.djangoproject.com/ticket/34424 | https://api.github.com/repos/django/django/pulls/16667 | 2023-03-20T21:32:53Z | 2023-03-22T07:33:05Z | 2023-03-22T07:33:04Z | 2023-03-22T07:33:05Z | 744 | django/django | 51,170 |
set adamw_mode default true (follows FusedAdam and < 0.3.11 logic) | diff --git a/deepspeed/ops/adam/cpu_adam.py b/deepspeed/ops/adam/cpu_adam.py
index 2b1be7e53de2..7977d232b1fa 100755
--- a/deepspeed/ops/adam/cpu_adam.py
+++ b/deepspeed/ops/adam/cpu_adam.py
@@ -74,7 +74,7 @@ def __init__(self,
self.opt_id = DeepSpeedCPUAdam.optimizer_id
DeepSpeedCPUAdam.optimizer... | Was going to also update our docs related to this but noticed they are currently indicating this behavior anyway.

The user can explicitly set adam_w_mode=false if they truly want pure adam logic. | https://api.github.com/repos/microsoft/DeepSpeed/pulls/844 | 2021-03-09T21:54:16Z | 2021-03-11T02:02:09Z | 2021-03-11T02:02:09Z | 2021-03-11T02:02:13Z | 1,839 | microsoft/DeepSpeed | 10,163 |
Normalize percent-encoded bytes before comparison | diff --git a/.travis.yml b/.travis.yml
index efb75ddec2..436f545fa5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -38,5 +38,5 @@ jobs:
dist: xenial
sudo: true
- stage: coverage
- python: 3.6
+ python: '3.6'
script: codecov
diff --git a/Makefile b/Makefile
index 317a7c76fb..231ce... | urllib3 replaced it's URL parser with `rfc3986` for more compliant parsing (urllib3/urllib3#1487). We've also got an effort underway to run downstream tests before releases (urllib3/urllib3#1508) and during that process we've discovered that requests requires percent-encoded bytes to keep their casing.
Adding this t... | https://api.github.com/repos/psf/requests/pulls/4915 | 2018-12-23T21:54:59Z | 2019-01-21T13:58:33Z | 2019-01-21T13:58:33Z | 2021-08-31T00:07:21Z | 559 | psf/requests | 32,119 |
updated README.md on subnet mask definition and example | diff --git a/README.md b/README.md
index f706bb5e1..80484e09c 100644
--- a/README.md
+++ b/README.md
@@ -144,27 +144,10 @@ An Internet Protocol address (IP address) is a numerical label assigned to each
<details>
<summary>Explain subnet mask and given an example</summary><br><b>
-A Subnet mask is a 32-bit number th... | The statement **[255] is assigned to a broadcast address** could be a bit misleading as this is not always the case in most networks. The subnet mask column in the example table also contradicts the former statement and could leave beginners totally confused. So instead of **255**, the **last address (on the host part)... | https://api.github.com/repos/bregman-arie/devops-exercises/pulls/300 | 2022-10-04T10:22:16Z | 2022-10-04T10:38:50Z | 2022-10-04T10:38:50Z | 2022-10-04T10:43:58Z | 697 | bregman-arie/devops-exercises | 17,649 |
json encode int8 and int16 | diff --git a/gym/utils/json_utils.py b/gym/utils/json_utils.py
index 6088d4ea966..4657dfc0368 100644
--- a/gym/utils/json_utils.py
+++ b/gym/utils/json_utils.py
@@ -10,6 +10,10 @@ def json_encode_np(obj):
return float(obj)
elif isinstance(obj, np.float64):
return float(obj)
+ elif isinstance(o... | currently some of the numpy types are missing from the json encoding. this adds support for int8 and int16. | https://api.github.com/repos/openai/gym/pulls/1166 | 2018-09-14T19:37:38Z | 2018-09-14T23:05:27Z | 2018-09-14T23:05:27Z | 2018-09-14T23:05:27Z | 146 | openai/gym | 5,523 |
[RLlib] Issue 15973: Trainer.with_updates(validate_config=...) behaves confusingly. | diff --git a/rllib/agents/dqn/apex.py b/rllib/agents/dqn/apex.py
index e9476229e1c9f..65e486048e2df 100644
--- a/rllib/agents/dqn/apex.py
+++ b/rllib/agents/dqn/apex.py
@@ -21,7 +21,6 @@
from ray.rllib.agents.dqn.dqn import calculate_rr_weights, \
DEFAULT_CONFIG as DQN_CONFIG, DQNTrainer, validate_config
from ra... | <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
Issue 15973: Trainer.with_updates(validate config=...) behaves confusingly.
- Trainer._validate_config is called multiple times during initialization: 1) Trainer.s... | https://api.github.com/repos/ray-project/ray/pulls/16429 | 2021-06-15T10:30:56Z | 2021-06-19T20:42:00Z | 2021-06-19T20:42:00Z | 2021-06-19T20:42:00Z | 1,831 | ray-project/ray | 19,679 |
Dont create sample events for new projects | diff --git a/src/sentry/web/forms/add_project.py b/src/sentry/web/forms/add_project.py
index 79f458b42a54d..a17ca62553d6e 100644
--- a/src/sentry/web/forms/add_project.py
+++ b/src/sentry/web/forms/add_project.py
@@ -4,7 +4,6 @@
from django.utils.translation import ugettext_lazy as _
from sentry.models import Audit... | This causes more confusion than value these days, since we have the robot-onboarding.
| https://api.github.com/repos/getsentry/sentry/pulls/2597 | 2016-01-25T20:43:20Z | 2016-01-25T21:17:51Z | 2016-01-25T21:17:51Z | 2020-12-23T20:55:37Z | 174 | getsentry/sentry | 44,474 |
Fix typo for store_serialized_dags config | diff --git a/airflow/config_templates/config.yml b/airflow/config_templates/config.yml
index 1b7530fc88383..5033c342e503d 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -321,7 +321,7 @@
default: "0"
- name: store_serialized_dags
description: |
- W... | Reported by a user on slack
---
Issue link: WILL BE INSERTED BY [boring-cyborg](https://github.com/kaxil/boring-cyborg)
Make sure to mark the boxes below before creating PR: [x]
- [x] Description above provides context of the change
- [x] Unit tests coverage for changes (not needed for documentation changes)... | https://api.github.com/repos/apache/airflow/pulls/7952 | 2020-03-28T14:11:36Z | 2020-03-28T16:59:47Z | 2020-03-28T16:59:47Z | 2020-04-04T23:44:51Z | 568 | apache/airflow | 14,608 |
Fix requirements in gui api | diff --git a/g4f/gui/server/api.py b/g4f/gui/server/api.py
index ed904be8ed..3adb88f433 100644
--- a/g4f/gui/server/api.py
+++ b/g4f/gui/server/api.py
@@ -13,8 +13,13 @@
from plyer import camera
from plyer import filechooser
app_storage_path = platformdirs.user_pictures_dir
+ user_select_image = parti... | https://api.github.com/repos/xtekky/gpt4free/pulls/1729 | 2024-03-19T19:44:41Z | 2024-03-19T19:45:36Z | 2024-03-19T19:45:36Z | 2024-03-19T19:47:11Z | 429 | xtekky/gpt4free | 38,249 | |
Removes py26reqs.txt and git dependency | diff --git a/Dockerfile b/Dockerfile
index 02aa0f0d737..da01106040b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -49,7 +49,6 @@ COPY letsencrypt-apache /opt/letsencrypt/src/letsencrypt-apache/
COPY letsencrypt-nginx /opt/letsencrypt/src/letsencrypt-nginx/
-# py26reqs.txt not installed!
RUN virtualenv --no-site-pac... | Supercedes #1661.
| https://api.github.com/repos/certbot/certbot/pulls/1908 | 2015-12-16T01:08:27Z | 2015-12-23T01:59:59Z | 2015-12-23T01:59:59Z | 2015-12-23T15:44:56Z | 2,236 | certbot/certbot | 1,194 |
Fix typo | diff --git a/modules/shared.py b/modules/shared.py
index 2dc092d6878..6b5d150b038 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -240,7 +240,7 @@ def options_section(section_identifier, options_dict):
options_templates.update(options_section(('ui', "User interface"), {
"show_progressbar": OptionInf... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/2008 | 2022-10-08T22:21:12Z | 2022-10-09T08:10:14Z | 2022-10-09T08:10:14Z | 2022-10-09T08:10:14Z | 259 | AUTOMATIC1111/stable-diffusion-webui | 40,280 | |
Fix a OTA bug on `_ota_chunk_data` | diff --git a/shadowsocks/tcprelay.py b/shadowsocks/tcprelay.py
index 2e4772d0e..2ff7b213a 100644
--- a/shadowsocks/tcprelay.py
+++ b/shadowsocks/tcprelay.py
@@ -358,7 +358,7 @@ def _handle_stage_addr(self, data):
b'\x00\x00\x00\x00\x10\x10'),
self._loca... | You can repro it by following code:
``` python
from __future__ import print_function
import struct
ONETIMEAUTH_BYTES = 10
ONETIMEAUTH_CHUNK_BYTES = 12
ONETIMEAUTH_CHUNK_DATA_LEN = 2
class OTA(object):
def __init__(self):
self._ota_len = 0
self._ota_chunk_idx = 0
self._ota_buff_head = b''
... | https://api.github.com/repos/shadowsocks/shadowsocks/pulls/642 | 2016-10-10T08:30:48Z | 2016-10-10T15:05:21Z | 2016-10-10T15:05:21Z | 2016-10-10T15:05:21Z | 334 | shadowsocks/shadowsocks | 24,713 |
Fix start.vbs , test-appid , disable x-tunnel and change python path in some files | diff --git a/gae_proxy/local/cert_util.py b/gae_proxy/local/cert_util.py
index 68bed1798b..98809d46ce 100644
--- a/gae_proxy/local/cert_util.py
+++ b/gae_proxy/local/cert_util.py
@@ -13,13 +13,12 @@
import subprocess
current_path = os.path.dirname(os.path.abspath(__file__))
-root_path = os.path.abspath( os.path.joi... | 1. temporary disable x_tunnel
2. fix start.vbs
3. fix test appid
4. change python path in some files
| https://api.github.com/repos/XX-net/XX-Net/pulls/2410 | 2016-03-17T14:40:16Z | 2016-03-18T03:23:28Z | 2016-03-18T03:23:28Z | 2016-03-18T03:23:28Z | 2,698 | XX-net/XX-Net | 17,236 |
add two JS demos | diff --git a/README.md b/README.md
index a364d439..719956ae 100644
--- a/README.md
+++ b/README.md
@@ -565,6 +565,8 @@ Further resources:
#### Demos and Scripts
* [The Bot](https://github.com/sta-ger/TheBot) - Example of how the neural network learns to predict the angle between two points created with [Synaptic](htt... | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/631 | 2019-09-19T02:07:57Z | 2019-09-19T13:41:11Z | 2019-09-19T13:41:11Z | 2019-09-19T13:41:11Z | 211 | josephmisiti/awesome-machine-learning | 51,994 | |
Add 3D graphing via square approximation. | diff --git a/topics/three_dimensions.py b/topics/three_dimensions.py
index 752e481810..5fc3fe6894 100644
--- a/topics/three_dimensions.py
+++ b/topics/three_dimensions.py
@@ -7,7 +7,7 @@
from camera import Camera
from animation.continual_animation import AmbientMovement
from animation.transform import ApplyMethod
-
... | While this isn't perfect, it is a way to graph a 3D surface using square approximations. (Also apparently some linting got in, which I can change if necessary.) | https://api.github.com/repos/3b1b/manim/pulls/145 | 2018-03-06T00:54:41Z | 2018-03-06T04:33:34Z | 2018-03-06T04:33:34Z | 2018-03-06T19:07:35Z | 1,531 | 3b1b/manim | 18,165 |
Allow delegator to return delegate's properties | diff --git a/fundamental/delegation_pattern.py b/fundamental/delegation_pattern.py
index 7f109721..3e26be9d 100644
--- a/fundamental/delegation_pattern.py
+++ b/fundamental/delegation_pattern.py
@@ -13,26 +13,38 @@
class Delegator(object):
"""
>>> delegator = Delegator(Delegate())
+ >>> delegator.p1
+ ... | The current code does not allow the delegator to return the value of properties of the delegate but can only call its methods. Moreover if the method does not exist then `None` is returned rather than raising an exception.
This PR is for fixing the above. | https://api.github.com/repos/faif/python-patterns/pulls/243 | 2018-09-28T14:10:22Z | 2018-10-05T21:54:14Z | 2018-10-05T21:54:14Z | 2018-10-05T21:54:14Z | 351 | faif/python-patterns | 33,557 |
fix some error for parse dns_servre in config | diff --git a/config.json.example b/config.json.example
index 40066564a..2cee3b811 100644
--- a/config.json.example
+++ b/config.json.example
@@ -7,6 +7,7 @@
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"fast_open":false,
+ "dns_server":["8.8.8.8", 8.8.4.4],
"tunnel_remote":"8.8.8.8",
... | and fix pep8
https://github.com/shadowsocks/shadowsocks/pull/739
see : https://github.com/shadowsocks/shadowsocks/issues/738#issuecomment-287591740 | https://api.github.com/repos/shadowsocks/shadowsocks/pulls/798 | 2017-03-19T04:13:47Z | 2017-03-19T04:37:57Z | 2017-03-19T04:37:57Z | 2017-03-19T09:04:44Z | 570 | shadowsocks/shadowsocks | 24,682 |
[MRG] Switch BernoulliRBM to CSR format | diff --git a/sklearn/neural_network/rbm.py b/sklearn/neural_network/rbm.py
index 88250abb02851..323a20f15b78a 100644
--- a/sklearn/neural_network/rbm.py
+++ b/sklearn/neural_network/rbm.py
@@ -16,6 +16,7 @@
from ..utils import check_arrays
from ..utils import check_random_state
from ..utils import gen_even_slices
+f... | While taking a look at Issue #2455, I've noticed that `BernoulliRBM` enforces CSC format for sparse data. However it accesses the data row-wise (it trains in Minibatches of `batch_size` rows). Thus CSR format seems like a much more natural choice.
I ran some short tests on a 2000x100000 sparse matrix with 95% sparsit... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/2457 | 2013-09-18T15:24:08Z | 2013-09-25T15:46:27Z | 2013-09-25T15:46:27Z | 2014-06-13T11:32:15Z | 1,082 | scikit-learn/scikit-learn | 46,071 |
Update llama.cpp.md | diff --git a/docs/llama.cpp.md b/docs/llama.cpp.md
index 68aa1cfa5f..c27ad65aa2 100644
--- a/docs/llama.cpp.md
+++ b/docs/llama.cpp.md
@@ -9,7 +9,10 @@ llama.cpp is the best backend in two important scenarios:
#### Pre-converted
-Download the ggml model directly into your `text-generation-webui/models` folder, mak... | Update docs to reflect the newer GGUF format.
## Checklist:
- [ x ] I have read the [Contributing guidelines](https://github.com/oobabooga/text-generation-webui/wiki/Contributing-guidelines).
| https://api.github.com/repos/oobabooga/text-generation-webui/pulls/3702 | 2023-08-27T03:52:05Z | 2023-08-29T20:56:51Z | 2023-08-29T20:56:51Z | 2023-08-29T20:56:51Z | 205 | oobabooga/text-generation-webui | 26,410 |
Add Dask to MapReduce Section | diff --git a/README.md b/README.md
index 40e7bc668..8f53992c6 100644
--- a/README.md
+++ b/README.md
@@ -760,6 +760,7 @@ Inspired by [awesome-php](https://github.com/ziadoz/awesome-php).
* [luigi](https://github.com/spotify/luigi) - A module that helps you build complex pipelines of batch jobs.
* [mrjob](https://gith... | ## What is this Python project?
A Pythonic Distributed Data Science Framework
https://www.youtube.com/watch?v=RA_2qdipVng
--
Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**.
| https://api.github.com/repos/vinta/awesome-python/pulls/936 | 2017-09-15T07:10:21Z | 2017-09-15T14:15:59Z | 2017-09-15T14:15:59Z | 2017-09-15T14:15:59Z | 201 | vinta/awesome-python | 26,936 |
bootstrap: use a proper dependency test for Arch | diff --git a/bootstrap/_arch_common.sh b/bootstrap/_arch_common.sh
index 6895addf4bd..f66067ffb90 100755
--- a/bootstrap/_arch_common.sh
+++ b/bootstrap/_arch_common.sh
@@ -1,29 +1,27 @@
#!/bin/sh
# Tested with:
-# - Manjaro 15.09 (x86_64)
# - ArchLinux (x86_64)
-
-# Both "gcc-multilib" and "gcc" packages prov... | `pacman -T` exists for this exact purpose; it respects provides without having to manually code them into the script.
| https://api.github.com/repos/certbot/certbot/pulls/1210 | 2015-10-30T15:14:31Z | 2015-10-30T23:10:46Z | 2015-10-30T23:10:46Z | 2016-05-06T19:21:22Z | 375 | certbot/certbot | 346 |
Set self.num_features to neck_chans if neck_chans > 0 for vision_transformer_sam | diff --git a/timm/models/vision_transformer_sam.py b/timm/models/vision_transformer_sam.py
index c561ea1b22..9beb7b0162 100644
--- a/timm/models/vision_transformer_sam.py
+++ b/timm/models/vision_transformer_sam.py
@@ -434,6 +434,7 @@ def __init__(
),
LayerNorm2d(neck_chans),
... | Knowing the number of feature channels is crucial when this neural network is used as a backbone in other systems. It allows for better integration and adaptability with various architectures that might require information about the dimensions of the output features. I think that self.num_features should be neck_chans ... | https://api.github.com/repos/huggingface/pytorch-image-models/pulls/1914 | 2023-08-11T05:38:22Z | 2023-08-11T18:23:57Z | 2023-08-11T18:23:57Z | 2023-08-12T06:58:06Z | 128 | huggingface/pytorch-image-models | 16,417 |
Complete test coverage db.models.base.refresh_from_db | diff --git a/tests/basic/tests.py b/tests/basic/tests.py
index 342c39ea3403e..b3bb4d02cc6c6 100644
--- a/tests/basic/tests.py
+++ b/tests/basic/tests.py
@@ -649,6 +649,12 @@ def test_unknown_kwarg(self):
with self.assertRaisesMessage(TypeError, msg):
s.refresh_from_db(unknown_kwarg=10)
+ def ... | Try to cover
https://github.com/django/django/blob/e1fc07c047f8e46c2cea0120f44011fc458f1e91/django/db/models/base.py#L595 | https://api.github.com/repos/django/django/pulls/10648 | 2018-11-15T15:47:08Z | 2018-11-15T16:38:48Z | 2018-11-15T16:38:48Z | 2018-11-15T16:38:48Z | 179 | django/django | 51,004 |
DOC: Specify use of google cloud storage for CSVs | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 8bc8470ae7658..4e26ceef0af26 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -89,7 +89,7 @@
----------
filepath_or_buffer : str, path object or file-like object
Any valid string path is acceptable. The string could be a URL. Valid
- ... | - [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31860 | 2020-02-10T23:18:12Z | 2020-02-11T02:01:49Z | 2020-02-11T02:01:49Z | 2020-02-11T09:59:01Z | 186 | pandas-dev/pandas | 45,379 |
Refactor How to rebase PR copy | diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index c60d1153f29d9..077e57d861701 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -954,65 +954,94 @@ modified the master in your fork, you might loose those changes.
How to rebase PR
================
-A lot of people are unfamiliar with rebase workflow in Gi... | Brings some corrections/copy style updates/clarifications to the `How to Rebase PR` section.
| https://api.github.com/repos/apache/airflow/pulls/11030 | 2020-09-19T22:13:05Z | 2020-09-20T19:32:58Z | 2020-09-20T19:32:58Z | 2020-11-14T17:13:51Z | 1,959 | apache/airflow | 14,342 |
Backport PR #37657 on branch 1.1.x: BUG: unpickling modifies Block.ndim | diff --git a/doc/source/whatsnew/v1.1.5.rst b/doc/source/whatsnew/v1.1.5.rst
index a122154904996..e0fa68e3b9f80 100644
--- a/doc/source/whatsnew/v1.1.5.rst
+++ b/doc/source/whatsnew/v1.1.5.rst
@@ -24,6 +24,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in metadata propagation for ``groupby`` iterator (:issue:`3734... | Backport PR #37657 | https://api.github.com/repos/pandas-dev/pandas/pulls/37713 | 2020-11-09T11:19:25Z | 2020-11-09T12:49:09Z | 2020-11-09T12:49:09Z | 2020-11-09T12:49:28Z | 705 | pandas-dev/pandas | 45,269 |
[beeg] Fix extraction | diff --git a/youtube_dl/extractor/beeg.py b/youtube_dl/extractor/beeg.py
index d5c5822f2b2..bbeae4bacbe 100644
--- a/youtube_dl/extractor/beeg.py
+++ b/youtube_dl/extractor/beeg.py
@@ -9,6 +9,7 @@
from ..utils import (
int_or_none,
parse_iso8601,
+ urljoin,
)
@@ -36,9 +37,11 @@ def _real_extract(self... | ### Before submitting a *pull request* make sure you have:
- [x] At least skimmed through [adding new extractor tutorial](https://github.com/rg3/youtube-dl#adding-support-for-a-new-site) and [youtube-dl coding conventions](https://github.com/rg3/youtube-dl#youtube-dl-coding-conventions) sections
- [x] [Searched](http... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/14279 | 2017-09-20T18:59:27Z | 2017-09-20T21:05:34Z | 2017-09-20T21:05:34Z | 2017-09-20T21:06:26Z | 423 | ytdl-org/youtube-dl | 50,580 |
fix indentation | diff --git a/README.md b/README.md
index ecf5623..942f6eb 100644
--- a/README.md
+++ b/README.md
@@ -2569,17 +2569,17 @@ None
```py
def some_recursive_func(a):
if a[0] == 0:
- return
+ return
a[0] -= 1
some_recursive_func(a)
return a
def similar_recursive_func(a):
- if a =... | https://api.github.com/repos/satwikkansal/wtfpython/pulls/237 | 2020-10-27T04:19:55Z | 2020-10-27T08:20:27Z | 2020-10-27T08:20:27Z | 2020-10-27T08:21:00Z | 169 | satwikkansal/wtfpython | 25,735 | |
Add debug and move pdb into secondary links | diff --git a/README.md b/README.md
index a74b2c587..6d426114e 100644
--- a/README.md
+++ b/README.md
@@ -843,8 +843,8 @@ A curated list of awesome Python frameworks, libraries and software. Inspired by
*Libraries for debugging code.*
-* [pdb](https://docs.python.org/2/library/pdb.html) - (Python standard library) ... | `pdb` from standard library is not awesome (especially with all these alternatives)
| https://api.github.com/repos/vinta/awesome-python/pulls/265 | 2014-11-19T10:25:12Z | 2014-11-19T20:49:02Z | 2014-11-19T20:49:02Z | 2014-11-19T20:49:02Z | 264 | vinta/awesome-python | 27,279 |
Readme: Fix link for faker | diff --git a/README.md b/README.md
index 0f2b89c3d..836806e2e 100644
--- a/README.md
+++ b/README.md
@@ -898,7 +898,7 @@ Inspired by [awesome-php](https://github.com/ziadoz/awesome-php).
* Code Coverage
* [coverage](https://pypi.python.org/pypi/coverage) - Code coverage measurement.
* Fake Data
- * [faker](ht... | Fixed link for the Faker library
Closes https://github.com/vinta/awesome-python/issues/700
| https://api.github.com/repos/vinta/awesome-python/pulls/702 | 2016-08-19T18:03:12Z | 2016-08-20T17:06:42Z | 2016-08-20T17:06:42Z | 2016-08-21T06:54:29Z | 206 | vinta/awesome-python | 27,020 |
Fix call patterns that contain as-expression on the kwargs | diff --git a/CHANGES.md b/CHANGES.md
index cb637d94c11..70397adb567 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -12,6 +12,8 @@
(#2686)
- Fix cases that contain multiple top-level as-expressions, like `case 1 as a, 2 as b`
(#2716)
+- Fix call patterns that contain as-expressions with keyword arguments, like
+ `c... | Fixes #2746 | https://api.github.com/repos/psf/black/pulls/2749 | 2022-01-05T23:28:28Z | 2022-01-07T16:51:36Z | 2022-01-07T16:51:36Z | 2022-01-07T16:51:36Z | 520 | psf/black | 23,730 |
Remove boulder-integration.conf.sh | diff --git a/certbot-nginx/certbot_nginx/_internal/tests/boulder-integration.conf.sh b/certbot-nginx/certbot_nginx/_internal/tests/boulder-integration.conf.sh
deleted file mode 100755
index 35cedf5edbc..00000000000
--- a/certbot-nginx/certbot_nginx/_internal/tests/boulder-integration.conf.sh
+++ /dev/null
@@ -1,107 +0,... | Per Alex's suggestion at https://github.com/certbot/certbot/pull/9638#pullrequestreview-1361962084. | https://api.github.com/repos/certbot/certbot/pulls/9640 | 2023-03-28T22:02:39Z | 2023-03-28T22:23:16Z | 2023-03-28T22:23:16Z | 2023-03-28T22:23:18Z | 946 | certbot/certbot | 830 |
Minor typo fixes to the preprocessing tutorial in the docs | diff --git a/docs/source/preprocessing.rst b/docs/source/preprocessing.rst
index 5fe278e49e585..a7a91788f1c2b 100644
--- a/docs/source/preprocessing.rst
+++ b/docs/source/preprocessing.rst
@@ -51,7 +51,7 @@ The tokenizer can decode a list of token ids in a proper sentence:
>>> tokenizer.decode(encoded_input["input... | Minor typo fixes to the preprocessing tutorial in the docs
# What does this PR do?
Minor typo fixes to the tokenizer summary in the docs
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
documentation: @sgugger
| https://api.github.com/repos/huggingface/transformers/pulls/8046 | 2020-10-26T10:59:53Z | 2020-10-26T14:22:30Z | 2020-10-26T14:22:30Z | 2020-10-27T16:25:42Z | 991 | huggingface/transformers | 12,475 |
`baichuan_secret_key` use pydantic.types.SecretStr & Add Baichuan tests | diff --git a/libs/langchain/langchain/chat_models/baichuan.py b/libs/langchain/langchain/chat_models/baichuan.py
index 39b14d2d119bde..91be5c38cf302d 100644
--- a/libs/langchain/langchain/chat_models/baichuan.py
+++ b/libs/langchain/langchain/chat_models/baichuan.py
@@ -2,13 +2,13 @@
import json
import logging
impor... | ### Description
- `baichuan_secret_key` use pydantic.types.SecretStr
- Add Baichuan tests | https://api.github.com/repos/langchain-ai/langchain/pulls/12031 | 2023-10-19T17:03:25Z | 2023-10-19T18:37:41Z | 2023-10-19T18:37:41Z | 2023-10-19T18:37:41Z | 2,791 | langchain-ai/langchain | 43,559 |
Fixed #28265 -- Prevented renderer warning on widgets.render() with **kwargs | diff --git a/django/forms/boundfield.py b/django/forms/boundfield.py
index 771661ba6a71c..83944422ff30b 100644
--- a/django/forms/boundfield.py
+++ b/django/forms/boundfield.py
@@ -6,7 +6,7 @@
from django.utils.deprecation import RemovedInDjango21Warning
from django.utils.functional import cached_property
from djang... | https://api.github.com/repos/django/django/pulls/8584 | 2017-06-02T00:40:21Z | 2017-06-02T13:46:43Z | 2017-06-02T13:46:43Z | 2017-06-03T19:55:33Z | 797 | django/django | 51,481 | |
Add The Guardian Open Platform | diff --git a/README.md b/README.md
index 3779d8013a..60a565a846 100644
--- a/README.md
+++ b/README.md
@@ -332,6 +332,7 @@ Please note a passing build status indicates all listed APIs are available since
|---|---|---|---|---|
| New York Times | Provides news | `apikey` | Yes | [Go!](https://developer.nytimes.com/) |
... | [The Open Platform](http://open-platform.theguardian.com/) is a public web service for accessing all the content the Guardian creates, categorized by tags and section.
The Developer key (for any non-commercial usage of the content, such as student dissertations, hackathons, nonprofit app developers) has the followin... | https://api.github.com/repos/public-apis/public-apis/pulls/338 | 2017-04-12T15:10:38Z | 2017-04-15T18:16:09Z | 2017-04-15T18:16:09Z | 2017-04-15T18:16:50Z | 183 | public-apis/public-apis | 35,844 |
Remove reference to #certbot on OFTC | diff --git a/README.rst b/README.rst
index f986703acdf..ab12562df34 100644
--- a/README.rst
+++ b/README.rst
@@ -88,7 +88,7 @@ Main Website: https://certbot.eff.org
Let's Encrypt Website: https://letsencrypt.org
-IRC Channel: #letsencrypt on `Freenode`_ or #certbot on `OFTC`_
+IRC Channel: #letsencrypt on `Freenod... | The #letsencrypt channel on Freenode is much more active, and is the defacto place for questions about Certbot. Users posting questions on #certbot on OFTC are not getting prompt answers. | https://api.github.com/repos/certbot/certbot/pulls/4230 | 2017-02-16T18:24:55Z | 2017-03-01T02:33:41Z | 2017-03-01T02:33:41Z | 2022-02-28T20:01:41Z | 127 | certbot/certbot | 3,341 |
SSL handshake question | diff --git a/README.md b/README.md
index ecece1319..4d82c75f7 100644
--- a/README.md
+++ b/README.md
@@ -290,6 +290,18 @@ Bonus question: what is the RTT of LAN?
<details>
<summary>How does SSL handshake work?</summary><br><b>
+SSL handshake is a process that establishes a secure connection between a client and a s... | Adding an answer to How does "SSL handshake work?" question. | https://api.github.com/repos/bregman-arie/devops-exercises/pulls/326 | 2022-12-20T12:23:28Z | 2022-12-23T08:12:19Z | 2022-12-23T08:12:19Z | 2022-12-23T08:12:19Z | 383 | bregman-arie/devops-exercises | 17,529 |
Add gym-pybullet-drones to third party environment list | diff --git a/docs/environments.md b/docs/environments.md
index c4dd3b43d6d..271b9a61ae1 100644
--- a/docs/environments.md
+++ b/docs/environments.md
@@ -296,4 +296,10 @@ Learn more here: https://github.com/addy1997/Gridworld
An environment for simulating the classical optimal control problem where the thrust of a ve... | 3rd party quadcopter dynamics simulator | https://api.github.com/repos/openai/gym/pulls/2024 | 2020-08-12T22:38:51Z | 2020-08-28T20:42:04Z | 2020-08-28T20:42:04Z | 2020-08-28T20:42:04Z | 285 | openai/gym | 5,478 |
[llama] fix dataloader for hybrid parallel | diff --git a/applications/Colossal-LLaMA-2/colossal_llama2/dataset/loader.py b/applications/Colossal-LLaMA-2/colossal_llama2/dataset/loader.py
index a2cfb2ef6264..5115e456349f 100644
--- a/applications/Colossal-LLaMA-2/colossal_llama2/dataset/loader.py
+++ b/applications/Colossal-LLaMA-2/colossal_llama2/dataset/loader.... | ## 📌 Checklist before creating the PR
- [ ] I have created an issue for this PR for traceability
- [ ] The title follows the standard format: `[doc/gemini/tensor/...]: A concise description`
- [ ] I have added relevant tags if possible for us to better distinguish different PRs
## 🚨 Issue number
> Link t... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/5358 | 2024-02-05T04:39:08Z | 2024-02-05T07:14:56Z | 2024-02-05T07:14:56Z | 2024-02-05T07:14:58Z | 2,386 | hpcaitech/ColossalAI | 11,780 |
use of multiple chocolatey package names | diff --git a/lib/ansible/modules/windows/win_chocolatey.py b/lib/ansible/modules/windows/win_chocolatey.py
index ab90ed6f999220..cf54f16c015d15 100644
--- a/lib/ansible/modules/windows/win_chocolatey.py
+++ b/lib/ansible/modules/windows/win_chocolatey.py
@@ -38,6 +38,7 @@
name:
description:
- Name of the... | It might be helpful to users, to clarify whether/when <name:> must specify a single package.
Users who are familiar with chocolatey may be accustomed to installing multiple packages in a single invocation of 'choco install'.
I believe win_chocolatey currently accepts multiple package names when state: is latest o... | https://api.github.com/repos/ansible/ansible/pulls/28046 | 2017-08-11T00:58:45Z | 2017-08-11T02:36:15Z | 2017-08-11T02:36:15Z | 2019-04-26T22:14:38Z | 243 | ansible/ansible | 49,549 |
catch load style.csv error | diff --git a/modules/styles.py b/modules/styles.py
index 9edcc7e4447..60bd8a7fb01 100644
--- a/modules/styles.py
+++ b/modules/styles.py
@@ -1,4 +1,5 @@
from pathlib import Path
+from modules import errors
import csv
import os
import typing
@@ -128,19 +129,22 @@ def reload(self):
self.load_fro... | ## Description
catch load style.csv error
- prevent https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/14804 which causes webui to not launch
## Checklist:
- [x] I have read [contributing wiki page](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing)
- [x] I have per... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/14814 | 2024-02-01T06:43:41Z | 2024-02-01T19:02:28Z | 2024-02-01T19:02:28Z | 2024-02-01T19:02:31Z | 484 | AUTOMATIC1111/stable-diffusion-webui | 40,516 |
Boilerplate OAuth website <=> inference | diff --git a/.gitignore b/.gitignore
index 79dbba7c1c..ba8212f101 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,5 @@ backend/openapi.json
# edit docs using obsidian.md, these files should not appear in the repo
.obsidian/
.pytest_cache/
+
+/docker-compose.override.yml
diff --git a/docker-compose.yaml b/docke... | Refs #2101
Use the website's backend as a callback url for login to discord and github, so that the website also knows the token.
To use this, you need to configure your discord oauth provider to use the url: `http://localhost:3000/api/inference_auth/discord`, I used the same provider I use for logging in to th... | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/2127 | 2023-03-19T18:17:08Z | 2023-03-20T06:10:13Z | 2023-03-20T06:10:13Z | 2023-03-20T06:10:14Z | 2,162 | LAION-AI/Open-Assistant | 37,429 |
use pretrained_model for eval | diff --git a/doc/doc_ch/detection.md b/doc/doc_ch/detection.md
index a8dee65a22..671fda998d 100644
--- a/doc/doc_ch/detection.md
+++ b/doc/doc_ch/detection.md
@@ -108,9 +108,9 @@ PaddleOCR计算三个OCR检测相关的指标,分别是:Precision、Recall
运行如下代码,根据配置文件`det_db_mv3.yml`中`save_res_path`指定的测试集检测结果文件,计算评估指标。
评估时设置后处理参数`box_thresh=0.5`... | att | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/2334 | 2021-03-25T03:05:08Z | 2021-03-26T08:33:11Z | 2021-03-26T08:33:11Z | 2021-03-26T08:33:11Z | 1,351 | PaddlePaddle/PaddleOCR | 42,084 |
fix(trends): Reset error when requerying api | diff --git a/src/sentry/static/sentry/app/utils/discover/genericDiscoverQuery.tsx b/src/sentry/static/sentry/app/utils/discover/genericDiscoverQuery.tsx
index f6e5e1cd64782..683b30f01b0e6 100644
--- a/src/sentry/static/sentry/app/utils/discover/genericDiscoverQuery.tsx
+++ b/src/sentry/static/sentry/app/utils/discover/... | ### Summary
Currently the error isn't disappearing when you change your api call and it succeeds. This will wipe the error state if you make another request.
Refs VIS-322 | https://api.github.com/repos/getsentry/sentry/pulls/21793 | 2020-11-04T20:24:51Z | 2020-11-05T19:16:39Z | 2020-11-05T19:16:38Z | 2020-12-17T23:09:25Z | 168 | getsentry/sentry | 44,208 |
Fix Trainer when model is loaded on a different GPU | diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py
index 590c5da195351..59ac8029e54f3 100755
--- a/src/transformers/trainer.py
+++ b/src/transformers/trainer.py
@@ -377,12 +377,12 @@ def __init__(
else:
self.is_model_parallel = False
- if (
- getattr(model, ... | # What does this PR do?
When a small model is loaded with `device_map="auto"` it might end up all on GPU 1, so currently `is_model_parallel` is set to `False` (cause one device) and later on the Trainer moves the model to GPU 0 which fails the execution of all the Accelerate hooks.
This PR fixes this by making su... | https://api.github.com/repos/huggingface/transformers/pulls/23792 | 2023-05-26T13:33:58Z | 2023-05-31T11:54:26Z | 2023-05-31T11:54:26Z | 2023-05-31T11:57:17Z | 256 | huggingface/transformers | 12,398 |
Update Open CLIP embd | diff --git a/libs/experimental/langchain_experimental/open_clip/open_clip.py b/libs/experimental/langchain_experimental/open_clip/open_clip.py
index 838148cb319aaf..b19567d179d066 100644
--- a/libs/experimental/langchain_experimental/open_clip/open_clip.py
+++ b/libs/experimental/langchain_experimental/open_clip/open_c... | Prior default model required a large amt of RAM and often crashed Jupyter ntbk kernel. | https://api.github.com/repos/langchain-ai/langchain/pulls/14155 | 2023-12-01T23:10:41Z | 2023-12-01T23:13:21Z | 2023-12-01T23:13:21Z | 2023-12-01T23:13:21Z | 221 | langchain-ai/langchain | 43,748 |
snap_config: set a timeout when talking to snapd | diff --git a/certbot/certbot/_internal/snap_config.py b/certbot/certbot/_internal/snap_config.py
index f006c8be1f2..dd3a6399c77 100644
--- a/certbot/certbot/_internal/snap_config.py
+++ b/certbot/certbot/_internal/snap_config.py
@@ -54,7 +54,8 @@ def prepare_env(cli_args: List[str]) -> List[str]:
session.mount... | Fixes #8475.
---
I came across another thread which looked suspiciously like a hung snapd process. Having a timeout here seems wise anyway. | https://api.github.com/repos/certbot/certbot/pulls/9218 | 2022-02-28T01:02:39Z | 2022-02-28T19:16:59Z | 2022-02-28T19:16:59Z | 2022-02-28T19:16:59Z | 211 | certbot/certbot | 137 |
Updating pagan description | diff --git a/README.md b/README.md
index df089eeb7..0b1af648f 100644
--- a/README.md
+++ b/README.md
@@ -320,7 +320,7 @@ Inspired by [awesome-php](https://github.com/ziadoz/awesome-php).
*Libraries for manipulating images.*
-* [pagan](https://github.com/daboth/pagan) - is avatar generator for absolute nerds.
+* [p... | Proposing to update the pagan description, the previous version had grammar issues. Focusing on the functionality rather than the name now.
| https://api.github.com/repos/vinta/awesome-python/pulls/752 | 2016-10-19T13:46:50Z | 2016-10-20T03:54:25Z | 2016-10-20T03:54:25Z | 2016-10-20T03:54:25Z | 219 | vinta/awesome-python | 26,975 |
[Youku]Support full length of youku's video | diff --git a/src/you_get/extractors/youku.py b/src/you_get/extractors/youku.py
index 006e5a7292..ca565b5383 100644
--- a/src/you_get/extractors/youku.py
+++ b/src/you_get/extractors/youku.py
@@ -7,6 +7,9 @@
import base64
import time
import traceback
+import urllib.parse
+import math
+import pdb
class Youku(VideoE... | Come from https://github.com/soimort/you-get/pull/463
fix #390
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/soimort/you-get/783)
<!-- Reviewable:end -->
| https://api.github.com/repos/soimort/you-get/pulls/783 | 2015-12-02T19:51:37Z | 2015-12-09T09:47:26Z | 2015-12-09T09:47:26Z | 2015-12-11T08:22:06Z | 2,206 | soimort/you-get | 21,034 |
add example notebook | diff --git a/notebooks/README.md b/notebooks/README.md
index edb5da3388..2eea7a150f 100644
--- a/notebooks/README.md
+++ b/notebooks/README.md
@@ -1,10 +1,14 @@
# Notebooks
-This is a folders with some useful notebooks, all the notebooks have a markdown
-file with the same name explaining what they do.
+This is a fo... | this adds
- an example notebook as `notebooks/example/`
- a readme in `notebooks/example/README.md`
- a code cell at the top of `notebooks/example/example.ipynb`, to be uncommented and ran if running in colab, that will set up the colab notebook to just work and be able to use and files or dirs that live with the ... | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/512 | 2023-01-08T01:18:16Z | 2023-01-09T14:11:36Z | 2023-01-09T14:11:36Z | 2023-01-09T14:11:36Z | 2,484 | LAION-AI/Open-Assistant | 37,521 |
Use parentheses on method access on float and int literals | diff --git a/CHANGES.md b/CHANGES.md
index 0dc4952f069..6966a91aa11 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -42,6 +42,9 @@
- Make passing `SRC` or `--code` mandatory and mutually exclusive (#2804)
- Work around bug that causes unstable formatting in some cases in the presence of the
magic trailing comma (#2807... | Closes #2034
### Checklist - did you ...
- [X] Add a CHANGELOG entry if necessary?
- [X] Add / update tests if necessary?
- [ ] Add new / update outdated documentation? -> n/a
| https://api.github.com/repos/psf/black/pulls/2799 | 2022-01-23T11:09:06Z | 2022-01-28T05:31:50Z | 2022-01-28T05:31:50Z | 2022-01-28T05:35:02Z | 1,848 | psf/black | 23,972 |
Remove dependency from setup.py | diff --git a/setup.py b/setup.py
index 0feeb85e7fa..dd7235899bf 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,6 @@
zip_safe=False,
install_requires=[
'scipy', 'numpy>=1.10.4', 'pyglet>=1.4.0,<=1.5.0', 'cloudpickle>=1.2.0,<1.4.0',
- 'enum34~=1.1.6;python_version<"3.4"',
],
... | Python 3.4 was dropped, so enum34 is no longer required. | https://api.github.com/repos/openai/gym/pulls/2016 | 2020-08-08T01:13:02Z | 2020-08-28T21:40:36Z | 2020-08-28T21:40:36Z | 2020-08-28T21:42:09Z | 142 | openai/gym | 5,720 |
Updated for python 3 | diff --git a/mitmproxy/contrib/wbxml/ASCommandResponse.py b/mitmproxy/contrib/wbxml/ASCommandResponse.py
index f5f62e856e..4eea05a3cd 100644
--- a/mitmproxy/contrib/wbxml/ASCommandResponse.py
+++ b/mitmproxy/contrib/wbxml/ASCommandResponse.py
@@ -41,7 +41,7 @@ def __init__(self, response):
raise ValueError("Empty ... | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/2106 | 2017-03-06T22:31:40Z | 2017-03-07T11:12:48Z | 2017-03-07T11:12:48Z | 2017-03-07T11:12:48Z | 514 | mitmproxy/mitmproxy | 28,017 | |
Security updates | diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000..ba1c6b80ac
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,11 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are l... | https://api.github.com/repos/geekcomputers/Python/pulls/1787 | 2022-10-30T13:22:18Z | 2022-10-31T22:31:32Z | 2022-10-31T22:31:32Z | 2022-10-31T22:31:32Z | 669 | geekcomputers/Python | 31,330 | |
Bumping up min version for pyarrow | diff --git a/ci/requirements-optional-conda.txt b/ci/requirements-optional-conda.txt
index c9dc385b87986..8758c8154abca 100644
--- a/ci/requirements-optional-conda.txt
+++ b/ci/requirements-optional-conda.txt
@@ -1,7 +1,7 @@
beautifulsoup4>=4.2.1
blosc
bottleneck>=1.2.0
-fastparquet
+fastparquet>=0.1.2
gcsfs
html5... | closes #18742
closes #23409
- [x] tests passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/23482 | 2018-11-04T07:05:35Z | 2018-11-05T21:46:12Z | 2018-11-05T21:46:11Z | 2018-11-05T21:46:13Z | 3,594 | pandas-dev/pandas | 45,455 |
add example of --renew-hook envvar values and hook script (#3502) | diff --git a/certbot/cli.py b/certbot/cli.py
index e100c7715bf..fea83da297e 100644
--- a/certbot/cli.py
+++ b/certbot/cli.py
@@ -1064,9 +1064,11 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis
"renew", "--renew-hook",
help="Command to be run in a shell once for each... | https://api.github.com/repos/certbot/certbot/pulls/4028 | 2017-01-12T01:43:18Z | 2017-04-13T16:40:59Z | 2017-04-13T16:40:59Z | 2017-04-13T16:41:00Z | 1,002 | certbot/certbot | 3,240 | |
Fix spelling mistake | diff --git a/README.md b/README.md
index 2c0109f08..a5128559f 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ REPL-y 0.3.1
...
```
-If you are scary to blindly run changed command, there's `require_confirmation`
+If you are scared to blindly run changed command, there's `require_confirmation`
[settings](#... | Just a quick fix to a spelling mistake I spotted. Hope this helps.
| https://api.github.com/repos/nvbn/thefuck/pulls/77 | 2015-04-21T14:48:22Z | 2015-04-21T14:55:39Z | 2015-04-21T14:55:39Z | 2015-04-21T14:55:39Z | 111 | nvbn/thefuck | 30,761 |
[Cherrypick] [Doc][Serve] Add minimal docs for model wrappers and http adapters (#23536) | diff --git a/doc/requirements-doc.txt b/doc/requirements-doc.txt
index d618aa3853ba6..91d0a1e4fb6f4 100644
--- a/doc/requirements-doc.txt
+++ b/doc/requirements-doc.txt
@@ -47,6 +47,7 @@ sphinx-external-toc==0.2.3
sphinxcontrib.yt==0.2.2
sphinx-sitemap==2.2.0
sphinx-thebe==0.1.1
+autodoc_pydantic==1.6.1
# MyST
m... | Pick cb1919b8d011c877a9690e3d09dd5de79b87cdd8
<!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will ... | https://api.github.com/repos/ray-project/ray/pulls/23568 | 2022-03-29T18:37:42Z | 2022-03-29T20:30:45Z | 2022-03-29T20:30:45Z | 2022-03-29T20:32:35Z | 3,731 | ray-project/ray | 19,868 |
fix: continue instead of forcing exception openai astream chat | diff --git a/llama_index/llms/openai.py b/llama_index/llms/openai.py
index 92962fcf3e07c..8840e5396ff6e 100644
--- a/llama_index/llms/openai.py
+++ b/llama_index/llms/openai.py
@@ -498,7 +498,7 @@ async def gen() -> ChatResponseAsyncGen:
if len(response.choices) > 0:
delta = respon... | # Description
Fixes Azure OpenAI LLM failure when returning empty delta dictionary. Currently, an exception is forced anytime a response isn't provided through the completions API call.
Fixes #8995
## Type of Change
Please delete options that are not relevant.
- [X] Bug fix (non-breaking change which fix... | https://api.github.com/repos/run-llama/llama_index/pulls/9040 | 2023-11-21T00:11:19Z | 2023-11-21T00:55:49Z | 2023-11-21T00:55:49Z | 2023-11-21T16:36:33Z | 152 | run-llama/llama_index | 6,902 |
[Chat] add examples of training with limited resources in chat readme | diff --git a/applications/Chat/README.md b/applications/Chat/README.md
index 8f22084953ba..e3b605d9b796 100644
--- a/applications/Chat/README.md
+++ b/applications/Chat/README.md
@@ -28,6 +28,7 @@
- [Limitation of dataset](#limitation-of-dataset)
- [FAQ](#faq)
- [How to save/load checkpoint](#how-to-saveload-che... | ## 📌 Checklist before creating the PR
- [ ] I have created an issue for this PR for traceability
- [x] The title follows the standard format: `[doc/gemini/tensor/...]: A concise description`
- [ ] I have added relevant tags if possible for us to better distinguish different PRs
## 🚨 Issue number
> Link t... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/3536 | 2023-04-12T07:38:35Z | 2023-04-12T07:47:09Z | 2023-04-12T07:47:09Z | 2023-04-12T07:47:09Z | 795 | hpcaitech/ColossalAI | 11,426 |
Update README-tr-TR.md | diff --git a/doc/translations/README-tr-TR.md b/doc/translations/README-tr-TR.md
index 485a1fcd900..f2508202abc 100644
--- a/doc/translations/README-tr-TR.md
+++ b/doc/translations/README-tr-TR.md
@@ -37,9 +37,9 @@ Bütün seçenekleri gösterir
python sqlmap.py -hh
-Program ile ilgili örnekleri [burada](https://a... | Small fix for documentation. | https://api.github.com/repos/sqlmapproject/sqlmap/pulls/4832 | 2021-09-27T16:57:54Z | 2021-09-28T12:25:28Z | 2021-09-28T12:25:27Z | 2021-09-28T12:25:28Z | 277 | sqlmapproject/sqlmap | 14,963 |
Corrected typo. | diff --git a/docs/topics/practices.rst b/docs/topics/practices.rst
index 79a249482cf..525818d57d2 100644
--- a/docs/topics/practices.rst
+++ b/docs/topics/practices.rst
@@ -148,7 +148,7 @@ If you are still unable to prevent your bot getting banned, consider contacting
Dynamic Creation of Item Classes
================... | https://api.github.com/repos/scrapy/scrapy/pulls/402 | 2013-09-29T21:08:26Z | 2013-09-29T21:21:04Z | 2013-09-29T21:21:04Z | 2014-06-12T16:08:02Z | 144 | scrapy/scrapy | 35,176 | |
AstraDB VectorStore: implement pre_delete_collection | diff --git a/libs/langchain/langchain/vectorstores/astradb.py b/libs/langchain/langchain/vectorstores/astradb.py
index 0eacbd2d9264ae..0b5274c90badce 100644
--- a/libs/langchain/langchain/vectorstores/astradb.py
+++ b/libs/langchain/langchain/vectorstores/astradb.py
@@ -78,43 +78,46 @@ class AstraDB(VectorStore):
... | - **Description:** some vector stores have a flag for try deleting the collection before creating it (such as ´vectorpg´). This is a useful flag when prototyping indexing pipelines and also for integration tests. Added the bool flag `pre_delete_collection ` to the constructor (default False)
- **Tag maintainer:**... | https://api.github.com/repos/langchain-ai/langchain/pulls/13780 | 2023-11-23T15:34:21Z | 2023-12-03T20:06:20Z | 2023-12-03T20:06:20Z | 2023-12-03T20:06:20Z | 1,917 | langchain-ai/langchain | 43,255 |
ref(saml): Clean up metadata view error messages | diff --git a/src/sentry/auth/providers/saml2.py b/src/sentry/auth/providers/saml2.py
index 5a38dbca4c3cf..ef67f2b5a75b5 100644
--- a/src/sentry/auth/providers/saml2.py
+++ b/src/sentry/auth/providers/saml2.py
@@ -342,11 +342,11 @@ def dispatch(self, request, organization_slug):
metadata = saml_settings.get_sp_... | I'm okay with these being plain text, since the metadata is XML anyway. | https://api.github.com/repos/getsentry/sentry/pulls/6174 | 2017-09-22T18:21:36Z | 2017-09-22T20:05:13Z | 2017-09-22T20:05:13Z | 2020-12-22T19:31:03Z | 219 | getsentry/sentry | 44,537 |
Fixed typo in CHANGES.md | diff --git a/CHANGES.md b/CHANGES.md
index 79b5c6034e8..a75b54d8d81 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -68,7 +68,7 @@
### Parser
-- Fix bug where attributes named `type` were not acccepted inside `match` statements
+- Fix bug where attributes named `type` were not accepted inside `match` statements
(#3... | acccepted -> accepted
Sigificantly -> Significantly | https://api.github.com/repos/psf/black/pulls/3963 | 2023-10-22T07:36:38Z | 2023-10-22T21:16:44Z | 2023-10-22T21:16:43Z | 2023-10-22T21:16:44Z | 270 | psf/black | 24,503 |
Decrease default line length for iter_lines | diff --git a/requests/models.py b/requests/models.py
index 5202e6f4ba..bbef7ad832 100644
--- a/requests/models.py
+++ b/requests/models.py
@@ -29,7 +29,7 @@
REDIRECT_STATI = (codes.moved, codes.found, codes.other, codes.temporary_moved)
CONTENT_CHUNK_SIZE = 10 * 1024
-ITER_CHUNK_SIZE = 10 * 1024
+ITER_CHUNK_SIZE = ... | Improve the responsiveness of `iter_lines` when called by unsuspecting users. =)
Belatedly changed in response to #989. Obviously, feel free to pick a different number if you think this is no good.
| https://api.github.com/repos/psf/requests/pulls/1122 | 2013-01-21T21:17:17Z | 2013-01-22T13:09:12Z | 2013-01-22T13:09:12Z | 2021-09-08T23:06:17Z | 181 | psf/requests | 32,547 |
NLP: Add VDCNN for NLP and FastText | diff --git a/README.md b/README.md
index a2e01d2..5eb3a51 100644
--- a/README.md
+++ b/README.md
@@ -200,6 +200,10 @@ I would continue adding papers to this roadmap.
**[7]** Karl Moritz Hermann, et al. "**Teaching Machines to Read and Comprehend**." arXiv preprint arXiv:1506.03340(2015) [[pdf]](https://arxiv.org/abs... | These papers describe two of the best algorithms for text classification
| https://api.github.com/repos/floodsung/Deep-Learning-Papers-Reading-Roadmap/pulls/16 | 2016-10-23T17:43:03Z | 2016-10-23T22:58:20Z | 2016-10-23T22:58:20Z | 2016-10-23T22:58:20Z | 385 | floodsung/Deep-Learning-Papers-Reading-Roadmap | 51,710 |
Solution for Euler Problem 26 | diff --git a/project_euler/problem_26/__init__.py b/project_euler/problem_26/__init__.py
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/project_euler/problem_26/sol1.py b/project_euler/problem_26/sol1.py
new file mode 100644
index 000000000000..7b8c44c9c828
--- /dev/null
+++ b/project_euler/problem_... | Adding a solution for Euler Problem 26.
### **Checklist:**
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md).
* [x] This pull request is all my own work -- I have not plagiarized.
* [x] I know that pull requests will not be merged if they fail the automated... | https://api.github.com/repos/TheAlgorithms/Python/pulls/1939 | 2020-05-03T19:30:36Z | 2020-05-03T20:48:17Z | 2020-05-03T20:48:17Z | 2020-05-03T20:51:07Z | 457 | TheAlgorithms/Python | 29,633 |
Update README.md | diff --git a/README.md b/README.md
index 6a13c0f..002529f 100644
--- a/README.md
+++ b/README.md
@@ -59,6 +59,7 @@ So, here we go...
+ [▶ The disappearing variable from outer scope](#-the-disappearing-variable-from-outer-scope)
+ [▶ The mysterious key type conversion](#-the-mysterious-key-type-conversion)
... | Add new feature: Exceeds the limit for integer string conversion | https://api.github.com/repos/satwikkansal/wtfpython/pulls/300 | 2022-10-21T20:01:02Z | 2022-11-01T09:21:09Z | 2022-11-01T09:21:09Z | 2022-11-01T09:21:22Z | 638 | satwikkansal/wtfpython | 25,791 |
support 'on prompt' event handler on backend | diff --git a/server.py b/server.py
index d1295342bb..be1048be08 100644
--- a/server.py
+++ b/server.py
@@ -1,6 +1,8 @@
import os
import sys
import asyncio
+import traceback
+
import nodes
import folder_paths
import execution
@@ -88,6 +90,8 @@ def __init__(self, loop):
self.last_node_id = None
se... | Allowing pre-prompt and pre-workflow checks before the prompt is executed enables pre-execution tasks that have a global impact, such as extension garbage collection, prompt editing, and other related actions. | https://api.github.com/repos/comfyanonymous/ComfyUI/pulls/765 | 2023-06-13T08:46:58Z | 2023-08-28T04:52:22Z | 2023-08-28T04:52:22Z | 2023-08-28T04:54:01Z | 340 | comfyanonymous/ComfyUI | 17,725 |
BUG: Correct check for local import | diff --git a/sklearn/__check_build/__init__.py b/sklearn/__check_build/__init__.py
index 7303c9ea0a586..6256b99408256 100644
--- a/sklearn/__check_build/__init__.py
+++ b/sklearn/__check_build/__init__.py
@@ -18,7 +18,7 @@ def raise_build_error(e):
# directory to help debugging on the mailing list.
local_dir ... | With the move of the `check_build` directory to `__check_build` in cd7404706 the comparison for displaying the error message indicating a import from the source tree that has not been build inplace was incorrect. This fixes this bug so that the **INPLACE_MSG** is displayed in these cases.
| https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4095 | 2015-01-13T20:44:25Z | 2015-01-14T13:30:16Z | 2015-01-14T13:30:16Z | 2015-01-14T13:30:16Z | 178 | scikit-learn/scikit-learn | 46,140 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.