Skip to content

Instantly share code, notes, and snippets.

View tae-jun's full-sized avatar

Taejun Kim tae-jun

View GitHub Profile
@tae-jun
tae-jun / Dockerfile
Last active October 3, 2024 11:02
Deploy NVIDIA+PyTorch container using Dockerfile & docker-compose
ARG UBUNTU_VERSION=18.04
ARG CUDA_VERSION=10.2
FROM nvidia/cuda:${CUDA_VERSION}-base-ubuntu${UBUNTU_VERSION}
# An ARG declared before a FROM is outside of a build stage,
# so it can’t be used in any instruction after a FROM
ARG USER=reasearch_monster
ARG PASSWORD=${USER}123$
ARG PYTHON_VERSION=3.8
# To use the default value of an ARG declared before the first FROM,
# use an ARG instruction without a value inside of a build stage:
@tae-jun
tae-jun / PrintZeppelinNotebookLanguageStatictics.sql
Created September 21, 2016 16:01
제플린 걸음마 서울시립대학교 데이터마이닝 활용사례 제플린 노트북 통계 추출 코드
%sql
SELECT COALESCE(lang, "Total") AS language, COUNT(*) AS cnt
FROM lang
GROUP BY lang WITH ROLLUP
ORDER BY cnt DESC