502 indicates), see Inference errors.
GPU performance issues
Compare GPU metrics with response time, request volume, concurrent requests, and replica counts over the same period.High temperature and degraded performance
High temperature with rising latency or falling throughput can indicate thermal throttling. Compare temperature, latency, and throughput with your deployment’s usual readings at similar load on the same GPU type.- Check recent changes to batching, concurrency, sequence length, and request volume. Use event overlays to check whether configuration changes coincide with the performance regression.
- Temporarily reduce incoming load or per-replica concurrency if latency or throughput degrades. Reducing concurrency can increase queueing, so monitor end-to-end response time.
- If temperature and performance remain abnormal at normal load, contact Baseten Support. Include the deployment ID, GPU type, affected time range, and latency and temperature trends so support can investigate the hardware.
Identify GPU bottlenecks
Compare GPU memory bandwidth utilization and tensor core utilization with latency and throughput. Use the patterns below to choose what to profile before changing your workload.High memory bandwidth utilization with low tensor core utilization
Memory transfers may limit performance. For example, large language model (LLM) decoding with small batches repeatedly reads model weights and can leave compute capacity unused. Confirm the bottleneck with a GPU profiler before choosing an optimization. The roofline diagrams plot compute performance against arithmetic intensity: floating-point operations (FLOPs) per byte transferred. Performance is measured in trillions of FLOPs per second (TFLOP/s). The sloped line represents the memory bandwidth limit; the horizontal line represents the compute limit. These diagrams use illustrative values, not measured performance. See NVIDIA’s roofline guide for details.High tensor core utilization with high latency
Compute may limit performance. For example, processing long prompts during LLM prefill can involve kernels that require substantial computation. Profile expensive operations, then test precision or kernel optimizations supported by your model and runtime.Low memory bandwidth and tensor core utilization with high latency
Investigate CPU preprocessing, request queueing, network transfers, synchronization, and insufficient batching. GPU metrics alone can’t distinguish these causes.High memory bandwidth and tensor core utilization
Compare utilization over time with profiler measurements for individual kernels and inference phases. High averages can combine activity from different kernels, phases, or replicas; they don’t establish that both resources limit a single kernel.Model I/O issues
Error: JSONDecodeError
Model version issues
Error: No OracleVersion matches the given query
Authentication issues
Error: Service provider not found
~/.trussrc is incomplete or incorrect. It should be formatted as follows:
Error: You have to log in to perform the request
baseten model predict when the API key is missing or incorrect. To fix it, sign in again with baseten auth login. With the Truss CLI, update your API key in the ~/.trussrc file.
Error: Please check the API key you provided
curl or similar to call the model through its API endpoint when the API key passed in the request header is not valid. Make sure you’re using a valid API key then try again.