---
title: "Python (hard)"
description: "Python language, ecosystem or tooling"
url: "https://swe.quest/tags/python?difficulty=hard&per=48"
---

# Python (hard)

Topic in Languages: Python language, ecosystem or tooling

By difficulty: [Easy](https://swe.quest/tags/python.md?difficulty=easy) · [Medium](https://swe.quest/tags/python.md?difficulty=medium) · [Hard](https://swe.quest/tags/python.md?difficulty=hard)

Posts 1–48 of 52, page 1 of 2, newest first.

## 2026-11-27

- [Taking Trainium3 to the Track: Generating Videos with LTX-2.5](https://swe.quest/articles/taking-trainium3-to-the-track-generating-videos-with-ltx-2-5-b0838d9918a36e17.md): Hugging Face · 2026-11-27 · Hard · 14 min read · Inference & serving, Performance engineering, Hardware, Video & media, Python
  LTX-2.5 video-with-audio generation was ported to AWS Trainium3 via diffusers, cutting a 10-second clip from 5 min 20 s at 960×544 to 22–23 s at 2048×1024 on 32 of 64 NeuronCores, roughly matching LTX's paid API.

## 2026-11-11

- [Token Pooling-Aware Training for Multi-Vector Embedding Models](https://swe.quest/articles/token-pooling-aware-training-for-multi-vector-embedding-models-0e5234acf2e85460.md): Hugging Face · 2026-11-11 · Hard · 12 min read · Search, Model training, Machine learning, Python
  Pooling-aware training teaches a multi-vector (ColBERT-style) encoder to keep retrieval-relevant information when document token vectors are merged by Ward hierarchical clustering, improving quality at a fixed storage budget.

## 2026-10-19

- [Introducing ModuleLens: Zooming into PyTorch Modules for Human and Agentic Engineering](https://swe.quest/articles/introducing-modulelens-zooming-into-pytorch-modules-for-human-and-agentic-8767bb31b4979135.md): Pinterest Engineering · 2026-10-19 · Hard · 5 min read · ML platforms, Python, Developer productivity, AI agents, Recommendations & ranking
  ModuleLens lets Pinterest ML engineers capture any PyTorch module from a sharded multi-GPU recommendation model and rebuild it locally within seconds, replacing full-model initialization with a "module-first" workflow.

## 2026-09-30

- [How we built an async-aware Python profiler](https://swe.quest/articles/how-we-built-an-async-aware-python-profiler-fed39ce25f0b2b85.md): Datadog Engineering · 2026-09-30 · Hard · 18 min read · Python, Performance engineering, Concurrency, Observability, Runtimes & VMs
  Datadog's Python profiler now reconstructs parent-child relationships between asyncio tasks so flame graphs show "stacked stacks": the logical application path rather than independent per-task stacks.
- [Trading off compute for memory with activation checkpointing](https://swe.quest/articles/trading-off-compute-for-memory-with-activation-checkpointing-1f2b8d13685e738d.md): Jane Street Tech Blog · 2026-09-30 · Hard · 9 min read · Model training, Memory management, Compilers, Performance engineering, Python
  A whole-graph activation checkpointing planner for torch.compile takes an absolute GB memory budget and greedily drops min-cut saves with the cheapest recompute cost per byte of peak memory freed.

## 2026-07-23

- [Bringing Nunchaku 4-bit Diffusion Inference to Diffusers](https://swe.quest/articles/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-c0f307e158fa29ca.md): Hugging Face · 2026-07-23 · Hard · 11 min read · Inference & serving, Performance engineering, Python, Hardware
  Diffusers can now load SVDQuant/Nunchaku 4-bit (W4A4) diffusion checkpoints natively via from\_pretrained(), with CUDA kernels fetched from the Hub through the kernels package instead of compiled locally.

## 2026-07-08

- [Native-speed vLLM transformers modeling backend](https://swe.quest/articles/native-speed-vllm-transformers-modeling-backend-cb3f698fe9046ce3.md): Hugging Face · 2026-07-08 · Hard · 5 min read · Inference & serving, LLMs, Performance engineering, Python
  The transformers modeling backend in vLLM now matches or beats vLLM's hand-written native implementations in throughput.

## 2026-06-29

- [Leveraging PyFixest for High-Cardinality Marketplace Modeling at Instacart](https://swe.quest/articles/leveraging-pyfixest-for-high-cardinality-marketplace-modeling-at-instacart-51b7ebdb06241104.md): Instacart Tech · 2026-06-29 · Hard · 13 min read · Python, Algorithms, Performance engineering, Scientific computing
  Controlling for high-cardinality fixed effects (e.g. thousands of regions, shoppers or customers) makes standard OLS intractable, because each dummy variable expands the Gram matrix and matrix inversion scales as O(k³).

## 2026-06-24

- [Accelerating Transformers Fine-Tuning with NVIDIA NeMo AutoModel](https://swe.quest/articles/accelerating-transformers-fine-tuning-with-nvidia-nemo-automodel-c196d721b8de0a9a.md): Hugging Face · 2026-06-24 · Hard · 10 min read · Model training, Performance engineering, LLMs, Python
  NeMo AutoModel subclasses Transformers v5's AutoModelForCausalLM and adds Expert Parallelism as a dedicated mesh orthogonal to data parallelism, DeepEP fused all-to-all dispatch, and TransformerEngine kernels.

## 2026-06-15

- [Using OxCaml to implement type-safe reference counting between OCaml and Python](https://swe.quest/articles/using-oxcaml-to-implement-type-safe-reference-counting-between-ocaml-and-python-6289aa53698f2fb6.md): Jane Street Tech Blog · 2026-06-15 · Hard · 12 min read · Functional programming, Memory management, Type systems, Python
  Wrapping Python objects as OCaml values in PyOCaml ties each object's release to the OCaml GC finalizer, so large data frames or GPU buffers can stay alive long after Python code drops them.

## 2026-06-11

- [Profiling in PyTorch (Part 2): From nn.Linear to a Fused MLP](https://swe.quest/articles/profiling-in-pytorch-part-2-from-nn-linear-to-a-fused-mlp-9b220b5d3b1f868e.md): Hugging Face · 2026-06-11 · Hard · 19 min read · Performance engineering, Python, Machine learning, Compilers
  Profiling an nn.Linear on an A100 shows a single cuBLAS/CUTLASS GEMM kernel with the bias folded in as an epilogue via aten::addmm, while aten::t only rewrites strides on the CPU and launches nothing.

## 2026-05-29

- [How Together AI built the world’s fastest speech-to-text stack](https://swe.quest/articles/how-together-ai-built-the-world-s-fastest-speech-to-text-stack-b5ccd6ddea6a414d.md): Together AI · 2026-05-29 · Hard · 7 min read · Inference & serving, Speech & audio, Performance engineering, Python, Linux
  Speech-to-text serving is a full-path systems problem, because ASR models are small while audio inputs are large and need heavy CPU preprocessing.

## 2026-05-04

- [Boosting multimodal inference performance by \>10% with a single Python dictionary](https://swe.quest/articles/boosting-multimodal-inference-performance-by-10-with-a-single-python-dictionary-89ba3b03f48e9ebc.md): Modal · 2026-05-04 · Hard · 7 min read · Inference & serving, Performance engineering, Python, Caching
  SGLang's single-threaded scheduler was wasting host time on multimodal workloads by calling torch.UntypedStorage.\_new\_shared\_cuda for every tensor received over CUDA IPC, repeatedly reopening the same few memory-pool handles.

## 2026-02-26

- [Mixture of Experts (MoEs) in Transformers](https://swe.quest/articles/mixture-of-experts-moes-in-transformers-670e279baa41a80a.md): Hugging Face · 2026-02-26 · Hard · 10 min read · Inference & serving, LLMs, Model training, Performance engineering, Python
  Hugging Face transformers v5 reworks its internals to treat Mixture of Experts models as first-class: a WeightConverter pipeline packs per-expert checkpoint tensors into contiguous runtime tensors with async, lazy materialization, cutting Qwen1.5-110B load time from ~66s to ~21s (10s with tensor parallelism) on an A100.

## 2025-11-25

- [Diffusers welcomes FLUX-2](https://swe.quest/articles/diffusers-welcomes-flux-2-7cb4762bf1303faf.md): Hugging Face · 2025-11-25 · Hard · 21 min read · Inference & serving, Computer vision, Model training, Python
  FLUX.2 from Black Forest Labs is a new image generation and editing model, not a drop-in replacement for Flux.1.

## 2025-11-19

- [chDB Kernel Upgrade Journey: Upgrading ClickHouse to v25.8.2.29](https://swe.quest/articles/chdb-kernel-upgrade-journey-upgrading-clickhouse-to-v25-8-2-29-3cca5f2ad115d794.md): ClickHouse · 2025-11-19 · Hard · 16 min read · Memory management, C & C++, Python, Analytics & OLAP, Performance engineering
  Upgrading chDB's embedded ClickHouse kernel from v25.5 to v25.8.2.29 surfaced allocator conflicts rooted in chDB's dual-library design: a stable-ABI \`\_chdb.abi3.so\` holding the ~120MB engine plus small per-Python-version pybind11 binding libraries.

## 2025-09-11

- [Tricks from OpenAI gpt-oss YOU 🫵 can use with transformers](https://swe.quest/articles/tricks-from-openai-gpt-oss-you-can-use-with-transformers-aad70bf42c0bd3ff.md): Hugging Face · 2025-09-11 · Hard · 15 min read · Inference & serving, LLMs, Python, Performance engineering
  Hugging Face upgraded transformers to support OpenAI's gpt-oss models, and most of the new features carry over to other models.

## 2025-08-08

- [Accelerate ND-Parallel: A guide to Efficient Multi-GPU Training](https://swe.quest/articles/accelerate-nd-parallel-a-guide-to-efficient-multi-gpu-training-b84f16c2d8888d39.md): Hugging Face · 2025-08-08 · Hard · 18 min read · Model training, Distributed systems, Python
  Accelerate's ParallelismConfig, also exposed through Axolotl config fields, lets you compose data parallelism, FSDP, tensor parallelism and context parallelism in one training setup.

## 2025-08-07

- [Vision Language Model Alignment in TRL ⚡️](https://swe.quest/articles/vision-language-model-alignment-in-trl-e64e05c10318c68f.md): Hugging Face · 2025-08-07 · Hard · 12 min read · Model training, LLMs, Computer vision, Python
  TRL adds vision language model support for several alignment methods.

## 2025-08-05

- [Speed with Rigor: testing smarter with group sequential design](https://swe.quest/articles/speed-with-rigor-testing-smarter-with-group-sequential-design-da7a9a6fe71fd881.md): OLX Tech · 2025-08-05 · Hard · 11 min read · Python
  Group sequential testing (GST) lets A/B experiments be checked at predefined interim stages without the false positive inflation caused by peeking.

## 2025-07-23

- [Fast LoRA inference for Flux with Diffusers and PEFT](https://swe.quest/articles/fast-lora-inference-for-flux-with-diffusers-and-peft-adf61d95e12cb0a4.md): Hugging Face · 2025-07-23 · Hard · 9 min read · Inference & serving, Performance engineering, Computer vision, Python
  Combining Flash Attention 3, torch.compile and TorchAO FP8 quantization with PEFT's LoRA hotswapping speeds up Flux.1-Dev LoRA inference by 2.23x on an H100, and swapping adapters does not trigger recompilation.

## 2025-06-19

- [(LoRA) Fine-Tuning FLUX.1-dev on Consumer Hardware](https://swe.quest/articles/lora-fine-tuning-flux-1-dev-on-consumer-hardware-310a6094e7391e33.md): Hugging Face · 2025-06-19 · Hard · 11 min read · Model training, Computer vision, Python
  FLUX.1-dev can be LoRA fine-tuned on a single consumer GPU by combining QLoRA (4-bit NF4 base transformer via bitsandbytes), 8-bit AdamW, gradient checkpointing, cached VAE latents and precomputed CLIP/T5 text embeddings, so that only the quantized transformer plus adapters sit in GPU memory.

## 2025-05-15

- [Falcon-Edge: A series of powerful, universal, fine-tunable 1.58bit language models.](https://swe.quest/articles/falcon-edge-a-series-of-powerful-universal-fine-tunable-1-58bit-language-models-3708dd89aa2b35cd.md): Hugging Face · 2025-05-15 · Hard · 9 min read · Model training, LLMs, Inference & serving, Python
  Falcon-Edge is a set of 1B and 3B ternary (1.58-bit) BitNet language models, in base and instruct variants, pre-trained on about 1.5T tokens with a WSD learning-rate schedule and reported competitive with similarly sized models on Hugging Face leaderboard benchmarks.

## 2025-02-04

- [π0 and π0-FAST: Vision-Language-Action Models for General Robot Control](https://swe.quest/articles/0-and-0-fast-vision-language-action-models-for-general-robot-control-ed64bebcaa563b57.md): Hugging Face · 2025-02-04 · Hard · 11 min read · Machine learning, Model training, Computer vision, Python
  Physical Intelligence's π0 and π0-FAST vision-language-action models are now ported to PyTorch in Hugging Face LeRobot, with commands for inference and fine-tuning. π0 adds state and action tokens to a PaliGemma-style prefix and generates 50Hz action trajectories via flow matching.

## 2025-01-31

- [Mini-R1: Reproduce Deepseek R1 „aha moment“ a RL tutorial](https://swe.quest/articles/mini-r1-reproduce-deepseek-r1-aha-moment-a-rl-tutorial-a09c9653360cce5a.md): Hugging Face · 2025-01-31 · Hard · 15 min read · Model training, LLMs, Python
  Recreates DeepSeek R1's "aha moment" by training Qwen2.5-3B-Instruct with GRPO on the Countdown numbers game, using rule-based format and accuracy rewards in TRL with DeepSpeed ZeRO-3 and vLLM generation on 4x H100s.

## 2025-01-15

- [Train 400x faster Static Embedding Models with Sentence Transformers](https://swe.quest/articles/train-400x-faster-static-embedding-models-with-sentence-transformers-9f174d4b1294477b.md): Hugging Face · 2025-01-15 · Hard · 39 min read · Model training, Machine learning, Search, Python, Performance engineering
  Static embedding models, which replace the attention-based encoder with a token embedding lookup plus mean pooling (an EmbeddingBag), can be trained with modern contrastive losses and Matryoshka Representation Learning to run 100x to 400x faster on CPU than models like all-mpnet-base-v2 and multilingual-e5-small, while keeping at least 85% of their benchmark quality.

## 2024-08-21

- [Improving Hugging Face Training Efficiency Through Packing with Flash Attention 2](https://swe.quest/articles/improving-hugging-face-training-efficiency-through-packing-with-flash-attention-0e7b5058677254df.md): Hugging Face · 2024-08-21 · Hard · 5 min read · Model training, LLMs, Performance engineering, Python
  Hugging Face Transformers now supports padding-free packing of instruction-tuning examples with Flash Attention 2 via the new DataCollatorWithFlattening, which concatenates sequences and passes position\_ids so flash\_attn\_varlen\_func respects example boundaries and avoids cross-example attention.

## 2024-07-10

- [Preference Optimization for Vision Language Models](https://swe.quest/articles/preference-optimization-for-vision-language-models-a84799e96613bf21.md): Hugging Face · 2024-07-10 · Hard · 11 min read · Model training, Computer vision, LLMs, Python
  TRL now supports direct preference optimization (DPO) for vision language models, trained on chosen/rejected answer pairs rather than fixed labels.

## 2024-06-13

- [From DeepSpeed to FSDP and Back Again with Hugging Face Accelerate](https://swe.quest/articles/from-deepspeed-to-fsdp-and-back-again-with-hugging-face-accelerate-15016dbd4b4a46b2.md): Hugging Face · 2024-06-13 · Hard · 6 min read · Model training, Machine learning, Python
  DeepSpeed ZeRO-3 and PyTorch FSDP gave different training results on Mistral-7B loaded in bfloat16 because DeepSpeed silently upcasts flattened parameters and optimizer state to fp32, while FSDP keeps them in the loaded dtype.

## 2024-06-12

- [Putting RL back in RLHF](https://swe.quest/articles/putting-rl-back-in-rlhf-dbdbc5d62840e65d.md): Hugging Face · 2024-06-12 · Hard · 11 min read · Model training, LLMs, Python
  RLOO (REINFORCE Leave-One-Out) is now available as a trainer in Hugging Face TRL.

## 2024-03-20

- [GaLore: Advancing Large Model Training on Consumer-grade Hardware](https://swe.quest/articles/galore-advancing-large-model-training-on-consumer-grade-hardware-1747480276ec0047.md): Hugging Face · 2024-03-20 · Hard · 7 min read · Model training, LLMs, Python
  GaLore cuts LLM training memory by projecting gradients into a low-rank subspace before the optimizer sees them, reporting over 82.5% reduction in optimizer-state memory and enabling 7B Llama-style models to train on a single RTX 4090.

## 2023-10-24

- [The N Implementation Details of RLHF with PPO](https://swe.quest/articles/the-n-implementation-details-of-rlhf-with-ppo-ed05a4d20cc991ad.md): Hugging Face · 2023-10-24 · Hard · 24 min read · Model training, LLMs, Python, Machine learning
  A from-scratch PyTorch reproduction of OpenAI's 2019 lm-human-preferences RLHF codebase closely matches the original learning curves on stylistic tasks like sentiment and descriptiveness.

## 2023-09-29

- [chDB - A Rocket Engine on a Bicycle](https://swe.quest/articles/chdb-a-rocket-engine-on-a-bicycle-951148e84c12126b.md): ClickHouse · 2023-09-29 · Hard · 9 min read · Analytics & OLAP, Memory management, C & C++, Python, Performance engineering
  chDB embeds the ClickHouse engine as an in-process Python module instead of shelling out to the 500MB clickhouse-local binary, using WriteBufferFromVector, Python memoryview and Pybind11 for zero-copy result retrieval.
- [Finetune Stable Diffusion Models with DDPO via TRL](https://swe.quest/articles/finetune-stable-diffusion-models-with-ddpo-via-trl-08d1757d4cd09bc2.md): Hugging Face · 2023-09-29 · Hard · 9 min read · Model training, Computer vision, Machine learning, Python
  Denoising Diffusion Policy Optimization (DDPO) fine-tunes diffusion models with reinforcement learning by treating the full denoising process as a multistep MDP.

## 2023-09-13

- [Fine-tuning Llama 2 70B using PyTorch FSDP](https://swe.quest/articles/fine-tuning-llama-2-70b-using-pytorch-fsdp-0e8dde34b4ad3fd0.md): Hugging Face · 2023-09-13 · Hard · 10 min read · Model training, LLMs, Hardware, Python
  Full fine-tuning of Llama 2 70B across two nodes of 8×A100 80GB GPUs with PyTorch FSDP, Hugging Face Accelerate, Transformers and TRL, addressing three obstacles.

## 2023-08-08

- [Fine-tune Llama 2 with DPO](https://swe.quest/articles/fine-tune-llama-2-with-dpo-68d2e917aae1caca.md): Hugging Face · 2023-08-08 · Hard · 7 min read · Model training, LLMs, Python
  Direct Preference Optimization (DPO) replaces the reward-model and RL steps of RLHF with a simple binary cross-entropy loss over preference pairs, using a frozen reference model to provide an implicit reward.

## 2023-06-16

- [Yes, Transformers are Effective for Time Series Forecasting (+ Autoformer)](https://swe.quest/articles/yes-transformers-are-effective-for-time-series-forecasting-autoformer-7c2e6db2d5fb67fd.md): Hugging Face · 2023-06-16 · Hard · 20 min read · Machine learning, Python, Evaluation
  Univariate Autoformer beats the DLinear linear model on Traffic (MASE 0.910 vs 0.965), Exchange-Rate (1.087 vs 1.690) and Electricity (0.751 vs 0.831) when compared at equivalent size and in the same setting, countering the AAAI 2023 claim that Transformers are ineffective for time series forecasting.

## 2023-04-05

- [StackLLaMA: A hands-on guide to train LLaMA with RLHF](https://swe.quest/articles/stackllama-a-hands-on-guide-to-train-llama-with-rlhf-9d42cc2a0ae4620b.md): Hugging Face · 2023-04-05 · Hard · 14 min read · Model training, LLMs, Machine learning, Python
  A 7B LLaMA model is trained to answer Stack Exchange questions with the full RLHF pipeline: supervised fine-tuning on packed Stack Exchange text, a pairwise reward model trained on upvote-derived preference scores, and PPO with a KL penalty against a frozen reference model.

## 2023-03-10

- [Multivariate Probabilistic Time Series Forecasting with Informer](https://swe.quest/articles/multivariate-probabilistic-time-series-forecasting-with-informer-6e926e78b9077796.md): Hugging Face · 2023-03-10 · Hard · 21 min read · Machine learning, Model training, Python
  Informer, the AAAI'21 best paper model now in Hugging Face Transformers, extends the vanilla Transformer for long-sequence time series forecasting with two changes: ProbSparse attention, which uses a query sparsity measurement on sampled keys to keep only the top c·log T "active" queries and cut attention cost from O(T²) to O(T log T), and a distilling step (Conv1d + ELU + MaxPool) that halves sequence length between encoder layers to reduce memory to O(N·T log T).

## 2023-03-09

- [Fine-tuning 20B LLMs with RLHF on a 24GB consumer GPU](https://swe.quest/articles/fine-tuning-20b-llms-with-rlhf-on-a-24gb-consumer-gpu-7ad6c7bb6c14c3cf.md): Hugging Face · 2023-03-09 · Hard · 11 min read · Model training, LLMs, Machine learning, Python
  Combining trl with peft and bitsandbytes makes RLHF fine-tuning of a 20B-parameter LLM feasible on a single 24GB consumer GPU.

## 2022-12-01

- [Probabilistic Time Series Forecasting with 🤗 Transformers](https://swe.quest/articles/probabilistic-time-series-forecasting-with-transformers-d4a4a66f913813a3.md): Hugging Face · 2022-12-01 · Hard · 19 min read · Machine learning, Model training, Python
  An encoder-decoder Transformer can be trained as a global probabilistic forecaster that learns across many related time series and outputs a distribution (Student-t by default) rather than point estimates, with forecasts sampled autoregressively.

## 2022-11-30

- [VQ-Diffusion](https://swe.quest/articles/vq-diffusion-60af6753b8809ca3.md): Hugging Face · 2022-11-30 · Hard · 7 min read · Computer vision, Machine learning, Python
  VQ-Diffusion is a conditional latent diffusion model whose noising and denoising run over a discrete VQ-VAE codebook rather than Gaussian noise.

## 2022-10-12

- [Optimization story: Bloom inference](https://swe.quest/articles/optimization-story-bloom-inference-d6344942eb1d22f2.md): Hugging Face · 2022-10-12 · Hard · 22 min read · Inference & serving, LLMs, Performance engineering, Python
  Hugging Face's BLOOM (176B parameters, 352GB in bf16) inference server reached 5x lower latency and 50x higher throughput over several weeks, starting from 0.3 req/s and 350ms/token on 16xA100 40GB with pipeline parallelism via Accelerate's device\_map="auto".

## 2022-09-08

- [Train your first Decision Transformer](https://swe.quest/articles/train-your-first-decision-transformer-d9877713a380ce1a.md): Hugging Face · 2022-09-08 · Hard · 8 min read · Model training, Machine learning, Python
  Decision Transformers recast reinforcement learning as conditional sequence modeling: a GPT-2 model takes the last K timesteps of return-to-go, state and action tokens and autoregressively predicts actions that achieve a desired return.

## 2022-09-07

- [How to train a Language Model with Megatron-LM](https://swe.quest/articles/how-to-train-a-language-model-with-megatron-lm-30e46ab3423562c4.md): Hugging Face · 2022-09-07 · Hard · 7 min read · Model training, LLMs, Python
  Megatron-LM, NVIDIA's GPU-optimized framework for pre-training transformers, can train a GPT2-style model end to end: environment setup in an NGC PyTorch container, preprocessing data into tokenized binary mmap files, launching distributed training, and converting checkpoints to Hugging Face Transformers.

## 2022-08-02

- [Nyströmformer: Approximating self-attention in linear time and memory via the Nyström method](https://swe.quest/articles/nystromformer-approximating-self-attention-in-linear-time-and-memory-via-the-fd6613fb9ac42d67.md): Hugging Face · 2022-08-02 · Hard · 6 min read · LLMs, Machine learning, Algorithms, Python
  Nyströmformer replaces quadratic softmax self-attention with an O(n) approximation built on the Nyström method, which reconstructs a matrix from a sampled subset of its rows and columns via a Moore-Penrose pseudoinverse.

## 2022-06-07

- [The Annotated Diffusion Model](https://swe.quest/articles/the-annotated-diffusion-model-62697ee4beb56b3a.md): Hugging Face · 2022-06-07 · Hard · 24 min read · Computer vision, Model training, Machine learning, Python
  Denoising Diffusion Probabilistic Models (Ho et al., 2020) work by pairing a fixed forward process that gradually adds Gaussian noise to an image under a variance schedule with a learned reverse process that denoises step by step from pure noise.

## 2022-05-02

- [How the Cinder JIT’s function inliner helps us optimize Instagram](https://swe.quest/articles/how-the-cinder-jit-s-function-inliner-helps-us-optimize-instagram-bec4e8e06857e7ce.md): Meta Engineering · 2022-05-02 · Hard · 13 min read · Compilers, Python, Runtimes & VMs, Performance engineering
  Cinder, Instagram's open-source CPython fork, ships a method-at-a-time JIT that lowers bytecode through HIR, SSA, LIR and register allocation to native code, removing interpreter dispatch and stack overhead.

[Next page](https://swe.quest/tags/python.md?difficulty=hard&per=48&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=python](https://swe.quest/feed.xml?difficulty=hard&tag=python). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
