Skip to content

Commit

Permalink
Patch huggingface pytorch inference 2.1.0 linux-libc-dev (#4466)
Browse files Browse the repository at this point in the history
* Patch hf pytorch inf 2.1.0 for linux-lib-dev vulnerability

* Update ['dlc_developer_config.toml']

dlc_developer_config.toml:
{   'build': {   'build_frameworks': ['huggingface_pytorch'],
                 'build_inference': True,
                 'build_training': False},
    'buildspec_override': {   'dlc-pr-huggingface-pytorch-inference': 'huggingface/pytorch/inference/buildspec-2-1-0.yml'},
    'dev': {   'arm64_mode': False,
               'deep_canary_mode': False,
               'graviton_mode': False,
               'neuronx_mode': False},
    'test': {   'ec2_tests': True,
                'ecs_tests': True,
                'eks_tests': True,
                'sagemaker_local_tests': True,
                'sagemaker_remote_tests': True,
                'sanity_tests': True,
                'security_tests': True}}

* Revert "Update ['dlc_developer_config.toml']"

This reverts commit 0908642.
  • Loading branch information
kc1998dp authored Dec 19, 2024
1 parent 72e0b91 commit 0eff0cf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ RUN apt-get update \
emacs-common \
expat \
apparmor \
linux-libc-dev \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 \
Expand Down

0 comments on commit 0eff0cf

Please sign in to comment.