sudo apt update
sudo apt install software-properties-common -y
POST /instances/start?model=LLaMA-2%20(7B) HTTP/1.1 | |
Host: api.together.xyz | |
User-Agent: TogetherPythonOfficial/0.2.11 | |
Accept-Encoding: gzip, deflate, br | |
Accept: */* | |
Connection: keep-alive | |
Authorization: Bearer 102488bd20430f40283c2b5247628785fa8a784feaea3ec0e952b7ad15e890a9 | |
Content-Type: application/json | |
Content-Length: 0 | |
How to install numpy on M1 Max, with the most accelerated performance (Apple's vecLib)? Here's the answer as of Dec 6 2021.
So that your Python is run natively on arm64, not translated via Rosseta.
$ bash Miniforge3-MacOSX-arm64.sh
{;; Currently, we support either "Markdown" or "Org". | |
;; This can overwrite your global preference so that | |
;; maybe your personal preferred format is Org but you'd | |
;; need to use Markdown for some projects. | |
;; :preferred-format "" | |
;; Preferred workflow style. | |
;; Value is either ":now" for NOW/LATER style, | |
;; or ":todo" for TODO/DOING style. | |
:preferred-workflow :now |
wget https://golang.google.cn/dl/go1.19.1.linux-amd64.tar.gz | |
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz | |
echo '/etc/profile' >> /etc/profile | |
source /etc/profile |
global: | |
resolve_timeout: 5m | |
http_config: | |
follow_redirects: true | |
smtp_hello: localhost | |
smtp_require_tls: true | |
pagerduty_url: https://events.pagerduty.com/v2/enqueue | |
opsgenie_api_url: https://api.opsgenie.com/ | |
wechat_api_url: https://qyapi.weixin.qq.com/cgi-bin/ | |
victorops_api_url: https://alert.victorops.com/integrations/generic/20131114/alert/ |
Lima (Linux virtual machines, on macOS) installation guide for M1 Mac.
Sep. 27th 2021 UPDATED
Now we can install patched version of QEMU via Homebrew (thank you everyone for the info!). Here is the updated instruction with it:
Used M1 Mac mini 2020 with macOS Big Sur Version 11.6.
{ | |
"$id": "", | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"type": "string" | |
} |
package main | |
import ( | |
"bytes" | |
"flag" | |
"golang.org/x/net/websocket" | |
"io" | |
"k8s.io/client-go/1.4/rest" | |
"k8s.io/client-go/1.4/tools/clientcmd" | |
"log" |