Skip to content

Commit 75ee749

Browse files
authored
remove protobuf from reqs (#15502)
* relax protobuf pinning Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com> * remove protobuf from reqs Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com> --------- Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com>
1 parent 9a153aa commit 75ee749

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

nemo/core/classes/mixins/hf_io_mixin.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ def search_huggingface_models(cls, model_filter: Optional[Dict[str, Any]] = None
116116
# Setup extra arguments for model filtering
117117
all_results = [] # type: List[ModelInfo]
118118

119-
results = api.list_models(
120-
token=hf_token, sort="lastModified", direction=-1, **model_filter
121-
) # type: Iterable[ModelInfo]
119+
results = api.list_models(token=hf_token, sort="lastModified", **model_filter) # type: Iterable[ModelInfo]
122120

123121
return results
124122

requirements/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ numexpr<2.14.0 # WAR for attempted use of nonexistent numpy.typing
77
numpy>=1.22
88
onnx>=1.7.0
99
# Align with upstream PyTorch requirements
10-
protobuf>=6.33
1110
python-dateutil
1211
ruamel.yaml
1312
scikit-learn

0 commit comments

Comments
 (0)