Skip to content

v1.5.0

Latest

Choose a tag to compare

@tiankongdeguiji tiankongdeguiji released this 12 Oct 09:44
· 74 commits to master since this release
4458f1c

Major Features and Improvements

Train/Eval/Predict/Export

  • Restore learning rate scheduler progress when resuming training in #664
  • Align delta dumps with dense model export in #660

Model

  • Add LLM-based generative recommendation (GenRec) with configuration-driven prompt generation for text, ID, and SID features, and end-to-end support for training, prediction, and export for serving in #625 #663 #685 #662 #687 #689
  • Add OneRank generative ranking with DlrmHSTUOneRank in #661 #670

Feature

  • Add regex_replace_feature and align tokenize and text normalization configs with FG behavior in #672 #673
  • Support weighted ID features with optional use of weights in embedding pooling in #648

Dataset

  • Support list-column labels in #652
  • Support shuffle settings in ODPS and Kafka readers in #683
  • Improve ODPS and Parquet data sharding to align batch counts across ranks, and support data_config.min_batch_size to skip undersized final training batches in #677
  • Restore ODPS sessions by partition index when resuming training in #681

DynamicEmbedding

  • Support weighted ID features on DynamicEmbedding tables in #668
  • Support probabilistic admission of new keys in #680

Optimizer

  • Add the FTRL sparse optimizer for DynamicEmbedding tables in #682 and regular embedding tables with the TorchEasyRec FBGEMM/TorchRec builds in #691
  • Support initial_accumulator_value on DynamicEmbedding tables in #669

Upgrade

  • Upgrade PyTorch to v2.14.0, TorchRec to v1.9.0, FBGEMM to v1.9.0, TensorRT to v11.1, Triton to v3.8.0, and pyfg to v1.0.7 in #691
  • Update the PPU image to SDK v2.2.0 with PyTorch v2.13.0 in #690

Note

For TorchEasyRec 1.5.x, use Docker image version 1.5 for GPU and CPU. The PPU image remains 1.4-ppu with PyTorch v2.13.0; the 1.5.0 PPU requirements provide compatible FBGEMM/TorchRec v1.9.0 wheels.

  • For the GPU version (CUDA 13.0) with TensorRT:
    • mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/tzrec-devel:1.5-cu130
    • PyTorch: v2.14.0 CUDA: v13.0 FBGEMM: v1.9.0 TorchRec: v1.9.0 TensorRT: v11.1 Python: v3.11
    • Supported GPUs: sm_75 / 80 / 86 / 90 / 100 / 120. It supports Turing (T4), Ampere/Ada (A10/A30/A100/L4/L20), Hopper (H100/H200), Blackwell (B100/B200), and other GPUs with CC 7.5-12.0.
    • Driver requirement: NVIDIA driver R580 or later (>= 580.65.06). For older drivers, set LD_LIBRARY_PATH=/usr/local/cuda-13/compat.
  • For the GPU version (CUDA 12.6):
    • mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/tzrec-devel:1.5-cu126
    • PyTorch: v2.14.0 CUDA: v12.6 FBGEMM: v1.9.0 TorchRec: v1.9.0 Python: v3.11
    • Supported GPUs: sm_60 / 70 / 75 / 80 / 86 / 90. It supports Pascal (P100), Volta (V100), Turing (T4), Ampere/Ada (A10/A30/A100/L4/L20), Hopper (H100), and other GPUs with CC 6.0-9.0. It does not support Blackwell GPUs.
    • Driver requirement: NVIDIA driver R525 or later (>= 525.60.13).
  • For the CPU version:
    • mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/tzrec-devel:1.5-cpu
    • PyTorch: v2.14.0 FBGEMM: v1.9.0 TorchRec: v1.9.0 Python: v3.11

The op wheels (FBGEMM, DynamicEmbedding, HSTU) ship no PTX, so a GPU whose architecture is not listed above cannot JIT fall back. Pick the image by driver version first, then by compute capability.

When upgrading from 1.4.x:

  • CUDA 12.9 images and the cu129 pip extra are removed. Use cu130 or cu126 according to your GPU and driver.
  • For pip installations, select a device extra: tzrec[cpu], tzrec[cu126], tzrec[cu130], or tzrec[ppu]. A bare pip install tzrec now requires the PyTorch stack to be installed already.

Bug Fixes and Other Changes

New Contributors

Full Changelog: v1.4.0...v1.5.0