I hereby claim:
- I am nalzok on github.
- I am nalzok (https://keybase.io/nalzok) on keybase.
- I have a public key ASAMkvIz91IuWXFkdNjPM60KoPTc6dXVpYy6ygbLHJBQLgo
To claim this, I am signing this object:
| from time import perf_counter | |
| import torch | |
| from flash_attn_time import benchmark_one | |
| from huggingface_hub import snapshot_download | |
| from huggingface_hub.utils._errors import RepositoryNotFoundError | |
| def benchmark(): | |
| for llama in (1, 2): |
| ------------ | |
| -- Set up -- | |
| ------------ | |
| .print '' | |
| .print '[Set up]' | |
| .open bmk.db | |
| DROP TABLE IF EXISTS candidates; |
I hereby claim:
To claim this, I am signing this object:
| ;;; Face | |
| (set-frame-font "Hack Nerd Font 16" nil t) | |
| (add-to-list 'default-frame-alist '(height . 24)) | |
| (add-to-list 'default-frame-alist '(width . 80)) | |
| ;;; Line number | |
| (add-hook 'prog-mode-hook 'linum-mode) | |
| ;;; Setup MELPA | |
| (require 'package) |
| <form action="" method="post"> | |
| <input type="hidden" name="csrfmiddlewaretoken" value="WjfP52q0v6yO9ME0Ookn1RvXeM93MMiYcXOP9D4KwatNXL0u9E5nqjj4nwirpz0O"> | |
| <table> | |
| <tbody><tr><th><label for="id_due_back">Renewal date:</label></th><td><input id="id_due_back" name="due_back" type="text" value="2017-04-15"><br><span class="helptext">Enter a date between now and 4 weeks (default 3).</span></td></tr> | |
| </tbody></table> | |
| <input type="submit" value="Submit"> | |
| </form> |
| ;;; Exercise 2.3 part 1 | |
| ;;; =================== | |
| (define (peri-rect r) | |
| (* 2 (+ (length-rect r) | |
| (width-rect r)))) | |
| (define (area-rect r) | |
| (* (length-rect r) | |
| (width-rect r))) |
| Loading /Users/sunqingyao/.emacs.d/core/core-load-paths.el (source)...done | |
| Loading /Users/sunqingyao/.spacemacs...done | |
| Setting the font... | |
| Open the quickhelp. | |
| Loading /Users/sunqingyao/.emacs.d/layers/+completion/auto-completion/packages.el (source)...done | |
| Loading /Users/sunqingyao/.emacs.d/layers/+lang/emacs-lisp/packages.el (source)...done | |
| Loading /Users/sunqingyao/.emacs.d/layers/+completion/helm/packages.el (source)...done | |
| Loading /Users/sunqingyao/.emacs.d/layers/+os/osx/packages.el (source)...done | |
| Loading /Users/sunqingyao/.emacs.d/layers/+lang/scheme/packages.el (source)...done | |
| Loading /Users/sunqingyao/.emacs.d/layers/+tools/shell/packages.el (source)...done |
| ;; -*- mode: emacs-lisp -*- | |
| ;; This file is loaded by Spacemacs at startup. | |
| ;; It must be stored in your home directory. | |
| (defun dotspacemacs/layers () | |
| "Configuration Layers declaration. | |
| You should not put any user code in this function besides modifying the variable | |
| values." | |
| (setq-default | |
| ;; Base distribution to use. This is a layer contained in the directory |
| ;;; Exercise 2.42 | |
| ;;; ============= | |
| (define (enumerate-interval low high) | |
| (if (> low high) | |
| '() | |
| (cons low (enumerate-interval (+ low 1) high)))) | |
| (define (accumulate op initial sequence) | |
| (if (null? sequence) |