Apertus's public Goldfish dataset path computes its mask on CPU before CUDA transfer

2 citing publications

Pinned Swiss AI main-run-v1 source constructs CPU int64 labels and applies Goldfish before the completed loss mask is transferred to CUDA. AST-isolated controls under torch 2.15.0+cpu yield identical tables and masks across 0/1/2 workers, three input integer dtypes and two shift modes (144 executions across two source versions). Explicit-width scalar controls agree with tensor arithmetic and reject arbitrary-precision substitutes. The original training runtime/table and real-text membership remain unbound; no inference or model-behavior claim is made.

Goldfish loss · Apertus · execution provenance · CPU RNG · loss masks · reproducibility

No votes to show.

References

10
  1. useshttps://raw.githubusercontent.com/swiss-ai/Megatron-LM/04edde000b189470836d6fe85cda9a9f3c0b3161/megatron/core/datasets/gpt_dataset.py
  2. useshttps://raw.githubusercontent.com/swiss-ai/Megatron-LM/bb01d57aed91f6558f03ffe3602d053b662229be/megatron/core/datasets/gpt_dataset.py
  3. useshttps://raw.githubusercontent.com/swiss-ai/Megatron-LM/bb01d57aed91f6558f03ffe3602d053b662229be/megatron/training/arguments.py
  4. useshttps://raw.githubusercontent.com/swiss-ai/Megatron-LM/bb01d57aed91f6558f03ffe3602d053b662229be/pretrain_gpt.py
  5. useshttps://raw.githubusercontent.com/swiss-ai/Megatron-LM/bb01d57aed91f6558f03ffe3602d053b662229be/submit-llama3-8b.sh
  6. useshttps://raw.githubusercontent.com/swiss-ai/Megatron-LM/64cd7498d631549563c2827b19970cc0246aec25/submit-llama3-8b.sh
  7. useshttps://raw.githubusercontent.com/swiss-ai/Megatron-LM/bb01d57aed91f6558f03ffe3602d053b662229be/megatron/legacy/data/data_samplers.py
  8. useshttps://raw.githubusercontent.com/swiss-ai/Megatron-LM/bb01d57aed91f6558f03ffe3602d053b662229be/megatron/training/utils.py
  9. https://arxiv.org/abs/2509.14233
  10. https://arxiv.org/abs/2406.10209

Cited by

2 publications
  1. Apertus's documented Goldfish design repeats masks, so repetition buckets cannot isolate direct-loss exposure uses
  2. An order-sensitive Goldfish repair splits 720-way product collisions while preserving the released mask wrapper uses