TDTech Digest

093. 모델 커스터마이징 문제 해결 (Troubleshooting model customization issues)

  • 원문: English
  • 위치: Model customization › Manage customized models › Troubleshooting model customization issues

한 줄 요약

커스터마이징 실패는 대부분 S3/KMS 권한, 데이터 형식·크기, 제3자 라이선스 정책 문제입니다. 오류 메시지별 확인 항목을 정리한 페이지입니다.

핵심 내용

권한 문제 (S3)

공통 점검 항목:

  1. S3 버킷이 고객 관리형 KMS 키로 SSE 암호화돼 있으면 Bedrock에 넘긴 역할에 kms:Decrypt 권한이 있는지
  2. ⚠️ S3 버킷이 커스터마이징 작업과 같은 리전에 있는지
  3. 역할 신뢰 정책에 bedrock.amazonaws.com이 있는지
오류 메시지확인
Could not validate GetObject permissions to access Amazon S3 bucket: ... at key train.jsonl (학습/검증 데이터)역할에 학습·검증 S3 URI에 대한 s3:GetObject, s3:ListBucket
Amazon S3 perms missing (PutObject): Could not validate PutObject permissions ... at key output/.write_access_check_file.tmp역할에 출력 S3 URI에 대한 s3:PutObject

데이터 문제

오류원인/확인
Unable to parse Amazon S3 file: ... Data files must conform to JSONL format.각 줄이 JSON인지, 각 JSON이 문자열 값의 input/output 두 키를 가지는지, 빈 줄·추가 줄바꿈이 없는지
Input size exceeded in file ... for record starting with...문자 수 한도 초과 → 011 데이터 준비의 한도 확인
Maximum input token count 4097 exceeds limit of 4096 등 (입력/출력/합계)토큰 한도 초과 → 011의 토큰 한도 확인

제3자 라이선스·정책

  • Automated tests flagged this fine-tuning job as including materials that are potentially inconsistent with Anthropic's third-party license terms. → 학습 데이터가 Anthropic 사용 정책에 어긋나는 내용을 포함하지 않는지 확인, 계속되면 Support 문의

내부 오류

  • Encountered an unexpected error when processing the request, please try again → 서비스 문제일 수 있으니 재시도, 계속되면 Support 문의

SA 관점

  • 가장 흔한 실수는 S3 버킷 리전 불일치와 CMK 암호화 버킷의 kms:Decrypt 누락입니다. 작업 제출 전 체크리스트로 쓰세요.
  • 출력 버킷에는 Bedrock이 쓰기 확인용 임시 파일(.write_access_check_file.tmp)을 먼저 써 본다는 점을 알아두면, 버킷 정책에서 PutObject를 막았을 때 원인을 빨리 찾을 수 있습니다.
  • 4096 토큰 한도 예시는 메시지 예시일 뿐 모델마다 한도가 다를 수 있으니 011에서 확인하세요.