facebookincubator / cinder

Cinder is Meta's internal performance-oriented production version of CPython.
https://trycinder.com
Other
3.42k stars 122 forks source link

RuntimeError: Failed to initialize CinderX #130

Closed HShan886 closed 7 months ago

HShan886 commented 7 months ago

python -X jit-help which is compiled by lastest code (commit id: 3674f93) will report error

Error in sitecustomize; set PYTHONVERBOSE for traceback:
RuntimeError: Failed to initialize CinderX
tekknolagi commented 7 months ago

Can repro with docker run -it --rm ghcr.io/facebookincubator/cinder-runtime:cinder-3.10 -X jit-help or docker run -it --rm ghcr.io/facebookincubator/cinder-runtime:cinder-3.10.3674f93 -X jit-help

jbower-fb commented 7 months ago

Thanks for the report. It looks like this issue is very specific to starting with -X jit-help, if you aren't using that arg then things should be working (baring some other bug).

jbower-fb commented 7 months ago

Fixed with bea832f32ca252d5d6e2c7f2b46ce4fe7a339132.