如何指定单卡预测。
Open
- Dominant language
- Python
- Stars
- 2k
- Forks
- 361
- PR merge metrics
- No merged PRs in 30d
Description
Senta().init_model(model_class="ernie_1.0_skep_large_ch", task="sentiment_classify", use_cuda=use_cuda)
默认是在device: 0上,如何指定gpu。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the Senta().init_model(...) entry point shown in the issue and inspect how use_cuda and device selection are handled. Check the repository's existing usage guidance or configuration code; done means the supported way to select a single GPU is clearly documented or the missing behavior is precisely identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100