force selected pipeline stages in throughput mode
Validate Operations / validate-operations (push) Has been cancelled
Validate Operations / validate-operations (push) Has been cancelled
increase throughput scheduler budget add experimental throughput auto mode
This commit is contained in:
@@ -69,18 +69,6 @@ def main():
|
||||
"--pim-export-spatial-dataflow=all", "--pim-dump-ir", "--pim-periodic-diagnostics"))
|
||||
assert diagnostic_program == program and diagnostic["selection"] == selected["selection"]
|
||||
|
||||
# A single schedule needs no optional timing contract.
|
||||
source = root / "softmax.onnx"
|
||||
tensor = helper.make_tensor_value_info("x", TensorProto.FLOAT, [1, 8])
|
||||
output = helper.make_tensor_value_info("y", TensorProto.FLOAT, [1, 8])
|
||||
model = helper.make_model(helper.make_graph([helper.make_node("Softmax", ["x"], ["y"], axis=1)],
|
||||
"softmax", [tensor], [output]), opset_imports=[helper.make_opsetid("", 18)])
|
||||
model.ir_version = 10
|
||||
onnx.save(model, source)
|
||||
selected, program, _ = compile(source)
|
||||
assert selected["single_candidate_analysis_skipped"] and selected["lowered_candidates"] == 1
|
||||
assert "spatial_cost" not in selected["candidates"][0]
|
||||
|
||||
# Softmax remains in the functional program but has no oracle timing work.
|
||||
model = onnx.load(vgg)
|
||||
output = model.graph.output[0].name
|
||||
|
||||
Reference in New Issue
Block a user