arch4eduリポジトリを追加する。paru -Syu rocm-hip-sdk rocm-opencl-sdk python-pytorch-rocm python-torchvision-rocm python-numpy yqvirtualenv --system-site-packages sdenvsource sdenv/bin/activategit clone https://github.com/CompVis/stable-diffusion.git && cd stable-diffusionyq '.dependencies[].pip?[]' environment.yaml | sed 's/"//g' | xargs -L1 pip installhttps://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckptからチェックポイントファイルを入手して、models/ldm/stable-diffusion-v1/model.ckptに置くpython scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms
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
| # morimorihoge screenrc | |
| escape \233\233 | |
| zombie | |
| hardstatus on | |
| defbce on | |
| # Protection from attacks | |
| multiuser off |
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
| TARGETS := $(subst .cpp,,$(wildcard *.cpp)) | |
| CXXFLAGS ?= -Wall -Wextra -O2 -g | |
| all: $(TARGETS) | |
| clean: | |
| rm -f $(TARGETS) | |
| .PHONY: clean |
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
| # name: 'Tokyo Night Night' | |
| # preferred_background: 1a1b26 | |
| # url: 'https://github.com/chriskempson/tomorrow-theme' | |
| fish_color_normal c0caf5 | |
| fish_color_command 7dcfff | |
| fish_color_keyword bb9af7 | |
| fish_color_quote e0af68 | |
| fish_color_redirection c0caf5 | |
| fish_color_end ff9e64 |
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
| struct XOR64 { | |
| x: u64, | |
| } | |
| impl XOR64 { | |
| fn new(seed: u64) -> Self { | |
| Self { | |
| x: seed ^ 88172645463325252, | |
| } | |
| } |
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
| #lang racket | |
| (struct plan | |
| (type | |
| data-amount | |
| price) | |
| #:transparent) | |
| (define plans-voice | |
| (vector |
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
| from collections import namedtuple | |
| from itertools import product | |
| from functools import reduce | |
| from pprint import PrettyPrinter | |
| Plan = namedtuple('Plan', ['type', 'data_amount', 'price']) | |
| plans_voice = [ | |
| Plan(type='voice', data_amount=2, price=850), | |
| Plan(type='voice', data_amount=4, price=990), |
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
| 0it [00:00, ?it/s]MIOpen(HIP): Error [Do] 'amd_comgr_do_action(kind, handle, in.GetHandle(), out.GetHandle())' AMD_COMGR_ACTION_COMPILE_SOURCE_TO_BC: ERROR (1) | |
| MIOpen(HIP): Error [BuildHip] comgr status = ERROR (1) | |
| MIOpen(HIP): Warning [BuildHip] In file included from /tmp/comgr-5f7d18/input/naive_conv.cpp:1: | |
| In file included from /tmp/hip_pch.1266/hip_pch.h:1: | |
| In file included from /build/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:54: | |
| In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../include/c++/12.1.1/thread:44: | |
| In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../include/c++/12.1.1/bits/this_thread_sleep.h:36: | |
| /usr/lib64/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../include/c++/12.1.1/bits/chrono.h:650:36: error: no matching conversion for functional-style cast from 'const duration<long, std::ratio<1, 1>>' to '__cd' (aka 'duration<long, ratio<num, den>>') | |
| return __cd(__cd(__lhs).count() - __cd(__rhs).count()); | |
This file has been truncated, but you can view the full file.
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
| <!DOCTYPE html | |
| PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
| <html><head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <!-- | |
| This HTML was auto-generated from MATLAB code. | |
| To make changes, update the MATLAB code and republish this document. | |
| --><title>ddsk</title><meta name="generator" content="MATLAB 9.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-08-07"><meta name="DC.source" content="ddsk.m"><style type="text/css"> | |
| html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';c |