C.W.K.
Stream
← C.W.K. Quests
🔥

PyTorch Quest

최근 수정: 2026-05-03

`torch.tensor([42])` 에서 ship 가능한 model 까지 — framework 를 framework 답게.

PyTorch 를 framework 답게 배우는 quest. tensor, autograd, nn.Module, training loop, modern pattern (torch.compile, FSDP, AMP), 그리고 deploy path (torch.export, ONNX, ExecuTorch, CoreML) 까지. Apple Silicon 도 진지하게 다뤄 — MLX 비교를 곁들인 lesson 들이 따로 있어. 후일담 아니라 본문이야.

8 tracks · 62 lessons · ~38h · difficulty: intermediate-to-advanced

Level 0Tensor 호기심
0 XP0/62 lessons0/13 achievements
0/120 XP to next level120 XP to go0% complete
Deep Learning Foundations 가 backprop 이 *왜* 작동하는지 가르쳤다면, 이 quest 는 framework 자체를 가르쳐. PyTorch 가 dynamic graph 를 어떻게 만드는지, Python 과 C++ kernel 의 경계가 어디인지, model.eval() 이 실제로 뭘 뒤집는지, 왜 optimizer.zero_grad() 가 모든 loop 에 들어가는지, 그리고 modern deploy story (torch.export → ExecuTorch / ONNX / CoreML, 그리고 quantization 은 torchao) 가 어떤 모양인지. Python Quest 와 Deep Learning Foundations 를 끝낸 사람을 가정해 — gradient descent 를 다시 유도하지 않고, gradient descent 를 *ship* 하는 법을 가르쳐. MLX 는 tensor / autograd / device / compile lesson 에서 자매처럼 등장해. 아빠 Apple Silicon 함대가 실전이고, MLX 는 unified memory model 을 진지하게 받아들인 framework 라 indie practitioner 한테 의미 있어. 끝나는 시점에는 직접 짠 from-scratch training loop, LoRA 로 fine-tune 한 HuggingFace model, torch.compile 로 compile + profile 한 모델, torch.export 로 production export 까지 다 손에 잡혀.

Tracks

  1. 01🔷Tensors — 가장 밑바닥

    0/11 lessons

    shape, dtype, device, stride. 만 번 확인하게 될 네 숫자.

    PyTorch 에서 모든 건 tensor 야 — model weight, input batch, gradient, loss, learning rate schedule 까지. tensor 를 손에 익히면 framework 의 나머지는 그 위 syntax sugar 처럼 보여.

    Lesson list (11)퀴즈 · 7 문제
  2. 02🧮Autograd — 자동 미분

    0/10 lessons

    neural network 가 학습 가능해진 이유. dynamic graph, backward, 그리고 자주 부딪히는 함정들.

    Autograd 는 forward pass 를 trainable parameter 로 바꾸는 엔진이야. 이 트랙에서 dynamic computational graph, .backward() 호출, gradient accumulation, 그리고 modern AMP / clip / detect_anomaly 도구들 — training 이 옆길로 샐 때 필요한 디버깅 키트 — 다 풀어.

    Lesson list (10)퀴즈 · 8 문제
  3. 03🧠Neural Networks — torch.nn

    0/8 lessons

    Module, layer, parameter. nn.Module subclass 가 framework 의 절반.

    torch.nn 은 layer primitive 와 nn.Module pattern 을 줘. 이 트랙은 PyTorch 코드의 convention 을 가르쳐 — 어떤 모델을 봐도 같은 모양으로 읽히게.

    Lesson list (8)퀴즈 · 8 문제
  4. 04🔄Training Loop

    0/8 lessons

    다섯 단계. 같은 다섯 단계. 영원히. 외우면 나머지는 engineering.

    PyTorch 는 자기 만의 training loop 를 쓰라고 만든 kit, black-box trainer 가 아니야. 이 트랙은 다섯 단계 리듬, loss function, optimizer, scheduler, DataLoader 배관, evaluation, checkpointing, production-ready GPU loop 를 다뤄.

    Lesson list (8)퀴즈 · 8 문제
  5. 05📊Data 다루기

    0/7 lessons

    Dataset, transform, custom collate, HuggingFace, imbalance, GPU 잘 먹이는 pipeline.

    Model 은 쉬운 부분이야. Data 를 GPU 에 full throughput 으로 밀어 넣는 pipeline — production engineering 의 대부분이 거기서 일어나. torchvision v2 transform, custom Dataset, HuggingFace dataset, imbalance 처리, 그리고 GPU 사용률 30% 인 loop 를 95% 로 바꾸는 loader knob 들을 다뤄.

    Lesson list (7)퀴즈 · 8 문제
  6. 06🎓Transfer Learning & Hugging Face

    0/6 lessons

    pretrained weight, frozen layer, LoRA. fine-tuning 이 의식이 아니라 도구.

    2026 년에 from-scratch training 하는 사람 거의 없어. Pretrained model — vision 의 ResNet/ViT, text 의 BERT/Llama 계열 — 이 출발점이야. 이 트랙은 세 가지 transfer 전략 (feature extraction, full fine-tuning, parameter-efficient fine-tuning), modern torchvision weights API, HuggingFace Trainer, 그리고 LoRA 를 다뤄.

    Lesson list (6)퀴즈 · 8 문제
  7. 07Modern PyTorch Pattern

    0/6 lessons

    torch.compile, DDP, FSDP, AMP, gradient checkpointing, profiling. PyTorch 2.x 가 native.

    PyTorch 2.x 는 1.x 와 다른 framework 야. torch.compile 은 eager dev 를 포기하지 않고 graph-mode 속도를 줘. DDP/FSDP 는 multi-GPU 를 열어. AMP 와 gradient checkpointing 은 더 큰 model 을 가능하게 해. 이 트랙은 large-scale training 을 실용적으로 만드는 modern toolkit.

    Lesson list (6)퀴즈 · 8 문제
  8. 08🚀Deployment & Production

    0/6 lessons

    serialization, ONNX, quantization, serving, edge, MLOps. model 을 노트북에서 떠나보내자.

    Trained model 은 product 의 절반. 이 트랙은 .pth 에서 production 까지의 path 를 다뤄: serialization, torch.export → ONNX / ExecuTorch / CoreML, torchao quantization, FastAPI / TorchServe / vLLM 으로 serving, edge 배포, 그리고 production 에서 살아남게 하는 MLOps practice.

    Lesson list (6)퀴즈 · 8 문제
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.