本地没问题,部署函数到云端后提示:"must use import to load es module"...
解法:直接降axios版本到0.27.2,就好了[......]
1 机器准备
GPU至少选Tesla T4、操作系统Ubuntu 20.04,硬盘30GB
2 安装cuda驱动
参考GCP的官方文档:https://cloud.google.com/compute/docs/gpus/install-drivers-gpu
可以使用自动安装脚本(注意提前安装python 3)
curl https://raw.githubusercontent.com/GoogleCloudPlatform/compute-gpu-installa[......]
convert image.png -fill "#333333" -colorize 100 image_output.png
[......]
可以用分支图替代,加了个配色
@startuml
skinparam ActivityDiamondBackgroundColor greenyellow
switch (查询场景)
case (OLTP)
: MySQL;
case (OLAP)
if (实时要求高) then (是)
: 同步至\nDoris\n在线SQL查询;
else (否)
: 同步至Hive\nHive或Presto查询;
endi[......]