Skip to content

Commit a6a3c56

Browse files
authored
Bump datasets version (#1724)
1 parent e03b23d commit a6a3c56

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

llmfoundry/utils/model_download_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def _extract_links_from_html(html: str):
142142
list[str]: A list of links to download.
143143
"""
144144
soup = BeautifulSoup(html, 'html.parser')
145-
links = [a['href'] for a in soup.find_all('a')]
145+
links = [a['href'] for a in soup.find_all('a')] # type: ignore
146146
return links
147147

148148

@@ -208,7 +208,7 @@ def _recursive_download(
208208
_recursive_download(
209209
session,
210210
base_url,
211-
urljoin(path, child_link),
211+
urljoin(path, child_link), # type: ignore
212212
save_dir,
213213
ignore_cert=ignore_cert,
214214
)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
'transformers>=4.43.2,<4.47',
5959
'mosaicml-streaming>=0.11.0,<0.12',
6060
'torch>=2.5.1,<2.5.2',
61-
'datasets>=2.20.0,<3.3',
61+
'datasets>=3.3.2,<3.4',
6262
'fsspec==2023.6.0', # newer version results in a bug in datasets that duplicates data
6363
'sentencepiece==0.2.0',
6464
'einops==0.8.0',

0 commit comments

Comments
 (0)