> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-mintlify-8476678c.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# wandb artifact put

export const GitHubLink = ({url}) => <a href={url} target="_blank" rel="noopener noreferrer" className="github-source-link">
    <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 소스 코드
  </a>;

<GitHubLink url="https://github.com/wandb/wandb/blob/v0.28.0/wandb/cli/cli.py#L2831" />

<div id="usage">
  ## 사용
</div>

```bash theme={null}
put [OPTIONS] PATH
```

<div id="description">
  ## 설명
</div>

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

파일, 디렉터리 또는 URL 레퍼런스를 버전 관리되는 아티팩트로 업로드합니다.

PATH는 로컬 파일, 로컬 디렉터리 또는 URL
(`://` 포함)이며, 이를 레퍼런스 아티팩트로 기록할 수 있습니다.

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

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

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

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

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

아티팩트에 "latest"와 "v2.0" 태그를 모두 지정해 두
별칭 중 어느 것으로든 참조할 수 있게 하려면:

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

데이터를 다운로드하거나 다시 업로드하지 않고 Amazon S3 경로를 레퍼런스로 기록하려면:

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

문서화를 위해 데이터셋 아티팩트에 사람이 읽기 쉬운 설명을 추가하려면:

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

<div id="arguments">
  ## 인수
</div>

| 이름     | 기본값 | 유형   |
| ------ | --- | ---- |
| `path` | STR | True |

<div id="options">
  ## 옵션
</div>

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