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 |
|---|---|---|---|---|---|---|---|---|---|---|
Add "Save character" button | diff --git a/modules/chat.py b/modules/chat.py
index 7a21d7be88..a63dcd4069 100644
--- a/modules/chat.py
+++ b/modules/chat.py
@@ -602,3 +602,43 @@ def upload_your_profile_picture(img):
img = make_thumbnail(img)
img.save(Path('cache/pfp_me.png'))
logging.info('Profile picture saved to "cache/... | Added a save and delete button. | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/1870 | 2023-05-07T03:43:50Z | 2023-05-21T00:48:45Z | 2023-05-21T00:48:45Z | 2023-05-21T00:50:23Z | 2,301 | oobabooga/text-generation-webui | 26,482 |
Add docxtpl, loguru | diff --git a/README.md b/README.md
index 4510dd251..d823a6f52 100644
--- a/README.md
+++ b/README.md
@@ -772,6 +772,7 @@ Inspired by [awesome-php](https://github.com/ziadoz/awesome-php).
* [logbook](http://logbook.readthedocs.io/en/stable/) - Logging replacement for Python.
* [logging](https://docs.python.org/3/libra... | Add docxtpl
Add loguru
| https://api.github.com/repos/vinta/awesome-python/pulls/1453 | 2020-01-14T07:17:28Z | 2020-07-09T05:21:41Z | 2020-07-09T05:21:41Z | 2020-07-09T05:21:41Z | 426 | vinta/awesome-python | 27,334 |
🌐 Add French translation for `docs/fr/docs/tutorial/query-params-str-validations.md` | diff --git a/docs/fr/docs/tutorial/query-params-str-validations.md b/docs/fr/docs/tutorial/query-params-str-validations.md
new file mode 100644
index 0000000000000..f5248fe8b3297
--- /dev/null
+++ b/docs/fr/docs/tutorial/query-params-str-validations.md
@@ -0,0 +1,305 @@
+# Paramètres de requête et validations de chaîne... | Hey everyone! 👋
Here is the PR to translate the **query params and string validations** page of the tutorial documentation into french.
See the french translation tracking issue [here](https://github.com/tiangolo/fastapi/issues/1972).
Thanks for the reviews👌 | https://api.github.com/repos/tiangolo/fastapi/pulls/4075 | 2021-10-20T20:14:50Z | 2023-07-27T18:53:22Z | 2023-07-27T18:53:22Z | 2023-07-27T18:53:22Z | 2,983 | tiangolo/fastapi | 22,680 |
Add doc for AstraDB document loader | diff --git a/docs/docs/integrations/document_loaders/astradb.ipynb b/docs/docs/integrations/document_loaders/astradb.ipynb
new file mode 100644
index 00000000000000..da8c7c40437c97
--- /dev/null
+++ b/docs/docs/integrations/document_loaders/astradb.ipynb
@@ -0,0 +1,185 @@
+{
+ "cells": [
+ {
+ "attachments": {},
+ ... | <!-- Thank you for contributing to LangChain!
Please title your PR "<package>: <description>", where <package> is whichever of langchain, community, core, experimental, etc. is being modified.
Replace this entire comment with:
- **Description:** a description of the change,
- **Issue:** the issue # it fixe... | https://api.github.com/repos/langchain-ai/langchain/pulls/15703 | 2024-01-08T13:34:39Z | 2024-01-08T20:21:46Z | 2024-01-08T20:21:46Z | 2024-01-08T20:54:14Z | 2,210 | langchain-ai/langchain | 43,723 |
Update Twitch url | diff --git a/README.md b/README.md
index c6938bb276..3dbe768e85 100644
--- a/README.md
+++ b/README.md
@@ -464,7 +464,7 @@ API | Description | Auth | HTTPS | Link |
| Telegram Bot | Simplified HTTP version of the MTProto API for bots | `OAuth` | Yes | [Go!](https://core.telegram.org/bots/api) |
| Telegram MTProto | R... | 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:
- [ ] Your submissions are formatted according to the guidelines in the [contributing guide](CONTRIBUTING.md).
- [ ] Your changes are made in the [README](../README.md) fi... | https://api.github.com/repos/public-apis/public-apis/pulls/473 | 2017-08-26T23:07:21Z | 2017-08-28T09:14:27Z | 2017-08-28T09:14:27Z | 2017-08-28T09:14:31Z | 274 | public-apis/public-apis | 35,808 |
[extractor/ninegag] Update to 9GAG extractor | diff --git a/yt_dlp/extractor/ninegag.py b/yt_dlp/extractor/ninegag.py
index 00ca95ea2e6..86e710f2b1f 100644
--- a/yt_dlp/extractor/ninegag.py
+++ b/yt_dlp/extractor/ninegag.py
@@ -3,7 +3,7 @@
ExtractorError,
determine_ext,
int_or_none,
- try_get,
+ traverse_obj,
unescapeHTML,
url_or_none... | ### Description of your *pull request* and other information
</details>
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well enough to be understood. Provide as much **context and exam... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/4597 | 2022-08-07T19:05:25Z | 2022-08-07T20:21:53Z | 2022-08-07T20:21:53Z | 2022-08-07T20:21:54Z | 1,085 | yt-dlp/yt-dlp | 7,968 |
common/util.cc: add unit test, fix bug in util::read_file | diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml
index 305d2c7b889460..c12aedcced6866 100644
--- a/.github/workflows/selfdrive_tests.yaml
+++ b/.github/workflows/selfdrive_tests.yaml
@@ -208,6 +208,7 @@ jobs:
$UNIT_TEST selfdrive/athena && \
... | <!-- Please copy and paste the relevant template -->
<!--- ***** Template: Car bug fix *****
**Description** [](A description of the bug and the fix. Also link any relevant issues.)
**Verification** [](Explain how you tested this bug fix.)
**Route**
Route: [a route with the bug fix]
-->
<!--- ***** T... | https://api.github.com/repos/commaai/openpilot/pulls/21251 | 2021-06-13T17:47:28Z | 2021-06-16T09:01:13Z | 2021-06-16T09:01:13Z | 2021-06-16T09:02:31Z | 1,007 | commaai/openpilot | 9,847 |
Add areena.yle.fi video download support | diff --git a/yt_dlp/extractor/_extractors.py b/yt_dlp/extractor/_extractors.py
index 8652ec54e55..12218a55c48 100644
--- a/yt_dlp/extractor/_extractors.py
+++ b/yt_dlp/extractor/_extractors.py
@@ -2233,6 +2233,7 @@
from .yapfiles import YapFilesIE
from .yesjapan import YesJapanIE
from .yinyuetai import YinYueTaiIE
+... | **IMPORTANT**: PRs without the template will be CLOSED
### Description of your *pull request* and other information
</details>
<!--
Explanation of your *pull request* in arbitrary form goes here. Please **make sure the description explains the purpose and effect** of your *pull request* and is worded well e... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/5270 | 2022-10-17T18:10:02Z | 2022-11-11T09:36:24Z | 2022-11-11T09:36:24Z | 2022-11-11T09:37:37Z | 1,284 | yt-dlp/yt-dlp | 7,805 |
Skip langchain `test_agent_run` failing test | diff --git a/lib/test-requirements.txt b/lib/test-requirements.txt
index f6c0442d355d..d52b76a4dcb8 100644
--- a/lib/test-requirements.txt
+++ b/lib/test-requirements.txt
@@ -46,3 +46,6 @@ sqlalchemy[mypy]>=1.4.25, <2.0
# Pydantic 1.* fails to initialize validators, we add it to requirements
# to test the fix. Pydant... | skip langchain `test_agent_run` test, if langchain version is newer than 0.0.295 (after https://github.com/langchain-ai/langchain/pull/10797/ PR old pickle file we use could not be marshaled into new `AgentAction` class instance)
<!--
⚠️ BEFORE CONTRIBUTING PLEASE READ OUR CONTRIBUTING GUIDELINES!
https://github.... | https://api.github.com/repos/streamlit/streamlit/pulls/7399 | 2023-09-21T15:41:56Z | 2023-09-21T18:14:18Z | 2023-09-21T18:14:18Z | 2023-09-21T18:15:03Z | 407 | streamlit/streamlit | 22,129 |
Automate EBS cleanup | diff --git a/tests/letstest/multitester.py b/tests/letstest/multitester.py
index 17740cde820..0ae9636d428 100644
--- a/tests/letstest/multitester.py
+++ b/tests/letstest/multitester.py
@@ -128,6 +128,7 @@ def make_instance(instance_name,
userdata=""): #userdata contains bash or cloud-init script
... | Part of #6056.
I have another piece to this locally which makes us terminating the instances more reliable, but I thought I'd split up the PR and first submit this which causes Amazon to automatically handle deleting EBS volumes when instances are shutdown.
The general approach here is described at https://docs.a... | https://api.github.com/repos/certbot/certbot/pulls/6160 | 2018-06-28T21:31:47Z | 2018-07-18T00:19:05Z | 2018-07-18T00:19:05Z | 2018-08-22T18:31:43Z | 779 | certbot/certbot | 260 |
fix(relay): Make MEP metrics extraction work through flagr | diff --git a/src/sentry/features/__init__.py b/src/sentry/features/__init__.py
index 973abc31c08f85..dc2c71fdc17e07 100644
--- a/src/sentry/features/__init__.py
+++ b/src/sentry/features/__init__.py
@@ -133,7 +133,7 @@
default_manager.add("organizations:slack-overage-notifications", OrganizationFeature, True)
default... | While transaction metrics are not stabilized, let's enable them through flagr for a moment. This partially reverts https://github.com/getsentry/sentry/commit/755a304d7d5ebd1c9ea5a61e407d38924f4fcb65 / #31995 | https://api.github.com/repos/getsentry/sentry/pulls/35922 | 2022-06-22T19:20:04Z | 2022-06-22T19:44:31Z | 2022-06-22T19:44:31Z | 2022-07-08T00:03:20Z | 201 | getsentry/sentry | 44,465 |
Add Yandex Music | diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json
index 1e6f1641e..8fcb909c6 100644
--- a/sherlock/resources/data.json
+++ b/sherlock/resources/data.json
@@ -2231,6 +2231,13 @@
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
},
+ "YandexMusic": {
+ "err... | Add https://music.yandex/ | https://api.github.com/repos/sherlock-project/sherlock/pulls/1525 | 2022-10-06T10:24:52Z | 2022-10-09T12:22:13Z | 2022-10-09T12:22:13Z | 2022-10-09T12:22:13Z | 198 | sherlock-project/sherlock | 36,328 |
set analytics api version to v1 | diff --git a/localstack/constants.py b/localstack/constants.py
index 3279329f20adc..a2a80eb181d66 100644
--- a/localstack/constants.py
+++ b/localstack/constants.py
@@ -143,7 +143,7 @@
# API endpoint for analytics events
API_ENDPOINT = os.environ.get("API_ENDPOINT") or "https://api.localstack.cloud/v1"
# new analyti... | this PR updates the analytics API to v1 which was deployed and tested today | https://api.github.com/repos/localstack/localstack/pulls/6431 | 2022-07-11T15:26:18Z | 2022-07-11T17:09:48Z | 2022-07-11T17:09:48Z | 2022-07-11T17:10:03Z | 176 | localstack/localstack | 28,853 |
Improve switch control | diff --git a/gae_proxy/web_ui/config.html b/gae_proxy/web_ui/config.html
index 704861d5f0..6b6174c350 100644
--- a/gae_proxy/web_ui/config.html
+++ b/gae_proxy/web_ui/config.html
@@ -158,16 +158,11 @@
}
if ( result['host_appengine_mode'] == 'gae' ) {
- $('#deploy-v... | https://api.github.com/repos/XX-net/XX-Net/pulls/2526 | 2016-03-28T08:27:44Z | 2016-03-28T08:58:19Z | 2016-03-28T08:58:19Z | 2016-03-28T08:58:19Z | 1,854 | XX-net/XX-Net | 17,211 | |
Adding Jinja2 RCE through lipsum in Templates | diff --git a/Server Side Template Injection/README.md b/Server Side Template Injection/README.md
index 5c9fe14cde..3c0324e1b0 100644
--- a/Server Side Template Injection/README.md
+++ b/Server Side Template Injection/README.md
@@ -563,7 +563,7 @@ But when `__builtins__` is filtered, the following payloads are context... | Source; https://twitter.com/podalirius_/status/1655970628648697860 | https://api.github.com/repos/swisskyrepo/PayloadsAllTheThings/pulls/642 | 2023-05-09T16:34:44Z | 2023-05-09T16:58:58Z | 2023-05-09T16:58:58Z | 2023-05-09T16:58:58Z | 359 | swisskyrepo/PayloadsAllTheThings | 8,343 |
Avoid metaclass conflicts when inheriting from `gym.Env` | diff --git a/gym/core.py b/gym/core.py
index e06398e7f51..7a1b79ebe43 100644
--- a/gym/core.py
+++ b/gym/core.py
@@ -31,55 +31,36 @@
RenderFrame = TypeVar("RenderFrame")
-class _EnvDecorator(type): # TODO: remove with gym 1.0
- """Metaclass used for adding deprecation warning to the mode kwarg in the render me... | # Description
Using `__init_subclass__` instead of metaclass, suggested by [PEP 487](https://peps.python.org/pep-0487/)(introduced in python3.6).
As a result, downstream package can safely inherit from `gym.Env` and `abc.ABC`/`Protocol`/...(classes with metaclass != `type`), or set their own metaclass without makin... | https://api.github.com/repos/openai/gym/pulls/3001 | 2022-07-28T11:58:51Z | 2022-08-16T15:19:32Z | 2022-08-16T15:19:32Z | 2022-08-16T15:19:32Z | 1,097 | openai/gym | 5,194 |
Fixes for sentry docs | diff --git a/docs/errorhandling.rst b/docs/errorhandling.rst
index bfc7f1181c..12deadd4cc 100644
--- a/docs/errorhandling.rst
+++ b/docs/errorhandling.rst
@@ -57,19 +57,15 @@ The `YOUR_DSN_HERE` value needs to be replaced with the DSN value you get
from your Sentry installation.
After installation, failures leading... | Followup to #2990 | https://api.github.com/repos/pallets/flask/pulls/2991 | 2018-11-07T19:31:33Z | 2018-11-07T20:04:11Z | 2018-11-07T20:04:11Z | 2020-11-14T02:42:35Z | 345 | pallets/flask | 20,569 |
👷 Update GitHub Action latest-changes | diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml
index 829377bb39ada..ed4d4554c4faa 100644
--- a/.github/workflows/latest-changes.yml
+++ b/.github/workflows/latest-changes.yml
@@ -21,6 +21,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
+ ... | 👷 Update GitHub Action latest-changes
Use a custom token to checkout with git, and this way allow it to push to master. | https://api.github.com/repos/tiangolo/fastapi/pulls/3574 | 2021-07-21T10:31:50Z | 2021-07-21T10:33:43Z | 2021-07-21T10:33:43Z | 2021-07-21T10:33:43Z | 157 | tiangolo/fastapi | 23,341 |
Replacing problematic code example in ES.41 | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 7880874ca..038254762 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -8412,13 +8412,14 @@ Avoid errors. Readability. Not everyone has the operator table memorized.
##### Example
- if (a && b == 1) // OK?
- if (a & b == 1) // OK?
+... | The comment in the second line below seems wrong.
```
if (a && b == 1) // OK: means a&&(b == 1)
if (a & b == 1) // bad: means (a&b) == 1
```
As both `&` and `&&` has lower precedence than `==`, `a & b == 1` should mean `a&(b == 1)`.
After correcting it, the original example becomes irrelevant, so I propose a diff... | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/365 | 2015-10-27T19:03:01Z | 2015-10-28T13:26:49Z | 2015-10-28T13:26:49Z | 2015-10-28T13:26:55Z | 261 | isocpp/CppCoreGuidelines | 15,749 |
[Delete benchmark_runner]: Scoreboard already removed | diff --git a/examples/scripts/benchmark_runner b/examples/scripts/benchmark_runner
deleted file mode 100755
index aa01f5e5fb0..00000000000
--- a/examples/scripts/benchmark_runner
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/usr/bin/env python
-#
-# Run all the tasks on a benchmark using a random agent.
-#
-# This script assumes ... | https://api.github.com/repos/openai/gym/pulls/1309 | 2019-02-06T15:28:22Z | 2019-02-09T00:18:19Z | 2019-02-09T00:18:19Z | 2019-03-27T08:05:40Z | 731 | openai/gym | 5,116 | |
bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs | diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 67a83bc9584578..15fca8fa9d4c98 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -1097,6 +1097,12 @@ Porting to Python 3.9
internal C API (``pycore_gc.h``).
(Contributed by Victor Stinner in :issue:`40241`.)
+* The ``Py_UNICODE_COPY``,... |
<!-- issue-number: [bpo-36346](https://bugs.python.org/issue36346) -->
https://bugs.python.org/issue36346
<!-- /issue-number -->
| https://api.github.com/repos/python/cpython/pulls/20878 | 2020-06-15T01:15:14Z | 2020-06-17T11:09:45Z | 2020-06-17T11:09:45Z | 2020-06-17T12:21:40Z | 3,023 | python/cpython | 4,490 |
API don't default get_params output to None in the future | diff --git a/doc/whats_new/v0.22.rst b/doc/whats_new/v0.22.rst
index bcef08ff1881b..6819cad18e2e1 100644
--- a/doc/whats_new/v0.22.rst
+++ b/doc/whats_new/v0.22.rst
@@ -45,6 +45,14 @@ Changelog
:pr:`123456` by :user:`Joe Bloggs <joeongithub>`.
where 123456 is the *pull request* number, not the issue number.
... | #### Reference Issues/PRs
Fixes #14461
#### What does this implement/fix? Explain your changes.
Previously, the default implementation of `get_params` would use `getattr` to retrieve a parameter value from an estimator, but would default to retrieve None if an AttributeError would otherwise have been raised.
... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/14464 | 2019-07-25T00:34:02Z | 2019-07-28T13:37:48Z | 2019-07-28T13:37:48Z | 2019-07-28T13:37:48Z | 1,534 | scikit-learn/scikit-learn | 46,102 |
[MRG+1] fix the path of html files in contributing.md | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b76286159b792..ece0ef947ef2e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -217,7 +217,7 @@ You can edit the documentation using any text editor and then generate
the HTML output by typing ``make html`` from the doc/ directory.
Alternatively, ``make`` can b... | #### What does this implement/fix? Explain your changes.
When building the documentation, the resulting html files are located in _build/html/stable as indicated in the contributing section of the user guide. This PR fixes the path in CONTRIBUTING.md
<!--
Please be aware that we are a loose team of volunteers so... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/10688 | 2018-02-24T16:44:17Z | 2018-02-25T04:10:29Z | 2018-02-25T04:10:29Z | 2018-02-25T04:10:29Z | 188 | scikit-learn/scikit-learn | 46,225 |
remove tiktoken pin | diff --git a/requirements.txt b/requirements.txt
index 3c11ac32..a03dae85 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,4 +3,4 @@ numpy
torch
tqdm
more-itertools
-tiktoken==0.3.3
+tiktoken
diff --git a/tests/test_tokenizer.py b/tests/test_tokenizer.py
index 09d0351e..be424e5f 100644
--- a/tests/test_tok... | As suggested in #1713 | https://api.github.com/repos/openai/whisper/pulls/1759 | 2023-11-06T10:58:51Z | 2023-11-06T11:05:21Z | 2023-11-06T11:05:21Z | 2023-11-06T11:05:21Z | 426 | openai/whisper | 45,813 |
Add Iterable in 2.7 _collections_compat | diff --git a/lib/ansible/module_utils/common/_collections_compat.py b/lib/ansible/module_utils/common/_collections_compat.py
index b44dbcf929182e..86edd493ee2a57 100644
--- a/lib/ansible/module_utils/common/_collections_compat.py
+++ b/lib/ansible/module_utils/common/_collections_compat.py
@@ -18,6 +18,7 @@
Ma... | Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
##### SUMMARY
<!--- Describe the change below, including rationale and design decisions -->
Add Iterable in 2.7 _collections_compat
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
##### ISSUE TYPE
<!--- Pick one below and delete th... | https://api.github.com/repos/ansible/ansible/pulls/46686 | 2018-10-09T12:31:54Z | 2018-10-10T01:28:15Z | 2018-10-10T01:28:15Z | 2019-07-22T16:53:24Z | 160 | ansible/ansible | 48,782 |
openchat 3.5 model support | diff --git a/README.md b/README.md
index f9b42b568f..5014007227 100644
--- a/README.md
+++ b/README.md
@@ -105,7 +105,7 @@ You can use the commands below to chat with FastChat-T5. It will automatically d
#### Supported Models
FastChat supports a wide range of models, including
-LLama 2, Vicuna, Alpaca, Baize, ChatG... | <!-- Thank you for your contribution! -->
<!-- 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 PR. -->
## Why are these changes needed?
Add support for OpenChat 3.5 model. https://github.com/imoneoi/... | https://api.github.com/repos/lm-sys/FastChat/pulls/2638 | 2023-11-03T15:39:48Z | 2023-11-03T23:59:00Z | 2023-11-03T23:59:00Z | 2023-11-08T17:15:58Z | 1,224 | lm-sys/FastChat | 41,505 |
Change Oauth value for Discogs from No to Yes | diff --git a/README.md b/README.md
index eb828fb496..c73b9d1e7e 100644
--- a/README.md
+++ b/README.md
@@ -196,7 +196,7 @@ A collective list of JSON APIs for use in web development.
| API | Description | OAuth | Link |
|---|---|---|---|
| Deezer | Music | Yes | [Go!](http://developers.deezer.com/api) |
-| Discogs | ... | Discogs uses/requires OAuth. | https://api.github.com/repos/public-apis/public-apis/pulls/241 | 2016-11-08T08:31:56Z | 2016-11-08T10:14:49Z | 2016-11-08T10:14:49Z | 2016-11-08T10:15:03Z | 225 | public-apis/public-apis | 35,435 |
use .unbind instead of explicitly listing the indices | diff --git a/timm/models/beit.py b/timm/models/beit.py
index e8d1dd2c7e..199c2a4bb2 100644
--- a/timm/models/beit.py
+++ b/timm/models/beit.py
@@ -136,7 +136,7 @@ def forward(self, x, rel_pos_bias: Optional[torch.Tensor] = None):
qkv_bias = torch.cat((self.q_bias, torch.zeros_like(self.v_bias, requires... | Thank you for making timm!
So to not report all minor style observations via twitter: when seeing the explicit unpacking in the attention done via `qkv[0], qkv[1], qkv[2]` I thought "there is a PyTorch function doing just that": `torch.unbind`.
There is a some chance that this will have a very slight performance im... | https://api.github.com/repos/huggingface/pytorch-image-models/pulls/933 | 2021-10-24T20:11:43Z | 2021-10-25T05:33:18Z | 2021-10-25T05:33:18Z | 2021-10-25T05:33:18Z | 1,773 | huggingface/pytorch-image-models | 16,401 |
bump version to 2.7.5 | diff --git a/paddleocr.py b/paddleocr.py
index e6c212aba2..166a4bd743 100644
--- a/paddleocr.py
+++ b/paddleocr.py
@@ -60,7 +60,7 @@ def _import_file(module_name, file_path, make_importable=False):
]
SUPPORT_DET_MODEL = ['DB']
-VERSION = '2.7.4'
+VERSION = '2.7.5'
SUPPORT_REC_MODEL = ['CRNN', 'SVTR_LCNet']
BASE_D... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/11843 | 2024-03-29T09:46:15Z | 2024-03-29T09:46:28Z | 2024-03-29T09:46:28Z | 2024-03-29T09:46:28Z | 129 | PaddlePaddle/PaddleOCR | 42,192 | |
Added Python hackers | diff --git a/README.md b/README.md
index f66ee326a..97597f489 100644
--- a/README.md
+++ b/README.md
@@ -1085,6 +1085,7 @@ Where to discover new Python libraries.
* [CoolGithubProjects](http://coolgithubprojects.com/) - Sharing cool github projects just got easier!
* [Full Stack Python](http://www.fullstackpython.com... | https://api.github.com/repos/vinta/awesome-python/pulls/288 | 2014-12-31T10:45:56Z | 2014-12-31T11:13:28Z | 2014-12-31T11:13:28Z | 2014-12-31T11:13:28Z | 169 | vinta/awesome-python | 26,956 | |
Revert "Simplify which folders are used" | diff --git a/gpt_engineer/db.py b/gpt_engineer/db.py
index 073771cde1..6664a83c2c 100644
--- a/gpt_engineer/db.py
+++ b/gpt_engineer/db.py
@@ -139,3 +139,8 @@ def archive(dbs: DBs) -> None:
shutil.move(
str(dbs.memory.path), str(dbs.archive.path / timestamp / dbs.memory.path.name)
)
+ shutil.move(... | Reverts AntonOsika/gpt-engineer#659 | https://api.github.com/repos/gpt-engineer-org/gpt-engineer/pulls/668 | 2023-09-03T14:21:18Z | 2023-09-03T14:21:23Z | 2023-09-03T14:21:23Z | 2023-09-03T14:21:39Z | 906 | gpt-engineer-org/gpt-engineer | 33,226 |
Fix ill-formed example C.65 (missing noexcept on declaration) | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 0c1052d1e..b37426ba8 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -6387,7 +6387,7 @@ If `x = x` changes the value of `x`, people will be surprised and bad errors can
string s;
int i;
public:
- Foo& operator=(... | There cannot be a mismatch between the exception specification of a declaration and definition. The example in its current form fails to compile. | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/2101 | 2023-06-23T22:40:21Z | 2023-06-24T03:34:42Z | 2023-06-24T03:34:42Z | 2023-06-24T03:34:43Z | 129 | isocpp/CppCoreGuidelines | 15,503 |
New description of webroot for the UI | diff --git a/letsencrypt/plugins/webroot.py b/letsencrypt/plugins/webroot.py
index 4e3b8099c57..a0f7ef9c3d4 100644
--- a/letsencrypt/plugins/webroot.py
+++ b/letsencrypt/plugins/webroot.py
@@ -27,7 +27,7 @@
class Authenticator(common.Plugin):
"""Webroot Authenticator."""
- description = "Webroot Authenticato... | https://api.github.com/repos/certbot/certbot/pulls/2766 | 2016-04-05T18:25:57Z | 2016-04-05T19:53:09Z | 2016-04-05T19:53:09Z | 2016-05-06T19:21:58Z | 131 | certbot/certbot | 3,204 | |
fix tcp.Address leftovers | diff --git a/examples/complex/har_dump.py b/examples/complex/har_dump.py
index 51983b54f4..86a336847c 100644
--- a/examples/complex/har_dump.py
+++ b/examples/complex/har_dump.py
@@ -147,7 +147,7 @@ def response(flow):
}
if flow.server_conn.connected():
- entry["serverIPAddress"] = str(flow.serve... | this fixes the issue described in https://github.com/mitmproxy/mitmproxy/issues/2119#issuecomment-285067292 | https://api.github.com/repos/mitmproxy/mitmproxy/pulls/2121 | 2017-03-08T15:18:39Z | 2017-03-08T19:06:11Z | 2017-03-08T19:06:11Z | 2017-03-08T19:06:14Z | 130 | mitmproxy/mitmproxy | 27,911 |
win_chocolatey: Add -skip-scripts support | diff --git a/lib/ansible/modules/windows/win_chocolatey.ps1 b/lib/ansible/modules/windows/win_chocolatey.ps1
index 9ada67b5f130d5..cf3d0b395bedb9 100644
--- a/lib/ansible/modules/windows/win_chocolatey.ps1
+++ b/lib/ansible/modules/windows/win_chocolatey.ps1
@@ -20,10 +20,6 @@
# WANT_JSON
# POWERSHELL_COMMON
-$resu... | ##### SUMMARY
This PR includes:
- A new parameter `skip_scripts` to disable running scripts
- Documentation fixes (wrt. booleans)
This fixes #25516
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
- Feature Pull Request
##### COMPONENT NAME
<!--- Name of the module/plugin/module/task -->
... | https://api.github.com/repos/ansible/ansible/pulls/26523 | 2017-07-07T10:53:18Z | 2017-07-10T04:20:06Z | 2017-07-10T04:20:06Z | 2019-04-26T21:40:47Z | 2,495 | ansible/ansible | 49,119 |
Cache improvements | diff --git a/CHANGELOG.md b/CHANGELOG.md
index bb6866b4f0d28..d6c20956fb2ca 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
## Unreleased
### New Features
+- Added "LLAMA_INDEX_CACHE_DIR" to control cached files (#7233)
- Default to pydantic selectors when possible (#7154, #7223)
- Remove the need fo... | # Description
This PR gives users easy control over where cache files are saved across llama-index. Just set the `LLAMA_INDEX_CACHE_DIR` environment variable and you should be good to go.
Mentioned in https://github.com/jerryjliu/llama_index/issues/7231
## Type of Change
- [x] Bug fix (non-breaking change w... | https://api.github.com/repos/run-llama/llama_index/pulls/7233 | 2023-08-11T14:52:43Z | 2023-08-11T16:40:53Z | 2023-08-11T16:40:53Z | 2023-08-11T16:40:54Z | 1,928 | run-llama/llama_index | 6,802 |
Add .nox directories to default exclude | diff --git a/README.md b/README.md
index 244f60d776c..5df3871e0e1 100644
--- a/README.md
+++ b/README.md
@@ -99,7 +99,7 @@ Options:
recursive searches. On Windows, use forward
slashes for directories. [default:
build/|buck-out... | [Nox](https://nox.readthedocs.io/) is similar to Tox. It creates a .nox directory that contains virtualenv for testing with different Python versions. | https://api.github.com/repos/psf/black/pulls/525 | 2018-09-21T16:52:17Z | 2018-09-25T15:25:59Z | 2018-09-25T15:25:59Z | 2018-09-25T22:04:42Z | 341 | psf/black | 24,463 |
Fix typo | diff --git a/docs/api.rst b/docs/api.rst
index 48bb001ed0..9662187f11 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -370,7 +370,7 @@ JSON module:
1. ``datetime`` objects are serialized as :rfc:`822` strings.
2. Any object with an ``__html__`` method (like :class:`~flask.Markup`)
- will ahve that method calle... | Fixed a small typo.
| https://api.github.com/repos/pallets/flask/pulls/776 | 2013-06-23T00:42:52Z | 2013-06-23T00:54:31Z | 2013-06-23T00:54:31Z | 2020-11-14T05:17:40Z | 157 | pallets/flask | 20,570 |
Update LLaMA-model.md | diff --git a/docs/LLaMA-model.md b/docs/LLaMA-model.md
index 338d458b13..6706b16d6b 100644
--- a/docs/LLaMA-model.md
+++ b/docs/LLaMA-model.md
@@ -30,7 +30,15 @@ pip install protobuf==3.20.1
2. Use the script below to convert the model in `.pth` format that you, a fellow academic, downloaded using Meta's official li... | Recommend to simply run script from `transformers` package | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/2460 | 2023-05-31T17:33:49Z | 2023-06-07T18:34:50Z | 2023-06-07T18:34:50Z | 2023-06-07T18:34:50Z | 316 | oobabooga/text-generation-webui | 26,743 |
Unbreak master | diff --git a/acme/setup.py b/acme/setup.py
index 1889ec0202c..e35b40d6e2f 100644
--- a/acme/setup.py
+++ b/acme/setup.py
@@ -4,7 +4,7 @@
from setuptools import find_packages
-version = '0.1.0'
+version = '0.2.0.dev0'
install_requires = [
# load_pem_private/public_key (>=0.6)
diff --git a/letsencrypt-apache... | https://api.github.com/repos/certbot/certbot/pulls/1679 | 2015-12-03T15:55:45Z | 2015-12-03T16:08:21Z | 2015-12-03T16:08:21Z | 2016-05-06T19:21:38Z | 709 | certbot/certbot | 509 | |
add Levinstein distance with Dynamic Programming: up -> down approach | diff --git a/dynamic_programming/min_distance_up_bottom.py b/dynamic_programming/min_distance_up_bottom.py
new file mode 100644
index 000000000000..49c361f24d45
--- /dev/null
+++ b/dynamic_programming/min_distance_up_bottom.py
@@ -0,0 +1,55 @@
+"""
+Author : Alexander Pantyukhin
+Date : October 14, 2022
+This is im... | ### Describe your change:
Levinstein distance with Dynamic Programming: up -> down approach. some tests are copied from https://github.com/TheAlgorithms/Python/blob/master/dynamic_programming/edit_distance.py#L61 .
* [x] Add an algorithm?
* [ ] Fix a bug or typo in an existing algorithm?
* [ ] Documentation chang... | https://api.github.com/repos/TheAlgorithms/Python/pulls/7171 | 2022-10-14T13:37:37Z | 2022-10-30T13:00:16Z | 2022-10-30T13:00:16Z | 2022-10-30T13:00:16Z | 522 | TheAlgorithms/Python | 29,719 |
Handle existing ACMEv1 and ACMEv2 accounts on the 0.26.x branch | diff --git a/certbot/account.py b/certbot/account.py
index f2ed5cfd528..59ceb42e037 100644
--- a/certbot/account.py
+++ b/certbot/account.py
@@ -1,5 +1,6 @@
"""Creates ACME accounts for server."""
import datetime
+import functools
import hashlib
import logging
import os
@@ -191,6 +192,11 @@ def _find_all_for_serve... | Fixes #6207.
As noted by Erica:
- we no longer need to check if it exists before linking to it, because we delete properly.
- the previously excisting check on if server is in `LE_REUSE_SERVERS` before unlinking is nice, but probably not necessary, especially since we don't officially support people doing weird ... | https://api.github.com/repos/certbot/certbot/pulls/6215 | 2018-07-12T23:22:47Z | 2018-07-16T14:54:37Z | 2018-07-16T14:54:37Z | 2018-07-16T14:54:43Z | 1,858 | certbot/certbot | 1,042 |
Move code quality tests to Azure-hosted agents. | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 207b00de543c..f98be617c938 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -91,11 +91,14 @@ jobs:
- job: Code_Quality_Checks
pool:
- name: 'DS_testing'
+ vmImage: 'ubuntu-latest'
variables:
conda_env: 'ds_codetest'
steps... | Our code quality tests do not require GPUs and so we can simply run them on the freely available testing agents. | https://api.github.com/repos/microsoft/DeepSpeed/pulls/368 | 2020-09-05T19:10:41Z | 2020-09-05T22:06:13Z | 2020-09-05T22:06:13Z | 2020-09-05T22:06:21Z | 174 | microsoft/DeepSpeed | 10,813 |
remove llamahub from gh workflow | diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml
index f534e710fa1cf..db25c878a6337 100644
--- a/.github/workflows/publish_release.yml
+++ b/.github/workflows/publish_release.yml
@@ -26,9 +26,6 @@ jobs:
python -m pip install --upgrade build twine
python -m... | https://api.github.com/repos/run-llama/llama_index/pulls/497 | 2023-02-20T08:48:44Z | 2023-02-20T08:48:51Z | 2023-02-20T08:48:51Z | 2023-02-20T08:48:52Z | 191 | run-llama/llama_index | 6,351 | |
carmichael_number - add doctests | diff --git a/maths/carmichael_number.py b/maths/carmichael_number.py
index 81712520ffc7..08b5c70e8fe7 100644
--- a/maths/carmichael_number.py
+++ b/maths/carmichael_number.py
@@ -10,10 +10,21 @@
Examples of Carmichael Numbers: 561, 1105, ...
https://en.wikipedia.org/wiki/Carmichael_number
"""
+
from maths.greatest_... | ### Describe your change:
Contributes to #9943
Added doctests.
* [x] Add an algorithm?
* [ ] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?
### Checklist:
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md).
* [x] This pull req... | https://api.github.com/repos/TheAlgorithms/Python/pulls/10038 | 2023-10-07T16:41:37Z | 2023-10-10T20:14:13Z | 2023-10-10T20:14:13Z | 2023-10-10T20:14:16Z | 617 | TheAlgorithms/Python | 30,030 |
[Serve] Fix fastapi tutorial and update doc with deprecation warning | diff --git a/doc/source/serve/tutorials/web-server-integration.rst b/doc/source/serve/tutorials/web-server-integration.rst
index bbd8499731ead..a907cef4abbce 100644
--- a/doc/source/serve/tutorials/web-server-integration.rst
+++ b/doc/source/serve/tutorials/web-server-integration.rst
@@ -11,6 +11,11 @@ We give two exam... | <!-- 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/16759 | 2021-06-29T21:30:51Z | 2021-06-30T14:30:49Z | 2021-06-30T14:30:49Z | 2021-06-30T14:30:49Z | 821 | ray-project/ray | 19,910 |
Change the path of joinus.png to absolute path | diff --git a/README.md b/README.md
index 67d65e98e8..1ce6fabb55 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ The above pictures are the visualizations of the general ppocr_server model. For
- Scan the QR code below with your Wechat, you can access to official technical exchange group. Look forward to your ... | Change the path of joinus.png to absolute path | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/2101 | 2021-02-24T11:31:42Z | 2021-02-26T03:50:10Z | 2021-02-26T03:50:10Z | 2021-02-26T03:50:10Z | 361 | PaddlePaddle/PaddleOCR | 41,810 |
Fix syntax error in match test | diff --git a/tests/data/py_310/pattern_matching_extras.py b/tests/data/py_310/pattern_matching_extras.py
index 9f6907f757..0242d264e5 100644
--- a/tests/data/py_310/pattern_matching_extras.py
+++ b/tests/data/py_310/pattern_matching_extras.py
@@ -114,6 +114,6 @@ def func(match: case, case: match) -> case:
match bar1... | Found with a variation on #3423 that runs tests in pyi mode.
| https://api.github.com/repos/psf/black/pulls/3426 | 2022-12-10T19:11:45Z | 2022-12-17T22:51:10Z | 2022-12-17T22:51:10Z | 2022-12-17T22:51:30Z | 180 | psf/black | 24,331 |
[vlive] Use locale as subtitles language key instead | diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.py
index 8d671cca767..c3aa57cd6fe 100644
--- a/youtube_dl/extractor/vlive.py
+++ b/youtube_dl/extractor/vlive.py
@@ -116,7 +116,7 @@ def _replay(self, video_id, webpage, long_video_id, key):
subtitles = {}
for caption in playinf... | ## Please follow the guide below
### 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-convention... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/11203 | 2016-11-15T08:39:25Z | 2016-11-15T15:07:17Z | 2016-11-15T15:07:17Z | 2016-11-15T15:17:38Z | 184 | ytdl-org/youtube-dl | 49,997 |
docs: fix extraction/quickstart.ipynb example code | diff --git a/docs/docs/use_cases/extraction/quickstart.ipynb b/docs/docs/use_cases/extraction/quickstart.ipynb
index fa8587ab39d474..55eee4436e5ae6 100644
--- a/docs/docs/use_cases/extraction/quickstart.ipynb
+++ b/docs/docs/use_cases/extraction/quickstart.ipynb
@@ -89,12 +89,12 @@
" # 1. Each field is an `opti... | - **Description**: The pydantic schema fields are supposed to be optional but the use of `...` makes them required. This causes a `ValidationError` when running the example code. I replaced `...` with `default=None` to make the fields optional as intended. I also standardized the format for all fields.
- **Issue**: n/... | https://api.github.com/repos/langchain-ai/langchain/pulls/20397 | 2024-04-12T19:37:42Z | 2024-04-12T19:59:33Z | 2024-04-12T19:59:33Z | 2024-04-12T20:05:23Z | 580 | langchain-ai/langchain | 43,576 |
Fix `radix_tree.py` insertion fail in ["*X", "*XX"] cases | diff --git a/data_structures/trie/radix_tree.py b/data_structures/trie/radix_tree.py
index 66890346ec2b..ddadb3ef996a 100644
--- a/data_structures/trie/radix_tree.py
+++ b/data_structures/trie/radix_tree.py
@@ -54,10 +54,17 @@ def insert(self, word: str) -> None:
word (str): word to insert
>>> R... | Fixes: #8888
### Describe your change:
Consider a word, and a copy of that word, but with the last letter repeated twice. (e.g., ["ABC", "ABCC"])
When adding the second word's last letter, it only compares the previous word's prefix—the last letter of the word already in the Radix Tree: 'C'—and the letter to be ad... | https://api.github.com/repos/TheAlgorithms/Python/pulls/8870 | 2023-07-16T11:15:09Z | 2023-07-24T09:29:06Z | 2023-07-24T09:29:06Z | 2023-07-24T09:30:04Z | 255 | TheAlgorithms/Python | 29,803 |
Add two missing outputs in the walrus examples | diff --git a/README.md b/README.md
index 2702a66..cd9baec 100644
--- a/README.md
+++ b/README.md
@@ -181,6 +181,7 @@ File "<stdin>", line 1
SyntaxError: invalid syntax
>>> (a := "wtf_walrus") # This works though
+'wtf_walrus'
>>> a
'wtf_walrus'
```
@@ -195,6 +196,7 @@ SyntaxError: invalid syntax
(6, 9)
>>> (... | Assignment expressions are immediately evaluated and printed by the Python REPL. | https://api.github.com/repos/satwikkansal/wtfpython/pulls/204 | 2020-05-12T11:05:56Z | 2020-05-16T12:27:53Z | 2020-05-16T12:27:53Z | 2020-05-16T12:27:53Z | 143 | satwikkansal/wtfpython | 25,856 |
Copy wandb param dict before training to avoid overwrites. | diff --git a/utils/loggers/wandb/sweep.py b/utils/loggers/wandb/sweep.py
index 206059bc30b..d49ea6f2778 100644
--- a/utils/loggers/wandb/sweep.py
+++ b/utils/loggers/wandb/sweep.py
@@ -16,8 +16,8 @@
def sweep():
wandb.init()
- # Get hyp dict from sweep agent
- hyp_dict = vars(wandb.config).get("_items")
+... | Copy the hyperparameter dict retrieved from wandb configuration before passing it to `train()`. Training overwrites parameters in the dictionary (eg scaling obj/box/cls gains), which causes the values reported in wandb to not match the input values. This is confusing as it makes it hard to reproduce a run, and also thr... | https://api.github.com/repos/ultralytics/yolov5/pulls/7317 | 2022-04-06T16:02:35Z | 2022-04-06T16:35:34Z | 2022-04-06T16:35:34Z | 2024-01-19T11:36:12Z | 170 | ultralytics/yolov5 | 25,590 |
[serve] autoscaling release test deflake and debugging | diff --git a/release/serve_tests/workloads/locust_utils.py b/release/serve_tests/workloads/locust_utils.py
index 01fe525c11604..e0fb7cdf9f8a1 100644
--- a/release/serve_tests/workloads/locust_utils.py
+++ b/release/serve_tests/workloads/locust_utils.py
@@ -1,4 +1,4 @@
-from dataclasses import dataclass
+from dataclasse... | [serve] autoscaling release test deflake and debugging
Deflake release test. From the logs sometimes the http request to get the image fails with connection reset error. For those few occasions we can just return.
Also seeing some 504 errors but need more visibility, so this also adds better tracking for failed reques... | https://api.github.com/repos/ray-project/ray/pulls/44747 | 2024-04-15T21:50:06Z | 2024-04-16T18:25:07Z | 2024-04-16T18:25:07Z | 2024-04-16T18:25:07Z | 773 | ray-project/ray | 19,681 |
[AIRFLOW-5306] Fix display of links when they contain special characters | diff --git a/airflow/www/templates/airflow/dag.html b/airflow/www/templates/airflow/dag.html
index 43c1457adb740..11c52031d4e35 100644
--- a/airflow/www/templates/airflow/dag.html
+++ b/airflow/www/templates/airflow/dag.html
@@ -493,32 +493,30 @@ <h4 class="modal-title" id="dagModalLabel">
"&dag_id="... | Make sure you have checked _all_ steps below.
### Jira
- [ ] My PR addresses the following [Airflow Jira](https://issues.apache.org/jira/browse/AIRFLOW/) issues and references them in the PR title. For example, "\[AIRFLOW-XXX\] My Airflow PR"
- https://issues.apache.org/jira/browse/AIRFLOW-5306
- In case yo... | https://api.github.com/repos/apache/airflow/pulls/5904 | 2019-08-24T11:13:26Z | 2019-08-27T05:16:58Z | 2019-08-27T05:16:57Z | 2019-08-27T05:17:12Z | 551 | apache/airflow | 14,767 |
legacy windows fix | diff --git a/rich/console.py b/rich/console.py
index ac1d34c46..3b08e3949 100644
--- a/rich/console.py
+++ b/rich/console.py
@@ -941,7 +941,7 @@ def size(self) -> ConsoleDimensions:
"""
if self._width is not None and self._height is not None:
- return ConsoleDimensions(self._width - self.... | ## Type of changes
- [ ] Bug fix
- [ ] New feature
- [ ] 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 appropriate.
- [ ] I've added t... | https://api.github.com/repos/Textualize/rich/pulls/1649 | 2021-11-06T12:44:17Z | 2021-11-06T12:57:23Z | 2021-11-06T12:57:23Z | 2021-11-06T12:57:38Z | 231 | Textualize/rich | 48,579 |
Add Gemma | diff --git a/fastchat/conversation.py b/fastchat/conversation.py
index 95576536c4..7a6aebed8e 100644
--- a/fastchat/conversation.py
+++ b/fastchat/conversation.py
@@ -1579,6 +1579,19 @@ def get_conv_template(name: str) -> Conversation:
)
)
+# Gemma
+# reference: https://huggingface.co/google/gemma-7b-it?text=%3... | ## Why are these changes needed?
Adds the Gemma chat template for running the new Google Gemma models.
## Checks
- [ ] I've run `format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed.
- [ ] I've made sure the relevant tests are passing (if applicable).
| https://api.github.com/repos/lm-sys/FastChat/pulls/3078 | 2024-02-22T17:08:37Z | 2024-02-25T19:10:02Z | 2024-02-25T19:10:02Z | 2024-03-11T08:24:27Z | 684 | lm-sys/FastChat | 41,399 |
Improve frontend responsiveness for some buttons | diff --git a/javascript/ui.js b/javascript/ui.js
index ed9673d64e1..56ee05aa2c7 100644
--- a/javascript/ui.js
+++ b/javascript/ui.js
@@ -438,4 +438,54 @@ function updateImg2imgResizeToTextAfterChangingImage(){
}, 500);
return []
+
+}
+
+function setRandomSeed(target_interface) {
+ let seed = gradioApp().... | **Describe what this pull request is trying to achieve.**
Since some of the UI buttons do a simple action like set the seed to `-1`, can improve responsiveness by offloading that behavior to JS, instead of taking a full round trip from the backend to frontend then back again
This makes the response to clicking th... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/9348 | 2023-04-04T02:30:05Z | 2023-05-17T20:19:09Z | 2023-05-17T20:19:08Z | 2023-05-17T20:19:09Z | 966 | AUTOMATIC1111/stable-diffusion-webui | 40,084 |
Add authentification bypass | diff --git a/SQL Injection/README.md b/SQL Injection/README.md
index 842b136238..a831e98384 100644
--- a/SQL Injection/README.md
+++ b/SQL Injection/README.md
@@ -292,6 +292,7 @@ or 1=1--
or 1=1#
or 1=1/*
admin' --
+admin' -- -
admin' #
admin'/*
admin' or '2' LIKE '1
| admin' -- - (variant of pre-existing) | https://api.github.com/repos/swisskyrepo/PayloadsAllTheThings/pulls/54 | 2019-03-21T16:44:48Z | 2019-03-21T22:33:31Z | 2019-03-21T22:33:31Z | 2019-03-21T22:33:31Z | 105 | swisskyrepo/PayloadsAllTheThings | 8,566 |
skip `test_encode_decode_fast_slow_all_tokens` for now | diff --git a/tests/test_tokenization_common.py b/tests/test_tokenization_common.py
index 4ff17ab5573a9..e98f09d431af3 100644
--- a/tests/test_tokenization_common.py
+++ b/tests/test_tokenization_common.py
@@ -1580,6 +1580,10 @@ def test_maximum_encoding_length_pair_input(self):
self.assertEqual(len... | # What does this PR do?
This starts to fail after #29473
See https://github.com/huggingface/transformers/pull/29473#pullrequestreview-1945687810 | https://api.github.com/repos/huggingface/transformers/pulls/30044 | 2024-04-04T13:08:01Z | 2024-04-05T07:07:41Z | 2024-04-05T07:07:41Z | 2024-04-05T07:07:42Z | 195 | huggingface/transformers | 12,021 |
Fixed #29400: Allow @register.filter on already-decorated functions | diff --git a/AUTHORS b/AUTHORS
index 088bf04e8da8c..34e729bb1f53e 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -722,6 +722,7 @@ answer newbie questions, and generally made Django that much better:
ryankanno
Ryan Kelly <ryan@rfk.id.au>
Ryan Niemeyer <https://profiles.google.com/ryan.niemeyer/about>
+ Ryan Rub... | `inspect.getfullargspec` is being passed the function, but if that function is decorated, `inspect.getfullargspec` [does not read `__wrapped__` attributes as of Python 3.4](https://docs.python.org/3/library/inspect.html#inspect.getfullargspec).
The function object is checked for a _decorated_function attribute, but ... | https://api.github.com/repos/django/django/pulls/9979 | 2018-05-24T22:59:40Z | 2018-05-25T15:11:47Z | 2018-05-25T15:11:46Z | 2018-05-25T16:38:12Z | 907 | django/django | 51,381 |
Docs: Add more section labels for referencing | diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst
index b1e334bb87..6ec61eac16 100644
--- a/docs/user/advanced.rst
+++ b/docs/user/advanced.rst
@@ -5,6 +5,7 @@ Advanced Usage
This document covers some of Requests more advanced features.
+.. _session-objects:
Session Objects
---------------
@@ -50,6 ... | so sections can be linked from other projects using Intersphinx
| https://api.github.com/repos/psf/requests/pulls/2348 | 2014-11-17T10:42:33Z | 2014-11-30T19:12:04Z | 2014-11-30T19:12:04Z | 2021-09-08T09:01:12Z | 710 | psf/requests | 32,254 |
Remove try except from box2d __init__.py | diff --git a/gym/envs/box2d/__init__.py b/gym/envs/box2d/__init__.py
index 6d98240a78f..e702010b621 100644
--- a/gym/envs/box2d/__init__.py
+++ b/gym/envs/box2d/__init__.py
@@ -1,8 +1,3 @@
-try:
- import Box2D
-
- from gym.envs.box2d.bipedal_walker import BipedalWalker, BipedalWalkerHardcore
- from gym.envs.bo... | With https://github.com/openai/gym/pull/2782, we added try except to all of the Box2d environment, however I had not realised that the box2d `__init__.py` contains a similar try except that was not removed.
Thanks https://github.com/openai/gym/issues/2795#issuecomment-1117630203 for spotting it
This shouldn't cause... | https://api.github.com/repos/openai/gym/pulls/2816 | 2022-05-12T14:50:00Z | 2022-05-12T15:18:23Z | 2022-05-12T15:18:23Z | 2022-05-12T15:18:23Z | 244 | openai/gym | 5,552 |
`--freeze` fix | diff --git a/train.py b/train.py
index ae19c1851d6..17e816c06ed 100644
--- a/train.py
+++ b/train.py
@@ -60,7 +60,7 @@ def train(hyp, # path/to/hyp.yaml or hyp dictionary
device,
callbacks
):
- save_dir, epochs, batch_size, weights, single_cls, evolve, data, cfg, resume, noval, nosa... | Fix for https://github.com/ultralytics/yolov5/issues/6038
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Improvement to layer freezing functionality in the YOLOv5 training script.
### 📊 Key Changes
- Streamlined assignment of training script... | https://api.github.com/repos/ultralytics/yolov5/pulls/6044 | 2021-12-20T17:18:12Z | 2021-12-20T17:24:08Z | 2021-12-20T17:24:08Z | 2024-01-19T13:49:39Z | 574 | ultralytics/yolov5 | 24,795 |
[test_leauto_upgrades] actually use everything from v0.1.0 for setup | diff --git a/tests/letstest/multitester.py b/tests/letstest/multitester.py
index dee6968c3f8..19a6aad1ae7 100644
--- a/tests/letstest/multitester.py
+++ b/tests/letstest/multitester.py
@@ -139,7 +139,15 @@ def make_instance(instance_name,
time.sleep(1.0)
# give instance a name
- new_instance.create_tags(... | This would catch issues like #2243 in test farm testing.
| https://api.github.com/repos/certbot/certbot/pulls/2250 | 2016-01-20T22:18:26Z | 2016-01-28T02:46:47Z | 2016-01-28T02:46:47Z | 2016-05-06T19:21:56Z | 638 | certbot/certbot | 2,588 |
Added an IE and test for Freesound.org . | diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py
index 494b1b9d390..7b177e34361 100644
--- a/youtube_dl/extractor/__init__.py
+++ b/youtube_dl/extractor/__init__.py
@@ -19,6 +19,7 @@
from .escapist import EscapistIE
from .facebook import FacebookIE
from .flickr import FlickrIE
+from .... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/1050 | 2013-07-15T15:17:12Z | 2013-07-15T19:34:15Z | 2013-07-15T19:34:15Z | 2013-07-15T19:34:53Z | 627 | ytdl-org/youtube-dl | 50,041 | |
Update README.md | diff --git a/README.md b/README.md
index 665515bbb..de2613605 100644
--- a/README.md
+++ b/README.md
@@ -403,6 +403,7 @@ A curated list of awesome Python frameworks, libraries and software. Inspired by
* [django-mongodb-engine](https://github.com/django-nonrel/mongodb-engine) - Django MongoDB Backend.
* [redi... | added neomodel(https://github.com/robinedwards/neomodel) Object-Graph-Mapper for neo4j graph database
| https://api.github.com/repos/vinta/awesome-python/pulls/273 | 2014-12-02T08:10:14Z | 2014-12-02T08:35:03Z | 2014-12-02T08:35:03Z | 2014-12-02T08:35:03Z | 213 | vinta/awesome-python | 27,045 |
Update iqiyi key | diff --git a/src/you_get/extractors/iqiyi.py b/src/you_get/extractors/iqiyi.py
index af8e0df0e7..2700627d6b 100644
--- a/src/you_get/extractors/iqiyi.py
+++ b/src/you_get/extractors/iqiyi.py
@@ -45,7 +45,7 @@
'''
def mix(tvid):
- salt = 'd7184ccc20a84a9d8be798087386b6b8'
+ salt = '6ab6d0280511493ba85594779759... | <!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/soimort/you-get/891)
<!-- Reviewable:end -->
| https://api.github.com/repos/soimort/you-get/pulls/891 | 2016-01-20T03:30:00Z | 2016-01-22T02:54:41Z | 2016-01-22T02:54:41Z | 2016-01-22T02:54:48Z | 189 | soimort/you-get | 21,134 |
Add Torch, JAX GPU CI | diff --git a/keras/kokoro/github/ubuntu/gpu/build.sh b/keras/kokoro/github/ubuntu/gpu/build.sh
index 8b8a1f2dc50..5b523a3bc14 100644
--- a/keras/kokoro/github/ubuntu/gpu/build.sh
+++ b/keras/kokoro/github/ubuntu/gpu/build.sh
@@ -20,21 +20,16 @@ nvcc --version
cd "src/github/keras"
pip install -U pip setuptools
-pip... | Adds Torch, Jax GPU CI. | https://api.github.com/repos/keras-team/keras/pulls/18580 | 2023-10-09T17:51:05Z | 2023-10-10T08:42:14Z | 2023-10-10T08:42:14Z | 2023-10-10T11:54:39Z | 1,880 | keras-team/keras | 47,298 |
move nose tests to unittest | diff --git a/Jenkinsfile b/Jenkinsfile
index 89dd58da4d3b20..9dfdc36e8b7c16 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -170,8 +170,8 @@ pipeline {
steps {
phone_steps("eon", [
["build", "cd selfdrive/manager && ./build.py"],
- ["test... | https://api.github.com/repos/commaai/openpilot/pulls/22665 | 2021-10-23T04:28:22Z | 2021-10-25T16:44:04Z | 2021-10-25T16:44:04Z | 2021-10-25T16:44:05Z | 3,560 | commaai/openpilot | 9,540 | |
Reduce Kamil's CODEOWNER scope to just the Snowflake provider | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 1e87eb16c739f..e4c16b38d3f6c 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -18,18 +18,15 @@
# Helm Chart
/chart/ @dstandish @jedcunningham
-# Docs
-/docs/ @mik-laj
-
# Docs (without Providers)
-/docs/apache-airflow @kaxil @potiuk
+/docs/apach... | https://api.github.com/repos/apache/airflow/pulls/28927 | 2023-01-13T14:34:40Z | 2023-01-13T14:45:18Z | 2023-01-13T14:45:18Z | 2023-01-13T14:45:19Z | 431 | apache/airflow | 14,491 | |
Fix stretched thumbnails on extras tab | diff --git a/style.css b/style.css
index 3f56087a040..88bf6ad80db 100644
--- a/style.css
+++ b/style.css
@@ -246,7 +246,7 @@ button.custom-button{
}
}
-#txt2img_gallery img, #img2img_gallery img{
+#txt2img_gallery img, #img2img_gallery img, #extras_gallery img{
object-fit: scale-down;
}
#txt2img_a... | The thumbnails on the extras tab are stretched when the image isn't a square. This fixes that. | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/10113 | 2023-05-05T09:54:23Z | 2023-05-08T05:21:24Z | 2023-05-08T05:21:24Z | 2023-05-08T08:36:42Z | 114 | AUTOMATIC1111/stable-diffusion-webui | 40,133 |
Use env variable for RTD environment name instead of IF | diff --git a/docs/env_setup.sh b/docs/env_setup.sh
index aac30644808c..b9c26bcdd547 100644
--- a/docs/env_setup.sh
+++ b/docs/env_setup.sh
@@ -16,10 +16,5 @@ unzip protoc-3.11.4-linux-x86_64.zip
../proto/streamlit/proto/*.proto
#re-run setup.py build process to make protobuf available
-#this is tremendously fra... | Fixes #1540
Per [RTD docs](https://docs.readthedocs.io/en/stable/builds.html#build-environment), `READTHEDOCS_VERSION` is available in the build container to indicate what version is building. This clarifies the `env_setup.sh` build script, while also allowing for any version of the docs to be built, not just `stab... | https://api.github.com/repos/streamlit/streamlit/pulls/1569 | 2020-06-12T18:39:34Z | 2020-06-15T12:41:11Z | 2020-06-15T12:41:11Z | 2020-06-15T12:44:16Z | 293 | streamlit/streamlit | 22,435 |
Fix: Missing args in Sub-commands | diff --git a/share/cht.sh.txt b/share/cht.sh.txt
index d56ae652..4b151bfe 100755
--- a/share/cht.sh.txt
+++ b/share/cht.sh.txt
@@ -460,5 +460,5 @@ while true; do
version) cmd_name=version;;
*) cmd_name="query $cmd_name";;
esac
- cmd_$cmd_name $cmdargs
+ cmd_$cmd_name $cmd_args
done... | It should be a typo.
The args parsed into `cmd_args`, but used `$cmdargs` for passing args. | https://api.github.com/repos/chubin/cheat.sh/pulls/108 | 2018-09-02T01:38:03Z | 2018-09-03T20:48:24Z | 2018-09-03T20:48:24Z | 2018-09-03T20:48:24Z | 109 | chubin/cheat.sh | 15,268 |
Shape inference for Theano backend | diff --git a/keras/backend/theano_backend.py b/keras/backend/theano_backend.py
index b8d8070b5e2..03696f9f4a9 100644
--- a/keras/backend/theano_backend.py
+++ b/keras/backend/theano_backend.py
@@ -350,7 +350,6 @@ def batch_dot(x, y, axes=None):
output_shape = (100, 30)
"""
- # TODO: `keras_shape` inf... | Shape inferences added
| Op |Test coverage|
|-----------------|:-----------------:|
| `flatten` | :heavy_check_mark: |
| `repeat_elements` | :heavy_check_mark: |
| `batch_flatten` | :heavy_check_mark: |
| `squeeze` | :heavy_check_mark: |
| `permute_dimensions` | :heavy_check_mark: |
| `repeat` | :heavy_check_... | https://api.github.com/repos/keras-team/keras/pulls/5618 | 2017-03-06T16:51:28Z | 2017-03-07T00:52:56Z | 2017-03-07T00:52:55Z | 2017-03-16T17:15:30Z | 2,839 | keras-team/keras | 46,983 |
[feature] Accumulator response builder | diff --git a/docs/guides/primer/usage_pattern.md b/docs/guides/primer/usage_pattern.md
index bdd30446aebd2..109d29add66c0 100644
--- a/docs/guides/primer/usage_pattern.md
+++ b/docs/guides/primer/usage_pattern.md
@@ -330,13 +330,17 @@ query_engine = RetrieverQueryEngine.from_args(retriever, response_mode=<response
R... | The current response builders don't offer a way to accumulate new responses from each chunk of text. Refine, for example, is meant for iterating over chunks and modifying the answer with each iteration until you end up with 1 answer. Being able to accumulate responses allows people (like me) to use a prompt like "Summa... | https://api.github.com/repos/run-llama/llama_index/pulls/3392 | 2023-05-16T19:40:18Z | 2023-05-18T19:57:51Z | 2023-05-18T19:57:51Z | 2023-05-18T19:57:51Z | 3,357 | run-llama/llama_index | 6,795 |
Ulysses: Update README.md | diff --git a/blogs/deepspeed-ulysses/README.md b/blogs/deepspeed-ulysses/README.md
index 314787dc1abe..7ea7a4535e90 100644
--- a/blogs/deepspeed-ulysses/README.md
+++ b/blogs/deepspeed-ulysses/README.md
@@ -10,7 +10,7 @@
</div>
-To cite DeepSpeed-Ulysses, please cite our [arxiv report](https://arxiv.org/abs/2309.1... | Fix arxiv link | https://api.github.com/repos/microsoft/DeepSpeed/pulls/4518 | 2023-10-16T18:13:25Z | 2023-10-16T18:16:16Z | 2023-10-16T18:16:16Z | 2023-10-16T18:16:20Z | 172 | microsoft/DeepSpeed | 10,046 |
Print info about request on error | diff --git a/httpie/core.py b/httpie/core.py
index 95f53abd55..1660b93bc8 100644
--- a/httpie/core.py
+++ b/httpie/core.py
@@ -67,7 +67,7 @@ def decode_args(args, stdin_encoding):
]
-def main(args=sys.argv[1:], env=Environment()):
+def main(args=sys.argv[1:], env=Environment(), error=None):
"""Run the mai... | This can help in diagnosing certain issues. For example, if I were
trying to use a "http+unix" URL but I don't have #299, then I'll get the
following:
```
[marca@marca-mac2 httpie]$ http http+unix://%2Ftmp%2Fprofilesvc.sock/status/pid
http: error: ConnectionError: ('Connection aborted.', gaierror(8, 'nodename nor ser... | https://api.github.com/repos/httpie/cli/pulls/300 | 2015-02-04T18:37:34Z | 2015-03-25T21:21:18Z | 2015-03-25T21:21:18Z | 2015-03-25T21:21:46Z | 941 | httpie/cli | 33,923 |
Fix egg-info cleanup | diff --git a/tools/pinning/common/export-pinned-dependencies.sh b/tools/pinning/common/export-pinned-dependencies.sh
index 69c55fbbf9c..be6f0aa4ef3 100755
--- a/tools/pinning/common/export-pinned-dependencies.sh
+++ b/tools/pinning/common/export-pinned-dependencies.sh
@@ -29,7 +29,7 @@ fi
# Old eggs can cause outdated... | In https://github.com/certbot/certbot/pull/8934 I changed:
```
# Old eggs can cause outdated dependency information to be used by poetry so we
# delete them before generating the lock file. See
# https://github.com/python-poetry/poetry/issues/4103 for more info.
cd "${REPO_ROOT}"
rm -rf */*.egg-info
```
in the ... | https://api.github.com/repos/certbot/certbot/pulls/8966 | 2021-08-03T00:15:42Z | 2021-08-04T21:04:06Z | 2021-08-04T21:04:06Z | 2021-08-04T21:04:06Z | 167 | certbot/certbot | 3,049 |
Rename feedly | diff --git a/README.md b/README.md
index 97459e17e..665515bbb 100644
--- a/README.md
+++ b/README.md
@@ -528,7 +528,7 @@ A curated list of awesome Python frameworks, libraries and software. Inspired by
*Libraries for building user's activities.*
-* [Feedly](https://github.com/tschellenbach/Feedly) - A library to b... | 1.0.0 release of Feedly has been rename to Stream Framework
| https://api.github.com/repos/vinta/awesome-python/pulls/268 | 2014-11-24T11:02:02Z | 2014-11-24T11:48:50Z | 2014-11-24T11:48:50Z | 2014-11-24T11:48:51Z | 324 | vinta/awesome-python | 27,276 |
Disable pandas while we look into #2193 | diff --git a/src/black_primer/primer.json b/src/black_primer/primer.json
index 137d075c68e..78c1e2acdef 100644
--- a/src/black_primer/primer.json
+++ b/src/black_primer/primer.json
@@ -53,6 +53,8 @@
"py_versions": ["all"]
},
"pandas": {
+ "disabled_reason": "black-primer runs failing on Pandas - #... | https://api.github.com/repos/psf/black/pulls/2195 | 2021-05-04T19:42:26Z | 2021-05-04T19:49:20Z | 2021-05-04T19:49:20Z | 2021-07-14T03:36:25Z | 147 | psf/black | 23,960 | |
Adding Cyclic Redundancy Check Algorithm | diff --git a/CRC/crc.py b/CRC/crc.py
new file mode 100644
index 0000000000..27e6cc6f0e
--- /dev/null
+++ b/CRC/crc.py
@@ -0,0 +1,49 @@
+def crc_check(data,div):
+ l=len(div)
+ ct=0
+ data=[int(i) for i in data]
+ div=[int(i) for i in div]
+ zero=[0 for i in range(l)]
+ temp_data=[data[i] for i i... | https://api.github.com/repos/geekcomputers/Python/pulls/557 | 2019-10-02T18:40:35Z | 2019-10-03T11:39:58Z | 2019-10-03T11:39:58Z | 2019-10-03T11:39:58Z | 1,848 | geekcomputers/Python | 31,734 | |
Update Table | diff --git a/HTTP Parameter Pollution/README.md b/HTTP Parameter Pollution/README.md
index 23c505716a..d1e3ceef76 100644
--- a/HTTP Parameter Pollution/README.md
+++ b/HTTP Parameter Pollution/README.md
@@ -24,22 +24,26 @@ Attacker -- http://example.com?search=Beth&search=' OR 1=1;## --> WAF (reads fir
### Table o... | I have update the table of the techniques of HTTP Parameter Pollution. This can help them to have more references for the techniques and the passing value. | https://api.github.com/repos/swisskyrepo/PayloadsAllTheThings/pulls/406 | 2021-07-30T05:42:55Z | 2021-07-31T09:25:45Z | 2021-07-31T09:25:45Z | 2021-07-31T09:25:45Z | 759 | swisskyrepo/PayloadsAllTheThings | 8,363 |
Removing hard code entries | diff --git a/scrapy/utils/project.py b/scrapy/utils/project.py
index ab1b8e3eea5..652b74759f3 100644
--- a/scrapy/utils/project.py
+++ b/scrapy/utils/project.py
@@ -12,8 +12,8 @@
def inside_project():
- scrapy_module = os.environ.get("SCRAPY_SETTINGS_MODULE")
- if scrapy_module is not None:
+ scrapy_modul... | Just removing hard code statements | https://api.github.com/repos/scrapy/scrapy/pulls/5965 | 2023-07-05T07:58:50Z | 2023-07-05T08:51:07Z | 2023-07-05T08:51:07Z | 2023-07-05T08:51:07Z | 126 | scrapy/scrapy | 34,706 |
Document turning off proxy_buffering when api is streaming | diff --git a/docs/openai_api.md b/docs/openai_api.md
index f69cc4f00a..0c555a60ea 100644
--- a/docs/openai_api.md
+++ b/docs/openai_api.md
@@ -62,7 +62,7 @@ completion = openai.ChatCompletion.create(
print(completion.choices[0].message.content)
```
-Streaming is also supported. See [test_openai_api.py](../tests/tes... | I hit this when running the api service behind an nginx proxy. The responses were streamed as chunks but they all arrived to the browser at the some time.
<!-- Thank you for your contribution! -->
<!-- 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/lm-sys/FastChat/pulls/2337 | 2023-08-30T14:39:02Z | 2023-09-01T01:35:09Z | 2023-09-01T01:35:09Z | 2023-09-01T01:35:09Z | 186 | lm-sys/FastChat | 41,348 |
Minor fixes to NL.8 | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index 682bd9f98..6efe83a24 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -12963,10 +12963,10 @@ Some conventions capitalize the first letter, some don't.
##### Note
-Try to be consistent in your use of acronyms, lengths of identifiers:
+Try... | Fix typo, tabs, and grammar.
| https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/389 | 2015-11-14T04:19:53Z | 2015-11-18T21:44:01Z | 2015-11-18T21:44:01Z | 2015-11-18T21:44:06Z | 162 | isocpp/CppCoreGuidelines | 16,007 |
Update calc_area.py | diff --git a/calc_area.py b/calc_area.py
index 4d4050a6c2..6a51627439 100644
--- a/calc_area.py
+++ b/calc_area.py
@@ -1,19 +1,42 @@
# Author: PrajaktaSathe
# Program to calculate the area of - square, rectangle, circle, and triangle -
-shape = int(input("Enter 1 for square, 2 for rectangle, 3 for circle, or 4 for tr... | Adds 3 more (3d) shapes, instead of just multiplying by 3.14 I changed it to pi, and I also added an option to run the program again. | https://api.github.com/repos/geekcomputers/Python/pulls/1339 | 2021-06-29T22:37:01Z | 2021-07-10T10:10:45Z | 2021-07-10T10:10:45Z | 2021-07-10T10:10:45Z | 736 | geekcomputers/Python | 31,872 |
Fix typo | diff --git a/httpie/core.py b/httpie/core.py
index 31e5c48bdc..6caf9f2a53 100644
--- a/httpie/core.py
+++ b/httpie/core.py
@@ -61,7 +61,7 @@ def print_debug_info(env):
def decode_args(args, stdin_encoding):
"""
- Convert all bytes ags to str
+ Convert all bytes args to str
by decoding them using stdi... | https://api.github.com/repos/httpie/cli/pulls/494 | 2016-07-27T00:54:46Z | 2017-02-07T19:50:44Z | 2017-02-07T19:50:44Z | 2017-02-07T19:50:47Z | 107 | httpie/cli | 33,874 | |
Fix typo. | diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index fb9441904..49a669950 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -2062,7 +2062,7 @@ When I call `length(s)` should I test for `s==nullptr` first? Should the impleme
**Exception**: Sinks (that is, a function that eventually destroys an o... | https://api.github.com/repos/isocpp/CppCoreGuidelines/pulls/199 | 2015-09-28T17:23:25Z | 2015-09-29T06:56:03Z | 2015-09-29T06:56:03Z | 2015-09-30T17:04:15Z | 194 | isocpp/CppCoreGuidelines | 15,822 | |
[Tensor] test parameters() as member function | diff --git a/tests/test_tensor/test_model.py b/tests/test_tensor/test_model.py
index 80029eabd20e..7385d603aaa7 100644
--- a/tests/test_tensor/test_model.py
+++ b/tests/test_tensor/test_model.py
@@ -27,6 +27,35 @@ def set_seed(seed):
torch.backends.cudnn.deterministic = True
+# Test the overrided parameters() ... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/896 | 2022-04-28T02:45:50Z | 2022-04-28T02:57:14Z | 2022-04-28T02:57:14Z | 2022-04-28T02:57:14Z | 407 | hpcaitech/ColossalAI | 11,708 | |
Firefox fixes for SVG | diff --git a/CHANGELOG.md b/CHANGELOG.md
index bbd0167c3..19033811b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic ... | https://api.github.com/repos/Textualize/rich/pulls/2288 | 2022-05-23T08:43:43Z | 2022-05-23T08:57:28Z | 2022-05-23T08:57:28Z | 2022-05-24T20:17:08Z | 3,182 | Textualize/rich | 48,087 | |
Avoid to delete both webroot_map and webroot_path | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3cc3ff41f1f..8669d34a50f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,12 +16,14 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
### Fixed
-*
+* Renewal parameter `webroot_path` is always saved, avoiding some regressions
+ when `webroot` authe... | Fixes #7048.
This PR "partially" correct #7048. By "partially" here, I mean that the issue is effectively corrected, but not revert to the previous behavior, as this would require more in-depth modifications of the plugins API and behavior.
The idea is that in the specific corner case where `certbot certonly` is ... | https://api.github.com/repos/certbot/certbot/pulls/7095 | 2019-05-21T20:44:48Z | 2019-05-28T22:16:13Z | 2019-05-28T22:16:13Z | 2019-05-28T22:16:21Z | 1,351 | certbot/certbot | 2,357 |
tomli: Don't worry about specific alpha releases | diff --git a/CHANGES.md b/CHANGES.md
index 50c0f5df05..f786f1a1fe 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -35,6 +35,9 @@
- Upgrade mypyc from `0.971` to `0.991` so mypycified _Black_ can be built on armv7
(#3380)
+- Drop specific support for the `tomli` requirement on 3.11 alpha releases, working
+ around a ... | This prevents bugs due to pypa/packaging#522.
Fixes #3447.
| https://api.github.com/repos/psf/black/pulls/3448 | 2022-12-17T18:36:39Z | 2022-12-18T03:02:01Z | 2022-12-18T03:02:01Z | 2022-12-18T03:02:04Z | 334 | psf/black | 23,800 |
Added Multi Heuristic Astar | diff --git a/Multi_Hueristic_Astar.py b/Multi_Hueristic_Astar.py
new file mode 100644
index 000000000000..03652d35ae2f
--- /dev/null
+++ b/Multi_Hueristic_Astar.py
@@ -0,0 +1,262 @@
+import heapq
+import numpy as np
+import math
+import copy
+
+
+class PriorityQueue:
+ def __init__(self):
+ self.elements = []
+ self.... | Implemented the paper www.cs.cmu.edu/~venkatrn/papers/ijrr16.pdf | https://api.github.com/repos/TheAlgorithms/Python/pulls/197 | 2017-10-27T06:06:05Z | 2017-10-31T05:13:06Z | 2017-10-31T05:13:05Z | 2017-10-31T05:13:06Z | 2,461 | TheAlgorithms/Python | 29,530 |
update validation of Lambda AWS Proxy format | diff --git a/localstack/services/apigateway/integration.py b/localstack/services/apigateway/integration.py
index 6291170ef6ccd..30c5025af8275 100644
--- a/localstack/services/apigateway/integration.py
+++ b/localstack/services/apigateway/integration.py
@@ -216,8 +216,13 @@ def lambda_result_to_response(cls, result) -> ... | <!-- Please refer to the contribution guidelines before raising a PR: https://github.com/localstack/localstack/blob/master/CONTRIBUTING.md -->
<!-- Why am I raising this PR? Add context such as related issues, PRs, or documentation. -->
## Motivation
As reported in #10310, it seems we were overzealous over the val... | https://api.github.com/repos/localstack/localstack/pulls/10312 | 2024-02-23T18:41:07Z | 2024-02-24T22:42:45Z | 2024-02-24T22:42:45Z | 2024-02-24T22:42:46Z | 2,175 | localstack/localstack | 29,210 |
Explanation of the Factory Method pattern | diff --git a/creational/factory_method.py b/creational/factory_method.py
index d29a2ed3..6a1d334b 100644
--- a/creational/factory_method.py
+++ b/creational/factory_method.py
@@ -1,7 +1,34 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-"""http://ginstrom.com/scribbles/2007/10/08/design-patterns-python-style/"""
... | Disclaimer: I've been looking for a project to start contributing to OSS, and this one seemed interesting and not too complicated. Since I'm a newbie in all this, any advice and suggestions are welcome! Thanks!
I intend to work on the issue "Short descriptions #184" (https://github.com/faif/python-patterns/issues/18... | https://api.github.com/repos/faif/python-patterns/pulls/198 | 2017-06-13T11:33:25Z | 2017-06-13T17:45:55Z | 2017-06-13T17:45:55Z | 2017-06-13T17:45:55Z | 425 | faif/python-patterns | 33,640 |
Add Microsoft/Orca-2-7b and update model support docs | diff --git a/docs/model_support.md b/docs/model_support.md
index b71bd5b19f..fa07391283 100644
--- a/docs/model_support.md
+++ b/docs/model_support.md
@@ -52,6 +52,8 @@
- [HuggingFaceH4/zephyr-7b-alpha](https://huggingface.co/HuggingFaceH4/zephyr-7b-alpha)
- [Xwin-LM/Xwin-LM-7B-V0.1](https://huggingface.co/Xwin-LM/Xw... | ## Why are these changes needed?
We add Microsoft/Orca-2-7b model: https://huggingface.co/microsoft/Orca-2-7b
We also note that the [allenai's tulu-2 series](https://huggingface.co/allenai/tulu-2-dpo-70b/tree/main) can be served as well in the model support docs.
## Checks
- [x] I've run `format.sh` to lint the... | https://api.github.com/repos/lm-sys/FastChat/pulls/2714 | 2023-11-22T07:42:08Z | 2023-11-22T08:29:16Z | 2023-11-22T08:29:16Z | 2023-11-22T08:29:17Z | 926 | lm-sys/FastChat | 41,337 |
add HDR support for bilibili | diff --git a/src/you_get/extractors/bilibili.py b/src/you_get/extractors/bilibili.py
index a812d72df3..a696b398b5 100644
--- a/src/you_get/extractors/bilibili.py
+++ b/src/you_get/extractors/bilibili.py
@@ -12,6 +12,8 @@ class Bilibili(VideoExtractor):
# Bilibili media encoding options, in descending quality ord... | https://api.github.com/repos/soimort/you-get/pulls/2875 | 2021-03-24T17:50:22Z | 2021-03-26T21:28:55Z | 2021-03-26T21:28:55Z | 2021-03-26T21:28:55Z | 242 | soimort/you-get | 21,152 | |
Use return_tensors="np" instead of "tf" | diff --git a/examples/tensorflow/language-modeling/run_mlm.py b/examples/tensorflow/language-modeling/run_mlm.py
index 680efcdbe48d6..f7812b611bce6 100755
--- a/examples/tensorflow/language-modeling/run_mlm.py
+++ b/examples/tensorflow/language-modeling/run_mlm.py
@@ -499,7 +499,7 @@ def group_texts(examples):
... | This PR is doing exactly the same thing as the [notebooks PR here](https://github.com/huggingface/notebooks/pull/308).
In our TF examples, we use return_tensors="tf" for the data collators. However, `prepare_tf_dataset` and `to_tf_dataset` actually use a NumPy loader internally, which we wrap with a `tf.data.Dataset... | https://api.github.com/repos/huggingface/transformers/pulls/21266 | 2023-01-23T17:23:51Z | 2023-01-24T13:37:49Z | 2023-01-24T13:37:49Z | 2023-01-24T13:40:32Z | 1,178 | huggingface/transformers | 12,628 |
Bump mediapipe from 0.10.8 to 0.10.9 | diff --git a/Hand-Motion-Detection/requirements.txt b/Hand-Motion-Detection/requirements.txt
index a08d8c0d1d..c8e45b52a7 100644
--- a/Hand-Motion-Detection/requirements.txt
+++ b/Hand-Motion-Detection/requirements.txt
@@ -1,3 +1,3 @@
numpy==1.26.2
opencv_python==4.8.1.78
-mediapipe==0.10.8
+mediapipe==0.10.9
| Bumps [mediapipe](https://github.com/google/mediapipe) from 0.10.8 to 0.10.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/mediapipe/releases">mediapipe's releases</a>.</em></p>
<blockquote>
<h2>MediaPipe v0.10.9</h2>
<h3>Build changes</h3>
<ul>
<li>Add libtext and l... | https://api.github.com/repos/geekcomputers/Python/pulls/2054 | 2023-12-13T18:31:15Z | 2023-12-15T21:49:42Z | 2023-12-15T21:49:42Z | 2023-12-15T21:49:49Z | 124 | geekcomputers/Python | 31,526 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.