Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<tmp-output.tmp: struct<kept: bool, sha256: string, sha256_lf: string, sha256_nan: string, size: int64>, tmp-output2.tmp: struct<kept: bool, sha256: string, sha256_lf: string, sha256_nan: string, size: int64>>
to
{'tmp-output1.tmp': {'kept': Value('bool'), 'sha256': Value('string'), 'sha256_lf': Value('string'), 'sha256_nan': Value('string'), 'size': Value('int64')}, 'tmp-output2.tmp': {'kept': Value('bool'), 'sha256': Value('string'), 'sha256_lf': Value('string'), 'sha256_nan': Value('string'), 'size': Value('int64')}}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2315, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2161, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<tmp-output.tmp: struct<kept: bool, sha256: string, sha256_lf: string, sha256_nan: string, size: int64>, tmp-output2.tmp: struct<kept: bool, sha256: string, sha256_lf: string, sha256_nan: string, size: int64>>
              to
              {'tmp-output1.tmp': {'kept': Value('bool'), 'sha256': Value('string'), 'sha256_lf': Value('string'), 'sha256_nan': Value('string'), 'size': Value('int64')}, 'tmp-output2.tmp': {'kept': Value('bool'), 'sha256': Value('string'), 'sha256_lf': Value('string'), 'sha256_nan': Value('string'), 'size': Value('int64')}}

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

cmeta-repo-ck-legacy-program-output

A cMeta repository on the Hugging Face Hub with the reference outputs of the benchmarks of cmeta-ck-legacy: what each program must produce for a given command, input and parameters, so that a run on another machine, compiler, target or GPU can be checked against it.

What is inside

One program.output artifact per program (82), a case per command, input and parameters (86), each a folder named by a UID with case.json and the output files themselves when small:

  • cBench, every command, on its default input;
  • PolyBench/C 3.2 - the arrays it dumps, compared within a relative tolerance and one step of the 2 decimals it prints (x86 and arm64 round differently);
  • the codelets of the CK paper (edge detection on the office webcam snapshots);
  • PolyBench/GPU 1.0 on CUDA and on OpenCL - the standard output without the lines that name the device, so a reference says that the GPU's result matched the CPU's, on any GPU.

case.json holds the key of the case - the program, the command, the dataset, its sub-dataset and file, and the parameters of the run (the kernel's repeat, PolyBench's sizes, precision and dump, the codelet's time) - the facts of the recording (the host, the targets, the tools, the command, the parameters, the times) and every output file with its size and digests. The key is data, never a folder name.

Use

cx repo pull ctuninglabs@cmeta-aops                                # cMeta AOps 0.72+ (program.output, --check_output)
cx repo pull https://github.com/ctuning/cmeta-ck-legacy          # the programs
cx repo pull hf://ctuning/cmeta-repo-ck-legacy-program-output    # these references (cMeta 0.43+, no git needed)

cx program run polybench-cpu-2mm cpu --check_output=validate -q          # compared with its reference
cx program run polybench-opencl-gemm opencl --check_output=validate -q   # on any OpenCL GPU
cx task run test-ck-programs --compute=cpu "--extra=--check_output=validate" -q   # every program and command

A run that differs from its reference fails, and its summary says which file and why. A run with other parameters (--repeat, --compile.n=512, --compile.precision=float ...) has no reference here: --check_output records one into the repository --output_repo names.

Where they hold

Recorded on Windows 11 (MSVC 19.51, an NVIDIA RTX GPU); validated on Ubuntu 26.04 and 24.04, Debian 12, Fedora 44 (GCC) and macOS (Apple clang, arm64), CUDA on an NVIDIA RTX A500, OpenCL on NVIDIA, Intel and Apple GPUs. One run differs by design: cbench-security-pgp --cmd=decode. PGP 2.6 writes and reads the timestamp of its literal packet as a word32, a C unsigned long - 8 bytes on 64-bit Linux and macOS, 4 on Windows - and CK's input data.pgp was written by a 64-bit Linux build. Linux and macOS read it back as written; Windows reads 4 bytes and the other 4 (zeros) come out in front of the text. The reference holds the plaintext, recorded on Linux; the Windows run is reported.

Downloads last month
63