Skip to content

Commit 957ee61

Browse files
authored
remove zstandard to address nvbug 5149698 (#726)
Removes `zstandard` after installing NeMo to avoid issues like the following downloading large binary files with ngcsdk. https://nvbugspro.nvidia.com/bug/5149698 ``` raise DecodeError( urllib3.exceptions.DecodeError: ('Received response with content-encoding: zstd, but failed to decode it.', ZstdError('cannot use a decompressobj multiple times')) ... requests.exceptions.ContentDecodingError: ('Received response with content-encoding: zstd, but failed to decode it.', ZstdError('cannot use a decompressobj multiple times')) ``` Signed-off-by: Peter St. John <[email protected]>
1 parent 4b59b06 commit 957ee61

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,10 @@ uv pip install --no-build-isolation \
111111
-r /requirements-cve.txt \
112112
-r /requirements-test.txt
113113

114-
# Addressing security scan issue - CVE vulnerability https://github.com/advisories/GHSA-g4r7-86gm-pgqc
115-
# The package is a dependency of lm_eval from NeMo requirements_eval.txt
116-
uv pip uninstall sqlitedict
114+
# Addressing security scan issue - CVE vulnerability https://github.com/advisories/GHSA-g4r7-86gm-pgqc The package is a
115+
# dependency of lm_eval from NeMo requirements_eval.txt. We also remove zstandard, another dependency of lm_eval, which
116+
# seems to be causing issues with NGC downloads. See https://nvbugspro.nvidia.com/bug/5149698
117+
uv pip uninstall sqlitedict zstandard
117118

118119
rm -rf ./3rdparty
119120
rm -rf /tmp/*

0 commit comments

Comments
 (0)