Question Eric Mariasis · Jul 23, 2024

Issues running Docker container in Hugging Face Space

When I try to run my app as a Docker Container locally it works fine, but I attempted to create a Hugging Face Space to try to deploy my app to and when I run with the Docker SDK selected I run into the following IRIS error report.
Has anyone seen something like this before?
 

Starting Control Process 
Global buffer setting requires attention. Auto-selected 25% of total memory. 
Allocated 105698MB shared memory 95166MB global buffers, 1020MB routine buffers 
This copy of InterSystems IRIS has been licensed for use exclusively by: 
Too many Cores (24) for InterSystems IRIS Community License. 
Copyright (c) 1986-2024 by InterSystems Corporation Any other use is a violation of your license agreement 
Error: Invalid Community Edition license, may have exceeded core limit. - Shutting down the system : $zu(56,2)= 0Starting IRIS
Product version: IRIS 2024.1

Comments

Dmitry Maslennikov  Jul 24, 2024 to Alexander Koblov

What if IRIS could limit itself to the number of limited cores, how easier would it be for newcomers

0
Eric Mariasis  Jul 24, 2024 to Alexander Koblov

Thank you for the response. I guess I'm a bit baffled because as shown, the free hugging space I'm using only has basic settings so I'm not sure how exactly 24 cores are being used. Maybe it's a question for the HuggingFace community I'm not sure.
 

0
Eric Mariasis  Jul 24, 2024 to Alexander Koblov

Before creating this post, I tried to impose the CPU limits in Docker but it seems like they weren't taking into effect for whatever reason so I have a question out to the Hugging Face community about it.
I'll report back if I learn of anything that helps. Or if anyone sees this who has used a Docker Iris project with HF spaces feel free to chime in. I'll also note this isn't a super important blocking issue for what I'm working on, I just tried out to see if I can deploy to Hugging Face spaces kind of for fun.

0