# Reject Duplicate Derivative Labels This tutorial shows the {func}`Torch input validation ` error when two gradient-enabled {term}`project keys` reuse one solver derivative label. ```{admonition} Experimental feature :class: warning The `jcmsuite.torch` integration is experimental. Its API and behavior can change in future releases. Do not depend on its current interface for production workflows without testing each package update. ``` Run it from `demos/documentation_tutorials`: ```bash python derivatives/torch/validation_duplicate/run.py ``` ```{literalinclude} ../../../../demos/documentation_tutorials/derivatives/torch/validation_duplicate/run.py :language: python ``` ## Project File
project.jcmp ```{literalinclude} ../../../../demos/documentation_tutorials/derivatives/torch/validation_duplicate/project.jcmp :language: jcm ```