Server Error (500)

81 views
Skip to first unread message

Kris

unread,
Sep 2, 2025, 5:36:20 AMSep 2
to Challenge on Learned Image Compression (CLIC)

Dear organizers, I encountered a server error (500) when submitting my decoder. The issue doesn’t seem to be related to file size, as my decoder.zip is around 2.37 GB (2.6 GB uncompressed), which satisfies the submission limit. However, a 500 MB dummy version without full checkpoints uploads successfully.

Could you help me identify what might be causing the error, or suggest how to proceed?

Thanks in advance!

Best regards, 

Kris 




Lucas Theis

unread,
Sep 2, 2025, 7:54:49 AMSep 2
to Kris, Challenge on Learned Image Compression (CLIC)
Hi Kris,

Can you provide us with:

- Your team's name
- A submission ID if the 500 error happened after the submission was created

Thanks,
Lucas


--
You received this message because you are subscribed to the Google Groups "Challenge on Learned Image Compression (CLIC)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clic-list+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/clic-list/29806e73-6b83-45b7-899b-a8a62c9870dcn%40googlegroups.com.
Message has been deleted

Hiroshi Hiko

unread,
Sep 2, 2025, 8:24:03 AMSep 2
to Lucas Theis, Challenge on Learned Image Compression (CLIC)

Hi, thanks for your reply.

  • Team name: NYCU_MAPL

  • The submission was unsuccessful, so a submission ID was not generated.

Thanks again!

Best Regards, 
Kris 

Lucas Theis <lu...@mabyduck.com> 於 2025年9月2日 週二 下午7:54寫道:

Chen, Yixu

unread,
Sep 2, 2025, 1:48:17 PMSep 2
to Hiroshi Hiko, Lucas Theis, Challenge on Learned Image Compression (CLIC)
Hi Kris,
I resubmit your submission id 789 and didn’t see 500 error.  
The following logs shows some problems with your submission code. Please check and see if you can resolve this yourself.
Regards,
Yixu Chen

