Ankush Raj Devi

Ankush Raj Devi

LLM post-training, reinforcement learning and agentic systems.

AI Research Engineer at the Barcelona Supercomputing Center

I train and evaluate language models for tool use, from data and RL to serving on supercomputers.

Contributor to Transformers, vLLM and lm-evaluation-harness

Ankush Raj Devi

Selected work

All work

Models I post-trained and the tooling that runs them.

Prelude 9B for tool use

Turn an open 9B base model into a reliable agent for tool use: multi-turn calls, web search, memory and customer-service tasks.

My contribution
Post-training end to end: SFT, two rounds of on-policy RL with RFT in between, and the evaluation against Qwen3-8B and Ministral 3 8B.
Methods
SFT, RL, RFT, NeMo-RL, vLLM
Context
Post-training · 2026

53.5BFCL v4 overall+8.8 vs Qwen3-8B

Prelude 9BQwen3-8BMinistral 3 8B
BFCL v4
Overall53.544.736.4
Multi-turn51.042.818.8
Web search36.015.015.0
τ²-bench pass^1
Telecom0.360.260.38
Airline0.480.460.28
Retail0.530.340.37

Official BFCL v4 pipeline. τ²-bench pass^1 over 4 trials; the Qwen3-8B telecom run is partial.

Coming soon

VeriGym

Reinforcement learning for tool-using agents needs many tasks whose answers can be checked automatically. A generator of large-scale reinforcement-learning datasets for tool-using agents. Every task comes with a deterministic reward, checked by code.

My contribution
Integrated VeriGym into RL training (environment and reward design) and ran the comparison with and without it.
Methods
NeMo-RL, verifiable rewards, BFCL v4

+18.0 ptsBFCL v4 web search41.5% with VeriGym vs 23.5% without, RL step 100

With VeriGymWithout VeriGym
Overall41.5%23.5%
Base59.0%29.0%
No snippet24.0%18.0%

Prelude 9B at RL step 100, official BFCL v4 pipeline.

Function calling for ALIA 40B

Give function calling to ALIA 40B, a multilingual model trained from scratch at BSC.

My contribution
Led the work: built the training data, ran full SFT on 32 H100 GPUs with and without reasoning, and evaluated on BFCL.
Methods
SFT, Reasoning, Synthetic data, 32× H100, BFCL
Context
Barcelona Supercomputing Center

40%BFCL, with reasoningvs 20% without reasoning

BFCLWith reasoningWithout reasoning
Live parallel87.5%56.3%
Multi-turn base40.0%15.5%
Multi-turn, missing function22.0%2.0%
Multi-turn, long context25.5%7.0%

ALIA-40b-fc-2606 (reasoning) vs ALIA-40b-fc-2605 (no reasoning), from the official model cards.

Magma

Launching fine-tuning, serving and container builds on a supercomputer was repetitive manual work.

My contribution
Designed and built the suite: reusable GitHub Actions workflows that convert images to Singularity and launch SLURM jobs.
Methods
GitHub Actions, Kubernetes, SLURM, Docker, Singularity, MLflow, vLLM, TGI
Context
Barcelona Supercomputing Center
repositories use it
~40
runs a year
7k+
  • MagmaReusable GitHub Actions workflows, maintained in one place for every team.

    • Launch2HPCThe template repository that calls those workflows.

      • A fork per teamWith its own secrets and config.yml. Each branch is one job on the supercomputer, tracked in MLflow.

Post-training, end to end

I work on every stage, from the first training sample to a model answering requests on a supercomputer.

  1. Data

    Synthetic multi-turn tool-calling conversations built from prompts and traces, plus open datasets I adapt, filter and distill.

    Technical details

    Spanish multi-turn function-calling samples for ALIA 40B, plus open datasets adapted, filtered and distilled.

  2. SFT

    Full fine-tuning of models up to 40B on 32 H100 GPUs. Teaching ALIA 40B to reason before each call doubled its BFCL score.

    Technical details

    Full-parameter SFT up to 40B on 32 H100 GPUs; the ALIA release adds explicit reasoning before each call.

    BFCL 20% → 40%
  3. RL + RFT

    Multi-turn, on-policy RL. When the student fails, a teacher steps in. RFT then trains on the best rollouts and RL picks up from there.

    Technical details

    Multi-turn RL in NeMo-RL. RFT trains on the model's best rollouts; the second RL round ended above the first.

    Prelude 9B
  4. Evaluation

    BFCL v4, τ²-bench and general benchmarks at every checkpoint, against open models of the same size.

    Technical details

    BFCL v4, τ²-bench (pass^1, 4 trials), IFEval, MMLU-Pro, LiveBench and WorldSense, tracked per checkpoint.

    Prelude vs Qwen3-8B
  5. Serving

    Multi-node inference with vLLM, SGLang and TGI on HPC clusters. I also built Magma to automate these jobs.

    Technical details

    vLLM, SGLang and TGI across nodes on HPC, with jobs launched through Magma on SLURM.

    Magma · 7k+ runs a year

Research & Engineering

The areas I work in, from data to deployment.

LLM post-training and reinforcement learning
SFT, on-policy multi-turn RL (REINFORCE++, GRPO, GSPO) and rejection-sampling fine-tuning with NeMo-RL.
Tool use and agentic systems
Multi-turn function calling, web search and memory agents, trained against simulated users and tool environments.
Reward modeling and verifiable rewards
Deterministic rewards checked by code, LLM judges where code cannot decide, and reward designs that resist hacking.
Evaluation and benchmarking
BFCL v4, τ²-bench, IFEval, MMLU-Pro and LiveBench at every checkpoint, against open models of the same size.
Distributed training and HPC
Multi-node training and serving on MareNostrum 5 with SLURM, Singularity, vLLM, SGLang and TGI.
Data engineering for LLMs
Synthetic multi-turn data from prompts and traces, filtering and distillation, and licence audits of open datasets.

I'm Ankush Raj Devi, an AI Research Engineer at the Barcelona Supercomputing Center (BSC) since 2024.

I work across the whole life of a model: post-training large language models (I led function calling for ALIA 40B; adding reasoning took BFCL from 20% to 40%), serving them on multi-node clusters, and building retrieval and agent systems on top.

Now
AI Research Engineer, Barcelona Supercomputing CenterSince March 2024
Education
B.S. in Computer Science, UPC, 2020–2024
Languages
Spanish, Catalan, English, Hindi, Punjabi

Let's build something great.

Open to research collaborations and AI engineering opportunities.

Based in Barcelona