Skip to content

Commit a6c678e

Browse files
IzzyPuttermannv-kkudrynski
authored andcommitted
[TFT/PyT] Update Checkpoints
1 parent 777d174 commit a6c678e

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

PyTorch/Forecasting/TFT/tft_torchhub.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
import torch
2020
from torch.utils.data import DataLoader
2121
NGC_CHECKPOINT_URLS = {}
22-
NGC_CHECKPOINT_URLS["electricity"] = "https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_eletricity_amp/versions/21.06.0/zip"
23-
NGC_CHECKPOINT_URLS["traffic"] = "https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_traffic_amp/versions/21.06.0/zip"
24-
25-
22+
NGC_CHECKPOINT_URLS["electricity"] = "https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-electricity/versions/22.11.0_amp/zip"
23+
NGC_CHECKPOINT_URLS["traffic"] = "https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-traffic/versions/22.11.0_amp/zip"
2624
def _download_checkpoint(checkpoint, force_reload):
2725
model_dir = os.path.join(torch.hub._get_torch_home(), 'checkpoints')
2826
if not os.path.exists(model_dir):

PyTorch/Forecasting/TFT/triton/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ NVIDIA DGX A100 (1x A100 80GB): bash ./triton/runner/start_NVIDIA-DGX-A100-\(1x-
146146
NVIDIA T4: bash ./triton/runner/start_NVIDIA-T4.sh
147147
```
148148

149+
If one encounters an error like `the provided PTX was compiled with an unsupported toolchain`, follow the steps in
150+
[Step by step deployment process](#step-by-step-deployment-process).
151+
149152
## Performance
150153
The performance measurements in this document were conducted at the time of publication and may not reflect
151154
the performance achieved from NVIDIA’s latest software release. For the most up-to-date performance measurements, go to
@@ -2077,7 +2080,7 @@ Please use the data download from the [Main QSG](https://github.com/NVIDIA/DeepL
20772080
#### Prepare Checkpoint
20782081
Please place a `checkpoint.pt` from TFT trained on electricity in `runner_workspace/checkpoints/electricity_bin/`. Note that the `electricity_bin`
20792082
subdirectory may not be created yet. In addition one can download a zip archive of a trained checkpoint
2080-
[here](https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_eletricity_amp/versions/21.06.0/zip)
2083+
[here](https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-electricity/versions/22.11.0_amp/zip)
20812084

20822085
#### Setup Container
20832086
Build and run a container that extends the NGC PyTorch container with the Triton Inference Server client libraries and dependencies.
@@ -2242,7 +2245,7 @@ mkdir -p ${SHARED_DIR}/input_data
22422245
python triton/prepare_input_data.py \
22432246
--input-data-dir ${SHARED_DIR}/input_data/ \
22442247
--dataset ${DATASETS_DIR}/${DATASET} \
2245-
--checkpoint ${CHECKPOINT_DIR}/ \
2248+
--checkpoint ${CHECKPOINT_DIR}/
22462249
```
22472250

22482251
</details>

PyTorch/Forecasting/TFT/triton/runner/config_NVIDIA-A30.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
checkpoints:
22
- name: electricity_bin
3-
url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_eletricity_amp/versions/21.06.0/zip
3+
url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-electricity/versions/22.11.0_amp/zip
44
- name: traffic_bin
5-
url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_traffic_amp/versions/21.06.0/zip
5+
url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-traffic/versions/22.11.0_amp/zip
66
configurations:
77
- accelerator: none
88
batch_size:

PyTorch/Forecasting/TFT/triton/runner/config_NVIDIA-DGX-1-(1x-V100-32GB).yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
checkpoints:
22
- name: electricity_bin
3-
url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_eletricity_amp/versions/21.06.0/zip
3+
url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-electricity/versions/22.11.0_amp/zip
44
- name: traffic_bin
5-
url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_traffic_amp/versions/21.06.0/zip
5+
url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-traffic/versions/22.11.0_amp/zip
66
configurations:
77
- accelerator: none
88
batch_size:

PyTorch/Forecasting/TFT/triton/runner/config_NVIDIA-DGX-A100-(1x-A100-80GB).yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
checkpoints:
22
- name: electricity_bin
3-
url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_eletricity_amp/versions/21.06.0/zip
3+
url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-electricity/versions/22.11.0_amp/zip
44
- name: traffic_bin
5-
url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_traffic_amp/versions/21.06.0/zip
5+
url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-traffic/versions/22.11.0_amp/zip
66
configurations:
77
- accelerator: none
88
batch_size:

PyTorch/Forecasting/TFT/triton/runner/config_NVIDIA-T4.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
checkpoints:
22
- name: electricity_bin
3-
url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_eletricity_amp/versions/21.06.0/zip
3+
url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-electricity/versions/22.11.0_amp/zip
44
- name: traffic_bin
5-
url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_traffic_amp/versions/21.06.0/zip
5+
url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/tft_base_pyt_ckpt_ds-traffic/versions/22.11.0_amp/zip
66
configurations:
77
- accelerator: none
88
batch_size:

0 commit comments

Comments
 (0)