Skip to content

Instantly share code, notes, and snippets.

View rendicahya's full-sized avatar
🎯
Focusing

Randy Cahya Wihandika rendicahya

🎯
Focusing
  • Kumamoto, JP
  • 22:24 (UTC +09:00)
View GitHub Profile
@rendicahya
rendicahya / poetry-cheatsheet.md
Last active August 16, 2025 13:26
Poetry Cheatsheet

Poetry Cheatsheet

Project Management

  • Create new Poetry project
poetry new <project-name>
  • Initialize new Poetry project in current directory

With pip:

pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116

With conda:

conda create -n <env-name> python=3.10
conda install pytorch==1.13.1 torchvision==0.14.1 pytorch-cuda=11.6 -c pytorch -c nvidia

Conda Cheatsheet

Project Management

  • Create new environment
conda create -n <env-name>
conda create -n <env-name> python=<version>