Instructions to use eousphoros/turnstone-lambda-671.2-fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eousphoros/turnstone-lambda-671.2-fp8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="eousphoros/turnstone-lambda-671.2-fp8") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("eousphoros/turnstone-lambda-671.2-fp8") model = AutoModelForMultimodalLM.from_pretrained("eousphoros/turnstone-lambda-671.2-fp8", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use eousphoros/turnstone-lambda-671.2-fp8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eousphoros/turnstone-lambda-671.2-fp8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eousphoros/turnstone-lambda-671.2-fp8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/eousphoros/turnstone-lambda-671.2-fp8
- SGLang
How to use eousphoros/turnstone-lambda-671.2-fp8 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "eousphoros/turnstone-lambda-671.2-fp8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eousphoros/turnstone-lambda-671.2-fp8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "eousphoros/turnstone-lambda-671.2-fp8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eousphoros/turnstone-lambda-671.2-fp8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use eousphoros/turnstone-lambda-671.2-fp8 with Docker Model Runner:
docker model run hf.co/eousphoros/turnstone-lambda-671.2-fp8
Download SHA256SUMS from eousphoros/turnstone-lambda-671.2-fp8: direct link, hf CLI and curl.
- Browser
- Download file 6.41 kB
-
https://huggingface.co/eousphoros/turnstone-lambda-671.2-fp8/resolve/main/SHA256SUMS
- Command line
-
hf download hf://eousphoros/turnstone-lambda-671.2-fp8/SHA256SUMS
-
curl -L -o SHA256SUMS https://huggingface.co/eousphoros/turnstone-lambda-671.2-fp8/resolve/main/SHA256SUMS
6.41 kB
| c3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041 chat_template.jinja | |
| 74227dd615bf1ea975aa676bdf355a0379858c12f394b5365cd9dfa5fc2c70bc config.json | |
| a1c7415d6d735b1178268c05c8d369e412794905115498559103f335e3641910 dspark/README.md | |
| 2e00c11d3ff99f1d6696319b17c58d62b6f5d4d1a5cb933852e361590286803d dspark/calibration.json | |
| 42c6f5b3f9fa1ce42da60fb801753bfd4e5c6197f7d464e1df5c1f9d3bee17f4 dspark/config.json | |
| 2f4381ff2eb9de506c6ba09bc17f83d0aee871f75651f6303b2e4b581e9b4ca1 dspark/config.py | |
| 1a439c748135b7b352a36c5168147d18e70356135e244c09553dbd9d64fcbe67 dspark/model.safetensors | |
| e70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e generation_config.json | |
| a9d356d7bdf1ef4949e3e748e95b8e10ad9d4e2e838eddc38a0a7b6b94d1db8d merges.txt | |
| 355e8ef5db712fc78cf66a83bb05c326327543a8656d237be9250468c630b80a model-part-00001.safetensors | |
| 5d38d109779e8bd1217615cbfc12c6a12bb3ccb58914334f50050f74921cb147 model-part-00002.safetensors | |
| 2425df3662d1e5e51f0f6df53627c8dd33a51c99a6c50098b5aae05849f6cfef model-part-00003.safetensors | |
| 986965ddf1cff20b45f3e741c82600bedbae3ccc9f3a6d26d28d3e8dd7711c4a model-part-00004.safetensors | |
| 5be53ef313b590f6ac73c65fc172d8c757f84c2cfa9be5798a9abc2086bbb81a model-part-00005.safetensors | |
| 12de5c97374a806ac6e702370eed2a8759dfba216f37ed306e17a5ac69a2de60 model-part-00006.safetensors | |
| b415f6bcdf59f9e60f34b7b71dc820e375332cdb43f3e2a6d9827b80822739a0 model-part-00007.safetensors | |
| c89b87885948dcadfe8d9415002ad2184ba282177483099f064ca69db885b844 model-part-00008.safetensors | |
| b70e8be1d5e5d08ff5a1c9526f0ea7c7bed66655e0a8cf77160e1e733a160d8e model-part-00009.safetensors | |
| 8a200d710b807511726df05937e9b0d434a42ccf0a4ed0f078b34cd4051da00a model-part-00010.safetensors | |
| eb6624a1e5b8c67ce78b5894fde553562a4c9252b2199f3b13981489bd51b325 model-part-00011.safetensors | |
| 5eb9704cd2fb68e01d713f661cdfa941f72f9069869793d2a2d4c704662ee2ba model-part-00012.safetensors | |
| 1e3c6de9a410da04038a01f6940a2c06d24c5b3a64711661242d452bdab7141b model-part-00013.safetensors | |
| c9b199fccae22bbf79f9f55092c889e36b133e6fc894f8f4d30816a4e255dea5 model-part-00014.safetensors | |
| ae187404d4a7e1feea792d402b7e41a5f6e7daafff744f8ebb4e693ace0825d0 model-part-00015.safetensors | |
| 00ebf3cc96941d1beabab8fe5c29b84d1ae55eb19fa83fb2626da498fb333c80 model-part-00016.safetensors | |
| 1b7975b28cbf78c9cc47738ed708c040a9d4ba8cdc9a9e9ea89a7f8b53e0618a model-part-00017.safetensors | |
| 0a939c537f395d2fa1001ada1c88e25f6c1db983a82de68159a058565fc17038 model-part-00018.safetensors | |
| 02afa2b20661da671fd5414fdd35bdc6ae6aac7cea1d269a2051509c4ef451ad model-part-00019.safetensors | |
| f94171afe4cc7e8a03c79832db12fde700e5b234970738c53df22d6afc271c97 model-part-00020.safetensors | |
| 72b099e3f28a1828e8dd0cd2976c56e2c8c140d93c19f12007cc42fe2b2e11ef model-part-00021.safetensors | |
| 431619aacfa0cc19b7f6445c9f8192db445a111d6c5bdf7459adaad4716df182 model-part-00022.safetensors | |
| fa5ec7fde7bddbcf6bc3d0fda479680fa5edd42a8ccf5cf287e9b0e51176806c model-part-00023.safetensors | |
| 4b195b5e07a9006fed7d8f40c8177d36b933dab6f6af85fbc00646652c2d2c50 model-part-00024.safetensors | |
| d3319d7f18b3c896ce47b4bd61d3d6282fdf238f0c1d92f58dc438e4c4884eb0 model-part-00025.safetensors | |
| 7cf74c251182e557479d1052821374e8fafb168a672ad545448853a688ac6a2d model-part-00026.safetensors | |
| fce8ecdfb256f6a7a0bb3443079234ccd855a0f7a8e82e44e283629585069717 model-part-00027.safetensors | |
| d63e3c3c3394650e2a0334ac43f9c4517082d0cde796e1c8382d7b839b5ac2f1 model-part-00028.safetensors | |
| 793cca80af4cf543e51c8cf3a13f1aac1b6c7574b541a9de690ad2fc605ed234 model-part-00029.safetensors | |
| cf9f5fbf28877410ea0581d6b46990ef9d807d1442669b2f02eb877b9e0c4df6 model-part-00030.safetensors | |
| cc1e74801812e4f9f94728cf62da8e9554ce4405e59313ac6b53c11858c5aeba model-part-00031.safetensors | |
| 5e2a70ad286249ab08a1d8d34686271b99f5063bce908429518c9a8ec9133aa8 model-part-00032.safetensors | |
| f855aa13c745627d55b6eb9425055c4d50b9baaa2c9468068c6ff4702fc78eda model-part-00033.safetensors | |
| 7bb679d9509b601906d6584c5e5ab59c523095e4f50040b3d786440508b93e52 model-part-00034.safetensors | |
| 9d2fb65ea2691b615da806e42086611ece84e3847150445548199ca2b33b3f3a model-part-00035.safetensors | |
| dc58f7f9378515b40ee16bd20396a816ba18f52b415a5474e2b690b7a0cca2d9 model-part-00036.safetensors | |
| a95aaa0665435a0c4e3cee98eda9997eb81ebbe88e9052382bee67f64e540206 model-part-00037.safetensors | |
| 772877333e43795a57ba494d2b89d94f7b397d9df0b22173a789a0694fa55bd0 model-part-00038.safetensors | |
| 166caaf9368aa7759a924600e91c4996f8b72d924b1c9b0ca67587d7b48a1af9 model-part-00039.safetensors | |
| 7809b04d32d4e91efc3cf85d34b13656cdb62aa4f396ebc698f192a39fce9742 model-part-00040.safetensors | |
| 5eddbf21c30987d5af8098a2ab79d401e12b3551df2ca1fd9e8e9f97d08e8e4c model-part-00041.safetensors | |
| b5bb9d3fbef6384df46239b92df6ab2fd4d980e53a5e20d8e770b49c331b8656 model-part-00042.safetensors | |
| 952f83df2701b58a66345b61ec0c0438f8acd054a1479f13e7f09ce314dbf804 model-part-00043.safetensors | |
| cfe9ead8164468dc15c0ec7578a6210a07cd90ff6da04b6bdff5bc67b65b8807 model-part-00044.safetensors | |
| 9128f42bce010e4cee5e5ec86f1c9b128dd322b7dbcf6647b85b4e04e5c221b1 model-part-00045.safetensors | |
| 4aff2dc240df5d25e6c1315c37b05a5080a63dc07a4defc308433db8b117868b model-part-00046.safetensors | |
| 5224ade6ed16ffc92929aee2fbd1b035030934f78a9be854bab87968e978bb63 model-part-00047.safetensors | |
| d4758ce9890d139ac1fe08b8bdaad6938bca09b877d560ce1a33250ec3db8318 model-part-00048.safetensors | |
| 6b062c6df34d833cc54379ff7ed635d16fdc434ea830237520791a44d501b0db model-part-00049.safetensors | |
| 30356bc71ef1fefaae1629d67a76fdce52bfd41e1350f6c3714fccd241e37c0e model-part-00050.safetensors | |
| 284652f01543e0d26288a2202baf89e6c26c804c23082dbfe53d6f9d024e0a02 model-part-00051.safetensors | |
| ef35a780d5cf5c2fd1f9bf161934e6be09016823248e6bf6eeb4e49d982f67b7 model-part-00052.safetensors | |
| ae0f694a8e7735d5ff076d51408359ed8b32e8426b26ad4ff113ef24e4aed679 model-part-00053.safetensors | |
| c2aa94c0a151da9f4e2e1a088561c25c53dd5bbfbca6a990973126a983675f8e model.safetensors.index.json | |
| 781720bbc89850cbab84d253dda861db8990f4dda553b5aa025a0ecebe8bfd2e mtp.safetensors | |
| 27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516 preprocessor_config.json | |
| 0997f410c57a1f4e53b09e4be8f4a172d90edd9564368fb0847030937229b9f3 tokenizer.json | |
| b11349aafa7cdc6a320767cf7ceb29ed82f7eda5d65e8e0819e76f0ce947bf27 tokenizer_config.json | |
| 7768af27c1fafa9cc9011c1dc20067e03f8915e03b63504550e11d5066986d13 video_preprocessor_config.json | |
| ce99b4cb2983d118806ce0a8b777a35b093e2000a503ebde25853284c9dfa003 vocab.json | |