---
[2025-09-02 17:45:02] INFO     Starting a new decoding job for submission 808
[2025-09-02 17:45:02] DEBUG    Connecting to SQL database
[2025-09-02 17:45:02] INFO     Obtaining submission
[2025-09-02 17:45:02] INFO     Submission 808 status set to DECODING
[2025-09-02 17:45:02] INFO     Work directory: /var/lib/containers/submissions/image_0_075_valid_clic2025
[2025-09-02 17:45:02] INFO     Using buckets - Submissions: clic-submissions-clic2025, Environments: clic-environments-clic2025
[2025-09-02 17:45:02] DEBUG    Copying submission files
[2025-09-02 17:45:04] DEBUG    Successfully synced 2 files from s3://clic-submissions-clic2025/static/image_0_075/valid/clic2025/808/ to /var/lib/containers/submissions/image_0_075_valid_clic2025
[2025-09-02 17:45:04] INFO     Found decoder zip file: decoder.zip
[2025-09-02 17:45:04] INFO     Unzipping decoder
[2025-09-02 17:45:07] INFO     Successfully extracted decoder zip file
[2025-09-02 17:45:07] INFO     Executable path: /var/lib/containers/submissions/image_0_075_valid_clic2025/decode
[2025-09-02 17:45:07] INFO     Files in work_dir directory: ['bs.zip', 'decoder.zip', 'BK-SDM', 'decode', '__MACOSX', 'requirements.txt', 'unzip.py']
[2025-09-02 17:45:07] INFO     Set execute permissions on decoder
[2025-09-02 17:45:07] INFO     Logging into ECR
[2025-09-02 17:45:07] INFO     Successfully logged into ECR registry: 800102672637.dkr.ecr.us-east-1.amazonaws.com
[2025-09-02 17:45:07] INFO     Pulling image from ECR: 800102672637.dkr.ecr.us-east-1.amazonaws.com/compression:mapl_clic
[2025-09-02 17:45:08] INFO     Successfully pulled user image
[2025-09-02 17:45:08] INFO     Running decoder with command: podman run --network none --memory 12000m --memory-swap 12000m --cpus 2 --device nvidia.com/gpu=all --name image_0_075_valid_clic2025 -v /var/lib/containers/submissions/image_0_075_valid_clic2025:/home/image_0_075_valid_clic2025 -w /home/image_0_075_valid_clic2025 --entrypoint ./decode 800102672637.dkr.ecr.us-east-1.amazonaws.com/compression:mapl_clic
[2025-09-02 17:45:08] INFO     Resource limits - Memory: 12000MB, CPU: 2, Timeout: 18000s
[2025-09-02 17:45:08] INFO     Using GPU container configuration
NGC-DL-CONTAINER-LICENSE
bin
boot
dev
etc
home
lib
lib64
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
BK-SDM
__MACOSX
bs.zip
decode
decoder.zip
requirements.txt
unzip.py
image_0_075_valid_clic2025
ubuntu
Checking extracted files...
total 752
drwxr-xr-x. 2 root root  16384 Sep  2 17:45 .
drwxr-xr-x. 6 root root  16384 Sep  2 17:45 ..
-rw-r--r--. 1 root root   6339 Sep  2 17:45 097cb426910ba8ce2525dd8bb7fb1777.pt
-rw-r--r--. 1 root root  21571 Sep  2 17:45 0c49a5cce349020bbba2f97ae41e90ba.pt
-rw-r--r--. 1 root root  15555 Sep  2 17:45 100a02c269c5948392f283b2aa3bb4da.pt
-rw-r--r--. 1 root root   5251 Sep  2 17:45 100f17892cf7bb12beb12479641fcc4c.pt
-rw-r--r--. 1 root root  18691 Sep  2 17:45 11f2b039b293758398b1a7a8afa64bb2.pt
-rw-r--r--. 1 root root  24195 Sep  2 17:45 14ab4af28901fbeb1356b06d2d08ae06.pt
-rw-r--r--. 1 root root 119235 Sep  2 17:45 1e2f9d41529197f10d32bfa68a1e0bcc.pt
-rw-r--r--. 1 root root  15043 Sep  2 17:45 22ea12c903e41583b7c469cb86040157.pt
-rw-r--r--. 1 root root   9219 Sep  2 17:45 28d24b9c83de066597ff96a68769884f.pt
-rw-r--r--. 1 root root   9603 Sep  2 17:45 2a2420f929cd47122eae364a2bc27710.pt
-rw-r--r--. 1 root root  11075 Sep  2 17:45 2c1f84548ef99faec2b4f9bf12227c83.pt
-rw-r--r--. 1 root root   8707 Sep  2 17:45 3140d643a1f57e80ff265507984d95a0.pt
-rw-r--r--. 1 root root  33795 Sep  2 17:45 4a18abf66d65ad1a95ce455c8b6cd8de.pt
-rw-r--r--. 1 root root  32515 Sep  2 17:45 4cd6910a0b7b39365fda5df87618d091.pt
-rw-r--r--. 1 root root  39939 Sep  2 17:45 5dbdb989cf026f7ab3dd7167d7fc0fe2.pt
-rw-r--r--. 1 root root  19139 Sep  2 17:45 5e5ce43575fa67fdc0dd37146d7f479e.pt
-rw-r--r--. 1 root root   8131 Sep  2 17:45 60430844748882ff66b9a5598ef06dd6.pt
-rw-r--r--. 1 root root  19267 Sep  2 17:45 7e499613c3e376ea93afb3649719abeb.pt
-rw-r--r--. 1 root root  27075 Sep  2 17:45 870516c65d81fb9267de6865964083a9.pt
-rw-r--r--. 1 root root  11075 Sep  2 17:45 8bb119b8ca17492392e1e3ea4b811b32.pt
-rw-r--r--. 1 root root   7939 Sep  2 17:45 9466a908d088d32ee73f04116c40e48c.pt
-rw-r--r--. 1 root root  25475 Sep  2 17:45 a10ae819a2d24873079c93346200cab3.pt
-rw-r--r--. 1 root root  33411 Sep  2 17:45 a36713f1943dac6bc74dea50cadaee6f.pt
-rw-r--r--. 1 root root  10371 Sep  2 17:45 aed95e005df28e790519eefb6eb1e565.pt
-rw-r--r--. 1 root root  29443 Sep  2 17:45 afe3676bbfcf7183d697ff7b5d5bd45b.pt
-rw-r--r--. 1 root root   6467 Sep  2 17:45 b51d5fb537246482ef7a7ab63f093cab.pt
-rw-r--r--. 1 root root  23939 Sep  2 17:45 b939ac34faa94b5d0e753d570edc7048.pt
-rw-r--r--. 1 root root  26051 Sep  2 17:45 c80999cd5533e448167cd9b3ccfa2a37.pt
-rw-r--r--. 1 root root  13187 Sep  2 17:45 d1a9be98d1936065967adac50a6fb750.pt
-rw-r--r--. 1 root root  17795 Sep  2 17:45 d79d465ac77c36518e0f0d626bf97ec4.pt
-rw-r--r--. 1 root root   9731 Sep  2 17:45 ddcd24d99f48eaa369207882a6f37831.pt
-rw-r--r--. 1 root root  15619 Sep  2 17:45 ef576c4ed599d75d72145a8f34b58ccb.pt
-rw-r--r--. 1 root root 1712 Sep  2 17:45 extra_information.csv
Found config file: config.json
Config - bpp: 0.075, model: ../checkpoints/bk-sdm-v2-base, guidance_scale: 0, grad_term_weight: 0.2, mode: mpgd, use_captions: False
Working directory: /home/image_0_075_valid_clic2025/temp
Captions disabled in config
/usr/local/lib/python3.10/dist-packages/wandb/sdk/launch/builder/build.py:11: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
/usr/local/lib/python3.10/dist-packages/timm/models/layers/__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
  warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
