This file contains 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
#!/usr/bin/python3 | |
for m in range(1, 10): | |
su = set(range(0, 10)) - { m } | |
for u in su: | |
sn = su - { u } | |
for n in sn: | |
sh = sn - { n } | |
for h in sh: | |
se = sh - { h } |
This file contains 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
cmake --build build --target check-imex & code=$?; sleep 2; ps -ef >ps.txt; fg |
This file contains 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
rm -rf /home/jovyan/.triton/cache && ( cd intel-xpu-backend-for-triton/python && python3 -m pytest -n 1 --verbose --device xpu test/regression/test_functional_regressions.py 2>&1 ) | tee test.log |
This file contains 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
#!/bin/sh | |
set -vx | |
set -eu | |
test -z ${1+x} && exit 1 | |
ver=$1 | |
create_branch() { | |
cd .. |
This file contains 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
find /opt/intel/oneapi/ -name '*.so*' -exec cp -n {} ~/.conda/envs/triton/lib \; |
This file contains 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
name: triton | |
channels: | |
- conda-forge | |
dependencies: | |
- gxx_linux-64 11.*.* | |
- gcc_linux-64 11.*.* | |
- pip 23.* | |
- zlib | |
- cmake 3.22.* |
This file contains 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
set -euvx | |
name=${1:-triton} | |
rm -rf intel-xpu-backend-for-triton/ llvm packages/ ~/.triton/cache intel-extension-for-pytorch pytorch | |
git clone https://github.com/intel/intel-xpu-backend-for-triton -b lesh/3/add-conda-basekit | |
set +uvx | |
. ~/.conda/etc/profile.d/conda.sh | |
#conda deactivate |
This file contains 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
#Requires AutoHotkey v2.0 | |
waitForPageLoad(x, y, color, attempts) | |
{ | |
Loop attempts | |
{ | |
sleep(200) | |
Loaded := PixelGetColor(x, y) | |
;MsgBox("Wait for " . color . " Get " . Loaded) |
This file contains 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
# specific settings go here | |
export HTTPS_PROXY="$https_proxy" | |
export EDITOR=vim | |
test -L sh.sh || ln -s sc.sh sh.sh | |
test -d /localdisk2/afedotov && export HOME=/localdisk2/afedotov | |
cd | |
export PS1="\[\033]0;$TITLEPREFIX:$PWD\007\]\n\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\] `pwd -P`\[\033[0m\]\n$ " |
This file contains 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
# $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $ | |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options override the |
NewerOlder