8000 Pre-populate and ship a Jitify cache? · Issue #8209 · cupy/cupy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Pre-populate and ship a Jitify cache? #8209
Closed
@leofang

Description

@leofang

Heard some people complaining about the one-time only cost
https://docs.cupy.dev/en/stable/upgrade.html#modernized-cccl-support-and-requirement
which appears as if it hangs.

As a stop-gap solution, we should print a warning "jitify cache building, it may take a while..."

Short-term, I am thinking to extend @kmaehashi's idea that we implemented

generate a hash string of all cupy/_core/include/** files at the build time and set it as a key

and build the json-based Jitify cache at build time, and ship it as part of the wheel and conda package.

Long term, I am afraid Jitify's default compile-fail-search loop is too expansive and we might have to either implement it ourselves or use the WIP (NVIDIA/jitify#131).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cat:performancePerformance in terms of speed or memory consumption

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0