检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
函数中可直接调用Java运行环境,无需另外安装。 图3 输入启动参数 选中jar包和bootstrap文件,打包成zip包。 创建HTTP函数并上传代码 创建1个HTTP函数,并上传已打包的zip包。请参见创建HTTP函数。 验证结果 使用函数测试事件验证 在函数详情页,选择函数版本,单击“配置测试事件”,弹出“配置测试事件”页。
Manager在线安装自定义模型和节点 如需在FunctionGraph中使用ComfyUI Manager在线安装自定义模型和节点,需要购买公网NAT网关和弹性公网IP以提供公网访问能力。 父主题: 使用FunctionGraph部署AI绘画ComfyUI/ComfyUI+FLUX应用
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
将FunctionGraph资源委托给更专业、高效的其他华为云账号或者云服务,这些账号或者云服务可以根据权限进行代运维。 如果华为云账号已经能满足您的要求,不需要创建独立的IAM用户,您可以跳过本章节,不影响您使用FunctionGraph服务的其它功能。 本章节为您介绍对用户授权的方法,操作流程如图1所示。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
Hook进行状态刷新。 对于强依赖CPU指令集特性的函数,请先提前联系客服确认是否可以使用快照式冷启动。 依赖硬编码Host环境(如hostname或者hostip)的函数,在迁移到其他主机上时,使用快照式冷启动可能会有问题。请先提前联系客服进行确认,建议避免依赖这些变量。 当前仅支持基于x86机器开发的应用。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
https://{Endpoint}/v2/{project_id}/fgs/functions { "code_filename": "index.zip", "code_type": "inline", "func_code": { "file": "UEsDBAoAAAAIABY
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
表3 WorkflowCreateBody 参数 参数类型 描述 name String 函数流名称 最小长度:1 最大长度:64 description String 函数流描述 最小长度:1 最大长度:512 start String 流程开始节点ID 最小长度:1 最大长度:256
但相较于长期自建GPU集群,降本幅度达50%以上。 规格最优 函数计算平台提供的GPU实例规格,允许您根据自己的工作负载选择不同的卡型,独立配置GPU/MEM。最小GPU规格小至1 GB显存/算力,将为您提供最贴合业务的实例规格。 突发流量支撑 函数计算平台提供充足的GPU资源
名为“fss_examples_nodejs.zip”。 图1 打包 创建FunctionGraph函数,上传程序包 登录FunctionGraph控制台,创建Node.js函数,上传fss_examples_nodejs.zip文件。如图2所示。 图2 上传程序包 函数设置中,
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted