게시글
질문&답변
2024.09.10
npx sst dev 실행시
(사진)
- 0
- 10
- 826
질문&답변
2024.09.10
npx sst dev 실행시
=> ERROR [11/18] RUN python3 download.py 30.5s ------ > [11/18] RUN python3 download.py:3.181 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]28.48 /opt/conda/lib/python3.8/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory 28.48 warn(f"Failed to load image Python extension: {e}")28.48 /opt/conda/lib/python3.8/site-packages/xformers/ops/fmha/flash.py:211: FutureWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch.28.48 @torch.library.impl_abstract("xformers_flash::flash_fwd")28.48 /opt/conda/lib/python3.8/site-packages/xformers/ops/fmha/flash.py:344: FutureWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch.28.48 @torch.library.impl_abstract("xformers_flash::flash_bwd")28.48 Couldn't connect to the Hub: 401 Client Error. (Request ID: Root=1-66e0111d-334700fb4380a00a752bdb0e;46c20cef-fce5-4884-861c-da7ab442c775)28.4828.48 Repository Not Found for url: https://huggingface.co/api/models/runwayml/stable-diffusion-v1-5.28.48 Please make sure you specified the correct repo_id and repo_type.28.48 If you are trying to access a private or gated repo, make sure you are authenticated.28.48 Invalid username or password..28.48 Will try to load from local cache.28.48 downloading reg images...28.49 Traceback (most recent call last):28.49 File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status28.49 response.raise_for_status()28.49 File "/opt/conda/lib/python3.8/site-packages/requests/models.py", line 1024, in raise_for_status28.49 raise HTTPError(http_error_msg, response=self)28.49 requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/runwayml/stable-diffusion-v1-528.4928.49 The above exception was the direct cause of the following exception:28.4928.49 Traceback (most recent call last):28.49 File "/opt/conda/lib/python3.8/site-packages/diffusers/pipelines/pipeline_utils.py", line 1291, in download28.49 info = model_info(pretrained_model_name, token=token, revision=revision)28.49 File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 114, in innerfn28.49 return fn(*args, **kwargs)28.49 File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 2373, in model_info28.49 hf_raise_for_status(r)28.49 File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 352, in hf_raise_for_status28.49 raise RepositoryNotFoundError(message, response) from e28.49 huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-66e0111d-334700fb4380a00a752bdb0e;46c20cef-fce5-4884-861c-da7ab442c775)28.4928.49 Repository Not Found for url: https://huggingface.co/api/models/runwayml/stable-diffusion-v1-5.28.49 Please make sure you specified the correct repo_id and repo_type.28.49 If you are trying to access a private or gated repo, make sure you are authenticated.28.49 Invalid username or password.28.4928.49 The above exception was the direct cause of the following exception:28.4928.49 Traceback (most recent call last):28.49 File "download.py", line 64, in 28.49 download_model()28.49 File "download.py", line 30, in download_model28.49 pipe = StableDiffusionPipeline.from_pretrained(28.49 File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 114, in innerfn28.49 return fn(*args, **kwargs)28.49 File "/opt/conda/lib/python3.8/site-packages/diffusers/pipelines/pipeline_utils.py", line 699, in from_pretrained28.49 cached_folder = cls.download(28.49 File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 114, in innerfn28.49 return fn(*args, **kwargs)28.49 File "/opt/conda/lib/python3.8/site-packages/diffusers/pipelines/pipeline_utils.py", line 1536, in download28.49 raise EnvironmentError(28.49 OSError: Cannot load model runwayml/stable-diffusion-v1-5: model is not cached locally and an error occurred while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above. 도커 빌드를 실행하면 이 오류가 나오는데 허깅페이스 토큰은 올바르게 적용했는데도 불구하고 에러가 납니다 ㅠㅠ 해결법이 있을까요?
- 0
- 10
- 826
질문&답변
2024.09.08
npx sst dev 실행시
안녕하세요 선생님 계속 질문드려서 죄송합니다 ㅠㅠ => ERROR [ 1/18] FROM docker.io/pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime@sha256:9904a7e081eaca29e3ee46afac87f2879676dd3bf7b5e9b8450454d84e074ef0 도커 빌드를 하면 이 에러가 떠서 해결방안이 있을까요??
- 0
- 10
- 826
질문&답변
2024.08.30
npx sst dev 실행시
안녕하세요 강사님 이메일 테스트 시 npx sst dev 하면 (사진)이렇게 나오는데 해결 방법이 있을까요?
- 0
- 10
- 826
질문&답변
2024.08.29
npx sst dev 실행시
선생님 혹시npx sst dev 를하고 dev 를 하면 Invoked packages/functions/src/lambda.handler ✖ Build failed packages/functions/src/lambda.handler Could not resolve "sst/node/api" packages/functions/src/lambda.ts 1 │ import { ApiHandler } from "sst/node/api" 이게 뜨는데 무슨 문제인지 알수았을까요?
- 0
- 10
- 826
질문&답변
2024.08.28
npx sst dev 실행시
아무리 해도 안되네요 ㅠㅠ 선생님 도와주세요..
- 0
- 10
- 826
질문&답변
2024.08.28
npx sst dev 실행시
nvm이 설치가 안되어서 그런걸까요?
- 0
- 10
- 826