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
#include <immintrin.h> | |
// Scalar (default) implementation | |
__attribute__((target("default"))) | |
void matmul_default(Arr* c, Arr* a, Arr* b) { | |
int P = a->shape[0]; | |
int Q = a->shape[1]; | |
int R = b->shape[1]; | |
for (int i = 0; i < P; i++) { | |
for (int j = 0; j < R; j++) { |
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
{ | |
"version": "0.1.0", | |
"name": "pump", | |
"instructions": [ | |
{ | |
"name": "initialize", | |
"docs": [ | |
"Creates the global state." | |
], | |
"accounts": [ |
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
import logging | |
import multiprocessing | |
import re | |
from pathlib import Path | |
from typing import Any | |
from pydub import silence, AudioSegment | |
from pydub.utils import make_chunks | |
from pytube import YouTube | |
from tqdm import tqdm |