Commit 5316b23
authored
Patch 2025 02 07 hf pt inference neuronx (#4543)
* patch transformers, optimum_neuron, ubuntu and bump major version
* 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-neuronx-inference': 'huggingface/pytorch/inference/buildspec-neuronx.yml'},
'dev': { 'arm64_mode': False,
'deep_canary_mode': False,
'graviton_mode': False,
'neuronx_mode': True},
'test': { 'ec2_tests': True,
'ecs_tests': True,
'eks_tests': True,
'sagemaker_local_tests': True,
'sagemaker_remote_tests': True,
'sanity_tests': True,
'security_tests': True}}
* bump miniforge version
* remove emacs
* also fix release_images
* optimum-neuron requires hugginface-hub>=0.28.0
* revert transformers change due to chain reqs requiring hugginface_hub 0.28
* ignore transformers vulnerability from Safety
* wrong file i guess? moving the ignore to a diff allowlist
* nvm, its because its picking up the wrong dict
* dont bump optimum neuron
* Revert "Update ['dlc_developer_config.toml']"
This reverts commit a9209af.1 parent a6ae921 commit 5316b23
File tree
3 files changed
+8
-2
lines changed- data
- huggingface/pytorch/inference/docker/2.1/py3/sdk2.20.0
- src
3 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1450 | 1450 | | |
1451 | 1451 | | |
1452 | 1452 | | |
1453 | | - | |
| 1453 | + | |
| 1454 | + | |
1454 | 1455 | | |
1455 | 1456 | | |
1456 | 1457 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
| |||
0 commit comments