Download benchmarks/gpu_mode/vecadd/evaluator.py from JustinTX/sky2: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/JustinTX/sky2/resolve/main/benchmarks/gpu_mode/vecadd/evaluator.py
- Command line
-
hf download hf://JustinTX/sky2/benchmarks/gpu_mode/vecadd/evaluator.py
-
curl -L -o evaluator.py https://huggingface.co/JustinTX/sky2/resolve/main/benchmarks/gpu_mode/vecadd/evaluator.py
410 Bytes
| """Evaluator for float16 Vector Addition — delegates to shared evaluator.""" | |
| import os | |
| import sys | |
| _problem_dir = os.path.dirname(os.path.abspath(__file__)) | |
| _parent_dir = os.path.dirname(_problem_dir) | |
| if _problem_dir not in sys.path: | |
| sys.path.insert(0, _problem_dir) | |
| if _parent_dir not in sys.path: | |
| sys.path.insert(0, _parent_dir) | |
| from shared_eval import evaluate, evaluate_stage1, evaluate_stage2 | |