New: upload your resume and get matched to AI jobs. Free to start →

Intern, ML Compiler (Kernel Auto-Tuning)

$28k - $68k • San Jose, California, United States • Internship

Posted 19d ago

Job Location

San Jose, California, United States

Tech Stack

Remote Work Policy

On-site

Employment Type

Internship

Categories

Machine Learning Engineer

About the job

Our ML Compiler team develops software to run PyTorch models on Samsung's compute-near-memory AI accelerator. This includes a PyTorch device and compiler backend, a Triton-based kernel compiler, and an LLVM backend. We collaborate closely with runtime and hardware teams, as well as the PyTorch and Triton open-source communities. Over the summer, you will take ownership of a project to optimize PyTorch models on new memory-centric hardware, from initial research to code implementation and measurement. This role offers a unique opportunity to learn about performance optimization for specialized hardware, PyTorch compiler internals, and LLM inference kernel benchmarking.

Responsibilities

  • Design a search space for Triton kernel configurations on the accelerator, including tile sizes, launch-grid mapping, on-chip buffer budgets, and load style.
  • Build legality rules with compiler engineers to prune invalid or memory-exceeding configurations.
  • Develop a kernel cost model calibrated against simulators and profilers to rank candidate configurations.
  • Build a reliable benchmarking harness and a persistent tuning cache to manage tuning costs.
  • Integrate the tuner with the torch.compile Inductor autotuning path and Triton's autotuner.
  • Extend tuning to data placement by tuning kernels for specific tensor layouts and exporting tuned costs for placement passes.
  • Measure kernel-level and end-to-end LLM inference gains and present results.
  • Collaborate with PyTorch and Triton developers on upstream autotuning hooks and deliver documented, tested code.
  • Complete other assigned responsibilities.

Requirements

  • Pursuing a Masters or PhD in Computer Science, Computer Engineering, or Electrical Engineering (PhD preferred).
  • Must have at least one academic quarter/semester remaining.
  • Strong Python and C++ skills.
  • Experience writing or tuning Triton kernels or working with PyTorch compiler internals (torch.compile, FX, Inductor).
  • Grounding in compilers or performance engineering, including IR and passes, cost models, roofline analysis, and profiling.
  • Preferred: auto-tuning or auto-sharding experience (e.g., TVM/Ansor, Halide autoscheduler, Kernel Tuner, Alpa, GSPMD), or search methods like Bayesian optimization or ILP.
  • Preferred: MLIR/LLVM back ends, scratchpad or near-memory architectures, LLM inference kernels, or contributions to open-source PyTorch/Triton.
  • Demonstrated inclusivity, curiosity, resilience, collaboration, and innovation.

Benefits

  • Relocation support stipend for employees moving 50+ miles.
  • Housing stipend for summer interns.
  • Charitable giving match.
  • On-demand emotional wellness apps and paid therapy sessions.
  • Onsite café and gym, plus virtual classes.
  • Flexible work environment.
  • Medical/Dental/Vision insurance.

About Samsung Semiconductor