> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wandb artifact put

export const GitHubLink = ({url, compact = false}) => <a href={url} target="_blank" rel="noopener noreferrer" className={compact ? "source-link" : "github-source-link"}>
    {compact ? "View source" : <>
    <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
      <path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
    </svg>
    GitHub source
      </>}
  </a>;

<GitHubLink compact url="https://github.com/wandb/wandb/blob/v0.30.0/wandb/cli/cli.py#L2646" />

<h2 id="usage">
  사용
</h2>

```bash theme={"system"}
put [OPTIONS] PATH
```

<h2 id="description">
  설명
</h2>

W\&B에 아티팩트를 업로드합니다.

파일, 디렉터리 또는 URL 참조를 버전이 지정된 아티팩트로 업로드합니다.

PATH는 로컬 파일, 로컬 디렉터리 또는 참조 아티팩트로 로깅할 URL
(`://` 포함)일 수 있습니다.

`--name`을 지정하지 않으면 아티팩트 이름은 경로의 basename으로 기본 설정됩니다. 이름에서 프로젝트를 파싱할 수 없으면 프로젝트를 입력하라는 메시지가 표시됩니다.

예를 들어, 로컬 디렉터리 ./data/training의 모든 파일을 W\&B의 데이터셋 아티팩트로 업로드하려면:

```bash theme={"system"}
wandb artifact put --type dataset ./data/training
```

model.pt를 "foobar" 프로젝트에 업로드하고 "trained-model"을 아티팩트 이름으로 부여하려면:

```bash theme={"system"}
wandb artifact put --name foobar/trained-model --type model ./model.pt
```

아티팩트에 "latest"와 "v2.0" 별칭을 모두 지정하여
어느 별칭으로든 참조할 수 있도록:

```bash theme={"system"}
wandb artifact put --alias latest --alias v2.0 --type model ./model.pt
```

Amazon S3 경로를 데이터 다운로드나 재업로드 없이 레퍼런스로 기록하려면:

```bash theme={"system"}
wandb artifact put --type dataset s3://my-bucket/datasets/training
```

데이터셋 아티팩트에 사람이 읽을 수 있는 설명을 문서화 목적으로 첨부하려면:

```bash theme={"system"}
wandb artifact put --type dataset --description "Training data, Jan 2025" ./data/training
```

<h2 id="arguments">
  인수
</h2>

| Name | Default | 유형 |
| - | - | - |
| `path` | STR | True |

<h2 id="options">
  옵션
</h2>

| 플래그 | 유형 | 설명 |
| - | - | - |
| `--name, -n` | STR | project/artifact\_name 형식의 아티팩트 이름입니다. 기본값은 경로의 basename입니다. **기본값**: None |
| `--description, -d` | STR | 이 아티팩트에 대한 설명입니다. **기본값**: None |
| `--type, -t` | STR | 아티팩트의 유형입니다. 기본값은 'dataset'입니다. **기본값**: dataset |
| `--alias, -a` | STR | 이 아티팩트에 적용할 별칭입니다. 여러 번 지정할 수 있습니다. 기본값은 'latest'입니다. **기본값**: \['latest'] |
| `--id` | STR | 이 ID를 가진 기존 run에 업로드합니다. **기본값**: None |
| `--resume` | BOOL Flag | 현재 디렉터리에서 마지막 run을 재개합니다. **기본값**: None |
| `--skip_cache` | BOOL Flag | 아티팩트 파일을 업로드하는 동안 캐싱을 건너뜁니다. **기본값**: False |
| `--policy` | Choice | 아티팩트 파일에 대한 저장소 정책을 설정합니다. 'mutable'(기본값) 또는 'immutable' 중 하나입니다. **기본값**: mutable |
