Download Pytorch/include/internal/pycore_code.h from RayTBRP/codellama-CodeLlama-7b-Python-hf: direct link, hf CLI and curl.
- Browser
- Download file 696 Bytes
-
https://huggingface.co/RayTBRP/codellama-CodeLlama-7b-Python-hf/resolve/c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/include/internal/pycore_code.h
- Command line
-
hf download hf://RayTBRP/codellama-CodeLlama-7b-Python-hf@c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/include/internal/pycore_code.h
-
curl -L -o pycore_code.h https://huggingface.co/RayTBRP/codellama-CodeLlama-7b-Python-hf/resolve/c0c5506eba15c7ab03ff4f59bbe251ee2db72517/Pytorch/include/internal/pycore_code.h
696 Bytes
| extern "C" { | |
| typedef struct { | |
| PyObject *ptr; /* Cached pointer (borrowed reference) */ | |
| uint64_t globals_ver; /* ma_version of global dict */ | |
| uint64_t builtins_ver; /* ma_version of builtin dict */ | |
| } _PyOpcache_LoadGlobal; | |
| typedef struct { | |
| PyTypeObject *type; | |
| Py_ssize_t hint; | |
| unsigned int tp_version_tag; | |
| } _PyOpCodeOpt_LoadAttr; | |
| struct _PyOpcache { | |
| union { | |
| _PyOpcache_LoadGlobal lg; | |
| _PyOpCodeOpt_LoadAttr la; | |
| } u; | |
| char optimized; | |
| }; | |
| /* Private API */ | |
| int _PyCode_InitOpcache(PyCodeObject *co); | |
| } | |