Skip to content

Releases

v26.10

Choose a tag to compare

@shijieliu shijieliu released this 17 Nov 01:47
2995c41

This release adds a hierarchical input and output dist to DynamicEmb. Against TorchRec's dists, it shortens the training step of DynamicEmb's EmbeddingCollection benchmark by about 50%–80%. DynamicEmb also gains table-row-wise sharding, the FTRL optimizer, FP8 table storage, probabilistic admission, per-key scores, a background erase by score, and configurable exportable inference embedding collections that can live in GPU, host or Redis-backed storage and take incremental updates. HSTU inference adds layer-wise KV-cache loading with FlexKV and a Transformer backbone with FP8 DeepGEMM and FlashAttention 4. SID-GR inference gets faster default decode kernels contributed by Netflix. Two new examples join the repository, AI-Search-Plugin and Feature-Extractor-Plugin, and the container moves to NGC PyTorch 26.07. The release also includes 20 DynamicEmb fixes covering memory safety, lost keys, hangs and checkpoint loading.

🚀 Highlights

DynamicEmb: hierarchical sequence dist

With DynamicEmbTableOptions(output_dist="hierarchical", output_dist_capacity=...) (or "auto"), a row-wise sharded EmbeddingCollection of DynamicEmb tables gets its own input and output dist. It still works through TorchRec's sharding and awaitable interfaces.

  • NVLink inside a node, GPU-initiated InfiniBand between nodes. A node is NCCL's LSA team. On H100 systems that is an 8-GPU host. On GB200 and GB300 NVL72 with multi-node NVLink, it is the job's GPUs in one rack. Between nodes, the GPU itself sends over InfiniBand (NCCL GIN), always on its own rail.
  • Node dedup. A key requested from another node first goes over NVLink to a proxy GPU on the owner's rail. The proxy sends each (table, key) pair over InfiniBand once and receives its row once.
  • Few kernels, one host sync. The output dist is one forward kernel and one backward kernel. The input dist queues a whole call and syncs with the host once.
  • Same results as TorchRec. It gives the same forward rows, LFU counts and admission as TorchRec's dists. In the benchmark's --check runs with fp32 tables, outputs matched TorchRec's bit for bit at every scale.

The table compares the training step of DynamicEmb's EmbeddingCollection benchmark under TorchRec's dists (left) and the hierarchical dist (right). The benchmark uses 8 tables of 4M rows, dim 128, fp32, SGD, index dedup and power-law keys:

Features × samples per GPU (keys per sample and feature) Eos, 32 × H100 (4 nodes) GB300 NVL72, 16 GPUs (4 trays)
8 × 32k (1–4) 13.38 → 4.31 ms (−68%) 5.82 → 1.92 ms (−67%)
1k × 128 (1–4) 11.75 → 3.30 ms (−72%) 6.20 → 1.82 ms (−71%)
2k × 128 (1–4) 20.64 → 4.58 ms (−78%) 9.65 → 2.09 ms (−78%)
8 × 128 (1–8k) 31.25 → 14.94 ms (−52%) 11.23 → 5.13 ms (−54%)

Across all measured points (8 to 32 GPUs on Eos, 4 to 16 GPUs on GB300), the step is 48%–82% shorter. In HSTU end-to-end training on two Eos nodes, the hierarchical dist adds 1.1%–2.2% TFLOPS per GPU and cuts blocking host syncs from 27.1 to 15.6 per step.

Requirements:

  • DynamicEmb built against NCCL 2.30.7 or newer. Otherwise the build leaves the op out: "hierarchical" raises ImportError, and "auto" falls back to TorchRec's dists.
  • GPUs of compute capability 8.0 or newer.
  • Tables with dist_type roundrobin or hash_roundrobin.
  • NVLink between a node's GPUs. Otherwise "hierarchical" raises NVLinkCheckError, and "auto" falls back.

For multi-node jobs, set NCCL_CROSS_NIC=0. Before dropping a model, call dynamicemb.shard.quiesce(model) on every rank. Evaluation forwards use TorchRec's dists. See the design doc and the benchmark.

