1 Star 0 Fork 0

Bytedance Inc./SandboxFusion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 976 Bytes
一键复制 编辑 原始数据 按行查看 历史
Liu Siyao 提交于 2024-11-15 04:29 +08:00 . refac: format, disable lean test
HOST ?= 0.0.0.0
PORT ?= 8080
TEST_NP ?= 4
run:
uvicorn sandbox.server.server:app --reload --host $(HOST) --port $(PORT)
run-online:
uvicorn sandbox.server.server:app --host $(HOST) --port $(PORT)
build-server-image:
docker build . -f scripts/Dockerfile.server -t sandbox:server
test:
pytest -m "not cuda and not datalake and not dp_eval and not lean" -n $(TEST_NP)
test-cuda:
pytest -m cuda
test-minor:
pytest -m minor
test-verilog:
pytest -m verilog
test-verilog-pdb:
pytest -m verilog --pdb --capture=no
test-online:
ONLINE_TEST=1 pytest
test-case:
pytest -s -vv -k $(CASE)
format:
pycln --config pyproject.toml
isort sandbox/*
yapf -ir sandbox/*
format-client:
mv scripts/client/pyproject.toml scripts/faas/pyproject.toml && yapf -ir scripts/client/* && mv scripts/faas/pyproject.toml scripts/client/pyproject.toml
# mypy --explicit-package-bases sandbox
check:
pycln --config pyproject.toml --check
yapf --diff --recursive sandbox/*
make test
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ByteDance/SandboxFusion.git
git@gitee.com:ByteDance/SandboxFusion.git
ByteDance
SandboxFusion
SandboxFusion
main

搜索帮助