/usr/local/lib/python3.10/dist-packages/diffusers/utils/outputs.py:63: FutureWarning: `torch.utils._pytree._register_pytree_node` is deprecated. Please use `torch.utils._pytree.register_pytree_node` instead.
  torch.utils._pytree._register_pytree_node(
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/image_0_075_valid_clic2025/BK-SDM/src/denim_for_submission.py:240 in   │
│ <module>                                                                     │
│                                                                              │
│   237 │   │   transforms.ToTensor()                                          │
│   238 │   ])                                                                 │
│   239 │                                                                      │
│ ❱ 240 │   pipe1 = StableDiffusionNCPipeline.from_pretrained(                 │
│   241 │   │   args.model_path,                                               │
│   242 │   │   torch_dtype=torch.float16,                                     │
│   243 │   )                                                                  │
│                                                                              │
│ /usr/local/lib/python3.10/dist-packages/diffusers/pipelines/pipeline_utils.p │
│ y:1086 in from_pretrained                                                    │
│                                                                              │
│   1083 │   │   # use snapshot download here to get it working from from_pret │
│   1084 │   │   if not os.path.isdir(pretrained_model_name_or_path):          │
│   1085 │   │   │   if pretrained_model_name_or_path.count("/") > 1:          │
│ ❱ 1086 │   │   │   │   raise ValueError(                                     │
│   1087 │   │   │   │   │   f'The provided pretrained_model_name_or_path "{pr │
│   1088 │   │   │   │   │   " is neither a valid local path nor a valid repo  │
│   1089 │   │   │   │   )                                                     │
╰──────────────────────────────────────────────────────────────────────────────╯
ValueError: The provided pretrained_model_name_or_path 
"../checkpoints/bk-sdm-v2-base" is neither a valid local path nor a valid repo 
id. Please check the parameter.
Error: No output images found in /home/image_0_075_valid_clic2025/temp/results/out
Final results:
ls: cannot access 'images/*.png': No such file or directory
[2025-09-02 17:45:19] ERROR    The decoder failed with exit code 2
[2025-09-02 17:45:19] ERROR    Check the decoder logs below for more details about the failure
[2025-09-02 17:45:19] DEBUG    Full error: Command '['podman', 'run', '--network', 'none', '--memory', '12000m', '--memory-swap', '12000m', '--cpus', '2', '--device', 'nvidia.com/gpu=all', '--name', 'image_0_075_valid_clic2025', '-v', '/var/lib/containers/submissions/image_0_075_valid_clic2025:/home/image_0_075_valid_clic2025', '-w', '/home/image_0_075_valid_clic2025', '--entrypoint', './decode', '800102672637.dkr.ecr.us-east-1.amazonaws.com/compression:mapl_clic']' returned non-zero exit status 2.
[2025-09-02 17:45:28] DEBUG    Successfully synced 55 files from /var/lib/containers/submissions/image_0_075_valid_clic2025 to s3://clic-submissions-clic2025/static/image_0_075/valid/clic2025/808/
[2025-09-02 17:45:28] INFO     Successfully synced results back to S3
[2025-09-02 17:45:28] INFO     Cleanup completed
[2025-09-02 17:45:53] ERROR    Unable to retrieve logs


