Skip to content

Conversation

@tkswanson
Copy link
Collaborator

No description provided.

@tkswanson tkswanson requested a review from matobler January 14, 2026 23:31
@tkswanson tkswanson changed the title animl 3.1.2 animl 3.2.0 Jan 16, 2026
Copy link
Collaborator

@matobler matobler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only two small commets realted to CPU ad ONNX

providers = ['CUDAExecutionProvider', 'CPUExecutionProvider']

# cuda not available
else:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For ONNX there is also a 'TensorrtExecutionProvider'.
https://github.com/ankane/onnxruntime-1/blob/master/docs/execution_providers/TensorRT-ExecutionProvider.md

I am not sure if that always goes with 'CUDAExecutionProvider'. If there is no 'CUDAExecutionProvider' and there is anything else besides 'CPUExecutionProvider' and the user specifices "cpu" the provider will return a list.

providers = ort.get_available_providers()
print(providers)

providers = animl.get_onnx_device(user_set='cuda:0', quiet=True)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might want to do two tests, one on GPU and one on CPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants