Instructions to use ReasoningKingdom/LITOperator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use ReasoningKingdom/LITOperator with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download Makefile from ReasoningKingdom/LITOperator: direct link, hf CLI and curl.
- Browser
- Download file 706 Bytes
-
https://huggingface.co/ReasoningKingdom/LITOperator/resolve/main/Makefile
- Command line
-
hf download hf://ReasoningKingdom/LITOperator/Makefile
-
curl -L -o Makefile https://huggingface.co/ReasoningKingdom/LITOperator/resolve/main/Makefile
706 Bytes
| UNAME_S := $(shell uname -s) | |
| ifeq ($(UNAME_S),Darwin) | |
| LIB := sandbox/lerobot_host/liblit.dylib | |
| LIBFLAGS := -dynamiclib | |
| else | |
| LIB := sandbox/lerobot_host/liblit.so | |
| LIBFLAGS := -shared -fPIC | |
| endif | |
| CORES := lit_operator/lit_core.c \ | |
| lit_operator/lit_operator.c \ | |
| lit_operator/dense.c | |
| all: lib | |
| lib: $(LIB) | |
| $(LIB): $(CORES) lit_operator/lit_core.h lit_operator/lit_operator.h \ | |
| lit_operator/dense.h | |
| clang -O2 -std=c11 -Wall -Wextra -I lit_operator \ | |
| $(LIBFLAGS) $(CORES) -o $(LIB) | |
| product: | |
| clang -O2 -std=c11 -Wall -Wextra -Ilit_operator \ | |
| lit_operator/*.c -o lit | |
| demo: lib | |
| python3 demo/demo.py | |
| clean: | |
| rm -f $(LIB) lit | |