ML Research Engineer, Performance Optimization
$148k - $240k • Cambridge, MA USA; San Francisco, CA USA • Full-time
Posted 22d ago
About the job
Lila Sciences is building a platform where AI and automation co-evolve to accelerate scientific discovery. The AI Research team is seeking an ML Research Engineer to enhance iteration speed for mid- and post-training runs on large-scale LLMs using advanced NVIDIA hardware. This role involves optimizing GPU utilization, ensuring optimizations are maintainable and adaptable, and empowering the research team to confidently use the latest optimized technology stack.
Responsibilities
- Optimize GPU compute performance through profiling, kernel development, long-context handling, and memory footprint reduction.
- Enhance GPU cluster performance by optimizing collective/MoE frameworks, overlapping communication and computation, and utilizing RDMA/IB/EFA.
- Manage and optimize mid-training scale data across storage, streaming, tokenization, and processing.
- Optimize the asynchronous RL cycle, including environment interfacing, long rollout handling, large token metadata management, and weight synchronization.
- Establish performance standards by ensuring optimized configurations are tested, accessible, and adaptable for research tasks.
- Communicate with researchers to establish optimal throughput/accuracy tradeoffs, considering factors like lower-precision compute and higher async staleness.
Requirements
- BS/MS in Computer Science or related quantitative field with 4+ years as a software/ML engineer, or a PhD with 1+ years of work experience.
- Experience with LLM inference libraries (e.g., vLLM) and training libraries (e.g., Megatron) with a focus on throughput optimization.
- Experience running LLM inference and/or training at scale across multi-node GPU clusters.
- Familiarity with core concepts in reinforcement learning.
- Demonstrated software engineering excellence, including clean APIs, well-tested code, and thoughtful abstractions.
- Hands-on experience supporting and maintaining production libraries for other engineers and researchers.
- Strong CI/CD skills, including designing integration test suites, build pipelines, and automated quality gates.
- Awareness of cutting-edge approaches in LLM tool use and autonomy.
Benefits
- Competitive base compensation with bonus potential
- Generous early-stage equity
- Comprehensive medical, dental, and vision coverage
- Employer-paid life and disability insurance
- Flexible time off with generous company-wide holidays
- Paid parental leave
- Educational assistance program
- Commuter benefits including bike share memberships
- Company-subsidized lunch program
