<commit_before>require 'torch'
require 'lab'
require 'nn'
require 'libopenmp'

local function spatialConvolution_enable(tensorType)
   tensorType.nn.SpatialConvolution_forward_ = tensorType.nn.SpatialConvolution_forward
   tensorType.nn.SpatialConvolution_forward  = tensorType.nn.SpatialConvolution_forwardOmp
   tensorType.nn.SpatialConvolution_backward_ = tensorType.nn.SpatialConvolution_backward
   tensorType.nn.SpatialConvolution_backward  = tensorType.nn.SpatialConvolution_backwardOmp
end
local function spatialConvolution_disable(tensorType)
   tensorType.nn.SpatialConvolution_forward  = tensorType.nn.SpatialConvolution_forward_
   tensorType.nn.SpatialConvolution_forward_ = tensorType.nn.SpatialConvolution_forwardOmp<commit_msg>paths.require magic<commit_after>require 'torch'
require 'lab'
require 'nn'
require 'paths'
paths.require 'libopenmp'

local function spatialConvolution_enable(tensorType)
   tensorType.nn.SpatialConvolution_forward_ = tensorType.nn.SpatialConvolution_forward
   tensorType.nn.SpatialConvolution_forward  = tensorType.nn.SpatialConvolution_forwardOmp
   tensorType.nn.SpatialConvolution_backward_ = tensorType.nn.SpatialConvolution_backward
   tensorType.nn.SpatialConvolution_backward  = tensorType.nn.SpatialConvolution_backwardOmp
end
local function spatialConvolution_disable(tensorType)
   tensorType.nn.SpatialConvolution_forward  = tensorType.nn.SpatialConvolution_forward_
   tensorType.nn.SpatialConvolution_forward_ = tensorType.nn.SpatialConvolution_forwardOmp
{'fraction_non_alphanumeric': 0.062087186261558784, 'fraction_numerical': 0.0, 'mean_word_length': 8.351851851851851, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4980674', 'n_tokens_mistral': 481, 'n_tokens_neox': 482, 'n_words': 56}