Skip to content

Instantly share code, notes, and snippets.

View sfujiwara's full-sized avatar

Shuhei Fujiwara sfujiwara

View GitHub Profile
@toshihikoyanase
toshihikoyanase / README.md
Last active August 20, 2021 11:22
東工大 第1回 ディープラーニング分散学習ハッカソン Optuna資料リンク集
@apstndb
apstndb / 0service-to-service-auth.md
Last active June 17, 2019 04:37
Cloud Run service-to-service auth example

setting

$ gcloud iam service-accounts create callee
$ gcloud iam service-accounts create caller
$ gcloud builds submit -t gcr.io/${PROJECT_ID}/oidctest .
$ gcloud beta run deploy --image=gcr.io/${PROJECT_ID}/oidctest --allow-unauthenticated \
    --service-account=caller@${PROJECT_ID}.iam.gserviceaccount.com caller 
$ gcloud beta run deploy --image=gcr.io/${PROJECT_ID}/oidctest --no-allow-unauthenticated \
    --service-account=callee@{PROJECT_ID}.iam.gserviceaccount.com callee

Horovodテスト

インタラクティブノード上か、qrshでログインした計算ノード上で以下のように環境を構築しておきます。

$ module load python/3.6/3.6.5
$ module load cuda/9.0/9.0.176.4
$ module load cudnn/7.4/7.4.2
$ module load openmpi/2.1.5
$ python3 -m venv horovod
@keisukefukuda
keisukefukuda / env.sh
Last active April 20, 2019 09:41
Reedbush環境での最新版Chainerのセットアップ方法
#!/bin/bash
GROUP=$(id -ng)
MYDIR=/lustre/${GROUP}/$USER
export HOME=$MYDIR
. /etc/profile.d/modules.sh
module load cuda9/9.1.85
module load anaconda3/4.3.0
@utgwkk
utgwkk / mysql-accumlate.md
Last active May 30, 2023 09:34
詳説 MySQLで累積和を求める方法

MySQL で累積和を求める方法

SELECT
    t1.accum_date
 , t1.count
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.