This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## nv_gpu_stat.py - monitor GPU usage in jupyter notebook -- [email protected] | |
## https://gist.github.com/rhee-elten/1a1070e3a812ca863c3b937b5180b2f8 | |
# pylint: disable=invalid-name | |
# pylint: disable=using-constant-test | |
# pylint: disable=wrong-import-position | |
# pylint: disable=missing-class-docstring | |
# pylint: disable=missing-function-docstring | |
if True: | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: | |
export TF_FORCE_GPU_ALLOW_GROWTH=true | |
export CUDA_DEVICE_ORDER=PCI_BUS_ID | |
export CUDA_VISIBLE_DEVICES=0,1,2,3 | |
export TF_CPP_MIN_LOG_LEVEL=3 | |
# 참고: https://github.com/tensorflow/tensorflow/issues/22936#issuecomment-441790882 | |
# Would you mind running your code with the following environment variables set: | |
# TF_ENABLE_WHILE_V2=1 TF_ENABLE_COND_V2=1 ?? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Process List How To.txt | |
## https://www.nextofwindows.com/windows-tip-3-ways-to-print-a-list-of-running-processes | |
tasklist | |
tasklist /v /fi "sessionname eq console" /fo csv | |
PS C:\> get-process | out-file $env:userprofile\desktop\processes.txt | |
PS C:\> get-process-computername computername | |
PS C:\> get-process | out-printer |