Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
W&B는 각 run이 로깅한 artifact와 각 run이 사용한 artifact를 추적해 artifact 그래프를 구성합니다. 이 그래프는 run과 artifact를 나타내는 노드로 이루어진 이분 유향 비순환 그래프입니다. 예시는 여기에서 볼 수 있습니다(그래프를 펼치려면 “Explode”를 클릭하세요).
Artifact나 run 중 어느 쪽에서든 시작해 Public API로 프로그래밍 방식으로 그래프를 탐색할 수 있습니다.
api = wandb.Api()
artifact = api.artifact("project/artifact:alias")
# artifact에서 그래프를 위로 탐색:
producer_run = artifact.logged_by()
# artifact에서 그래프를 아래로 탐색:
consumer_runs = artifact.used_by()
# run에서 그래프를 아래로 탐색:
next_artifacts = consumer_runs[0].logged_artifacts()
# run에서 그래프를 위로 탐색:
previous_artifacts = producer_run.used_artifacts()
api = wandb.Api()
run = api.run("entity/project/run_id")
# run에서 그래프를 아래로 탐색:
produced_artifacts = run.logged_artifacts()
# run에서 그래프를 위로 탐색:
consumed_artifacts = run.used_artifacts()
# artifact에서 그래프를 위로 탐색:
earlier_run = consumed_artifacts[0].logged_by()
# artifact에서 그래프를 아래로 탐색:
consumer_runs = produced_artifacts[0].used_by()
Artifacts