Software Engineer - Model Performance Systems
Software engineeringPosted over 2 months agofrom Baseten's own hiring page
- Work type
- RemoteIn the US and Canada
- Experience
- Not stated
- Pay
- $165k–330k a year
- Posted
- Over 2 months agoOpen 11 months
Skills it mentions
Add your skills to see which ones you have.
About the job
ABOUT BASETEN
Baseten powers mission-critical inference for the world's most dynamic AI companies, like Cursor, Notion, OpenEvidence, Abridge, Clay, Gamma, and Writer. By uniting applied AI research, flexible infrastructure, and seamless developer tooling, we enable companies operating at the frontier of AI to bring cutting-edge models into production. We're growing quickly and recently raised our $3B Series G, led by Sands Capital and Altimeter Capital. Join us and help build the platform engineers turn to ship AI products.
THE ROLE
We are looking for Software Engineers to join our team. This is a specialized, high-impact role sitting at the intersection of high-performance computing (HPC) and Large Language Model (LLM) engineering. You will not just be building the automated "speedometer and diagnostic" suite for our next-generation AI infrastructure; you will be defining the roadmap, driving key technical decisions, and taking full ownership of the future of this work.
RESPONSIBILITIES
Benchmarking: Evaluate, run and automate standard LLM quality benchmarks (GSM8K, MMLU) alongside custom performance suites for specific workloads (e.g., long-context window, KV cache reuse, disaggregated serving).
DevEx Improvement: Develop and maintain internal GPU-enabled development environments (similar to GitHub Codespaces). You will ensure the team has seamless, high-performance "dev machines" optimized for model experimentation.
Tool Development: Build and contribute to open-source tools such as InferenceMAX and genai-bench to automate model evaluation, benchmarking and analysis.
System Profiling: Use profilers like PyTorch Profiler, NVIDIA Nsight Systems and py-spy to collect performance profiles, identify bottlenecks, and debug the compute/networking stack.
Monitoring & Observability: Develop real-time dashboards and alerts to monitor system health, model startup times, and runtime performance.
Continuous Integration: Automate performance testing via CI/CD pipelines to catch regressions and build release workflow automation for the model runtimes stack.
Optimization Automation: Build tools to find the "Pareto frontier"—identifying the absolute best configuration (latency vs. cost vs. quality) for a given model and workload.
REQUIREMENTS
This is a mid-senior, high leverage role. We care about your technical depth, strong communication skills to drive cross-team efforts, ability to navigate vague requirements and mentor other engineers. We want to talk to you if you have:
A Love for Systems & Hardware: You aren’t just interested in the AI; you want to understand GPU memory subsystems, InfiniBand, and how data moves across a cluster.
An Automation Mindset: You believe that if a task has to be done twice, it should be scripted. You have a passion for stress-testing and fuzzy testing to find the "breaking point" of a system.
Mathematical Curiosity: A desire to understand the underlying math of Transformers and how it translates into FLOPs and memory requirements.
Technical Toolkit: Familiarity with Python, and an eagerness to master the NVIDIA software stack. C++ familiarity is good to have.
WHY THIS ROLE
Direct Impact: Your tools will be the gatekeeper for what defines "good" performance for our customers.
Deep Learning (Literally): You will gain world-class expertise in GPU orchestration and LLM inference that few engineers in the industry possess.
High Ownership: As the lead of a small team, you will have the autonomy to build tools from scratch and contribute to open-source projects.
BENEFITS
Competitive salary and meaningful equity
Private medical insurance for you and your dependents
Workplace pension
Enhanced maternity, paternity, and shared parental leave
Apply now to embark on a rewarding journey in shaping the future of AI! If you are a motivated individual with a passion for machine learning and a desire to be part of a collaborative and forward-thinking team, we would love to hear from you.
At Baseten, we are committed to fostering a diverse and inclusive workplace. We welcome applications from everyone and do not discriminate on the basis of age, disability, gender reassignment, marriage or civil partnership, pregnancy or maternity, race, religion or belief, sex, or sexual orientation. If you need any adjustments during the application or interview process, please let us know.
Interested?Software Engineer - Model Performance Systems at Baseten
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on LLMs and GenAI, CI/CD, PyTorch and 4 more
Interview questions for this job
For the skills the ad mentions: LLMs and GenAI, CI/CD, PyTorch, Networking, Python, C++ and Deep learning.
What is the purpose of masked self-attention in the Transformer decoder?LLMs and GenAI
During output generation, masked self-attention in the decoder prevents the model from looking ahead by blocking access to future tokens during generation. This means that when predicting a token, the model is restricted to attending only to the tokens that come before it in the sequence.
This ensures (i) auto-regressive behavior, allowing the model to generate text one token at a time, and (ii) the model learns to make predictions based solely on past context, maintaining the integrity and correctness of language modeling.
☕ Support the Author
From LLM Interview Questions and Answers Hub (Apache 2.0)
What are the advantages of using Jenkins over Hudson?CI/CD
Number of commits.
Jenkins is a fork of Hudson (as commented here) but has a more active development, Hudson's last commit is quite old. And look at Hudson's open bugs
From DevOps Stack Exchange: asked by kenorb, answered by Jose Beneyto (CC BY-SA 3.0)
Why do we call .detach() before calling .numpy() on a Pytorch Tensor?PyTorch
I think the most crucial point to understand here is the difference between a
torch.tensorandnp.ndarray:
While both objects are used to store n-dimensional matrices (aka "Tensors"),torch.tensorshas an additional "layer" - which is storing the computational graph leading to the associated n-dimensional matrix.So, if you are only interested in efficient and easy way to perform mathematical operations on matrices
np.ndarrayortorch.tensorcan be used interchangeably.However,
torch.tensors are designed to be used in the context of gradient descent optimization, and therefore they hold not only a tensor with numeric values, but (and more importantly) the computational graph leading to these values. This computational graph is then used (using the chain rule of derivatives) to compute the derivative of the loss function w.r.t each of the independent variables used to compute the loss.As mentioned before,
np.ndarrayobject does not have this extra "computational graph" layer and therefore, when converting atorch.tensortonp.ndarrayyou must explicitly remove the computational graph of the tensor using thedetach()command.Computational Graph
From your comments it seems like this concept is a bit vague. I'll try and illustrate it with a simple example.
Consider a simple function of two (vector) variables,xandw:x = torch.rand(4, requires_grad=True) w = torch.rand(4, requires_grad=True) y = x @ w # inner-product of x and w z = y ** 2 # square the inner productIf we are only interested in the value of
z, we need not worry about any graphs, we simply moving forward from the inputs,xandw, to computeyand thenz.However, what would happen if we do not care so much about the value of
z, but rather want to ask the question "what iswthat minimizeszfor a givenx"?
To answer that question, we need to compute the derivative ofzw.r.tw.
How can we do that?
Using the chain rule we know thatdz/dw = dz/dy * dy/dw. That is, to compute the gradient ofzw.r.twwe need to move backward fromzback towcomputing the gradient of the operation at each step as we trace back our steps fromztow. This "path" we trace back is the computational graph ofzand it tells us how to compute the derivative ofzw.r.t the inputs leading toz:z.backward() # ask pytorch to trace back the computation of zWe can now inspect the gradient of
zw.r.tw:w.grad # the resulting gradient of z w.r.t w tensor([0.8010, 1.9746, 1.5904, 1.0408])Note that this is exactly equals to
2*y*x tensor([0.8010, 1.9746, 1.5904, 1.0408], grad_fn=<MulBackward0>)since
dz/dy = 2*yanddy/dw = x.Each tensor along the path stores its "contribution" to the computation:
z tensor(1.4061, grad_fn=<PowBackward0>)Read the rest at the sourceFrom Stack Overflow: asked by Josiah Yoder, answered by Shai (CC BY-SA 4.0)
Why do we need a 3-way handshake? Why not just 2-way?Networking
Break down the handshake into what it is really doing.
In TCP, the two parties keep track of what they have sent by using a Sequence number. Effectively it ends up being a running byte count of everything that was sent. The receiving party can use the opposite speaker's sequence number to acknowledge what it has received.
But the sequence number doesn't start at 0. It starts at the ISN (Initial Sequence Number), which is a randomly chosen value. And since TCP is a bi-directional communication, both parties can "speak", and therefore both must randomly generate an ISN as their starting Sequence Number. Which in turn means, both parties need to notify the other party of their starting ISN.
So you end up with this sequence of events for a start of a TCP conversation between Alice and Bob:
Alice ---> Bob SYNchronize with my Initial Sequence Number of X Alice <--- Bob I received your syn, I ACKnowledge that I am ready for [X+1] Alice <--- Bob SYNchronize with my Initial Sequence Number of Y Alice ---> Bob I received your syn, I ACKnowledge that I am ready for [Y+1]Notice, four events are occurring:
- Alice picks an ISN and SYNchronizes it with Bob.
- Bob ACKnowledges the ISN.
- Bob picks an ISN and SYNchronizes it with Alice.
- Alice ACKnowledges the ISN.
In actuality though, the middle two events (#2 and #3) happen in the same packet. What makes a packet a
SYNorACKis simply a binary flag turned on or off inside each TCP header, so there is nothing preventing both of these flags from being enabled on the same packet. So the three-way handshake ends up being:Bob <--- Alice SYN Bob ---> Alice SYN ACK Bob <--- Alice ACKNotice the two instances of "SYN" and "ACK", one of each, in both directions.
So to come back to your question, why not just use a two-way handshake? The short answer is because a two way handshake would only allow one party to establish an ISN, and the other party to acknowledge it. Which means only one party can send data.
But TCP is a bi-directional communication protocol, which means either end ought to be able to send data reliably. Both parties need to establish an ISN, and both parties need to acknowledge the other's ISN.
So in effect, what you have is exactly your description of the two-way handshake, but in each direction. Hence, four events occurring. And again, the middle two flags happen in the same packet. As such three packets are involved in a full TCP connection initiation process.
From Network Engineering Stack Exchange: asked by smwikipedia, answered by Eddie (CC BY-SA 3.0)
How do I modify a string in place?Python
You can’t, because strings are immutable. In most situations, you should simply construct a new string from the various parts you want to assemble it from. However, if you need an object with the ability to modify in-place Unicode data, try using an
io.StringIOobject or thearraymodule:>>> import io >>> s = "Hello, world" >>> sio = io.StringIO(s) >>> sio.getvalue() 'Hello, world' >>> sio.seek(7) 7 >>> sio.write("there!") 6 >>> sio.getvalue() 'Hello, there!' >>> import array >>> a = array.array('w', s) >>> print(a) array('w', 'Hello, world') >>> a[0] = 'y' >>> print(a) array('w', 'yello, world') >>> a.tounicode() 'yello, world'From Python Frequently Asked Questions (PSF License Version 2)
Do you have any weaknesses?Behavioural
You should be honest when answering questions on your weaknesses. Say how you're working to improve them.
ExampleQuestion - "Do you have any weaknesses?"
Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Member of Technical StaffClera, San Francisco Bay Area, on-siteToday
- Software Engineer II, Warehouse Management SystemsFlexport, Seattle, on-siteYesterday
- Software Engineer, Safety Data FlywheelOpenAI, Remote, San Francisco Bay AreaYesterday
- Senior Staff Software EngineerFivetran, San Francisco Bay Area, hybridYesterday
More like this: Software engineer jobs in New York (301), Jobs in New York (6,234), Software engineer jobs in the USA (1,765) and Remote Software engineer jobs in the USA (709)



