• R
    [cherry-pick] use the required instruction to determine if the environment... · f57ae4d7
    Ren Wei (任卫) 提交于
     [cherry-pick] use the required instruction to determine if the environment fits the sample code's required.  (#32766) (#33451)
    
    1 put a instruction # required: gpu(for example) in the sample code
    2 this piece of code will only run in the GPU-equipped CI pipelines, and be omitted in other pipelines.
    3 the CI pipelines can specify its capacity by shell environment variable SAMPLE_CODE_TEST_CAPACITY
    
    2.1 文档改版方案
    
    see #32766 for more infomation
    f57ae4d7
sampcd_processor.py 22.3 KB