beswarm
beswarm: be swarm
beswarm is a tool for creating a swarm of agents to complete a task.
任务
DiT-Air 架构与MMDiT和PixArt的区别是什么?详细分析三个模型的架构,并给出代码实现。
arXiv:2502.14831v2 和 arXiv:2503.10618v2 的 渐进式 VAE 训练方法有一定的相似性,请详细分析这两种方法的异同,底层原理的异同。
论文地址:'/Users/yanyuming/Library/Mobile Documents/iCloud~QReader~MarginStudy~easy/Documents/论文/EQ-VAE Equivariance Regularized Latent Space for Improved Generative Image Modeling.pdf'
仓库地址:https://github.com/zelaki/eqvae
论文地址:'/Users/yanyuming/Library/Mobile Documents/iCloud~QReader~MarginStudy~easy/Documents/论文/Vector Quantized Diffusion Model for Text-to-Image Synthesis.pdf'
查看代码库,我需要将论文的公式,代码,理论,实验结果,总结,形成一个文档。请进行彻底的分析。
找到每一个数学概念对应的代码实现。整理成文档保存到本地。
docker buildx build --platform linux/amd64,linux/arm64 -t yym68686/beswarm:latest --push .
docker pull yym68686/beswarm
cd ~/Downloads/GitHub/beswarm && docker run --rm \
--env-file .env \
-v ./work:/app/work beswarm \
--goal "分析这个仓库 https://github.com/cloneofsimo/minRF"
测试 docker 是否可以用 GPU:
docker run --gpus all -it --rm --entrypoint nvidia-smi yym68686/beswarm
docker run -it --rm --entrypoint cat yym68686/beswarm /app/beswarm/aient/src/aient/models/chatgpt.py
beswarm docker debug 命令
cd /Users/yanyuming/Downloads/GitHub/beswarm
docker run --rm -it \
--network="host" \
--env-file .env \
-v ./work/test:/app/work yym68686/beswarm \
--goal '帮我写一个简单的python脚本打印hello world' /bin/bash
服务器安装
pip install pipx
pipx ensurepath
source ~/.bashrc
pipx install nvitop
pip install beswarm -i https://pypi.tuna.tsinghua.edu.cn/simple
# 升级 从海外官方 pypi 升级
pip install --upgrade beswarm -i https://pypi.org/simple
pip install --upgrade beswarm -i https://pypi.tuna.tsinghua.edu.cn/simple
main.py
import os
import asyncio
import nest_asyncio
nest_asyncio.apply()
from beswarm.tools import (
worker,
get_code_repo_map,
search_arxiv,
read_file,
list_directory,
excute_command,
write_to_file,
download_read_arxiv_pdf,
)
os.environ['API_KEY'] = ''
os.environ['BASE_URL'] = 'https://api.xxx.xyz/v1/chat/completions'
os.environ['MODEL'] = 'gemini-2.5-pro'
# 设定任务目标
goal = """
"""
work_dir = '/work_dir'
tools = [read_file, list_directory, write_to_file, excute_command, search_arxiv, download_read_arxiv_pdf, get_code_repo_map]
asyncio.run(worker(goal, tools, work_dir))
Metadata
Release files for beswarm 0.3.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| beswarm-0.3.23.tar.gz | 242.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beswarm-0.3.23-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 513.1 kB
Release files / beswarm-0.3.23.tar.gz
| Download URL | beswarm-0.3.23.tar.gz |
|---|---|
| Size | 242.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d354a88d888d17859b2c654c37ed9f22e97bb63fcc6050993f7e70d2326a14b
|
|
BLAKE2b-256 checksum How to use checksums |
f174e17163866f41a38e77b16f7b1d2551f2f75f49c4dd6c444f964f18a46e97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / beswarm-0.3.23-py3-none-any.whl
| Download URL | beswarm-0.3.23-py3-none-any.whl |
|---|---|
| Size | 271.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f197a673848b6461a6021ad58a082a966efff794edeb849843ef97f102ca3ae
|
|
BLAKE2b-256 checksum How to use checksums |
f0b1dec434d5660b612a8c32f9fb19da123e515cf21800c40a7c0d0257b83694
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for beswarm 0.3.23
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.