-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff7dc84
commit 6a8572b
Showing
4 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 45c48c2aa16d163ad561d50a26cef5f9d5030c88 Mon Sep 17 00:00:00 2001 | ||
From 015a738d8548906b7b3bf2561d32a9d7cab5ef8c Mon Sep 17 00:00:00 2001 | ||
From: Nicolas Patry <[email protected]> | ||
Date: Thu, 14 Apr 2022 16:29:50 +0200 | ||
Subject: [PATCH 1/2] Fixing the documentation for `ByteLevel` in Python (#982) | ||
Subject: [PATCH 1/3] Fixing the documentation for `ByteLevel` in Python (#982) | ||
|
||
* Fixing the documentation for `ByteLevel` in Python | ||
|
||
|
@@ -40,5 +40,5 @@ index 5edc6f2..f858ecf 100644 | |
#[text_signature = "(self, add_prefix_space=True, use_regex=True)"] | ||
pub struct PyByteLevel {} | ||
-- | ||
2.35.3.windows.1 | ||
2.37.0.windows.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 062cbd1214d3424d2652e3b6115a7df6ef3a2495 Mon Sep 17 00:00:00 2001 | ||
From 97ccffc9240765d081085704750fa886e8bba27c Mon Sep 17 00:00:00 2001 | ||
From: h-vetinari <[email protected]> | ||
Date: Fri, 6 May 2022 00:48:40 +1100 | ||
Subject: [PATCH 2/2] Upgrade pyo3 to 0.16 (#956) | ||
Subject: [PATCH 2/3] Upgrade pyo3 to 0.16 (#956) | ||
|
||
* Upgrade pyo3 to 0.15 | ||
|
||
|
@@ -3357,5 +3357,5 @@ index 8170ffc..9e0d424 100644 | |
pub inner: Regex, | ||
pub pattern: String, | ||
-- | ||
2.35.3.windows.1 | ||
2.37.0.windows.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 6a7f9243809e963a56bae9b3cfd868393742c2ba Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Mon, 12 Sep 2022 14:40:37 +0200 | ||
Subject: [PATCH 3/3] don't fork on windows | ||
|
||
--- | ||
bindings/python/tests/utils.py | 4 ---- | ||
1 file changed, 4 deletions(-) | ||
|
||
diff --git a/bindings/python/tests/utils.py b/bindings/python/tests/utils.py | ||
index b2b028d..02bfb5b 100644 | ||
--- a/bindings/python/tests/utils.py | ||
+++ b/bindings/python/tests/utils.py | ||
@@ -98,10 +98,6 @@ def doc_pipeline_bert_tokenizer(data_dir): | ||
) | ||
|
||
|
||
-# On MacOS Python 3.8+ the default was modified to `spawn`, we need `fork` in tests. | ||
-mp.set_start_method("fork") | ||
- | ||
- | ||
def multiprocessing_with_parallelism(tokenizer, enabled: bool): | ||
""" | ||
This helper can be used to test that disabling parallelism avoids dead locks when the | ||
-- | ||
2.37.0.windows.1 | ||
|