Skip to content

Allow users to run tutorials on any hardware #2221

@brownbaerchen

Description

@brownbaerchen

Some tutorials are geared towards GPUs, but the tutorials should be running on as much hardware as possible. I think we can easily solve this by using the global config heat.devices.use_device('GPU') instead of passing device='gpu' to all array calls. Then we just put this by itself in a Jupyter notebook cell and if this fails because we don't have a gpu, we just carry on on CPU.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HeatHubThe HeatHub project, as part of Science Serve, aims to foster the Heat community.enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions