mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #494] AttributeError: type object 'RecursiveScriptModule' has no attribute '_construct' #419
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#419
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Olimoyo on GitHub (May 7, 2025).
Original GitHub issue: https://github.com/openai/CLIP/issues/494
When I load the model, I get an error from
model = torch.jit.load(opened_file, map_location=device if jit else "cpu").eval():AttributeError: type object 'RecursiveScriptModule' has no attribute '_construct'This error only happens when I run it on AWS. Is there a way to prevent this?