Consider setting the following optimization flags while training.
KMP_BLOCKTIME=0
KMP_AFFINITY=granularity=fine,verbose,compact,1,0
KMP_SETTINGS=1
OMP_NUM_THREADS=8
Also, use the following code after importingtf
.
Consider setting the following optimization flags while training.
KMP_BLOCKTIME=0
KMP_AFFINITY=granularity=fine,verbose,compact,1,0
KMP_SETTINGS=1
OMP_NUM_THREADS=8
Also, use the following code after importing tf
.#!/bin/sh | |
# | |
# Move the current window to the next monitor. | |
# | |
# Also works only on one X screen (which is the most common case). | |
# | |
# Props to | |
# http://icyrock.com/blog/2012/05/xubuntu-moving-windows-between-monitors/ | |
# | |
# Unfortunately, both "xdotool getwindowgeometry --shell $window_id" and |
# prepare notebook folder for commit | |
# Does | |
# 1. Render all notebooks to HTML | |
# 2. Clear all cell outputs | |
# Make destination directory to store rendered html, if not exists | |
RENDER_DIR=rendered | |
mkdir -p rendered | |
# Get all files with Added, Modified, or untracked status from git |
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+\\", | |
"command": "unicode-latex.insertMathSymbol" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "workbench.action.terminal.focusNext" | |
}, |
-------------------------------- Bootstrap ------------------------------------- | |
-- Install packer | |
local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim' | |
local is_bootstrap = false | |
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then | |
is_bootstrap = true | |
vim.fn.execute('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path) | |
vim.cmd [[packadd packer.nvim]] | |
end |
# Destination: ~/.tmux.conf | |
# from powerline | |
run-shell "tmux set-environment -g TMUX_VERSION_MAJOR $(tmux -V | cut -d' ' -f2 | cut -d'.' -f1 | sed 's/[^0-9]*//g')" | |
run-shell "tmux set-environment -g TMUX_VERSION_MINOR $(tmux -V | cut -d' ' -f2 | cut -d'.' -f2 | sed 's/[^0-9]*//g')" | |
# default shell | |
# set-option -g default-command /bin/zsh | |
# set-option -g default-shell /bin/zsh |