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 |
|---|---|---|---|---|---|---|---|---|---|---|
Hacktoberfest 2020 - Add typehints and default input for project_euler/problem_25 | diff --git a/project_euler/problem_25/sol1.py b/project_euler/problem_25/sol1.py
index f0228915dc15..c30a74a43cb0 100644
--- a/project_euler/problem_25/sol1.py
+++ b/project_euler/problem_25/sol1.py
@@ -25,7 +25,24 @@
"""
-def fibonacci(n):
+def fibonacci(n: int) -> int:
+ """
+ Computes the Fibonacci number... | ### **Describe your change:**
* [ ] Add an algorithm?
* [x] 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 request is all my own work -- I h... | https://api.github.com/repos/TheAlgorithms/Python/pulls/2901 | 2020-10-06T05:20:00Z | 2020-10-07T03:57:25Z | 2020-10-07T03:57:25Z | 2020-10-07T03:57:26Z | 849 | TheAlgorithms/Python | 30,300 |
Fix typos in pt-BR README | diff --git a/README.pt-br.md b/README.pt-br.md
index 67365002e..45a8e22c4 100644
--- a/README.pt-br.md
+++ b/README.pt-br.md
@@ -203,7 +203,7 @@ O Rich pode imprimir [tables](https://rich.readthedocs.io/en/latest/tables.html)
A animação acima foi gerada com o arquivo [table_movie.py](https://github.com/textualize/ri... | ## 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 appropriate.
- [ ] I've added t... | https://api.github.com/repos/Textualize/rich/pulls/2845 | 2023-03-04T10:56:54Z | 2023-03-04T11:09:57Z | 2023-03-04T11:09:57Z | 2023-03-04T18:47:15Z | 1,955 | Textualize/rich | 48,388 |
Formatted Model Summary | diff --git a/models/ModelBase.py b/models/ModelBase.py
index f841ca6ad..e7ad843bc 100644
--- a/models/ModelBase.py
+++ b/models/ModelBase.py
@@ -231,36 +231,54 @@ def __init__(self, model_path, training_data_src_path=None, training_data_dst_pa
else:
self.sample_for_preview = se... | Aligns the model summary output using f-string formatting. The logic structure of the base class has not been changed, only the lines put into `model_summary_text`. Output width is calculated from keys & values and will scale to show a clean summary for any model/platform.
GPU VRAM has been added as an output. Incor... | https://api.github.com/repos/iperov/DeepFaceLab/pulls/348 | 2019-08-16T07:28:55Z | 2019-08-16T14:35:28Z | 2019-08-16T14:35:28Z | 2019-08-23T23:38:26Z | 1,402 | iperov/DeepFaceLab | 33,387 |
Corrected a typo in elasticsearch.ipynb | diff --git a/docs/extras/modules/data_connection/text_embedding/integrations/elasticsearch.ipynb b/docs/extras/modules/data_connection/text_embedding/integrations/elasticsearch.ipynb
index 2f8c6a96253558..185811f4f5d7a5 100644
--- a/docs/extras/modules/data_connection/text_embedding/integrations/elasticsearch.ipynb
+++... | Simple typo fix | https://api.github.com/repos/langchain-ai/langchain/pulls/7318 | 2023-07-07T04:34:14Z | 2023-07-07T05:35:32Z | 2023-07-07T05:35:32Z | 2023-07-07T05:35:33Z | 219 | langchain-ai/langchain | 42,915 |
Fixed config.json download to go to user-supplied cache directory | diff --git a/src/transformers/pipelines/__init__.py b/src/transformers/pipelines/__init__.py
index 8ee0137a20b3f..e60035dd5732d 100755
--- a/src/transformers/pipelines/__init__.py
+++ b/src/transformers/pipelines/__init__.py
@@ -782,6 +782,7 @@ def pipeline(
_raise_exceptions_for_gated_repo=False,
... | Before, config.json would end up in the default cache directory. Now everything but version.txt is placed properly, and since it's downloaded when pipeline is imported, fixing that will be more complex.
I ran "pytest --picked"; it generated 3 warnings, none of which seemed to have anything to do with my change.
@... | https://api.github.com/repos/huggingface/transformers/pulls/30189 | 2024-04-11T15:14:09Z | 2024-04-12T17:03:49Z | 2024-04-12T17:03:49Z | 2024-04-12T18:16:37Z | 154 | huggingface/transformers | 12,063 |
Format and grammar tweak | diff --git a/README.md b/README.md
index 68b6c09..fdbd15b 100644
--- a/README.md
+++ b/README.md
@@ -1805,7 +1805,8 @@ x, y = (0, 1) if True else None, None
((0, 1), None)
```
-Almost every Python programmer would have faced a similar situation.
+Almost every Python programmer has faced a similar situation.
+
2\.
... | * Tweaked a line break so a section number was correctly formatted
* Tweaked grammar to be slightly more natural
Hello! I started this pull request because the formatting was snafued there, but also made a tiny tweak to the wording when I was there!
Thanks for a very entertaining and educational page. | https://api.github.com/repos/satwikkansal/wtfpython/pulls/59 | 2018-01-27T16:05:11Z | 2018-01-29T10:06:03Z | 2018-01-29T10:06:03Z | 2018-01-29T10:07:06Z | 119 | satwikkansal/wtfpython | 25,847 |
[RLLib] Small parallel iterator doc fix. | diff --git a/doc/source/rllib-concepts.rst b/doc/source/rllib-concepts.rst
index c35190a25b29c..db3e844838fdd 100644
--- a/doc/source/rllib-concepts.rst
+++ b/doc/source/rllib-concepts.rst
@@ -614,7 +614,7 @@ In code, this dataflow can be expressed as the following execution plan, which i
return StandardMetric... | ## Why are these changes needed?
/iter.html was removed when Ray Dataset documentations were introduced.
Pointing to the source code seems like the best option available at the point.
## Related issue number
N/A
## Checks
- [ ] I've run `scripts/format.sh` to lint the changes in this PR.
- [x] I've inc... | https://api.github.com/repos/ray-project/ray/pulls/18043 | 2021-08-24T15:42:15Z | 2021-08-24T17:57:59Z | 2021-08-24T17:57:58Z | 2021-08-25T11:57:08Z | 540 | ray-project/ray | 19,798 |
ref(rules): Fix dupe check on edit | diff --git a/src/sentry/api/endpoints/project_rule_details.py b/src/sentry/api/endpoints/project_rule_details.py
index 50c2d6246ab17..6855d8f84325f 100644
--- a/src/sentry/api/endpoints/project_rule_details.py
+++ b/src/sentry/api/endpoints/project_rule_details.py
@@ -142,7 +142,7 @@ def put(self, request: Request, pro... | In some cases when you edit an alert rule (maybe not immediately after creating it?) it's comparing the rule to itself for the duplicate check, so let's explicitly exclude that id from the comparison. | https://api.github.com/repos/getsentry/sentry/pulls/55361 | 2023-08-29T16:54:41Z | 2023-08-29T17:58:30Z | 2023-08-29T17:58:30Z | 2023-09-14T00:02:52Z | 958 | getsentry/sentry | 44,249 |
✏️ A few tweaks in `docs/de/docs/tutorial/first-steps.md` | diff --git a/docs/de/docs/tutorial/first-steps.md b/docs/de/docs/tutorial/first-steps.md
index 5997f138f0ac3..27ba3ec16795e 100644
--- a/docs/de/docs/tutorial/first-steps.md
+++ b/docs/de/docs/tutorial/first-steps.md
@@ -43,7 +43,7 @@ Diese Zeile zeigt die URL, unter der Ihre Anwendung auf Ihrem lokalen Computer b
Ö... | https://api.github.com/repos/tiangolo/fastapi/pulls/10959 | 2024-01-13T11:43:29Z | 2024-01-13T12:16:22Z | 2024-01-13T12:16:22Z | 2024-01-13T18:02:41Z | 505 | tiangolo/fastapi | 23,336 | |
Add missing import for escape in doc | diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index 86b68f9743..9b4fd7bae2 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -200,6 +200,8 @@ You can add variable sections to a URL by marking sections with
as a keyword argument. Optionally, you can use a converter to specify the type
of the argum... | `flask.escape` used in [Variable Rule](https://flask.palletsprojects.com/en/1.1.x/quickstart/#variable-rules) section but doesn't import, this PR will add the missing import statement.
Fix #3471 | https://api.github.com/repos/pallets/flask/pulls/3473 | 2020-01-22T15:15:59Z | 2020-02-11T02:12:50Z | 2020-02-11T02:12:50Z | 2020-11-14T01:42:42Z | 487 | pallets/flask | 20,708 |
bugfix: docker image metagpt/metagpt:v0.1 -> metagpt/metagpt:v0.2 | diff --git a/README.md b/README.md
index d2057a4bb..8ade2339b 100644
--- a/README.md
+++ b/README.md
@@ -54,9 +54,9 @@ python setup.py install
### Installation by Docker
```bash
# Step 1: Download metagpt official image and prepare config.yaml
-docker pull metagpt/metagpt:v0.1
+docker pull metagpt/metagpt:v0.2
mkd... | https://api.github.com/repos/geekan/MetaGPT/pulls/44 | 2023-07-13T08:36:37Z | 2023-07-13T08:49:39Z | 2023-07-13T08:49:39Z | 2023-07-13T08:49:40Z | 229 | geekan/MetaGPT | 16,532 | |
added extractor for dctp.tv | diff --git a/youtube_dl/downloader/rtmp.py b/youtube_dl/downloader/rtmp.py
index e06ebe8266f..f7eeb6f43f0 100644
--- a/youtube_dl/downloader/rtmp.py
+++ b/youtube_dl/downloader/rtmp.py
@@ -104,6 +104,7 @@ def run_rtmpdump(args):
live = info_dict.get('rtmp_live', False)
conn = info_dict.get('rtmp_conn'... | Needs --realtime flag for rtmpdump, otherwise the downloaded video is broken.
The fetched json file has more meta data. Not sure what it is used for, other than bookkeeping, so I leave this as a TODO.
| https://api.github.com/repos/ytdl-org/youtube-dl/pulls/4796 | 2015-01-28T08:07:15Z | 2015-01-30T02:16:42Z | 2015-01-30T02:16:42Z | 2015-01-30T02:16:57Z | 982 | ytdl-org/youtube-dl | 50,478 |
Add airoboros_v3 chat template (llama-2 format) | diff --git a/fastchat/conversation.py b/fastchat/conversation.py
index d782b55e7e..f36cbfe903 100644
--- a/fastchat/conversation.py
+++ b/fastchat/conversation.py
@@ -392,6 +392,18 @@ def get_conv_template(name: str) -> Conversation:
)
)
+register_conv_template(
+ Conversation(
+ name="airoboros_v3",
... | ## Why are these changes needed?
Add support for llama-2-based prompt format used by the airoboros-3.x models.
## Checks
- [x] I've run `format.sh` to lint the changes in this PR.
| https://api.github.com/repos/lm-sys/FastChat/pulls/2564 | 2023-10-15T09:48:05Z | 2023-10-15T19:27:15Z | 2023-10-15T19:27:15Z | 2023-10-15T19:27:15Z | 370 | lm-sys/FastChat | 41,717 |
Add MyScaleWithoutJSON which allows user to wrap columns into Document's Metadata | diff --git a/libs/langchain/langchain/vectorstores/myscale.py b/libs/langchain/langchain/vectorstores/myscale.py
index 609c496e1480b6..9dbc6ae40a9a26 100644
--- a/libs/langchain/langchain/vectorstores/myscale.py
+++ b/libs/langchain/langchain/vectorstores/myscale.py
@@ -490,3 +490,125 @@ def delete(
@property
... | <!-- 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 relevant... | https://api.github.com/repos/langchain-ai/langchain/pulls/13164 | 2023-11-10T03:51:25Z | 2023-11-13T18:10:36Z | 2023-11-13T18:10:36Z | 2023-11-16T09:32:43Z | 1,219 | langchain-ai/langchain | 43,382 |
[jobs] Fix `test_backwards_compatibility.py` by pinning `pydantic<2` | diff --git a/dashboard/modules/job/tests/backwards_compatibility_scripts/test_backwards_compatibility.sh b/dashboard/modules/job/tests/backwards_compatibility_scripts/test_backwards_compatibility.sh
index 4ec95a112e904..8ae0da8688d31 100755
--- a/dashboard/modules/job/tests/backwards_compatibility_scripts/test_backward... | <!-- 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/37097 | 2023-07-05T14:15:44Z | 2023-07-05T16:49:00Z | 2023-07-05T16:49:00Z | 2023-07-05T16:49:01Z | 225 | ray-project/ray | 19,223 |
Update README.md | diff --git a/README.md b/README.md
index 5c7fa3949..0cb86c750 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,10 @@ CentOS:
yum install python-setuptools && easy_install pip
pip install shadowsocks
+Linux distributions with [snap](http://snapcraft.io/):
+
+ snap install shadowsocks
+
Windows:
See... | Add installation and usage instructions for snap package. | https://api.github.com/repos/shadowsocks/shadowsocks/pulls/734 | 2017-01-19T18:40:08Z | 2017-09-06T07:13:27Z | 2017-09-06T07:13:27Z | 2017-09-06T07:13:27Z | 265 | shadowsocks/shadowsocks | 24,640 |
fix problem with path being double escaped | diff --git a/requests/models.py b/requests/models.py
index 82c7572995..c2cbe97918 100644
--- a/requests/models.py
+++ b/requests/models.py
@@ -351,8 +351,8 @@ def path_url(self):
if not path:
path = '/'
- # if is_py3:
- path = quote(path.encode('utf-8'))
+ if is_py3:
+ ... | On python 2.6.4 (at least) the path portion is getting escaped twice -> once in Request.full_url and once in Request.path_url
This fixes it, but I don't know why there was a commented test for Python 3.
| https://api.github.com/repos/psf/requests/pulls/387 | 2012-01-25T16:24:25Z | 2012-01-25T16:25:26Z | 2012-01-25T16:25:26Z | 2021-09-09T00:01:25Z | 281 | psf/requests | 32,448 |
Fix parser bug where "type" was misinterpreted as a keyword inside a match | diff --git a/CHANGES.md b/CHANGES.md
index 610a9de0e4..f89b1b9df0 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -37,6 +37,8 @@
<!-- Changes to the parser or to version autodetection -->
+- Fix bug where attributes named `type` were not acccepted inside `match` statements
+ (#3950)
- Add support for PEP 695 type al... | Fixes #3790
Slightly hacky, but I think this is correct and it should also improve performance somewhat.
| https://api.github.com/repos/psf/black/pulls/3950 | 2023-10-16T14:07:05Z | 2023-10-17T07:59:16Z | 2023-10-17T07:59:16Z | 2023-10-17T07:59:16Z | 1,059 | psf/black | 24,167 |
Add Hindi language to config | diff --git a/website/next-i18next.config.js b/website/next-i18next.config.js
index 953720ccd9..26f007b2d0 100644
--- a/website/next-i18next.config.js
+++ b/website/next-i18next.config.js
@@ -19,6 +19,7 @@ module.exports = {
"fr",
"gl",
"he",
+ "hi",
"hu",
"id",
"it",
| This language was added as a translation but never added to the config file so it did not actually activate on the website. | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/2881 | 2023-04-24T16:26:56Z | 2023-04-24T16:54:04Z | 2023-04-24T16:54:04Z | 2023-04-25T12:42:34Z | 110 | LAION-AI/Open-Assistant | 37,556 |
Fix permissions error when upgrading certbot-auto 0.18.x | diff --git a/letsencrypt-auto-source/letsencrypt-auto b/letsencrypt-auto-source/letsencrypt-auto
index 223fbfd321f..254f02c0acf 100755
--- a/letsencrypt-auto-source/letsencrypt-auto
+++ b/letsencrypt-auto-source/letsencrypt-auto
@@ -187,8 +187,7 @@ SetRootAuthMechanism() {
if [ "$1" = "--cb-auto-has-root" ]; then
... | Cherry picked from #5086 and commit 82d0ff1df249cdd6748b95aab73ec4aa19b24cb6. | https://api.github.com/repos/certbot/certbot/pulls/5089 | 2017-09-08T00:26:37Z | 2017-09-08T02:40:42Z | 2017-09-08T02:40:42Z | 2017-09-08T02:40:45Z | 1,036 | certbot/certbot | 1,858 |
Automatically obtain restNonce | diff --git a/gpt4free/hpgptai/__init__.py b/gpt4free/hpgptai/__init__.py
index c8772a19f5..f5d1f0edc3 100644
--- a/gpt4free/hpgptai/__init__.py
+++ b/gpt4free/hpgptai/__init__.py
@@ -5,20 +5,26 @@
@File :__init__.py.py
@IDE :PyCharm
"""
+import re
import json
-import requests
+import base64
import random
import s... | RestNonce automatically changes every day and requires requesting the webpage to obtain the restNonce value | https://api.github.com/repos/xtekky/gpt4free/pulls/601 | 2023-05-25T02:46:18Z | 2023-05-26T14:54:51Z | 2023-05-26T14:54:51Z | 2023-05-26T14:54:51Z | 828 | xtekky/gpt4free | 38,199 |
vector env updates | diff --git a/gym/vector/async_vector_env.py b/gym/vector/async_vector_env.py
index 38c72eb2701..d1d4a0809a2 100644
--- a/gym/vector/async_vector_env.py
+++ b/gym/vector/async_vector_env.py
@@ -51,9 +51,23 @@ class AsyncVectorEnv(VectorEnv):
context : str, optional
Context for multiprocessing. If `None`, t... | AsyncVectorEnv updates: allow `daemon` flag to be on or off, allow custom workers (for messing with reset logic in a vecenv)
SyncVectorEnv - update API with `step_async` and `step_wait` methods for compatibility | https://api.github.com/repos/openai/gym/pulls/1706 | 2019-10-09T21:20:42Z | 2019-10-09T22:08:11Z | 2019-10-09T22:08:11Z | 2019-10-09T22:08:18Z | 1,909 | openai/gym | 5,926 |
Added Blockchain | diff --git a/README.md b/README.md
index 2de8f212da..30f7b88295 100644
--- a/README.md
+++ b/README.md
@@ -200,6 +200,7 @@ API | Description | Auth | HTTPS | Link |
API | Description | Auth | HTTPS | Link |
|---|---|---|---|---|
| Barchart OnDemand | Stock, Futures, and Forex Market Data | `apiKey` | Yes | [Go!](htt... | 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] Your submissions are formatted according to the guidelines in the [contributing guide](CONTRIBUTING.md).
- [x] Your changes are made in the [README](../README.md) fi... | https://api.github.com/repos/public-apis/public-apis/pulls/478 | 2017-09-06T13:04:31Z | 2017-09-06T14:06:17Z | 2017-09-06T14:06:17Z | 2017-09-06T14:06:21Z | 250 | public-apis/public-apis | 35,178 |
Allowing custom text field name for Milvus (#7789) | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 67c4ca7941569..4e6daff48ba4e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
### New Features
- Added native support for `HuggingFaceEmbedding`, `InstructorEmbedding`, and `OptimumEmbedding` (#7795)
- Added metadata filtering and hybrid search to MyScale ve... | # Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # 7789
## Type of Change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which... | https://api.github.com/repos/run-llama/llama_index/pulls/7790 | 2023-09-22T19:25:52Z | 2023-09-24T21:21:38Z | 2023-09-24T21:21:38Z | 2023-09-25T16:21:21Z | 741 | run-llama/llama_index | 6,533 |
Added no_mp3_support argument and added a check for ffmpg installation | diff --git a/demo_cli.py b/demo_cli.py
index 7435552b7..1bd41b883 100644
--- a/demo_cli.py
+++ b/demo_cli.py
@@ -11,7 +11,7 @@
import argparse
import torch
import sys
-
+from audioread.exceptions import NoBackendError
if __name__ == '__main__':
## Info & args
@@ -34,12 +34,23 @@
"If True, audio won'... | This is a fix for this [issue](https://github.com/CorentinJ/Real-Time-Voice-Cloning/issues/446) Please let me know if anything else needs to get done | https://api.github.com/repos/CorentinJ/Real-Time-Voice-Cloning/pulls/517 | 2020-09-01T23:11:59Z | 2020-09-03T22:31:52Z | 2020-09-03T22:31:52Z | 2020-09-03T22:31:52Z | 3,299 | CorentinJ/Real-Time-Voice-Cloning | 27,391 |
隐藏在mac上启动时的终端 | diff --git a/start.sh b/start.sh
index 85a6a3705b..84cfb607be 100755
--- a/start.sh
+++ b/start.sh
@@ -3,8 +3,30 @@
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPTPATH
-if hash python2 2>/dev/null; then
- python2 launcher/start.py
+# launch xx-net service by ignore hungup signal
+functi... | Improve #2761 when launch XX-Net without Terminal
| https://api.github.com/repos/XX-net/XX-Net/pulls/2769 | 2016-04-07T09:28:46Z | 2016-04-09T10:01:22Z | 2016-04-09T10:01:21Z | 2016-04-09T10:01:22Z | 294 | XX-net/XX-Net | 17,102 |
[workflow] fixed communtity report ranking | diff --git a/.github/workflows/scripts/generate_leaderboard_and_send_to_lark.py b/.github/workflows/scripts/generate_leaderboard_and_send_to_lark.py
index 36cdd9518486..16b8957c1d88 100644
--- a/.github/workflows/scripts/generate_leaderboard_and_send_to_lark.py
+++ b/.github/workflows/scripts/generate_leaderboard_and_s... | ## 📌 Checklist before creating the PR
- [x] I have created an issue for this PR for traceability
- [x] The title follows the standard format: `[doc/gemini/tensor/...]: A concise description`
- [x] 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/2680 | 2023-02-13T09:04:41Z | 2023-02-13T09:04:49Z | 2023-02-13T09:04:49Z | 2023-02-13T09:05:09Z | 203 | hpcaitech/ColossalAI | 11,816 |
fix dailymotion for #609 | diff --git a/src/you_get/extractors/dailymotion.py b/src/you_get/extractors/dailymotion.py
index 8e8851aa3e..988920bb8a 100644
--- a/src/you_get/extractors/dailymotion.py
+++ b/src/you_get/extractors/dailymotion.py
@@ -8,16 +8,12 @@ def dailymotion_download(url, output_dir = '.', merge = True, info_only = False)
"... | <!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/soimort/you-get/614)
<!-- Reviewable:end -->
| https://api.github.com/repos/soimort/you-get/pulls/614 | 2015-08-28T16:27:46Z | 2015-08-28T16:31:19Z | 2015-08-28T16:31:19Z | 2015-08-28T16:31:19Z | 364 | soimort/you-get | 21,004 |
ansible-test - Update pylint to 2.16.0 | diff --git a/test/integration/targets/ansible-test-sanity/ansible_collections/ns/col/plugins/plugin_utils/check_pylint.py b/test/integration/targets/ansible-test-sanity/ansible_collections/ns/col/plugins/plugin_utils/check_pylint.py
index f1be4f3432cb2c..d05a4ba72027c2 100644
--- a/test/integration/targets/ansible-test... | ##### SUMMARY
ansible-test - Update pylint to 2.16.0.
##### ISSUE TYPE
Feature Pull Request
##### COMPONENT NAME
ansible-test
##### ADDITIONAL INFORMATION
Omitting a changelog fragment, since this is a follow-up to https://github.com/ansible/ansible/pull/79819
| https://api.github.com/repos/ansible/ansible/pulls/79878 | 2023-02-01T18:59:40Z | 2023-02-01T20:40:36Z | 2023-02-01T20:40:36Z | 2023-02-08T14:00:08Z | 3,032 | ansible/ansible | 49,211 |
Document header ordering caveats. | diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst
index 8264e85d5b..cf0143ce6c 100644
--- a/docs/user/advanced.rst
+++ b/docs/user/advanced.rst
@@ -208,7 +208,7 @@ You can pass ``verify`` the path to a CA_BUNDLE file or directory with certifica
>>> requests.get('https://github.com', verify='/path/to/c... | Resolves #3096.
| https://api.github.com/repos/psf/requests/pulls/3295 | 2016-06-08T15:26:13Z | 2016-06-08T16:44:33Z | 2016-06-08T16:44:33Z | 2021-09-02T00:07:36Z | 408 | psf/requests | 32,646 |
[mixcloud] add restriction detection | diff --git a/yt_dlp/extractor/mixcloud.py b/yt_dlp/extractor/mixcloud.py
index a0c043d4bd3..c2dd078ac42 100644
--- a/yt_dlp/extractor/mixcloud.py
+++ b/yt_dlp/extractor/mixcloud.py
@@ -12,6 +12,7 @@
compat_zip
)
from ..utils import (
+ ExtractorError,
int_or_none,
parse_iso8601,
strip_or_none,
... | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/2169 | 2021-12-30T05:16:52Z | 2021-12-31T20:11:35Z | 2021-12-31T20:11:35Z | 2021-12-31T20:11:36Z | 298 | yt-dlp/yt-dlp | 7,330 |
[MRG + 1] Ensuring that the OneHotEncoder outputs sparse matrix with given dtype #11034 | diff --git a/doc/whats_new/v0.20.rst b/doc/whats_new/v0.20.rst
index 0e206878862ae..d735b09d7b7af 100644
--- a/doc/whats_new/v0.20.rst
+++ b/doc/whats_new/v0.20.rst
@@ -496,6 +496,10 @@ Preprocessing
``inverse_transform`` on unseen labels. :issue:`9816` by :user:`Charlie Newey
<newey01c>`.
+- Fix bug in :class:... | #### Reference Issues/PRs
Original discussion at #11034
#### What does this implement/fix? Explain your changes.
| https://api.github.com/repos/scikit-learn/scikit-learn/pulls/11042 | 2018-04-28T11:35:27Z | 2018-06-06T08:59:28Z | 2018-06-06T08:59:28Z | 2018-06-06T09:00:22Z | 1,933 | scikit-learn/scikit-learn | 46,294 |
Fixed issue #2756 | diff --git a/requests/models.py b/requests/models.py
index 4270c647eb..06e843623e 100644
--- a/requests/models.py
+++ b/requests/models.py
@@ -414,7 +414,7 @@ def prepare_body(self, data, files, json=None):
content_type = None
length = None
- if json is not None:
+ if data == {} and js... | Now 'json' parameter will be used to prepare body only if the 'data'
parameter is not present
| https://api.github.com/repos/psf/requests/pulls/2763 | 2015-09-08T09:19:51Z | 2015-10-05T14:27:53Z | 2015-10-05T14:27:53Z | 2021-09-08T05:01:00Z | 406 | psf/requests | 32,569 |
List `str` as supported type for `show_spinner` in cache data docs | diff --git a/lib/streamlit/runtime/caching/cache_data_api.py b/lib/streamlit/runtime/caching/cache_data_api.py
index 47f9d284eb06..2e738ef447b2 100644
--- a/lib/streamlit/runtime/caching/cache_data_api.py
+++ b/lib/streamlit/runtime/caching/cache_data_api.py
@@ -413,9 +413,10 @@ def _decorator(
for an unbo... | ## 📚 Context
Fixes #6207.
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [x] Other, please describe: Doc improvement request
## 🧠 Description of Changes
- Adds `str` as a supported type for `st.cache_data`'s `show_spinner` param in the docstring.... | https://api.github.com/repos/streamlit/streamlit/pulls/6213 | 2023-03-03T04:30:46Z | 2023-03-03T14:49:34Z | 2023-03-03T14:49:34Z | 2023-10-05T19:29:36Z | 275 | streamlit/streamlit | 22,536 |
Device agnostic testing | diff --git a/tests/test_layers.py b/tests/test_layers.py
index da061870ab..92f6b683d3 100644
--- a/tests/test_layers.py
+++ b/tests/test_layers.py
@@ -3,6 +3,13 @@
from timm.layers import create_act_layer, set_layer_config
+import importlib
+import os
+
+torch_backend = os.environ.get('TORCH_BACKEND')
+if torch_ba... | This PR changes the test suite to allow running the tests on any hardware.
In order to do this I tried to make the test suite device agnostic and allow setting the device and backend through environment variables. This is hopefully a future proof way for allowing the test suite to be run on any hardware.
I've als... | https://api.github.com/repos/huggingface/pytorch-image-models/pulls/1993 | 2023-10-18T15:56:45Z | 2023-11-17T04:27:59Z | 2023-11-17T04:27:59Z | 2023-11-17T04:28:31Z | 2,790 | huggingface/pytorch-image-models | 16,441 |
gh-85308: argparse: Use filesystem encoding for arguments file | diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 0e62e99d706d4c..b2fa0b3c23c3a1 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -562,7 +562,7 @@ at the command line. If the ``fromfile_prefix_chars=`` argument is given to the
specified characters will be treated as files, ... | Fixes #85308 | https://api.github.com/repos/python/cpython/pulls/93277 | 2022-05-27T02:34:42Z | 2022-06-23T03:09:57Z | 2022-06-23T03:09:57Z | 2022-06-23T08:18:03Z | 1,036 | python/cpython | 3,944 |
Update docs link in certbot unsupported error | diff --git a/letsencrypt-auto-source/letsencrypt-auto b/letsencrypt-auto-source/letsencrypt-auto
index 32eab52cdaa..56d9c65cf2a 100755
--- a/letsencrypt-auto-source/letsencrypt-auto
+++ b/letsencrypt-auto-source/letsencrypt-auto
@@ -930,7 +930,7 @@ else
error "Sorry, I don't know how to bootstrap Certbot on your o... | ## Pull Request Checklist
- [ ] If the change being made is to a [distributed component](https://certbot.eff.org/docs/contributing.html#code-components-and-layout), edit the `master` section of `certbot/CHANGELOG.md` to include a description of the change being made.
- [ ] Include your name in `AUTHORS.md` if you l... | https://api.github.com/repos/certbot/certbot/pulls/8168 | 2020-07-23T11:12:39Z | 2020-08-20T18:33:57Z | 2020-08-20T18:33:57Z | 2020-08-20T18:33:57Z | 370 | certbot/certbot | 2,318 |
Add Deezer to music APIs | diff --git a/README.md b/README.md
index b1224e0486..a92ea8748b 100644
--- a/README.md
+++ b/README.md
@@ -217,6 +217,7 @@ A collective list of JSON APIs for use in web development.
| Songsterr | Provides guitar, bass and drums tabs and chords | No | [Go!](https://www.songsterr.com/a/wa/api/) |
| Soundcloud | Music ... | https://api.github.com/repos/public-apis/public-apis/pulls/224 | 2016-10-04T22:17:18Z | 2016-10-06T07:55:37Z | 2016-10-06T07:55:37Z | 2016-10-06T07:55:40Z | 169 | public-apis/public-apis | 35,219 | |
Fixed #31029 -- Used more specific links to RFCs. | diff --git a/docs/internals/contributing/writing-documentation.txt b/docs/internals/contributing/writing-documentation.txt
index 577a611d8dff8..299106345ee54 100644
--- a/docs/internals/contributing/writing-documentation.txt
+++ b/docs/internals/contributing/writing-documentation.txt
@@ -235,6 +235,10 @@ documentation:... | ticket-31029 | https://api.github.com/repos/django/django/pulls/12142 | 2019-11-25T08:43:43Z | 2019-11-28T06:59:36Z | 2019-11-28T06:59:36Z | 2019-11-30T06:31:32Z | 2,154 | django/django | 51,395 |
update profiler docs again | diff --git a/selfdrive/debug/profiling/snapdragon/README.md b/selfdrive/debug/profiling/snapdragon/README.md
index 0bf6cd99e600dd..664814b6115273 100644
--- a/selfdrive/debug/profiling/snapdragon/README.md
+++ b/selfdrive/debug/profiling/snapdragon/README.md
@@ -3,11 +3,11 @@ snapdragon profiler
* download from ht... | https://api.github.com/repos/commaai/openpilot/pulls/30503 | 2023-11-20T21:27:48Z | 2023-11-20T21:30:17Z | 2023-11-20T21:30:17Z | 2023-11-20T21:30:18Z | 308 | commaai/openpilot | 8,928 | |
Added xnxx.com's alternative domain support. | diff --git a/yt_dlp/extractor/xnxx.py b/yt_dlp/extractor/xnxx.py
index dd4fb54d463..27f99162778 100644
--- a/yt_dlp/extractor/xnxx.py
+++ b/yt_dlp/extractor/xnxx.py
@@ -13,7 +13,7 @@
class XNXXIE(InfoExtractor):
- _VALID_URL = r'https?://(?:video|www)\.xnxx\.com/video-?(?P<id>[0-9a-z]+)/'
+ _VALID_URL = r'ht... | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/3188 | 2022-03-25T08:23:48Z | 2022-03-30T10:54:35Z | 2022-03-30T10:54:35Z | 2022-03-30T14:31:24Z | 316 | yt-dlp/yt-dlp | 7,413 |
Update together.ipynb | diff --git a/docs/examples/embeddings/together.ipynb b/docs/examples/embeddings/together.ipynb
index b468d5f4bacf1..210e79cea0187 100644
--- a/docs/examples/embeddings/together.ipynb
+++ b/docs/examples/embeddings/together.ipynb
@@ -11,9 +11,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "# ... | # Description
Requesting to update the title and the company name.
Fixes # (issue)
## Type of Change
Please delete options that are not relevant.
- [ ] This change requires a documentation update
# How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide inst... | https://api.github.com/repos/run-llama/llama_index/pulls/9975 | 2024-01-11T01:14:27Z | 2024-01-11T01:38:30Z | 2024-01-11T01:38:30Z | 2024-01-11T01:38:30Z | 221 | run-llama/llama_index | 6,660 |
gym.spaces.Dict inherits from collections.abc.Mapping | diff --git a/gym/spaces/dict.py b/gym/spaces/dict.py
index b7b7389573b..01cb7141842 100644
--- a/gym/spaces/dict.py
+++ b/gym/spaces/dict.py
@@ -1,9 +1,10 @@
from collections import OrderedDict
+from collections.abc import Mapping
import numpy as np
from .space import Space
-class Dict(Space):
+class Dict(Space,... | It would be very convenient to have `gym.spaces.Dict` inheriting from `collections.abc.Mapping` so that it can be used in conjunction with [dmtree](https://github.com/deepmind/tree) to perform operations on complex spaces conveniently. It also simplifies the implementation which is good.
I just don't like the fact t... | https://api.github.com/repos/openai/gym/pulls/2446 | 2021-10-14T10:21:23Z | 2021-10-17T01:22:30Z | 2021-10-17T01:22:30Z | 2021-10-26T00:48:06Z | 289 | openai/gym | 5,071 |
[MRG] DOC simplify extension docs | diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rst
index 614e4fff6d3..bff0d3e1c64 100644
--- a/docs/topics/downloader-middleware.rst
+++ b/docs/topics/downloader-middleware.rst
@@ -51,8 +51,8 @@ particular setting. See each middleware documentation for more info.
Writing your ow... | In this PR I tried to remove some noise from the extension docs.
| https://api.github.com/repos/scrapy/scrapy/pulls/893 | 2014-09-20T18:20:56Z | 2014-10-21T19:13:59Z | 2014-10-21T19:13:59Z | 2014-10-21T19:13:59Z | 1,010 | scrapy/scrapy | 34,969 |
acme: use order "status" to determine action during finalization | diff --git a/acme/acme/client.py b/acme/acme/client.py
index b5021b44726..aa7085fb0c0 100644
--- a/acme/acme/client.py
+++ b/acme/acme/client.py
@@ -797,9 +797,13 @@ def finalize_order(self, orderr: messages.OrderResource, deadline: datetime.date
time.sleep(1)
response = self._post_as_get(orde... | Rather than deducing the status of an order by the "certificate"
and "error" fields, use the "status" field directly.
----
Fixes #9296.
| https://api.github.com/repos/certbot/certbot/pulls/9297 | 2022-05-10T11:46:56Z | 2022-05-13T16:51:11Z | 2022-05-13T16:51:11Z | 2022-05-13T16:51:14Z | 976 | certbot/certbot | 96 |
fix(tests) Clean up tests that were used to debug snuba inconsistency | diff --git a/tests/snuba/api/endpoints/test_organization_events_v2.py b/tests/snuba/api/endpoints/test_organization_events_v2.py
index f819165dab6a1..0ab0949f0b6d9 100644
--- a/tests/snuba/api/endpoints/test_organization_events_v2.py
+++ b/tests/snuba/api/endpoints/test_organization_events_v2.py
@@ -1,7 +1,6 @@
from _... | These tests were originally put in place to debug the issue solved by
https://github.com/getsentry/snuba/pull/846. I left the tests in just to catch
any possible regressions. | https://api.github.com/repos/getsentry/sentry/pulls/20172 | 2020-08-11T15:57:07Z | 2020-08-12T16:06:52Z | 2020-08-12T16:06:52Z | 2020-12-18T13:00:38Z | 1,692 | getsentry/sentry | 43,824 |
Handle empty message tree state | diff --git a/website/src/components/Stats/Stats.tsx b/website/src/components/Stats/Stats.tsx
index f12cafa609..39755d9d33 100644
--- a/website/src/components/Stats/Stats.tsx
+++ b/website/src/components/Stats/Stats.tsx
@@ -30,6 +30,11 @@ export const Stats = ({ data }: StatsProps) => {
const messageTreeStats = get... | This problem happens when running with a fresh DB setup, the returned tree is empty. | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/1838 | 2023-02-24T13:12:44Z | 2023-02-24T13:19:47Z | 2023-02-24T13:19:47Z | 2023-02-24T13:19:48Z | 158 | LAION-AI/Open-Assistant | 37,058 |
[vimeo] Ignore video 'base' thumbnail (Closes #3438) | diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index 10844f39e68..11c7d7e817f 100644
--- a/youtube_dl/extractor/vimeo.py
+++ b/youtube_dl/extractor/vimeo.py
@@ -276,7 +276,7 @@ def _real_extract(self, url):
if video_thumbnail is None:
video_thumbs = config["video"].get(... | https://api.github.com/repos/ytdl-org/youtube-dl/pulls/3441 | 2014-08-04T19:37:53Z | 2014-08-05T12:07:05Z | 2014-08-05T12:07:05Z | 2014-08-05T13:06:37Z | 201 | ytdl-org/youtube-dl | 49,876 | |
Remove unnecessary comma | diff --git a/scrapy/resolver.py b/scrapy/resolver.py
index 554a3a14dba..f69894b1e4e 100644
--- a/scrapy/resolver.py
+++ b/scrapy/resolver.py
@@ -29,7 +29,7 @@ def from_crawler(cls, crawler, reactor):
cache_size = 0
return cls(reactor, cache_size, crawler.settings.getfloat('DNS_TIMEOUT'))
- de... | https://api.github.com/repos/scrapy/scrapy/pulls/4369 | 2020-02-23T21:30:10Z | 2020-02-24T11:02:01Z | 2020-02-24T11:02:01Z | 2020-02-26T12:34:29Z | 140 | scrapy/scrapy | 34,967 | |
Add AWQ 4bit inference support | diff --git a/docs/awq.md b/docs/awq.md
new file mode 100644
index 0000000000..ac38ef3dd5
--- /dev/null
+++ b/docs/awq.md
@@ -0,0 +1,71 @@
+# AWQ 4bit Inference
+
+We integrated [AWQ](https://github.com/mit-han-lab/llm-awq) into FastChat to provide **efficient and accurate** 4bit LLM inference.
+
+## Install AWQ
+
+Setu... | <!-- 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?
<!-- Please give a short summary of the change and the problem ... | https://api.github.com/repos/lm-sys/FastChat/pulls/2103 | 2023-07-28T03:37:40Z | 2023-08-01T10:09:19Z | 2023-08-01T10:09:19Z | 2023-08-01T10:09:19Z | 3,058 | lm-sys/FastChat | 41,113 |
[Fix] Fix compile error | diff --git a/op_builder/utils.py b/op_builder/utils.py
index cb528eea66a1..9412c725baab 100644
--- a/op_builder/utils.py
+++ b/op_builder/utils.py
@@ -197,11 +197,12 @@ def get_cuda_cc_flag() -> List[str]:
import torch
cc_flag = []
+ max_arch = ''.join(str(i) for i in torch.cuda.get_device_capability())
... | ## 📌 Checklist before creating the PR
- [x] 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/4357 | 2023-07-31T13:02:10Z | 2023-09-01T10:12:58Z | 2023-09-01T10:12:58Z | 2023-09-01T10:12:58Z | 194 | hpcaitech/ColossalAI | 11,741 |
Add ParamountPlusSeriesIE. | diff --git a/yt_dlp/extractor/cbs.py b/yt_dlp/extractor/cbs.py
index ac3057d596f..716e945197b 100644
--- a/yt_dlp/extractor/cbs.py
+++ b/yt_dlp/extractor/cbs.py
@@ -1,5 +1,6 @@
from __future__ import unicode_literals
+from .common import InfoExtractor
from .theplatform import ThePlatformFeedIE
from ..utils import ... | ## Please follow the guide below
- You will be asked some questions, please read them **carefully** and answer honestly
- Put an `x` into all the boxes [ ] relevant to your *pull request* (like that [x])
- Use *Preview* tab to see how your *pull request* will actually look like
---
### Before submitting a *p... | https://api.github.com/repos/yt-dlp/yt-dlp/pulls/603 | 2021-08-01T10:09:58Z | 2021-08-01T21:28:48Z | 2021-08-01T21:28:48Z | 2021-08-06T14:36:41Z | 727 | yt-dlp/yt-dlp | 7,639 |
Set correct return statement for `is_type_comment` function | diff --git a/black.py b/black.py
index 65545e9f21d..d1e87a9fa98 100644
--- a/black.py
+++ b/black.py
@@ -2777,7 +2777,7 @@ def is_type_comment(leaf: Leaf, suffix: str = "") -> bool:
Only returns true for type comments for now."""
t = leaf.type
v = leaf.value
- return t in {token.COMMENT, t == STANDALO... | Looks like there are mistake in `is_type_comment` function.
When function return statement was updated from:
```python
return bool(
(t == token.COMMENT or t == STANDALONE_COMMENT) and (v.startswith("# type:"))
)
```
to
```python
return t in {token.COMMENT, t == STANDALONE_COMMENT} and ... | https://api.github.com/repos/psf/black/pulls/929 | 2019-07-18T12:35:14Z | 2019-10-20T14:52:08Z | 2019-10-20T14:52:08Z | 2019-10-20T14:52:08Z | 146 | psf/black | 23,703 |
Add ONNX-Scala and NDScala to Scala list | diff --git a/README.md b/README.md
index 8011fe1d..e664edb3 100644
--- a/README.md
+++ b/README.md
@@ -1558,6 +1558,7 @@ be
<a name="scala-data-analysis--data-visualization"></a>
#### Data Analysis / Data Visualization
+* [NDScala](https://github.com/SciScala/NDScala) - N-dimensional arrays in Scala 3. Think NumPy ... | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/792 | 2021-04-15T12:07:07Z | 2021-04-15T14:25:31Z | 2021-04-15T14:25:31Z | 2021-04-15T14:25:31Z | 385 | josephmisiti/awesome-machine-learning | 52,370 | |
Revert use of celery task for Discord notifications | diff --git a/backend/oasst_backend/prompt_repository.py b/backend/oasst_backend/prompt_repository.py
index 1ce0cab569..d5f1a477aa 100644
--- a/backend/oasst_backend/prompt_repository.py
+++ b/backend/oasst_backend/prompt_repository.py
@@ -30,8 +30,8 @@
from oasst_backend.models.payload_column_type import PayloadContai... | Should fix #3504 | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/3516 | 2023-06-25T10:15:28Z | 2023-06-25T13:12:04Z | 2023-06-25T13:12:04Z | 2023-06-25T13:12:05Z | 804 | LAION-AI/Open-Assistant | 36,851 |
Add map, foldl, foldr to the backend | diff --git a/keras/backend/tensorflow_backend.py b/keras/backend/tensorflow_backend.py
index 03dd2e552af..2abaf50769f 100644
--- a/keras/backend/tensorflow_backend.py
+++ b/keras/backend/tensorflow_backend.py
@@ -1974,3 +1974,52 @@ def ctc_decode(y_pred, input_length, greedy=True, beam_width=100,
... | Hi, this is in reference to #4434 .
Tell me if it needs anything more. I believe K.rnn is really unintuitive to use for simple maps and folds if it can even be used. | https://api.github.com/repos/keras-team/keras/pulls/4461 | 2016-11-21T21:28:38Z | 2016-11-23T21:21:13Z | 2016-11-23T21:21:13Z | 2016-11-29T18:23:50Z | 1,693 | keras-team/keras | 47,762 |
modified the proxy.py. | diff --git a/proxy.py b/proxy.py
index 4c5b4cc0..a60b1f53 100644
--- a/proxy.py
+++ b/proxy.py
@@ -5,7 +5,6 @@
class SalesManager:
-
def work(self):
print("Sales Manager working...")
@@ -14,7 +13,6 @@ def talk(self):
class Proxy:
-
def __init__(self):
self.busy = 'No'
se... | This modification shows that proxy can be used to block some operations of the other objects. It is a little modification but useful for pattern design.
| https://api.github.com/repos/faif/python-patterns/pulls/81 | 2015-04-18T05:50:28Z | 2015-04-22T16:35:30Z | 2015-04-22T16:35:30Z | 2015-04-22T16:35:30Z | 347 | faif/python-patterns | 33,433 |
Pi digit extraction algorithm | diff --git a/DIRECTORY.md b/DIRECTORY.md
index f4499d8e07bd..bef7bca86cc3 100644
--- a/DIRECTORY.md
+++ b/DIRECTORY.md
@@ -300,6 +300,7 @@
* [Average Mean](https://github.com/TheAlgorithms/Python/blob/master/maths/average_mean.py)
* [Average Median](https://github.com/TheAlgorithms/Python/blob/master/maths/averag... | ### **Describe your change:**
I added an algorithm that extracts the nth hexadecimal digit of pi
* [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/CONT... | https://api.github.com/repos/TheAlgorithms/Python/pulls/1996 | 2020-05-18T06:55:30Z | 2020-05-18T20:54:09Z | 2020-05-18T20:54:09Z | 2020-05-18T20:54:09Z | 1,510 | TheAlgorithms/Python | 30,067 |
Update synthesizer/train.py, vocoder/train.py, synthesizer/synthesize.py, vocoder_preprocess.py to Allow Vocoder_preprocess to Work (Win10 GPU) | diff --git a/README.md b/README.md
index 214e9b3ef..454fb79c7 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,7 @@ SV2TTS is a three-stage deep learning framework that allows to create a numerica
**Python 3.6 or 3.7** is needed to run the toolbox.
-* Install [PyTorch](https://pytorch.org/get-started/locally/) ... | Pull requested by @blue-fish
@tomcattwo edited synthesizer/train.py per issue #669 and blue-fish/Real-Time-Voice-Cloning@89a9964 to fix Win10 pickle issue.
This will allow Windows users using a GPU to properly run synthesizer training. | https://api.github.com/repos/CorentinJ/Real-Time-Voice-Cloning/pulls/838 | 2021-09-01T16:02:55Z | 2021-09-25T16:57:12Z | 2021-09-25T16:57:12Z | 2021-09-25T16:57:30Z | 1,400 | CorentinJ/Real-Time-Voice-Cloning | 27,390 |
fixup release files | diff --git a/release/build_release3.sh b/release/build_release3.sh
index 35f17d0cec4b16..5664d984f7fbf3 100755
--- a/release/build_release3.sh
+++ b/release/build_release3.sh
@@ -1,8 +1,10 @@
#!/usr/bin/bash -e
+# git diff --name-status origin/release3-staging | grep "^A" | less
+
DIR="$(cd "$(dirname "${BASH_SOURC... | https://api.github.com/repos/commaai/openpilot/pulls/21638 | 2021-07-18T00:17:19Z | 2021-07-18T00:24:09Z | 2021-07-18T00:24:09Z | 2021-07-18T00:24:09Z | 471 | commaai/openpilot | 9,329 | |
Allows applying dilation by passing negative erosion kernel values. If value is negative, … | diff --git a/plugins/Convert_Masked.py b/plugins/Convert_Masked.py
index d54a534f33..d2f6fc2c22 100644
--- a/plugins/Convert_Masked.py
+++ b/plugins/Convert_Masked.py
@@ -8,11 +8,13 @@
class Convert():
def __init__(self, encoder, blur_size=2, seamless_clone=False, mask_type="facehullandrect", erosion_kernel_size... | …it turns it into a dilation kernel, which allows facehullandrect to cover more space. Can help to cover double eyebrows. Also could be useful with Masked converter for GAN in @oatssss PR. | https://api.github.com/repos/deepfakes/faceswap/pulls/238 | 2018-03-03T03:43:39Z | 2018-03-03T11:01:08Z | 2018-03-03T11:01:08Z | 2018-03-03T20:47:47Z | 647 | deepfakes/faceswap | 18,819 |
DOC remove unimplemented misclassification criterion from user guide | diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst
index 951bab0e815b1..6cf8e0d8f5a9a 100644
--- a/doc/modules/tree.rst
+++ b/doc/modules/tree.rst
@@ -500,12 +500,6 @@ Entropy:
H(Q_m) = - \sum_k p_{mk} \log(p_{mk})
-Misclassification:
-
-.. math::
-
- H(Q_m) = 1 - \max(p_{mk})
-
Regression criteria
... | We do not implement this criterion in scikit-learn.
This part of the scikit-learn user guide uses the notation and criterion presented page 309 of the [ESLII](https://hastie.su.domains/Papers/ESLII.pdf) but is it not aligned with the list of options actually implemented in scikit-learn.
If we ever decide to imple... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/23071 | 2022-04-07T13:03:02Z | 2022-04-07T14:01:13Z | 2022-04-07T14:01:13Z | 2022-04-07T15:11:24Z | 127 | scikit-learn/scikit-learn | 46,067 |
Restructure for text parsing. Faster, more stable, more maintainable | diff --git a/share/adapters/oeis.sh b/share/adapters/oeis.sh
index 7d996904..fc5136af 100755
--- a/share/adapters/oeis.sh
+++ b/share/adapters/oeis.sh
@@ -8,148 +8,173 @@
# oeis <sequence ID> <language>
# oeis <val_a, val_b, val_c, ...>
oeis() (
- local URL='https://oeis.org'
+ local URL='https://oeis.org/search?q... | #187 | https://api.github.com/repos/chubin/cheat.sh/pulls/215 | 2020-06-27T17:28:03Z | 2020-07-02T19:38:26Z | 2020-07-02T19:38:26Z | 2020-07-06T04:40:40Z | 3,630 | chubin/cheat.sh | 15,189 |
add use_xpu config for det_mv3_db.yml | diff --git a/configs/det/det_mv3_db.yml b/configs/det/det_mv3_db.yml
index 1fab509d12..6edf0b9194 100644
--- a/configs/det/det_mv3_db.yml
+++ b/configs/det/det_mv3_db.yml
@@ -1,5 +1,6 @@
Global:
use_gpu: true
+ use_xpu: false
epoch_num: 1200
log_smooth_window: 20
print_batch_step: 10
diff --git a/tools/pr... | https://api.github.com/repos/PaddlePaddle/PaddleOCR/pulls/5549 | 2022-02-23T08:37:42Z | 2022-02-23T11:05:52Z | 2022-02-23T11:05:52Z | 2022-02-23T11:05:52Z | 656 | PaddlePaddle/PaddleOCR | 41,799 | |
Fix ubuntu package name in INSTALL.rst | diff --git a/certbot/docs/install.rst b/certbot/docs/install.rst
index 4366080e0d3..8ae1c82f2e9 100644
--- a/certbot/docs/install.rst
+++ b/certbot/docs/install.rst
@@ -191,7 +191,7 @@ Optionally to install the Certbot Apache plugin, you can use:
.. code-block:: shell
- sudo apt-get install python-certbot-apache... | Since Ubuntu 18.04 there is python3-certbot-apache which should be the recommended version.
The Package 'python-certbot-apache' has no installation candidate on 20.04.
The Debian package names should probably be updated accordingly.
## Pull Request Checklist
- [ ] If the change being made is to a [distributed ... | https://api.github.com/repos/certbot/certbot/pulls/8654 | 2021-02-09T16:55:37Z | 2021-02-09T20:18:30Z | 2021-02-09T20:18:30Z | 2021-02-09T20:18:30Z | 124 | certbot/certbot | 2,113 |
🌐 Add Russian translation for `docs/ru/docs/contributing.md` | diff --git a/docs/ru/docs/contributing.md b/docs/ru/docs/contributing.md
index cb460beb0779c..f61ef1cb648a7 100644
--- a/docs/ru/docs/contributing.md
+++ b/docs/ru/docs/contributing.md
@@ -82,7 +82,7 @@ $ python -m venv env
</div>
-Ели в терминале появится ответ, что бинарник `pip` расположен по пути `.../env/... | ## Pull Request Description
This change adds Russian translation for the `docs/ru/docs/tutorial/extra-data-types.md page` and fixed typo in `docs/ru/docs/contributing.md`.
### Changes In This Pull Request
* Created a new file `extra-data-types.md` for the translation
* Updated `mkdocs.ym`l to contain the newly ad... | https://api.github.com/repos/tiangolo/fastapi/pulls/6002 | 2023-02-15T10:33:20Z | 2023-04-13T18:04:30Z | 2023-04-13T18:04:30Z | 2023-04-13T18:04:31Z | 1,486 | tiangolo/fastapi | 23,231 |
nxos_evpn_global refactor | diff --git a/lib/ansible/modules/network/nxos/nxos_evpn_global.py b/lib/ansible/modules/network/nxos/nxos_evpn_global.py
index 8dacf77d5c46d1..6f6b826678b5fd 100644
--- a/lib/ansible/modules/network/nxos/nxos_evpn_global.py
+++ b/lib/ansible/modules/network/nxos/nxos_evpn_global.py
@@ -16,10 +16,11 @@
# along with Ans... | Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
##### SUMMARY
<!--- Describe the change, including rationale and design decisions -->
nxos_evon_global minor refactor to make sure the module runs without crashing.
<!---
If you are fixing an existing issue, please include "Fixes #nnn" in your
commit message... | https://api.github.com/repos/ansible/ansible/pulls/24919 | 2017-05-23T07:50:15Z | 2017-05-23T09:24:55Z | 2017-05-23T09:24:55Z | 2019-04-26T21:22:01Z | 679 | ansible/ansible | 48,769 |
Added AdoptAPet Api | diff --git a/README.md b/README.md
index feb1884bd4..33c5eac2cf 100644
--- a/README.md
+++ b/README.md
@@ -106,6 +106,7 @@
### Animals
API | Description | Auth | HTTPS | CORS |
|---|---|---|---|---|
+| [AdoptAPet](https://www.adoptapet.com/public/apis/pet_list.html) | Resource to help get pets adopted | `apiKey` | Y... | Add AdoptAPet API to Animals
<!-- 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)
- [x] My addition ... | https://api.github.com/repos/public-apis/public-apis/pulls/2713 | 2021-10-25T15:20:15Z | 2021-10-28T17:25:04Z | 2021-10-28T17:25:04Z | 2021-10-28T17:25:05Z | 213 | public-apis/public-apis | 35,320 |
Fix encoding error | diff --git a/docs/autogen.py b/docs/autogen.py
index 22964a17a26..d6f8b4bff65 100644
--- a/docs/autogen.py
+++ b/docs/autogen.py
@@ -269,7 +269,7 @@ def add_np_implementation(function, docstring):
def read_file(path):
- with open(path) as f:
+ with open(path, encoding='utf-8') as f:
return f.read()
... | <!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/keras-team/keras/blob/master/CONTRIBUTING.md
Note:
We are no longer adding new features to multi-backend Keras (we only fix bugs), as we are refocusing development efforts on tf.keras. If you are still interested in s... | https://api.github.com/repos/keras-team/keras/pulls/13355 | 2019-09-23T08:42:06Z | 2019-09-25T21:52:14Z | 2019-09-25T21:52:14Z | 2019-09-26T08:18:27Z | 601 | keras-team/keras | 47,525 |
fix issue with parsing renewal confs | diff --git a/letsencrypt/renewer.py b/letsencrypt/renewer.py
index 0a490d44752..8f7f38c90e0 100644
--- a/letsencrypt/renewer.py
+++ b/letsencrypt/renewer.py
@@ -179,7 +179,9 @@ def main(cli_args=sys.argv[1:]):
# RenewableCert object for this cert at all, which could
# dramatically ... | previously it only passed the name of the config file which prevented the following code from opening it. Now we pass the full path
split on multiple lines for linting
| https://api.github.com/repos/certbot/certbot/pulls/1929 | 2015-12-17T03:08:48Z | 2015-12-18T19:41:44Z | 2015-12-18T19:41:44Z | 2016-05-06T19:22:01Z | 487 | certbot/certbot | 1,187 |
Update Requests documentation links | diff --git a/docs/README.md b/docs/README.md
index 41ed503006..7dbdaf11b8 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1453,7 +1453,8 @@ $ http --proxy=http:http://user:pass@10.10.1.10:3128 example.org
### Environment variables
-You can also configure proxies by environment variables `ALL_PROXY`, `HTTP_PRO... | This is a quick follow up from psf/requests#6140. This PR fixes the dead link by moving it to https://requests.readthedocs.io/en/latest/ which will be the primary domain for the project going forward. | https://api.github.com/repos/httpie/cli/pulls/1414 | 2022-06-17T19:13:40Z | 2022-06-17T21:04:43Z | 2022-06-17T21:04:42Z | 2022-06-17T21:05:55Z | 301 | httpie/cli | 33,757 |
add missing methods to MPS_Accelerator | diff --git a/accelerator/mps_accelerator.py b/accelerator/mps_accelerator.py
index f6303cf9890f..972b33caece1 100644
--- a/accelerator/mps_accelerator.py
+++ b/accelerator/mps_accelerator.py
@@ -24,6 +24,15 @@ def __init__(self):
def is_synchronized_device(self):
return False
+ def use_host_timers(se... | #5026 introduced new abstract methods for the base accelerator class. These methods were not defined for `MPS_Accelerator`. Fixes #5132 | https://api.github.com/repos/microsoft/DeepSpeed/pulls/5134 | 2024-02-14T18:55:04Z | 2024-02-14T23:14:24Z | 2024-02-14T23:14:24Z | 2024-02-14T23:14:28Z | 685 | microsoft/DeepSpeed | 10,681 |
[tensor]fix test_linear | diff --git a/colossalai/tensor/_ops/linear.py b/colossalai/tensor/_ops/linear.py
index e75f18609baa..d8bc338a5b43 100644
--- a/colossalai/tensor/_ops/linear.py
+++ b/colossalai/tensor/_ops/linear.py
@@ -19,8 +19,9 @@ def colo_linear(types, args, kwargs, pg):
bias = None
else:
bias = kwargs.ge... | https://api.github.com/repos/hpcaitech/ColossalAI/pulls/826 | 2022-04-21T09:14:25Z | 2022-04-21T09:18:56Z | 2022-04-21T09:18:56Z | 2022-04-21T09:18:56Z | 441 | hpcaitech/ColossalAI | 11,308 | |
[MRG+1] Enable robots.txt handling by default for new projects. | diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst
index cc070d8c0d7..0959a87a735 100644
--- a/docs/topics/settings.rst
+++ b/docs/topics/settings.rst
@@ -750,8 +750,8 @@ Default: ``60.0``
Scope: ``scrapy.extensions.memusage``
The :ref:`Memory usage extension <topics-extensions-ref-memusage>`
-checks ... | A proposed fix for #1668.
For backwards compatibility reasons the default value is not changed: settings for existing projects or settings used for CrawlerProcess won't change.
| https://api.github.com/repos/scrapy/scrapy/pulls/1724 | 2016-01-26T12:48:53Z | 2016-01-26T13:19:15Z | 2016-01-26T13:19:15Z | 2016-01-27T19:48:26Z | 553 | scrapy/scrapy | 34,864 |
[AIRFLOW-XXX] Add Aizhamal Nurmamat kyzy to contributors list | diff --git a/docs/project.rst b/docs/project.rst
index 14f68f438e742..59fa904ea4c2e 100644
--- a/docs/project.rst
+++ b/docs/project.rst
@@ -58,6 +58,7 @@ Committers
- @jmcarp (Joshua Carp)
- @KevinYang21 (Kevin Yang)
- @mik-laj (Kamil Breguła)
+- @aijamalnk (Aizhamal Nurmamat kyzy)
For the full list of contrib... | 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-XXX
- In case you... | https://api.github.com/repos/apache/airflow/pulls/5370 | 2019-06-04T21:30:33Z | 2019-06-06T07:23:46Z | 2019-06-06T07:23:46Z | 2019-06-06T07:23:46Z | 132 | apache/airflow | 14,656 |
[Classifier]: Progress bar for validation | diff --git a/classifier.py b/classifier.py
index c35292a5a07..91281510760 100644
--- a/classifier.py
+++ b/classifier.py
@@ -208,8 +208,11 @@ def train():
def test(model, dataloader, names, criterion=None, verbose=False, pbar=None):
model.eval()
pred, targets, loss = [], [], 0
+ n = len(dataloader) # num... |
## 🛠️ PR Summary
<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>
### 🌟 Summary
Improved progress bar and accuracy reporting in model validation phase.
### 📊 Key Changes
- Added a variable `n` to store the number of batches in the data loader.
- Implemented a tqdm progress... | https://api.github.com/repos/ultralytics/yolov5/pulls/8387 | 2022-06-29T02:43:16Z | 2022-06-29T17:00:08Z | 2022-06-29T17:00:08Z | 2024-01-19T09:09:29Z | 335 | ultralytics/yolov5 | 24,951 |
Update installation instructions for debian | diff --git a/docs/README.md b/docs/README.md
index dbab8714ec..d7b8241e08 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -162,6 +162,8 @@ Also works for other Debian-derived distributions like MX Linux, Linux Mint, dee
```bash
# Install httpie
+$ curl -SsL https://packages.httpie.io/deb/KEY.gpg | apt-key add -... | https://api.github.com/repos/httpie/cli/pulls/1373 | 2022-04-27T13:18:02Z | 2022-05-05T15:40:53Z | 2022-05-05T15:40:53Z | 2022-05-05T15:40:53Z | 304 | httpie/cli | 33,980 | |
[MRG] Fix typo in SGD documentation | diff --git a/doc/modules/sgd.rst b/doc/modules/sgd.rst
index 7c515d5459cec..e8febda201bf7 100644
--- a/doc/modules/sgd.rst
+++ b/doc/modules/sgd.rst
@@ -279,7 +279,7 @@ Mathematical formulation
========================
Given a set of training examples :math:`(x_1, y_1), \ldots, (x_n, y_n)` where
-:math:`x_i \in \ma... |
<!--
Thanks for contributing a pull request! Please ensure you have taken a look at
the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/master/CONTRIBUTING.md#Contributing-Pull-Requests
-->
#### Reference Issue
Fixes #8599
#### What does this implement/fix? Explain your changes.
F... | https://api.github.com/repos/scikit-learn/scikit-learn/pulls/8600 | 2017-03-16T14:12:14Z | 2017-03-16T14:21:43Z | 2017-03-16T14:21:43Z | 2017-03-16T14:21:43Z | 256 | scikit-learn/scikit-learn | 45,963 |
nmcli: Use dbus only if it is present | diff --git a/lib/ansible/modules/network/nmcli.py b/lib/ansible/modules/network/nmcli.py
index 86a844c7ee0309..3571c9a77d1b06 100644
--- a/lib/ansible/modules/network/nmcli.py
+++ b/lib/ansible/modules/network/nmcli.py
@@ -524,7 +524,8 @@ class Nmcli(object):
platform='Generic'
distribution=None
- bus=db... | ##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
- Bugfix Pull Request
##### COMPONENT NAME
network/nmcli
##### ANSIBLE VERSION
<!--- Paste verbatim output from “ansible --version” between quotes below -->
```
2.2
```
##### SUMMARY
Call dbus subfunction only if the dbus library is presen... | https://api.github.com/repos/ansible/ansible/pulls/19060 | 2016-12-09T09:51:58Z | 2016-12-09T22:35:55Z | 2016-12-09T22:35:55Z | 2019-04-26T17:40:17Z | 154 | ansible/ansible | 49,425 |
Rolling back #747 | diff --git a/e2e/specs/add_rows.spec.ts b/e2e/specs/add_rows.spec.ts
index e80619b7b150..8dbc64c587de 100644
--- a/e2e/specs/add_rows.spec.ts
+++ b/e2e/specs/add_rows.spec.ts
@@ -35,6 +35,11 @@ describe("st.add_rows", () => {
cy.get(".decoration").invoke("css", "display", "none");
});
+ beforeEach(() => {
+ ... | **Issue:** add_rows was not working well for line_chart area_chart and bar_chart
**Description:** Rolling back #747
---
**Contribution License Agreement**
By submiting 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/765 | 2019-11-29T17:36:03Z | 2019-11-29T19:45:58Z | 2019-11-29T19:45:58Z | 2019-11-29T19:46:02Z | 866 | streamlit/streamlit | 21,635 |
Update team.json | diff --git a/website/src/data/team.json b/website/src/data/team.json
index 50a981fcac..b0df9eab68 100644
--- a/website/src/data/team.json
+++ b/website/src/data/team.json
@@ -88,6 +88,12 @@
"githubURL": "https://github.com/shahules786",
"imageURL": "https://avatars.githubusercontent.com/u/25312635?v=4"
... | Added my details to team.json | https://api.github.com/repos/LAION-AI/Open-Assistant/pulls/2116 | 2023-03-19T10:07:15Z | 2023-03-19T10:35:03Z | 2023-03-19T10:35:03Z | 2023-03-19T10:35:04Z | 300 | LAION-AI/Open-Assistant | 36,997 |
Fix path_empty() | diff --git a/src/black/__init__.py b/src/black/__init__.py
index 90aad220a9c..d83f0e54a72 100644
--- a/src/black/__init__.py
+++ b/src/black/__init__.py
@@ -506,8 +506,9 @@ def path_empty(
"""
Exit if there is no `src` provided for formatting
"""
- if not src and (verbose or not quiet):
- out(m... | Behavior other than output shouldn't depend on the verbose/quiet option. As far as I can tell this currently has no visible effect, since code after this function is called handles an empty list gracefully. | https://api.github.com/repos/psf/black/pulls/2275 | 2021-05-29T15:04:08Z | 2021-05-29T16:03:09Z | 2021-05-29T16:03:09Z | 2021-05-29T16:03:12Z | 132 | psf/black | 24,435 |
fix vram problems | diff --git a/fooocus_version.py b/fooocus_version.py
index e12744707..e6e36dd5a 100644
--- a/fooocus_version.py
+++ b/fooocus_version.py
@@ -1 +1 @@
-version = '2.0.65'
+version = '2.0.66'
diff --git a/launch.py b/launch.py
index ef13bee5c..fe32c4d67 100644
--- a/launch.py
+++ b/launch.py
@@ -33,23 +33,6 @@ def prepare... | https://api.github.com/repos/lllyasviel/Fooocus/pulls/437 | 2023-09-19T19:10:27Z | 2023-09-19T19:11:42Z | 2023-09-19T19:11:42Z | 2023-09-19T19:11:45Z | 779 | lllyasviel/Fooocus | 7,288 | |
Cache aliases to speed up subsequent calls and add support to Fish functions | diff --git a/tests/test_shells.py b/tests/test_shells.py
index c08ee67f0..675cdd354 100644
--- a/tests/test_shells.py
+++ b/tests/test_shells.py
@@ -78,6 +78,12 @@ class TestFish(object):
def shell(self):
return shells.Fish()
+ @pytest.fixture(autouse=True)
+ def Popen(self, mocker):
+ mock... | @nvbn What do you think?
| https://api.github.com/repos/nvbn/thefuck/pulls/215 | 2015-05-22T02:59:38Z | 2015-05-22T13:55:00Z | 2015-05-22T13:55:00Z | 2015-05-22T18:10:40Z | 1,126 | nvbn/thefuck | 30,884 |
Only delete local object in CoreWorkerPlasmaStoreProvider:::WarmupStore | diff --git a/src/ray/core_worker/store_provider/plasma_store_provider.cc b/src/ray/core_worker/store_provider/plasma_store_provider.cc
index 831f2629a9b1e..a8f1162872284 100644
--- a/src/ray/core_worker/store_provider/plasma_store_provider.cc
+++ b/src/ray/core_worker/store_provider/plasma_store_provider.cc
@@ -429,7 +... | <!-- 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/13788 | 2021-01-29T09:33:11Z | 2021-01-29T12:24:09Z | 2021-01-29T12:24:09Z | 2021-01-29T12:24:12Z | 190 | ray-project/ray | 18,966 |
📌 Pin AnyIO to < 4.0.0 to handle an incompatibility while upgrading to Starlette 0.31.1 | diff --git a/pyproject.toml b/pyproject.toml
index 9b7cca9c95db2..2870b31a5334d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -44,6 +44,8 @@ dependencies = [
"starlette>=0.27.0,<0.28.0",
"pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0",
"typing-extensions>=4.5.0",
+ # TODO: remove ... | 📌 Pin AnyIO to < 4.0.0 to handle an incompatibility while upgrading to Starlette 0.31.1 | https://api.github.com/repos/tiangolo/fastapi/pulls/10194 | 2023-09-02T15:16:32Z | 2023-09-02T17:03:44Z | 2023-09-02T17:03:44Z | 2023-09-02T17:03:44Z | 190 | tiangolo/fastapi | 23,193 |
Adding experimental_rerun | diff --git a/e2e/scripts/st_experimental_rerun.py b/e2e/scripts/st_experimental_rerun.py
new file mode 100644
index 000000000000..baf2719c10aa
--- /dev/null
+++ b/e2e/scripts/st_experimental_rerun.py
@@ -0,0 +1,30 @@
+# Copyright 2018-2020 Streamlit Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "Licens... | **Issue:**
Fixes https://github.com/streamlit/streamlit/issues/653
**Description:**
Added `st.experimental_rerun` and `st.experimental_get_session_id`. Given that rerun needed access to the server I chose to make the relevant test be within the e2e testing suite. This e2e test undergoes a few reruns within a ... | https://api.github.com/repos/streamlit/streamlit/pulls/2060 | 2020-09-29T13:00:50Z | 2020-10-13T22:00:32Z | 2020-10-13T22:00:32Z | 2021-07-24T00:36:45Z | 1,137 | streamlit/streamlit | 21,963 |
Bypass Lexicon subdomain resolution in Lexicon-based DNS plugins | diff --git a/certbot/certbot/plugins/dns_common_lexicon.py b/certbot/certbot/plugins/dns_common_lexicon.py
index 6e07e6dc4c7..be94e191baf 100644
--- a/certbot/certbot/plugins/dns_common_lexicon.py
+++ b/certbot/certbot/plugins/dns_common_lexicon.py
@@ -198,6 +198,10 @@ def _build_lexicon_config(self, domain: str) -> Co... | As always, brittle code breaks first.
The Lexicon-based DNS plugins use a mechanism to determine which actual segment of the input domain is actually the DNS zone in which the DNS-01 challenge has to be initiated (eg. `subdomain.domain.com` or `domain.com` for input `subdomain.domain.com`): they tries recursively to... | https://api.github.com/repos/certbot/certbot/pulls/9821 | 2023-10-27T08:12:18Z | 2023-10-27T17:04:41Z | 2023-10-27T17:04:40Z | 2023-10-27T17:04:41Z | 240 | certbot/certbot | 3,575 |
Support OpenAI's new models. | diff --git a/interpreter/terminal_interface/start_terminal_interface.py b/interpreter/terminal_interface/start_terminal_interface.py
index 00471c931..a7f53e95f 100644
--- a/interpreter/terminal_interface/start_terminal_interface.py
+++ b/interpreter/terminal_interface/start_terminal_interface.py
@@ -357,15 +357,15 @@ d... | ### Describe the changes you have made:
Add default context window and max tokens configs for OpenAI's new models: `gpt-4-turbo-preview`, `gpt-4-0125-preview`, and `gpt-4-1106-vision-preview`.
### Reference any relevant issues (e.g. "Fixes #000"):
If we can keep these configs updated with as more models as possibl... | https://api.github.com/repos/OpenInterpreter/open-interpreter/pulls/1099 | 2024-03-19T07:05:22Z | 2024-03-24T07:49:41Z | 2024-03-24T07:49:41Z | 2024-03-24T07:53:04Z | 322 | OpenInterpreter/open-interpreter | 40,915 |
Add wav2letter | diff --git a/README.md b/README.md
index 358458b3..7ac4b5b6 100644
--- a/README.md
+++ b/README.md
@@ -614,6 +614,7 @@ Further resources:
* [sfm](https://github.com/marcoscoffier/lua---sfm) - A bundle adjustment/structure from motion package.
* [fex](https://github.com/koraykv/fex) - A package for feature extract... | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/464 | 2018-01-01T21:01:34Z | 2018-01-08T21:12:48Z | 2018-01-08T21:12:48Z | 2020-10-02T09:30:54Z | 234 | josephmisiti/awesome-machine-learning | 52,532 | |
[extensions/openai] Support undocumented base64 'encoding_format' param for compatibility with official OpenAI client | diff --git a/extensions/openai/script.py b/extensions/openai/script.py
index c168ec95b0..9eb35a4648 100644
--- a/extensions/openai/script.py
+++ b/extensions/openai/script.py
@@ -1,4 +1,6 @@
+import base64
import json
+import numpy as np
import os
import time
from http.server import BaseHTTPRequestHandler, Threadin... | The official Python OpenAI API client uses an undocumented `encoding_format` parameter on the `/v1/embeddings` endpoint by default.
https://github.com/openai/openai-python/blob/d6fa3bfaae69d639b0dd2e9251b375d7070bbef1/openai/api_resources/embedding.py#L25-L29
This PR adds support for the `encoding_format` paramet... | https://api.github.com/repos/oobabooga/text-generation-webui/pulls/1876 | 2023-05-07T05:06:30Z | 2023-05-09T01:31:34Z | 2023-05-09T01:31:34Z | 2023-05-09T01:31:35Z | 426 | oobabooga/text-generation-webui | 26,349 |
Update README.md. There is "of" twice. | diff --git a/README.md b/README.md
index 03353b3fc..1f19580f2 100644
--- a/README.md
+++ b/README.md
@@ -92,7 +92,7 @@
- A common language (for the two ends to understand)
- A way to address who do you want to communicate with
- - A Connection (so the content of of the communication can reach the recipients)
+... | Update README.md to fix the minor mistake. | https://api.github.com/repos/bregman-arie/devops-exercises/pulls/284 | 2022-09-07T00:13:08Z | 2022-09-07T01:32:14Z | 2022-09-07T01:32:14Z | 2022-09-07T01:32:14Z | 125 | bregman-arie/devops-exercises | 17,672 |
Deal with multiple choice in common tests | diff --git a/tests/test_modeling_bert.py b/tests/test_modeling_bert.py
index 276ed056c7d24..ed42031232bd2 100644
--- a/tests/test_modeling_bert.py
+++ b/tests/test_modeling_bert.py
@@ -407,6 +407,7 @@ class BertModelTest(ModelTesterMixin, unittest.TestCase):
(
BertModel,
BertForMasked... | It's a bit heavy but I didn't find another way to reshape the inputs when needed for the multiple choice model. With this, and skipping the input_embeds test when the model is a multiple choice one (current implementation requires `input_ids`), I manage to have the common tests passing for `BertForMultipleChoice`.
L... | https://api.github.com/repos/huggingface/transformers/pulls/4886 | 2020-06-09T21:43:22Z | 2020-06-10T12:10:21Z | 2020-06-10T12:10:21Z | 2020-07-19T04:06:44Z | 2,004 | huggingface/transformers | 12,136 |
Fix and enable test_retry_handling_job | diff --git a/tests/jobs/test_scheduler_job.py b/tests/jobs/test_scheduler_job.py
index 5e602c8f10b88..b2bbe34457789 100644
--- a/tests/jobs/test_scheduler_job.py
+++ b/tests/jobs/test_scheduler_job.py
@@ -3037,7 +3037,6 @@ def run_with_error(ti, ignore_ti_state=False):
ti.refresh_from_db()
assert ti.s... | Needed to resync DAG to db as the only DAG so that scheduler schedules it with num_runs=1
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF ... | https://api.github.com/repos/apache/airflow/pulls/34326 | 2023-09-13T07:12:31Z | 2023-09-14T10:03:46Z | 2023-09-14T10:03:46Z | 2023-10-29T21:52:28Z | 326 | apache/airflow | 14,760 |
MoE read the docs update | diff --git a/deepspeed/moe/layer.py b/deepspeed/moe/layer.py
index 6bc4c782cfc8..a0fb5989d00e 100644
--- a/deepspeed/moe/layer.py
+++ b/deepspeed/moe/layer.py
@@ -16,9 +16,6 @@
class MoE(torch.nn.Module):
- '''
- DeepSpeed MOE API: This defines a simple API that can be used from client-side code.
- ''... | https://api.github.com/repos/microsoft/DeepSpeed/pulls/1312 | 2021-08-17T17:49:42Z | 2021-08-17T17:50:08Z | 2021-08-17T17:50:08Z | 2021-10-27T17:29:08Z | 1,263 | microsoft/DeepSpeed | 10,260 | |
New/Updated Python Linux Reverse Shells | diff --git a/Methodology and Resources/Reverse Shell Cheatsheet.md b/Methodology and Resources/Reverse Shell Cheatsheet.md
index 108e70a16d..4dc4f2a58c 100644
--- a/Methodology and Resources/Reverse Shell Cheatsheet.md
+++ b/Methodology and Resources/Reverse Shell Cheatsheet.md
@@ -95,19 +95,62 @@ IPv4
```python
ex... | -Revised existing Linux Python Reverse Shells
-Added New Linux Python Reverse Shells
| https://api.github.com/repos/swisskyrepo/PayloadsAllTheThings/pulls/399 | 2021-07-27T02:00:41Z | 2021-07-31T09:26:37Z | 2021-07-31T09:26:37Z | 2021-07-31T09:26:37Z | 1,711 | swisskyrepo/PayloadsAllTheThings | 8,630 |
rock_paper_scissor_game | diff --git a/rock_paper_scissor_game b/rock_paper_scissor_game
new file mode 100644
index 0000000000..565a06f73b
--- /dev/null
+++ b/rock_paper_scissor_game
@@ -0,0 +1,43 @@
+#let
+# 0 - rock
+# 1 - paper
+# 2 - scissor
+
+import random
+
+def name_to_number(name):
+ if name == "rock":
+ name = 0
+ elif na... | https://api.github.com/repos/geekcomputers/Python/pulls/382 | 2018-10-03T12:39:17Z | 2018-10-03T19:19:58Z | 2018-10-03T19:19:58Z | 2018-10-03T19:20:02Z | 352 | geekcomputers/Python | 31,436 | |
Updated Brushfire deadlink to proper repo | diff --git a/README.md b/README.md
index 90990f9e..45b20936 100644
--- a/README.md
+++ b/README.md
@@ -947,7 +947,7 @@ on MNIST digits[DEEP LEARNING]
#### General-Purpose Machine Learning
* [Conjecture](https://github.com/etsy/Conjecture) - Scalable Machine Learning in Scalding
-* [brushfire](https://github.com/avi... | https://api.github.com/repos/josephmisiti/awesome-machine-learning/pulls/210 | 2015-12-09T16:49:50Z | 2015-12-09T16:50:40Z | 2015-12-09T16:50:40Z | 2015-12-09T16:50:43Z | 242 | josephmisiti/awesome-machine-learning | 52,101 | |
Be more clear about Spandrel model nomenclature and types | diff --git a/extensions-builtin/SwinIR/scripts/swinir_model.py b/extensions-builtin/SwinIR/scripts/swinir_model.py
index aae159af56e..95c7ec648ef 100644
--- a/extensions-builtin/SwinIR/scripts/swinir_model.py
+++ b/extensions-builtin/SwinIR/scripts/swinir_model.py
@@ -71,7 +71,7 @@ def load_model(self, path, scale=4):
... | ## Description
Depending on the value of `half` and `dtype`, `load_spandrel_model` could have returned a `torch.Module` instead of a `spandrel.ModelDescriptor`. Now it's certain to only return a descriptor (and typed as such).
Follows up on 3be90740316f8fbb950b31d440458a5e8ed4beb3 8100e901ab0c5b04d289eebb722c8a65... | https://api.github.com/repos/AUTOMATIC1111/stable-diffusion-webui/pulls/14477 | 2023-12-30T22:11:53Z | 2023-12-30T22:38:44Z | 2023-12-30T22:38:44Z | 2023-12-30T22:38:44Z | 1,432 | AUTOMATIC1111/stable-diffusion-webui | 40,383 |
Added some cli board games | diff --git a/BoardGame-CLI/snakeLadder.py b/BoardGame-CLI/snakeLadder.py
new file mode 100644
index 0000000000..956f690d4b
--- /dev/null
+++ b/BoardGame-CLI/snakeLadder.py
@@ -0,0 +1,168 @@
+import random
+
+# Taking players data
+players = {} # stores players name their locations
+isReady = {}
+current_loc = 1 # vai... | snake ladder and uno both multiplayer games implemented in python | https://api.github.com/repos/geekcomputers/Python/pulls/1513 | 2022-05-14T12:24:54Z | 2022-05-14T15:15:37Z | 2022-05-14T15:15:37Z | 2022-05-14T15:15:37Z | 2,818 | geekcomputers/Python | 31,708 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.