Constant | Description |
---|---|
none | There is no content type. The text is not editable. |
Discover gists
This explains how to build mesa from source, and how to use the custom built mesa to run some apps and games, without needing to replace the mesa libraries that your operating system runs on.
Let's assume that you are using an x86_64 system.
def verify_ddp_weights_equal(model: torch.nn.Module, atol: float = 1e-5) -> None: | |
if hasattr(model, "module"): | |
model = model.module | |
world_size = get_world_size() | |
for name, param in model.named_parameters(): | |
gathered_param = gather(param).reshape((world_size, -1)) | |
absolute_diffs = (gathered_param[None, 0, :] - gathered_param).abs() | |
rank_params_eq = (absolute_diffs < atol).all() | |
assert rank_params_eq, f"❌ param [{name}] not equal - got max_absolute_diff={absolute_diffs.max()}" |
#!/bin/sh | |
# Build llama.cpp on Debian 13 or Ubuntu 23.10 and later | |
# Tested with `docker run -it --device=/dev/dri --device=/dev/kfd --security-opt seccomp=unconfined --volume $HOME:/mnt/home debian:sid` | |
apt -y update | |
apt -y upgrade | |
apt -y install git hipcc libhipblas-dev librocblas-dev cmake build-essential | |
git clone https://github.com/ggerganov/llama.cpp.git | |
cd llama.cpp/ | |
git checkout b2110 |
[uBlock Origin] | |
! Title: youtube ui elements block | |
! Homepage: https://gist.github.com/mlnrDev/10aaaf1af1f2645456b54d5052df194f | |
! | |
## global | |
! voice search button | |
youtube.com###voice-search-button | |
! fundraiser tag | |
youtube.com##ytd-badge-supported-renderer:has(.badge-style-type-ypc):remove() | |
! block child elements of yoodle |
On Mac OS X 10.9.0 through 10.9.2, Apple shipped a Ruby and RubyGems installation that was missing specifications for the libraries that are included with Ruby by default, which leads to the user having to install a gem like the JSON gem even though the user already has that library installed.
(This is even more problematic if you want users to be able to install gems without having to have a properly configured compiler toolchain. I.e. where you do not want users to have to install gems with C extensions, such as the JSON gem.)
This was fixed starting from Mac OS X 10.9.3.
The following libraries are installed by default and should have their specifications installed:
var command = [ | |
"ATZ", | |
"ATD", | |
"ATE0", | |
"ATS0", | |
"ATAL", | |
"ATH0", | |
"ATSP7", | |
"ATCP18" | |
]; |
# IFS=$'\n' arr=($(lv2ls)) && IFS=$'\n' arr2=($(lv2ls -n)) && for (( i=0; i<${#arr[*]}; ++i)); do printf "%s|%s\n" "${arr[$i]}" "${arr2[$i]}"; done | column -t -s "|" | |
file:///usr/lib/lv2/audio_to_audio.ingen/main.ttl audio_to_audio | |
file:///usr/lib/lv2/control_to_control.ingen/main.ttl control_to_control | |
file:///usr/lib/lv2/cv_to_cv.ingen/main.ttl cv_to_cv | |
file:///usr/lib/lv2/event_to_event.ingen/main.ttl event_to_event | |
file:///usr/lib/lv2/gen_amsynth_filte_out.ingen/main.ttl gen_amsynth_filte_out | |
file:///usr/lib/lv2/MonoEffect.ingen/MonoEffect.ttl Ingen Mono Effect Template | |
file:///usr/lib/lv2/MonoInstrument.ingen/MonoInstrument.ttl Ingen Mono Instrument Template | |
file:///usr/lib/lv2/StereoEffect.ingen/StereoEffect.ttl Ingen Stereo Effect Template | |
file:///usr/lib/lv2/StereoInstrument.ingen/StereoInstrument.ttl |