Opportunities
Open RFCs and design proposals with recent activity. Reviewing, testing and posting numbers is high-leverage work that maintainers value.
[RFC] libibverbs: Introduce Completion Actions verbs#1865
Extend verbs interface to support Completion Actions that let applications observe the completion of specific work requests without polling a CQ. A completion action is an operation registered with the device that a work request names by its action ID, and the device performs it when the work request completes at the initiator or at the target. This is mostly useful for transports that complete work requests out of order, where a completion count alone doesn't tell which requests have…
- pull request
- no comments yet
- updated 0d ago
💬 0updated 22m ago[RFC] Cleanup: move process-wide parallel-group globals to per-engine groups — follow-up to #8241 / #8851#9081
Summary DeepSpeed keeps an engine's tensor-parallel and data-parallel process groups as module globals in deepspeed/utils/groups.py . The first engine that sets them up decides them for every later engine in the process. This RFC proposes that each engine own its groups again, as it did before the global registry existed. This continues two earlier fixes: - 8241 (fixing 8231) moved the AutoTP shape state ( num kv heads , n embd , tp grain size , ...) from tp shard globals onto a per-model…
- design issue
- 7 comments
- updated 0d ago
💬 7updated 38m agoTracking: derived types, polymorphism, defined assignment, and DTIO#18333
Priority rank: 5 of 11 This group covers derived types, polymorphism, defined assignment/operators, and derived-type I/O. These features are central to modern Fortran libraries and several real projects already hit the listed failures. Fixing them makes user-defined assignment and polymorphic dispatch behave like gfortran instead of being skipped, recursing, or aborting. Priority: High — Modern Fortran libraries depend on derived types and polymorphism, and the listed failures include silently…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 52m agoTracking: array intrinsics, ASR passes, and LLVM verification#18331
Priority rank: 3 of 11 This group covers ASR and LLVM verification failures plus crashes and wrong results in array expressions and intrinsic reductions. These are usually hit by ordinary numerical code that uses SELECT RANK, WHERE, ASSOCIATE, EQUIVALENCE, or array constructors. Fixing them removes both compiler aborts and silent wrong results in core array-heavy code. Priority: High — These failures are crashes or verifier errors in core array paths that affect ordinary numerical code. - [ ]…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 1h agoTracking: real projects and application builds#18329
Priority rank: 1 of 11 Fixing this group lets a broad set of real Fortran applications compile and run under LFortran: CP2K, Fortran-utils, stdlib, Fortuno, HipFT, gtk-fortran, rklib and LAPACK. Each item is a concrete blocker observed while building one of those projects, from front-end verification failures to unsupported OpenMP and C-interop constructs. Clearing them turns one-off sample builds into repeatable project coverage. Priority: High — These are concrete blockers for widely used…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 1h agoTracking: compile and test FLEUR (all-electron FLAPW DFT code)#18548
FLEUR is an all-electron full-potential linearized augmented plane-wave (FLAPW) DFT code developed at Forschungszentrum Jülich (IAS-1/PGI-1). It is about 1700 build steps of mixed free- and fixed-form Fortran (Fortran 2008 with OOP and legacy F77 parts), built with CMake through its configure.sh . It builds and passes its serial test suite with gfortran and LLVM flang 23.1.3. This issue tracks what stops LFortran from building FLEUR and running its tests. Configuration FLEUR develop branch…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 1h agoTracking: character and string handling#18336
Priority rank: 8 of 11 This group covers character values from internal reads, formatted output, substrings, pointers, and TRIM/REPEAT-style expressions. The failures here either corrupt exact text output or abort while building valid string expressions. Fixing them restores byte-for-byte string behavior for reports, parsers, and generated source. Priority: Medium — Character handling affects text-heavy programs, though many failures require particular kinds or expression shapes. - [ ] 18544…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 1h agoRename included coord files to ensure `xyz` files have standard header lines#6625
Former name: Precommit: check input snippet .inc files; check other TOML files See discussions below for the reason of changing title and scope of the current PR.
- pull request
- 8 comments
- updated 0d ago
💬 8updated 2h ago[RFC] [Testcase Refactoring]Make distributed replicate compiler tests device-agnostic using torch.accelerator#190997
Summary This PR refactors test/distributed/ composable/test replicate with compiler.py to be device-agnostic by removing the global device type variable, splitting CPU/GPU test classes, and adding instantiate device type tests with HardwareClassification tags. Motivation The original test had hardcoded CUDA assumptions: - Module-level global device type = get devtype().type - torch.get device module(device type) for device count and device setting - sm is or higher than() for bf16 capability…
- pull request
- 8 comments
- updated 0d ago
💬 8updated 2h ago[Tracking] BIND(C) argument passing vs. J3/24-007 18.3.7: which dummy arguments get a C descriptor and what is in it#17326
Tracking issue for a set of related defects in how LFortran passes arguments to and from bind(c) procedures. Each has its own issue with a minimal reproducer; this one lists them together so they can be re-checked once fixed. Why it matters: these are the argument forms the Fortran bindings of HDF5 ( H5Dwrite / H5Awrite with a type( ), dimension( ) buffer), MPI ( mpi f08 with type( ), dimension(..) buffers, mpif.h / use mpi wrappers handing buf( ) on), NetCDF, PETSc and similar libraries rely…
- design issue
- 1 comments
- updated 0d ago
💬 1updated 5h agoAdd subchannel FP8/INT8 quantized training for nn.Linear and AutoEP experts#9131
Adds an opt-in quantization.subchannel config section that runs the three GEMMs of nn.Linear layers and AutoEP grouped experts (forward, dx , dw ) in FP8 or INT8, each configured independently. With one scale per operand row ( block size: 0 ) the FP8 path trains Qwen2.5-32B 1.21x faster per step than BF16; with block scales it is a numerics feature and slower than BF16. Proposal: 9132 (accepted on 2026-11-22). Related: RFC 8777 and its draft PR 8784 (low-precision training via TorchAO…
- pull request
- 2 comments
- updated 0d ago
💬 2updated 5h ago[RFC] Core changes needed by the out-of-tree XPU backend#12439
Context We're checking whether the XPU backend can work out of tree. The prototype: - is its own package, installed next to an unmodified Triton wheel and picked up through the triton.backends entry point - builds its C++ part against the wheel's headers and links libtriton, with the same LLVM core uses - otherwise uses the same contract as the NVIDIA and AMD backends: BaseBackend , the driver, codegen fns and the layout attribute interfaces Below is everything it needs from core today.…
- design issue
- 7 comments
- updated 0d ago
💬 7updated 6h ago[RFC] Megatron FSDP v2 partial CUDA Graph capture and MoE composition validation#9113
TL;DR / Decision Requested Approve the initial design for composing Megatron FSDP v2 with Transformer Engine (TE) partial CUDA Graphs: retain existing gathered weight allocations, restore normal module hooks around replay, and leave the FSDP communication lifecycle outside captured compute. The trade-off is longer gathered-weight residency without a second parameter store or a new communication scheduler. The current implementation establishes training-state parity and FSDP communication/graph…
- design issue
- 4 comments
- updated 0d ago
💬 4updated 6h agoRFC: Block128 FP8 Expert-Parallel Dispatch for MoE Models on SM90#8675
RFC: Block128 FP8 Expert-Parallel Dispatch for MoE Models on SM90 Summary Megatron-LM's NCCL expert-parallel (EP) MoE dispatcher currently supports FP8 quantized all-to-all transport only through MXFP8 (E4M3 data + E8M0 scales, 32-element blocks). This RFC proposes adding block128 FP8 transport (E4M3 data + FP32 scales, 128-element blocks) for SM90 (Hopper) GPUs — the precision format used by DeepSeek-V3-style models and Transformer Engine's Float8BlockScaling recipe. The core challenge is…
- design issue
- 2 comments
- updated 0d ago
💬 2updated 6h ago[Feature Request] [RFC] Proposal for CUDA Tile IR backend#4403
Required prerequisites - [x] I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.) Motivation Chinese version: rfc.zh.md Authored by: @glassmanK, @Bessss-zyw, @0xtaruhi The document is also added by pull request 4402, where it can be commented on line by line. Our goal is to add a CUDA Tile IR backend to TileLang (CUDA Tile IR is called Tile IR below): CUDA Tile IR is generated from a TileLang program, and tileiras compiles and schedules it. This…
- design issue
- 3 comments
- updated 0d ago
💬 3updated 8h agoTracking: bit, TRANSFER, and elemental array intrinsics#18335
Priority rank: 7 of 11 This group covers TRANSFER, bit manipulation, and elemental intrinsics whose failures are often silent wrong results or compiler aborts. These intrinsics are common in low-level code, bit-field packers, and round-trip serialization. Fixing them removes garbage values, hangs, and ICEs in expressions that gfortran accepts. Priority: Medium — Bit and TRANSFER intrinsics are heavily used in low-level code, but the impact is concentrated in specific idioms and kinds. - [ ]…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 10h agoTracking: numeric, IEEE, and complex intrinsics#18332
Priority rank: 4 of 11 This group covers wrong results, crashes, and missing support in numeric, IEEE, and complex intrinsics. The failures range from signed-zero and infinity handling to extended precision and argument keywords used in portable numerical libraries. Fixing them makes results match gfortran for common floating-point and complex workloads. Priority: Medium — The wrong results and ICEs affect common intrinsics, but each failure is usually isolated to specific argument values or…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 12h ago[RFC] [Testcase Refactoring]Make distributed data parallel tests device-agnostic using torch.accelerator APIs#190993
Summary This PR refactors test/distributed/test data parallel.py to be device-agnostic by replacing hardcoded CUDA references ( TEST MULTIGPU , @onlyCUDA , .cuda() , torch.cuda.device count() ) with torch.accelerator APIs and instantiate device type tests -injected device parameters. Motivation The original test had hardcoded CUDA assumptions: - from torch.cuda.amp import autocast and TEST CUDA / TEST MULTIGPU imports - @onlyCUDA and @skip but pass in sandcastle if(not TEST MULTIGPU, ...)…
- pull request
- 5 comments
- updated 0d ago
💬 5updated 12h agoTracking: formatted and internal I/O correctness#18330
Priority rank: 2 of 11 This group covers wrong output and crashes in formatted, list-directed and namelist I/O: edit descriptors, internal files, and non-advancing output. Fixing it makes generated reports, string buffers, and data files match gfortran byte-for-byte instead of silently differing. It also removes aborts that stop otherwise valid programs before they can produce results. Priority: High — Formatted and internal I/O is used by nearly every program, and the listed bugs produce…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 13h agoTracking: invalid-code diagnostics and semantic validation#18339
Priority rank: 11 of 11 This group is about invalid-code diagnostics and semantic validation: the compiler accepts constructs the standard forbids or aborts instead of issuing a clear error. These are lower priority than wrong results on valid code, but they matter for strict-standard builds and for keeping invalid programs from reaching broken backends. Fixing them improves diagnostics and prevents downstream verifier or LLVM failures. Priority: Low — These are mostly invalid-code diagnostics…
- design issue
- no comments yet
- updated 0d ago
💬 0updated 14h ago[RFC][MATHVEC] Introduce the LLVM's mathvec library as yet another veclib functions provider#234621
This includes the addition of the veclib mappings for the LLVM's libc vector functions. Note that decision on using llvm's vectorized math functions without the fveclib flag is not a part of this PR or the RFC backing it. RFC:
- pull request
- 14 comments
- updated 0d ago
💬 14updated 17h agotracker#17221
52/93 issues have a PR opened 31/93 issues done ID Issue Priority Linked PR Done --- --- --- --- --- 5, 7 15144 High 17274 ☑ 6 16907 High 16922 ☑ 8 16908 High 16937 ☑ 2 16909 High 18189 ☑ 4 16910 High 16943 ☐ 3, 9 16911 High 16929 ☑ 9 16912 High 16928 ☑ 10 16913 High 16923 ☑ 12 11380 Medium 11382 ☑ 12, 20, 23, 24 17173 Medium 17160 ☐ 14 17253 Low ☐ 15 17254 Medium 17805 ☑ 16, 96 16203 Medium 17276 ☑ 17 17174 Medium 17160 ☐ 18 14199 Medium 17139, 17735 ☐ 19 17255 Medium 17284 ☑ 21 17256 Low ☐…
- design issue
- 1 comments
- updated 0d ago
💬 1updated 17h ago[RFC][LTO] Move responsibility for plugin loading to the hosts#243887
This patch deprecates lto::Config::PassPluginFilenames . LTO hosts load plugins themselves and pass them in lto::Config::LoadedPassPlugins . During the transition, lto::LTO::run() still loads the files listed in the deprecated member. All in-tree users are ported: lld ELF and MachO load plugins while they parse options, before -mllvm . Options registered by a plugin now work with -mllvm and we can drop the legacy -load option. A plugin that fails to load is an error even if the link doesn't…
- pull request
- 8 comments
- updated 0d ago
💬 8updated 20h agoRFC: RV64 vendor-specific ISA and microarchitecture support#6406
This RFC proposes integration and validation paths for RV64 vendor-specific optimizations, following the discussion in 6320.
- pull request
- 2 comments
- updated 0d ago
💬 2updated 23h ago[RFC] Backend-pluggable low-precision training for Dense Linear and AutoEP grouped GEMM (Ascend HiFloat8)#8777
Summary Add optional TorchAO training support for Dense Linear and AutoEP grouped experts, starting with Ascend HiFloat8. The implementation is in draft PR #8784. Both module types use one public torchao.quantization.quantize call. DeepSpeed owns module selection and training/distributed execution; AO owns the numerical policy and low-precision GEMM implementations. The current configuration uses hifloat8.backend="torchao" . On NPU, the installed Ascend extension exposes its implementation…
- design issue
- 6 comments
- updated 1d ago
💬 6updated 1d agoTracking: I/O status, specifiers, and error reporting#18337
Priority rank: 9 of 11 This group covers I/O specifiers, status codes, file state, and the errors that should be reported for invalid I/O. Several listed cases currently return success or create spurious files, so callers cannot detect failures. Fixing them makes OPEN/CLOSE/INQUIRE/REWIND and friends behave like gfortran and prevents verifier failures caused by bad specifier types. Priority: Medium — Incorrect status and specifier handling hides real file errors but mostly affects robustness…
- design issue
- no comments yet
- updated 1d ago
💬 0updated 1d agoTracking: memory safety in Debug and --fast-safe modes (runtime checks)#18373
Goal A program compiled with LFortran's default options, in Debug mode (the default) or in the new --fast-safe mode, must never segfault, corrupt memory, have a data race, or silently read garbage, however it is written. Every such error must be caught: at compile time when possible, otherwise as a runtime error that names the variable and points to the source location, like the existing array bounds check: runtime error: Array 'a' index out of bounds. Tried to access index 7 of dimension 1,…
- design issue
- no comments yet
- updated 1d ago
💬 0updated 1d agoTracking: C backend and C/Fortran interoperability#18334
Priority rank: 6 of 11 This group covers the C/C++ backend and Fortran-C interoperability, including BIND(C), ISO C BINDING kinds, c f pointer, and ABI choices for external procedures. Fixing it makes programs that cross the C boundary produce correct output and sizes in both the LLVM and C backends. It also unblocks gtk-fortran-style bindings and portable printed output from generated C. Priority: Medium — Interop and C-backend failures are important for cross-language and non-LLVM users, but…
- design issue
- no comments yet
- updated 1d ago
💬 0updated 1d ago[RFC] Subchannel FP8/INT8 quantized training for nn.Linear and AutoEP experts (Triton, CUDA)#9132
Proposal for the feature implemented in draft PR 9131. The PR was opened before this issue existed; this issue is the place for the design discussion and the accept/decline decision. Proposed feature An opt-in quantization.subchannel config section that runs the GEMMs of nn.Linear layers and AutoEP grouped experts in FP8 or INT8 on CUDA, with no user code changes. - The three GEMMs of a linear layer are configured independently: forward ( y = x W^T ), dx ( dx = dy W ) and dw ( dW = dy^T x ). -…
- design issue
- 1 comments
- updated 1d ago
💬 1updated 1d agoMigrate from bundled libgrpp to libecpint#6609
CP2K currently bundles libgrpp for semi-local ECP integrals. Since CP2K only uses a relatively small part of libgrpp, mainly conventional scalar type-2 ECP integrals and the corresponding forces, it may be worth considering libecpint as a replacement. libecpint 1.1.0 has now been released and provides local/semi-local ECP integrals, analytic derivatives, improved screening and performance, and a modern installed CMake package. Using libecpint as an optional external dependency would also allow…
- design issue
- 1 comments
- updated 1d ago
💬 1updated 1d ago