From: clic...@googlegroups.com <clic...@googlegroups.com> on behalf of Hiroshi Hiko <axzzre...@gmail.com>
Date: Tuesday, September 2, 2025 at 5:24 AM
To: Lucas Theis <lu...@mabyduck.com>
Cc: Challenge on Learned Image Compression (CLIC) <clic...@googlegroups.com>
Subject: RE: [EXTERNAL] Server Error (500)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.

Message has been deleted

Hiroshi Hiko

unread,
Sep 2, 2025, 2:37:56 PMSep 2
to Chen, Yixu, Lucas Theis, Challenge on Learned Image Compression (CLIC)

Hi Yi Xu, thanks for your reply.

Submission 789 is the dummy version I mentioned earlier—it contains no checkpoints and was successfully uploaded. The server error (500) occurs when I try to submit the full version. Since the upload fails immediately, no submission ID is generated.

It might be worth checking if the server cache or handling limits are affecting large file uploads.

I've attached the screenshot of the error and the decoder file I tried to submit for you to look over.

screen recording

decoder.zip


Chen, Yixu <yix...@amazon.com> 於 2025年9月3日 週三 上午1:48寫道:

Chen, Yixu

unread,
Sep 2, 2025, 6:11:30 PMSep 2
to Hiroshi Hiko, Lucas Theis, Challenge on Learned Image Compression (CLIC)
  • Attachment protected by Amazon:
  • log.txt
Hi Hiroshi,

It seems your decoder size exceeds the server SQL INT size limit. I’ve updated the DB size INT type to accommodate bigger number. Please find the success log attached. You can resubmit your solution. Thanks for participating.

Regards,
Yixu Chen

Kris

unread,
Sep 5, 2025, 6:51:31 AMSep 5
to Challenge on Learned Image Compression (CLIC)

Hi, thanks for your reply.

  • Team name: NYCU_MAPL

  • The submission was not successful, so a submission ID hasn't generated.

Thanks again!

lu...@mabyduck.com 在 2025年9月2日 星期二晚上7:54:49 [UTC+8] 的信中寫道:

Kris

unread,
Sep 5, 2025, 6:51:34 AMSep 5
to Challenge on Learned Image Compression (CLIC)
Hi Yi Xu, thanks for your reply.

Submission 789 is the dummy version I mentioned earlier—it contains no checkpoints and was successfully uploaded. 
The server error (500) occurs when I try to submit the full version. Since the upload fails immediately, no submission ID is generated.

It might be worth checking if the server cache or handling limits are affecting large file uploads.

I've attached the screen recording of the error and the decoder file I tried to submit for your review.

Best regards, 
Kris 
yix...@amazon.com 在 2025年9月3日 星期三凌晨1:48:17 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages