{"author":"Obada Khalili","author_email":"54270856+obadakhalili@users.noreply.github.com","author_time":1708011625,"commit_time":1708011625,"committer":"GitHub","committer_email":"noreply@github.com","hash":"75f7e21a8010e953aa304798adf21ad29030a025","message":"Make tests in `test/test_ops.py` pass for Python emulator (#3384)\n\n* fix OverflowError in UnaryOps.EXP2\r\n\r\n* avoid accessing outputs for void uops\r\n\r\n* skip execution for UOps.IF and UOps.ENDIF\r\n\r\n* initialize bytearray to the correct size in UOps.DEFINE_LOCAL\r\n\r\n* validate len of input that has .sz > 1\r\n\r\n* remove comment in code\r\n\r\n* reinitialize loop of already iterated\r\n\r\n* validate first value in input to be a list for inputs with .sz > 1\r\n\r\n* add python ops tests to CI\r\n\r\n* skip long runtime tests for PYTHON backend\r\n\r\n* respect dtype.sz arg in UOps.CONST, and remove incorrect validation in UOps.STORE\r\n\r\n* use math.inf instead of float('int')\r\n\r\n* handle 0 args to UnaryOPs.LOG2\r\n\r\n* handle load op with default of .sz > 1\r\n\r\n* initialize the loop correctly using UOps.LOOP arg\r\n\r\n* remove unnecessary TODO comment\r\n\r\n* remove newline\r\n\r\n* select a subset of 22 ops tests to skip in CI when PYTHON=1\r\n\r\n* handle gated UOps.LOAD referencing values that have .sz > 1\r\n\r\n* Revert \"select a subset of 22 ops tests to skip in CI when PYTHON=1\"\r\n\r\nThis reverts commit 7674fee81d37f8865cdcc72cc0f06f67cdf59783.\r\n\r\n* skip tests in python backend CI command\r\n\r\n* push fix lost in conflict resolve\r\n\r\n* Revert \"skip long runtime tests for PYTHON backend\"\r\n\r\nThis reverts commit 5dd2a0376e653319551c7056742d61a5fd98f60a.\r\n\r\n* clear loop state after last iteration","parents":["18bb6a22e0dbb31e22245d087857857d0f1188a5"],"tree_hash":"bf4679316a4c5390103c590cd251dabf3cfe6acc"}