Spaces:
Runtime error
Runtime error
Download llama-cpp-python/vendor/llama.cpp/kompute/test/shaders/Utils.hpp from aelitta/BioMistral_gradio: direct link, hf CLI and curl.
- Browser
- Download file 610 Bytes
-
https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/kompute/test/shaders/Utils.hpp
- Command line
-
hf download hf://spaces/aelitta/BioMistral_gradio/llama-cpp-python/vendor/llama.cpp/kompute/test/shaders/Utils.hpp
-
curl -L -o Utils.hpp https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/kompute/test/shaders/Utils.hpp
610 Bytes
| // SPDX-License-Identifier: Apache-2.0 | |
| /** | |
| * Compile a single glslang source from string value. This is only meant | |
| * to be used for testing as it's non threadsafe, and it had to be removed | |
| * from the glslang dependency and now can only run the CLI directly due to | |
| * license issues: see https://github.com/KomputeProject/kompute/pull/235 | |
| * | |
| * @param source An individual raw glsl shader in string format | |
| * @return The compiled SPIR-V binary in unsigned int32 format | |
| */ | |
| std::vector<uint32_t> | |
| compileSource(const std::string& source); | |