컬렉션에 이미지를 넣는것까지는 문제가 없으나 이후 정보성 이메일 체크박스 밑 확인 버튼을 누르면 바로 431 에러가 발생합니다. Postman으로 테스트할때는 문제가 없는 것 같습니다. 노드버전은 20.xx 인데 버전에 문제가 있는건가요? 해결방법이 궁금합니다. 감사합니다
안녕하세요 16강까지 진행하였습니다. 테스트를 위해서 실제 플로우대로 유저입장에서 서비스를 실행해봤는데요. 학습할 이미지를 업로드하고 결제한 후 RunPod 실행까지는 잘 되었습니다. 하지만 이후 메일이 온 링크로 들어가보면 STATUS 부분에서 그림 생성 시작 시간이 출력되지 않고, RunPod 은 정상적으로 종료가 되었으나 완성된 그림 보러가기 버튼을 클릭하면 이미지 생성이 아직 안 됐다고 알림창이 뜹니다. 또한 RunPod 실행이 종료되고, S3버킷에서는 result 폴더가 생성되었으나 dynamoDB에서 확인결과 cStatus는 2로 변경되지 않았습니다. 아무래도 제가 어느 부분을 빼먹은 것 같습니다. 혹시 어느 페이지를 어떻게 수정하면 해결되는지 설명 부탁드립니다. 가능하면 몇 강을 참고해야하는지도 알려주시면 감사하겠습니다. 혼자 코드와 강의를 살펴봤는데 찾질 못하겠네요,,
안녕하세요 강의 재밌게 잘 듣고 있습니다. 감사합니다. 제가 현재 15강 진행 중에 도커파일을 빌드하는 부분에 있는데요. docker build -t raymong_lecture_serverless_ai . 다음 명령어를 실행시 아래와 같은 에러가 발생합니다. [+] Building 113.3s (16/22) docker:desktop-linux => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.70kB 0.0s => [internal] load metadata for docker.io/pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime 1.6s => [auth] pytorch/pytorch:pull token for registry-1.docker.io 0.0s => [ 1/18] FROM docker.io/pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime@sha256:9904a7e081eaca29e3ee46afac87f2879676dd3bf7b5e9b8450454d84e074ef0 0.0s => [internal] load build context 0.0s => => transferring context: 757B 0.0s => CACHED [ 2/18] RUN apt-get update 0.0s => CACHED [ 3/18] RUN apt-get install -y git build-essential 0.0s => CACHED [ 4/18] RUN pip install -U --pre triton 0.0s => CACHED [ 5/18] RUN pip3 install --upgrade pip 0.0s => CACHED [ 6/18] ADD requirements.txt requirements.txt 0.0s => CACHED [ 7/18] RUN pip3 install -r requirements.txt 0.0s => CACHED [ 8/18] RUN pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu113 0.0s => CACHED [ 9/18] ADD s3_file_ manager.py . 0.0s => CACHED [10/18] ADD download.py . 0.0s => ERROR [11/18] RUN python3 download.py 111.6s ------ > [11/18] RUN python3 download.py : 2.806 The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`. 0it [00:00, ?it/s]downloading reg images... 19.26 Fetching 11 files: 100%|██████████| 11/11 [01:12<00:00, 6.62s/it] Loading pipeline components...: 83%|████████▎ | 5/6 [00:08<00:02, 2.11s/it]The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable. Loading pipeline components...: 100%|██████████| 6/6 [00:09<00:00, 1.53s/it] 101.2 You have disabled the safety checker for <class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'> by passing `safety_checker=None`. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 . 111.6 Killed ------ Dockerfile:31 -------------------- 29 | ADD s3_file_ manager.py . 30 | ADD download.py . 31 | >>> RUN python3 download.py 32 | 33 | ADD convert_diffusers_to_original_stable_ diffusion.py . -------------------- ERROR: failed to solve: process "/bin/sh -c python3 download.py " did not complete successfully: exit code: 137 원인과 해결방법이 어떻게 될까요?
위 명령어를 실행했을때 아래와같은 오류가 나타납니다.. 어떻게 해결해야할까요. 시작부터 막히네요.. SST v2.40.3 ready! ➜ App: raymong-lecture-follow Stage: dev Console: https://console.sst.dev/local/raymong-lecture-follow/dev Error : Invalid character in header content ["authorization"] Trace: TypeError: Invalid character in header content ["authorization"] at __node_internal_captureLargerStackTrace (node:internal/errors:490:5) at new NodeError (node:internal/errors:399:5) at __node_internal_ (node:_http_outgoing:643:11) at ClientRequest.setHeader (node:_http_outgoing:666:3) at new ClientRequest (node:_http_client:292:14) at request (node:https:360:10) at C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\node-http-handler\dist-cjs\index.js:233:19 at new Promise (<anonymous>) at _NodeHttpHandler.handle (C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\node-http-handler\dist-cjs\index.js:189:12) at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\middleware-serde\dist-cjs\index.js:33:24 at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\core\dist-cjs\index.js:165:18 at async StandardRetryStrategy.retry (C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@aws-sdk\middleware-retry\node_modules\@smithy\middleware-retry\dist-cjs\StandardRetryStrategy.js:51:46) at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@aws-sdk\middleware-logger\dist-cjs\index.js:33:22 at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/iot.js:7:22 at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/iot.js:24:22 at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/commands/dev.js:304:25 at async Promise.all (index 2) at async Object.handler ( file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/commands/dev.js:327:9 ) at process.<anonymous> ( file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/sst.js:58:21 ) at process.emit (node:events:525:35) at process.emit (node:domain:489:12) at process._fatalException (node:internal/process/execution:149:25) at processPromiseRejections (node:internal/process/promises:288:13) at process.processTicksAndRejections (node:internal/process/task_queues:96:32) Need help with this error? Post it in #help on the SST Discord https://sst.dev/discord
Lecture 7 진행 하고 있는데.. 코드를 복사해서 붙여 넣어서 똑같이 만든 다음 봐보니까 lambda.ts에서 오류?가 2개가 나오더라구요.. 내용은 이렇습니다. Bucket: Bucket.Uploads.bucketName TableName: Table.Collections.tableName 여기에 Uploads / Collections 가 속성이 없습니다라고 나오네요.. 확인 부탁드립니다! lambda.ts 오류 내용 MyStack.ts 내용