Related: #528, #550, #553, #554

DynamicEmb: table-row-wise sharding and a collection-aware planner

  • Table-row-wise sharding (#493): ShardingType.TABLE_ROW_WISE places a DynamicEmb table on one node and shards it over that node's GPUs. Pooled outputs are reduced inside the node, and only one result per node crosses the network, so cross-node output traffic drops from O(B·D·world_size) to O(B·D). Input keys still cross nodes, and each rank holds more of the table's rows. To request it, list ShardingType.TABLE_ROW_WISE in the table's sharding_types constraint or pass the table to get_planner(table_row_wise_embedding_table_names=...). The planner spreads these tables across nodes, and node_index pins a table to a specific node.
  • Tables are identified by collection and name (#504): two collections can now each declare a table with the same name, each with its own options. Use get_constraint_key(config, model) to address one of them. The planner also stopped pooling HBM budgets across collections, which could approve a model that does not fit. See Naming a table in constraints.
  • Per-table HBM budgets in fused groups (#534): each table in a fused group keeps its own local_hbm_for_values budget.

DynamicEmb: FTRL and FP8 tables

  • FTRL (#487, #500): DynamicEmbOptimType.FTRL implements FTRL-Proximal (McMahan et al., KDD 2013) with learning_rate_power, ftrl_beta, l1_reg and l2_reg. group_lasso_reg adds row-level group sparsity (G-FTRL). See FTRL.
  • FP8 table storage (#548, building on #499): embedding_dtype=torch.float8_e4m3fn stores one byte per weight, a quarter of fp32. Weights are stored as e4m3 codes of weight × 256, which covers ±1.75; larger values saturate. Every write rounds stochastically, so small optimizer steps are not lost. Only EXACT_ROWWISE_ADAGRAD is supported, and its accumulator stays in fp32. Checkpoints are written as fp16.
  • fp32 row-wise Adagrad state for 16-bit tables (#495): in fp16 tables, the row-wise Adagrad accumulator used to round to zero, so the learning rate never decayed. bf16 tables lost small increments. The accumulator is now kept in fp32 by default, and the new optimizer_state_dtype table option controls this.

DynamicEmb: admission, per-key scores and erase by score

  • Probabilistic admission (#488): ProbabilisticAdmissionStrategy(probability=...) admits a missing key with the given probability and keeps no counter. See AdmissionStrategy.

  • Per-key scores (#530): with DynamicEmbScoreStrategy.PRECISE_CUSTOMIZED, training input is a ScoredKeyedJaggedTensor that gives every key an int64 score. The scores decide which rows the table evicts. A key repeated within a batch keeps its largest score. This works for row-wise EmbeddingCollection and EmbeddingBagCollection. See Per-key score.

  • Background erase by score (#532, #536): dynamicemb.erase_by_score_async(model, score_strategy, threshold, ...) erases every key whose score is below a threshold while training continues, and returns an EraseHandle. Keys that in-flight batches are still using are spared.

    • It works on (TIMESTAMP, LFU) tables, using either score.
    • table_names= lets each table have its own threshold.
    • With strict=False, the same call works on every rank even when a table is not on every rank (table-row-wise).

    With a TIMESTAMP threshold taken from dynamicemb.device_timestamp(), this gives tables a time-to-live. On (NO_EVICTION, CUSTOMIZED) tables, it frees room so the table stops growing. See erase_by_score_async.

DynamicEmb: storage

  • A value row per key (#515): each key's value now lives in its own row, separate from its hash slot.
    • A rehash no longer moves values.
    • NO_EVICTION becomes a regular mode.
    • Row indices are int64, so tables can exceed 2^31 rows.
    • Incremental dump and replay carry (slot, row) pairs, so a replica reproduces the source's placement exactly.
  • Three storage tiers with caching (#511): with caching and an external storage, the tiers are cache → DynamicEmb storage → external storage (PS). The storage owns every key's score, and the cache ranks by recency only.

DynamicEmb: configurable exportable inference embeddings

DynamicEmb's exportable inference embedding collections are rebuilt around a configuration per collection (#478). create_inference_embedding_collection takes an InferenceEmbeddingCollectionConfig for each physical embedding collection instead of use_dynamic, and HSTU inference's conversion and export pass one too.

  • Indexers: FusedIdentityIndexer, LinearHashMapIndexer and BitConcatIndexer. BitConcatIndexer works only with hierarchical layers, and the model configuration fixes its table-ID and feature-ID bit widths.
  • NV-Embedding-Cache layers: gpu, linear_uvm, host, and hierarchical: a GPU cache, an optional host cache, and an NVHashMap or Redis parameter server.
  • Sidecars: data-backed indexer state and NVHashMap contents are stored outside the exported PT2 package. Python and C++ AOTI runtimes both load them.
  • Incremental updates: Redis-backed hierarchical tables take updates through an update coordinator and a subscriber in each runtime. The [end-to-end example](https://github.com/NVIDIA/recsys-examples/blob/v26.10/corelib/dynamicemb/example/exportable_embeddin...
Read more

FBGEMM GPU 1.9.0 for NGC PyTorch 26.09 (linux/arm64)

Choose a tag to compare

@shijieliu shijieliu released this 12 Nov 10:18
476cdc0

FBGEMM GPU v1.9.0 built for linux/arm64 against NGC PyTorch 26.09 (nvcr.io/nvidia/pytorch:26.09-py3), for the base_fbgemm stage of docker/Dockerfile. FBGEMM publishes no aarch64 CUDA wheel, so without this one an arm64 image build compiles FBGEMM GPU from source, which takes about 66 minutes.

  • fbgemm_gpu-1.9.0-cp312-cp312-linux_aarch64.whl, sha256 acf9f3efba35aa9be36c90bb840656d1fb91dedda3cff6258431858f635acea0.
  • torch_version.txt: the torch it is built against, 2.14.0a0+b2c75dd062.nv26.09. The wheel's .so files link libtorch, so install it only with that torch.
  • CUDA targets: sm_80, sm_90a and sm_100 (-DTORCH_CUDA_ARCH_LIST='8.0 9.0a 10.0', as in the source build). The sm_100 code also runs on GB300 (sm_103).

It was built by the Dockerfile's fbgemm_arm64_wheel target at shijieliu/recsys-examples@524da13. With that Dockerfile, base_fbgemm installs it instead of building FBGEMM:

docker buildx build --platform linux/arm64 --target base_fbgemm -f docker/Dockerfile \
  --build-arg FBGEMM_ARM64_WHEEL_URL=https://github.com/NVIDIA/recsys-examples/releases/download/fbgemm-gpu-1.9.0-ngc26.09-aarch64/fbgemm_gpu-1.9.0-cp312-cp312-linux_aarch64.whl \
  --build-arg FBGEMM_ARM64_WHEEL_SHA256=acf9f3efba35aa9be36c90bb840656d1fb91dedda3cff6258431858f635acea0 \
  --build-arg FBGEMM_ARM64_WHEEL_TORCH_VERSION=2.14.0a0+b2c75dd062.nv26.09 .

v26.08

Choose a tag to compare

@shijieliu shijieliu released this 14 Sep 03:18
97062d9

This release introduces Talos, an agent-driven PyTorch performance optimization toolkit, and significantly expands DynamicEmb with delta replay, weighted embedding-bag pooling, and native-precision checkpoints. It also upgrades NV-Embedding-Cache integration and fixes several correctness issues in DynamicEmb and HSTU.

🚀 Highlights

Talos: agent-driven PyTorch optimization

This release introduces Talos, a toolkit that enables coding agents such as Claude Code and Codex to optimize PyTorch training and inference workloads end to end.

Talos profiles the real workload, identifies measured bottlenecks, applies focused optimizations, and independently validates both numerical correctness and end-to-end performance before retaining each change.

The included recommender workloads achieved the following profiler-off median step-time improvements:

Model | Step time | Speedup -- | -- | -- DIN | 61.55 ms → 27.67 ms | 2.22× DIEN | 64.36 ms → 19.56 ms | 3.29× HSTU | 615.89 ms → 194.87 ms | 3.16× OneRec | 613.06 ms → 275.78 ms | 2.22×

Talos includes skills for automated optimization, PyTorch performance analysis, Nsight Systems trace analysis, and Nsight Compute kernel analysis.

Related: #481

DynamicEmb delta replay

Added replay_increment(), completing the DynamicEmb incremental synchronization workflow:

training model
    → incremental_dump()
    → transfer delta
    → replay_increment()
    → serving replica

Deltas are written back to their original hash slots and value rows, allowing a serving or training replica to converge with the source table without loading a complete checkpoint.

The API supports:

  • Applying updated embeddings and explicit key removals.
  • Optional replay of score data and optimizer state through ReplayContent.
  • Per-table statistics for upserted, erased, and skipped keys.
  • Layout and metadata validation before modifying a collection.
  • Distributed row-wise tables using roundrobin or hash_roundrobin sharding.

Source and target tables must use compatible capacity, bucket layout, score configuration, dimensions, distribution type, and world size. dist_type="continuous" is not currently supported.

Related: #477

Weighted EmbeddingBagCollection

DynamicEmb now supports weighted-SUM pooling for TorchRec EmbeddingBagCollection in both training and evaluation.

The implementation supports:

  • EmbeddingBagCollection(is_weighted=True).
  • Per-position float32 pooling weights.
  • Mixed-dimension embedding tables.
  • Fused weighted forward and backward kernels.
  • Gradient scaling for individual embedding positions.

Only SUM pooling is supported. Pooling weights themselves are not differentiable.

Breaking API change

BatchedDynamicEmbeddingTablesV2.forward() replaces the ambiguous per_sample_weights argument with:

frequency_counters: Optional[Tensor]
pooling_weights: Optional[Tensor]

Existing callers using per_sample_weights for LFU frequency counting must migrate to frequency_counters.

Related: #484

Native-precision DynamicEmb checkpoints

DynamicEmb checkpoints now store embedding and optimizer values using each table’s native float32, float16, or bfloat16 precision.

This reduces checkpoint size for lower-precision tables and avoids storing precision that was not present in the original values. Checkpoint metadata now records the embedding dtype, embedding dimension, and optimizer-state dtype.

Existing float32 checkpoints without the new metadata remain supported. Loading a checkpoint into a table with a different precision performs conversion and emits a warning.

Related: #482

NV-Embedding-Cache and HSTU AOTI updates

  • Upgraded NV-Embedding-Cache to the 26.07 generation.
  • Added compatibility across NV-Embedding-Cache 26.05, 26.06, and 26.07 Python export paths.
  • Added version-aware native C++ loaders for HSTU AOTInductor replay.
  • Improved DynamicEmb and HSTU export compatibility.
  • Fixed cache sizing for small inference embedding tables.
  • Added configurable HSTU build parallelism.

Related: #465

🐛 Bug fixes

DynamicEmb NO_EVICTION row addressing

Fixed a correctness and illegal-memory-access issue where resident NO_EVICTION entries could use their hash slots as value-row indices. DynamicEmb now tracks hash slots and value rows separately throughout the HBM-direct prefetch path.

Related: #468

DynamicEmb reclaimed-slot scoring

Fixed a phantom-frequency issue in the compound LruLfu policy. When a new key reused a slot previously released by erase(), it could inherit the old key’s LFU frequency. The entire score block is now cleared before the reclaimed slot is initialized.

Related: #467

HSTU LayerNorm backward

Fixed residual-gradient accumulation in the non-learnable LayerNorm backward path by fusing dx_accumulate into the Triton backward kernel. Focused numerical tests were added to the HSTU test suite.

Related: #449, #476

🙌 Contributors

Thanks to @RandyInterfish, @jiashuy, @geoffreyQiu, @rocketbastard, @ShaobinChen-AH, @JacoCheung, and @shijieliu.

Full changelog: v26.07...main

This release introduces Talos, an agent-driven PyTorch performance optimization toolkit, and significantly expands DynamicEmb with delta replay, weighted embedding-bag pooling, and native-precision checkpoints. It also upgrades NV-Embedding-Cache integration and fixes several correctness issues in DynamicEmb and HSTU. 🚀 Highlights Talos: agent-driven PyTorch optimization This release introduces [Talos](https://github.com/NVIDIA/recsys-examples/tree/main/corelib/talos), a toolkit that enables coding agents such as Claude Code and Codex to optimize PyTorch training and inference workloads end to end. Talos profiles the real workload, identifies measured bottlenecks, applies focused optimizations, and independently validates both numerical correctness and end-to-end performance before retaining each change. The included recommender workloads achieved the following profiler-off median step-time improvements: Model Step time Speedup DIN 61.55 ms → 27.67 ms 2.22× DIEN 64.36 ms → 19.56 ms 3.29× HSTU 615.89 ms → 194.87 ms 3.16× OneRec 613.06 ms → 275.78 ms 2.22×

Talos includes skills for automated optimization, PyTorch performance analysis, Nsight Systems trace analysis, and Nsight Compute kernel analysis.
Related: #481
DynamicEmb delta replay
Added replay_increment(), completing the DynamicEmb incremental synchronization workflow:
training model
→ incremental_dump()
→ transfer delta
→ replay_increment()
→ serving replica
Deltas are written back to their original hash slots and value rows, allowing a serving or training replica to converge with the source table without loading a complete checkpoint.
The API supports:
Applying updated embeddings and explicit key removals.
Optional replay of score data and optimizer state through ReplayContent.
Per-table statistics for upserted, erased, and skipped keys.
Layout and metadata validation before modifying a collection.
Distributed row-wise tables using roundrobin or hash_roundrobin sharding.
Source and target tables must use compatible capacity, bucket layout, score configuration, dimensions, distribution type, and world size. dist_type="continuous" is not currently supported.
Related: #477
Weighted EmbeddingBagCollection
DynamicEmb now supports weighted-SUM pooling for TorchRec EmbeddingBagCollection in both training and evaluation.
The imple...

Read more

v26.07

Choose a tag to compare

@shijieliu shijieliu released this 13 Aug 06:34
6b94bbf

🚀 Highlights

HSTU AOTInductor inference + exportable KV cache

  • End-to-end HSTU AOTI workflow (#400): introduced a torch.export-compatible RecSys KV-cache backend and runtime, with packaged AOTInductor models, native C++ replay, FlexKV integration, and Triton Inference Server deployment. The refactor separates the public KVCacheManager facade from backend implementations and adds the custom-op, fake-op, and runtime plumbing required for export.
  • AOTI serving and benchmark refresh (#448): refined dynamic-batch export and replay, added an export-aligned Triton Python backend with latency and correctness clients, optimized KV-cache lookup/allocation and cached-token stripping, and published updated AOTI and KV-cache benchmark results.

SID-GR inference and RL integration

  • Lower decode CUDA-graph memory (#439): decode captures now share a CUDA-graph private memory pool and reuse logits output buffers by shape. On an NVIDIA L20 with beam_width=1024 and context_len=4000, idle memory after warmup decreased from 45.4 GiB to 26.9 GiB, allowing a configuration that previously OOMed to run with token-for-token matching output.
  • SGLang-compatible weight hot updates (#444): added opt-in weight updates from disk and colocated CUDA IPC for slime-style RL workflows. The serving stack now supports atomic validation and in-place loading, pause/continue and cache-flush coordination, weight-version reporting, guarded HTTP endpoints, and rejection of new inference requests while generation is paused.

DynamicEmb eviction and delta checkpointing

  • Customizable compound eviction scoring (#437): added compound (TIMESTAMP, LFU) scoring with frequency-first eviction and timestamp tie-breaking by default. Users can supply a Numba-compiled score_function(scores, cur_timestamp) -> float64 for policies such as time-decayed LFU; custom functions are JIT-linked and cached per GPU architecture.
  • Retain and report last-tier evictions (#443): added EvictedItemMode.RETAIN_KEY and pop_evicted_keys() to capture and retrieve keys evicted from the last storage tier, including optional distributed gathering. incremental_dump() now returns structured DeltaDumpResult records containing keys, values, evicted keys, physical slot indices, and metadata for future precise replay.

API note: incremental_dump() now returns Dict[str, DeltaDumpResult] instead of the previous tuple-based result. The new slot-index path does not support tables with dist_type="continuous".

🐛 Bug Fixes

  • HSTU CUDA-graph capture on Blackwell (#463): initializes static paged-KV metadata with a valid synthetic workload before warmup/capture, preventing invalid or uninitialized metadata from breaking inference CUDA-graph capture on sm_100; inference tests and dependencies were updated accordingly.
  • AOTI inference correctness and defaults (#448): corrected the KV-cache sequence-length dtype and the default benchmark batch size.

What's Changed

Features & Enhancements

  • Reduce decode CUDA-graph memory with shared pool and shared logits buffer by @gameofdimension in #439
  • Refactor KV Cache Manager with a new torch exportable KVCache backend by @geoffreyQiu in #400
  • DynamicEmb: implement LFU decay with a customized JIT score function by @jiashuy in #437
  • Add SGLang-compatible weight hot-update (disk + colocated CUDA IPC) for RL integration with slime by @gameofdimension in #444
  • Update AOTI benchmarks and serving workflows by @geoffreyQiu in #448
  • DynamicEmb: retain evicted keys and extend incremental dump results by @jiashuy in #443

Bug Fixes

Full Changelog: v26.06...v26.07

Contributors

v26.06.02

Choose a tag to compare

@shijieliu shijieliu released this 06 Aug 08:11
3118b5f

What's Changed

  • Feat/dynamicemb Implementation of LFU_DECAY by costimized JIT function by @jiashuy in #437
  • Add SGLang-compatible weight hot-update (disk + colocate CUDA-IPC) for RL integration with slime by @gameofdimension in #444
  • Updated AOTI benchmarks by @geoffreyQiu in #448

Full Changelog: v26.06.01...v26.06.02

v26.06.01

Choose a tag to compare

@shijieliu shijieliu released this 23 Jul 01:48
43465ae

What's Changed

  • Reduce decode CUDA-graph memory with shared pool and shared logits buffer by @gameofdimension in #439
  • Refactor KV Cache Manager with a new torch exportable KVCache backend by @geoffreyQiu in #400

Full Changelog: v26.06...v26.06.01

v26.06

Choose a tag to compare

@shijieliu shijieliu released this 14 Jul 08:29
bdf16e3

🚀 Highlights

RecSys-FlexKV: inference-path optimization + benchmark

  • CPU-side onboarding optimized (#418): replaced per-sequence page_ids device-to-host copies and NumPy slot expansion with a single bulk kv_indices/kv_indptr copy plus vectorized Torch-CPU slot expansion, added an as_batch batched-submit path, and added SSD-tier support. FlexKV CPU-breakdown analysis doc refreshed.
  • New FlexKV inference benchmark (#429): inference_benchmark_flexkv.py exercises the three KV-cache tiers where a request's prefix can be found — GPU-hit, host/CPU-hit (GPU miss), and SSD-hit (GPU + CPU miss) — with an --only-onboard mode, configurable request batch size, and FlexKV client-shutdown / offload-drain cleanups.

DynamicEmb: incremental dump for LFU

  • Incremental dump for LFU tables (#432): a new need_incremental_dump table option backed by a compound LruLfu score policy that stores two AoS score words per key — word 0 is a per-key last-access timestamp (device global timer, used only to select keys for time-based incremental dump), word 1 is the access frequency (unchanged LFU eviction semantics). incremental_dump reuses the TIMESTAMP flow. Default num_scores=1 keeps the single-score path byte-identical.

HSTU attention on Blackwell

  • FBGEMM updated for Blackwell HSTU attention (#431): submodule bumped for sm_100, quack-kernels version constrained in the Dockerfile. Benchmark tooling gains phase-selective CUDA-graph profiling, eager CUDA-event initialization, P10 / percentile timing reports, and HSTU attention heatmaps.

SID-GR inference

  • Added a shared-prefix-length argument to the online-generate comparison tool (#438) and an environment-variable control for GR decode attention in the container run script (#433).

🐛 Bug Fixes

  • dynamicemb — padded-buffer optimizer layout (#426): for tables with dim < max_emb_dim under StorageMode.DEFAULT / HybridStorage-without-caching, the Adam velocity (v) slot fell inside the kernel's momentum (m) region and was updated with the beta1 rule, corrupting v (and the embedding update read uninitialized padding as v). Padded-buffer kernels are now layout-aware — optimizer states start at a fixed max_emb_dim offset with per-row dims threaded through — via new Storage.embedding_dims() and Storage.all_dims_vec4() interfaces, with regression tests over aligned [8,4] (vec4 path) and misaligned [8,6] (scalar path) dim mixes.
  • dynamicemb — HostVMMTensor virtual-address exhaustion (#425): HostVMMTensor reserved the entire machine's physical RAM as an anonymous mmap per host tensor; with many tables these multi-TB reservations exhausted the process VA space (mmap ... Cannot allocate memory). It now maps only page-aligned backed bytes and grows on demand via mremap(MREMAP_MAYMOVE), with centralized rollback in restore_to_size() so a failed grow leaves the object consistent.

What's Changed

Features & Enhancements

Bug Fixes

  • fix(dynamicemb): correct optimizer-state layout in padded-buffer update by @jiashuy in #426
  • fix(dynamicemb): size HostVMMTensor mapping to need, grow via mremap by @jiashuy in #425

Full Changelog: v26.05...v26.06

v26.05

Choose a tag to compare

@shijieliu shijieliu released this 16 Jun 07:22
8ad3416

What's Changed

Features & Enhancements

Bug Fixes

New Contributors

Full Changelog: v26.04...v26.05

v26.04

Choose a tag to compare

@shijieliu shijieliu released this 20 May 06:35
a4d3b01

What's Changed

Features & Enhancements

  • Add hash_roundrobin routing mode to mitigate modulo-aliasing imbalance by @ShaobinChen-AH in #367
  • Jagged Arbitrary Masked Self Attention support by @z52527 in #339
  • fix segmented_unique_cuda: replace table_ids with segmented_range by @jiashuy in #377
  • perf(hstu): restore eager-mode .item() in preprocessor; drop duplicate triton_jagged.py by @JacoCheung in #389
  • Improve AOTI compilation of hstu model by @geoffreyQiu in #380
  • Recsys KVCache Manager refactored into standalone package by @geoffreyQiu in #387
  • Add inference aoti benchmark results by @geoffreyQiu in #394
  • [FEA] Beam search by @z52527 in #379

Bug Fixes

  • fix: unify dense tensor padding convention (dim-0 == batch_size) by @JacoCheung in #362
  • fix(dynamicemb): traverse nn.Module children in check_emb_collection_modules by @JacoCheung in #355
  • fix(ddp): bucket_size=True silently disables grad bucketing by @JacoCheung in #374

Misc

Full Changelog: v26.03...v26.04

v26.03

Choose a tag to compare

@shijieliu shijieliu released this 14 Apr 10:05
c7b9ea2

What's Changed

Features & Enhancements

  • Add Torch export for HSTU model by @jensenhwa in #327
  • [Feature] dynamicemb table fusion and expansion by @jiashuy in #343
  • feat(benchmark): HSTU E2E training benchmark suite with progressive optimizations by @JacoCheung in #340
  • Add HSTU inference benchmark results on B200 by @geoffreyQiu in #338
  • Relax alignment requirements(remove pow of 2) in dynamicemb by @jiashuy in #312
  • perf: avoid D2H sync in _Split2DJaggedFunction by precomputing split lengths by @JacoCheung in #318
  • refactor: migrate to fbgemm_gpu_hstu, remove legacy HSTU compat layer by @JacoCheung in #321
  • Optimize balancer and setup debug logger. by @JacoCheung in #308
  • fix: align DynamicEmb capacity to bucket_capacity instead of DEMB_TABLE_ALIGN_SIZE by @JacoCheung in #329

Bug Fixes

Misc

New Contributors

Full Changelog: v26.01...v26.03